Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Bug Fixes
Author Message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Nov 04, 2003 8:02 am Reply with quote

Nothing much changes from what you have been doing. You gain more control and have more options available to you under *nix. You can view my hosting packages at www.ravenwebhosting.com . I can also customize a package if none of those meet your needs. As to moving your site, yes, I will move it for you.
 
View user's profile Send private message
morpheus_75
Involved
Involved



Joined: Oct 07, 2003
Posts: 302

PostPosted: Tue Nov 04, 2003 8:43 am Reply with quote

Raven wrote:
You know what? You might try this. In my original instructions, I say this
Code:
Then on or about line 771 comment out this line 

$userinfo[user_avatar] = ereg_replace("gallery/","",$userinfo[user_avatar]);
so it should look like this
//$userinfo[user_avatar] = ereg_replace("gallery/","",$userinfo[user_avatar]);
Instead of commenting that line out, modify it to read this
Code:
Then on or about line 771 modify this line 

$userinfo[user_avatar] = ereg_replace("gallery/","",$userinfo[user_avatar]);
to read
$userinfo[user_avatar] = ereg_replace("gallery/gallery/","gallery/",$userinfo[user_avatar]);
Let me know if that works.


Do u think I shall try this one? Consider that when I update Your Info, the broken avatar problem displays in the forum (profile and posts). In Nuke everything seems to work properly...

I repeat my last question: what do u exactly mean by staying logged in? I know users are logged in... at least I can see them in Nuke. Often I don't see them in the forum...
 
View user's profile Send private message
Raven







PostPosted: Tue Nov 04, 2003 8:50 am Reply with quote

The broken avatar is probably a result of a previous entry as I mention on page 1 of this thread. There is cleanup that must be done when using my fix. Make sure you are backing up all your files and tables as I am not responsible for what happens.

If you are receiving a User Offline status even though they are logged in, then you need that fix.
 
morpheus_75







PostPosted: Tue Nov 04, 2003 9:06 am Reply with quote

Raven wrote:
The broken avatar is probably a result of a previous entry as I mention on page 1 of this thread. There is cleanup that must be done when using my fix. Make sure you are backing up all your files and tables as I am not responsible for what happens.


I think u've found another fix ehehehe Laughing
I applied this fix:

Code:
Then on or about line 771 modify this line 

$userinfo[user_avatar] = ereg_replace("gallery/","",$userinfo[user_avatar]);
to read
$userinfo[user_avatar] = ereg_replace("gallery/gallery/","gallery/",$userinfo[user_avatar]);


and i don't get any broken avatar! Wink The only problem is when an avatar is uploaded, but this is due to the server configuration we were talking about...

Quote:
If you are receiving a User Offline status even though they are logged in, then you need that fix.


In Site Info block, I see users online properly logged!
 
blith
Client



Joined: Jul 18, 2003
Posts: 977

PostPosted: Thu Nov 06, 2003 11:13 am Reply with quote

Whoa Shocked so it seems the fix for the broken avatar has gone a bit muddled in this thread. So what exactly is one to do to fix the broken avatar? I am now having the problem of the repeating /gallery/... thanks for the attention...
 
View user's profile Send private message Visit poster's website
Raven







PostPosted: Thu Nov 06, 2003 11:16 am Reply with quote

I would agree. Morpheus tried that last fix at my suggestion. I am closing this thread and I will summarize what I believe to be the fixes.
 
Display posts from previous:       
Post new topic   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Bug Fixes

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©