Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
jjh221
Worker
Worker



Joined: Dec 05, 2006
Posts: 180

PostPosted: Mon Feb 05, 2007 4:48 pm Reply with quote

My user info block has changed.

The code in block-User_Info.php:
Code:
// NSN Groups Memberships - Recoded for RavenNuke76_020202

      //RavenNuke76_020202_78 - corrected group membership display
      //RavenNuke76_020202_79 - corrected hard-coding of literals
      $content .= "<br /><u><b>"._GR_BLOCKMEMBERGROUPS.":</b></u><br />\n";
      $grpmem = $db->sql_query("SELECT gid, edate FROM ".$prefix."_nsngr_users WHERE uid='$uid' ORDER BY gid");
      while(list($gid, $expire) = $db->sql_fetchrow($grpmem)) {
            if ($expire == 0) { $edate = _GR_NOTSET; } else { $edate = date("Y-m-d", $expire); }
            list($gname) = $db->sql_fetchrow($db->sql_query("SELECT gname FROM ".$prefix."_nsngr_groups WHERE gid='$gid'"));
            $content .= "<big><b>&middot;</b></big> $gname<br />\n";
            $content .= "<big><b>&nbsp;&nbsp;</b></big> "._GR_EXPIRES.": <i>$edate</i><br />\n";
      }
      $content .= "<hr />\n";

Image

what changed?
 
View user's profile Send private message
Tao_Man
Involved
Involved



Joined: Jul 15, 2004
Posts: 252
Location: OKC, OK

PostPosted: Mon Feb 05, 2007 6:21 pm Reply with quote

We need to see the code just before your sample I think to solve this.

_________________
------------------------------------------
To strive, to seek, to find, but not to yield!
I don't know Kara-te but I do know cra-zy, and I WILL use it! 
View user's profile Send private message Visit poster's website
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Mon Feb 05, 2007 7:22 pm Reply with quote

Missing a language file change probably

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
jjh221







PostPosted: Mon Feb 05, 2007 10:51 pm Reply with quote

evaders99 wrote:
Missing a language file change probably


thanks that was it. Dont know how i came up with the wrong one. Or how it was changed. was in /language/groups/
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue Feb 06, 2007 6:01 pm Reply with quote

I vaguelly recall seeing errors like this that we have fixed in the upcoming 2.10.00 release.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

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 ©