Furry stuff, oekaki stuff, and other stuff.
You are not logged in.
Hey,
I converted back to Wacintaki (can't keep my paws off those nifty features.. hehe) and added an additional board. They both run on the same member database (op_). Everything works fine so far, except for the fact I can't seem to use my avatar on both boards.
Say, I add my avatar on the main board. Then I go to my collab board and add my avatar there. But when I return to the main board, my avatar is gone. The same thing happens to the collab board if I reupload my avatar on the main board.
It's not such a big issue... But I'm curious as to why it does it, and how I can fix it.
OH. I just noticed... due to avatar use, the comments appear 'glued' on top of each other, without spaces between them. (It doesn't happen when I don't use avatars) Is there any way I can fix it without disabling avatars?
Boards:
http://www.hakai.org
http://collab.hakai.org
Edit:
I also noticed that when you reply to O-mails, the person's name doesn't appear in the "Sent to" box. You have to add the name manually, even if you click "Reply" on an O-mail you received. The name is present in the URL, but doesn't show up in the box.
i.e. http://collab.hakai.org/mailsend.php?se … mode=reply
That results in an empty "Sent to" box. Any idea why it does that?
I really hope I'm not being a pain in the butt with this. ^^;
Last edited by Sadil (09-24-2006 17:58:23)
Offline
I assume the subdomain structure of your website means your main board is in the root folder, and the colab board is in a "collab" subfolder.
If this is the case, the avatar path for the main board should be "avatars/" and the collab board should be "../avatars/"
If you're not sure where the folders are located (you're just uploading stuff to "www.hakai.org" and "collab.hakai.org"), you'll have to find out what the local paths are on the server for avatar sharing to work.
As for the mailbox... um, that's another bug. Here's a fix (v1.3.5).
Offline
Hmmm. Nothing seems to work when I try it. Seems kind of odd. o_O None of these work;
../avatars/
../collab/avatars/
And, yes, my main board is in /public_html/ and my collab oekaki is in the /public_html/collab/ folder.
Thanks for the fix. <3 It worked.
Last edited by Sadil (09-25-2006 09:39:51)
Offline
OK, here's what happens...
Both boards have to use the same avatars folder. For the main board, that should be avatars/ (note that there are no periods or a slash in front of the path). The actual local path should then be /public_html/avatars/
Bascily, the main board's avatar folder path should be left alone. It's the collab board we need to change.
On the collab board, you need to backtick one directory to access the public_html directory. You do that with two periods (../). You can then get into the main board's avatars folder with ../avatars/. Since I can access the collab board with www.hakai.org/collab/, this path should work.
Be aware that you will have to copy any files in the collab board avatars folder to the main board avatars folder. Otherwise, the board will send an image link to client web browsers, but there will be nothing to display. After copying the files, everything should appear as normal.
Offline
I think I figured out why it's not working... the avatar/ dictory on the main board seems locked. I can't upload, edit or remove any contents from it. I'll contact my host about this and see what's going on. I'll get back to you later once I make sure.
Offline
Tip: there's a script called testinfo.php that allows you to see some diagnostics for your board (you must be logged in as owner to access it). It will tell you if the avatars folder, and various other paths, are locked or not.
Again, regardless of what the collab board needs to be, the main board should have an avatar path of avatars/
Offline
Okay, folder thing solved... but the issue remains. Main board is avatars/, collab board is ../avatars/ and yet it only works on the main board as far as displaying the images goes. It upload the image into the folder, but for some reason it doesn't display it properly.
I've no idea what's going on, everything LOOKS fine... (tried the testinfo.php file, it said OK)
Offline
Ohhhhhhh... DUH! Now I know what's wrong.
On the server end, things work fine (uploading the avatar, for example). However, the link in the web browser isn't working with the subdomain path. In other words, ../avatars/ is sent to the web browser, which ends up being http://collab.site.com/avatars/, which is wrong. It should be http://www.site.com/avatars/
Well, the easy fix is to tell people to visit http://www.hakai.org/collab/ instead of http://collab.hakai.org. Otherwise, I can edit the index and profile viewer to serve a direct URL (I believe there's only three places this needs to be done). Lemme know what you'd like to do.
Offline
OK, here's the patch. It is designed to replace files in v1.3.4 only. You only have to copy it to the collab board, but copying it to both boards will probably make things easier: Avatar URL path patch
The magic starts on line 99 of "boot.php":
if (strpos ('../', $cfg['avatar_folder']) !== FALSE) { // Check backticks -- absolute URL path needed $avatar_url = 'http://www.hakai.org/avatars'; } else { // No backticks -- use relative path $avatar_url = $cfg['avatar_folder']; }
What this does is check if you are using the main avatars folder or not. If so, just avatars/ is used. If not, the url path is used. Basicly, it's already set up for you. Just make sure that in the contol panel, the main board is set up with avatars/ and the collab board uses ../avatars/, and you'll be all set.
I keep these patches on file, so if a new version of Wacintaki is released, just remind me about this and I'll update it.
Offline
I uploaded the patch to both the oekakis, but... it still doesn't work. (What do you mean, frustrating?) It's still looking in the collab/avatars/ folder for the avatars instead of the main board (i.e. http://collab.hakai.org/avatars/822ee09 … 8ff848.gif)
If you like, I can give you my login info for the boards and the FTP.
Offline
E-mail would be best. I realized a short time ago that this forum doesn't support PM! WTF?
Offline