Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> BUGS/FIXES - Raven's v7.3 Customized Distro
Author Message
skirwin
New Member
New Member



Joined: Apr 27, 2004
Posts: 1

PostPosted: Thu Aug 12, 2004 8:49 pm Reply with quote

Hi Raven & Crew.
I have a problem when stories are submitted by users, then posted by me. It was working before the upgrade from 6.0 now it's not. Here's the deal:

If you visit this link this link that shows what I'm talking about.

The 3rd line begins with writes ". There's a variable there that's supposed to pick up the submitter's name. Here's the relevant code (I think) from the theme.php:

if ("$aid" == "$informant") {
echo "<font class=\"content\" color=\"#505050\">$thetext<br>$notes</font>\n";
} else {
if($informant != "") {
$boxstuff = "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;uname=$informant\">$realName</a> ";
} else {
$boxstuff = "$anonymous ";
}
$boxstuff .= "".translate("writes")." \"$thetext\" $notes\n";
echo "<font class=\"content\" color=\"#505050\">$boxstuff</font>\n";
}

Thanks,
Scott Kirwin[/url]
 
View user's profile Send private message Visit poster's website
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Thu Aug 12, 2004 11:57 pm Reply with quote

The following line could be responsible, seems your theme was designed for 6.0:
Quote:
$boxstuff = "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;uname=$informant\">$realName</a> ";

uname should be username, where does $realName get defined? most likely it is also looking for uname instead of username i would change $realName to $informant
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> BUGS/FIXES - Raven's v7.3 Customized Distro

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 ©