PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
skirwin
New Member
New Member


Joined: Apr 27, 2004
Posts: 1

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

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
Only registered users can see links on this board!
Get registered or login to the forums!
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
The Mouse Is Extension Of Arm


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

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

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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum