» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 79
0 members and 79 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Rimonabant - combat obesity and smoking at the same time
Football Betting - best nfl betting promotions at sportsbook.com.
Poker Chips - Clay and composite poker chips for home games.

Register Now! Contact Us

About this Page
This is a discussion on User Info block for Nuke 6.5 within the Purged Topics forums, part of the NM Staff category; Hey Is there a User Info block (like the one used here) for Nuke 6.5? If so where can ...



Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-02-2003, 03:52 PM
Junior Member
 
Join Date: Dec 2002
Posts: 6
User Info block for Nuke 6.5
Hey

Is there a User Info block (like the one used here) for Nuke 6.5? If so where can I get it from?

Thanks again guys!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-02-2003, 05:40 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
HERE

and at
http://www.nukecops.com

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-03-2003, 10:52 AM
Junior Member
 
Join Date: Dec 2002
Posts: 6
Thanks once again Mike!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-03-2003, 11:55 AM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
I just noticed the PM read and unread in the userinfo block. Is this something new for the block for nuke 6.0, or is it just for nuke 6.5?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-03-2003, 12:15 PM
Junior Member
 
Join Date: Jan 2003
Location: England
Posts: 71
Send a message via ICQ to TuNa
Hi Martin,

I've checked out the difference between the 2 blocks and noticed that the coding has been changed Slightly.
On my site atm the coding for the message part is this; which I guess was the old coding, its available in downloads now with the adjustment:

if (is_active("Private_Messages")) {
$result = sql_query("select user_new_privmsg from ".$user_prefix."_users where uname='$username'", $dbi);
list($numrow) = sql_fetch_row($result, $dbi);
if ($newnumrow == "0") {
$content .= ""._YOUHAVE." no "._PRIVATEMSG."";
} else {
$content .= ""._YOUHAVE." <a href=\"modules.php?name=Private_Messages\">$numrow</a> "._PRIVATEMSG."";
}
}
$content .= "</center>
";

Where the coding for the message part on this site is this:

// Determine how many READ Messages and how many UNREAD Messages

$result2 = sql_query( "select privmsgs_type from $prefix"._bbprivmsgs." where privmsgs_to_userid='$uid' AND (privmsgs_type='1' or privmsgs_type='5')", $dbi);
$MesUnread = sql_num_rows($result2);
$result3 = sql_query( "select privmsgs_type from $prefix"._bbprivmsgs." where privmsgs_to_userid='$uid' AND (privmsgs_type='0')", $dbi);
$MesRead = sql_num_rows($result3);
$content .= ""._SV_PRIVMSG."
";
$content .= ""._SV_UNREAD." <a href=\"modules.php?name=Private_Messages\">".$MesUnread."</a>
";
$content .= ""._SV_READ." <a href=\"modules.php?name=Private_Messages\">".$MesRead."</a>";
$content .= "</center>
";

I've tested it on my tester site that I now have running and it works fine.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-03-2003, 12:23 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
Thanks tuna, I'll check it out and use it on my site.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 03-03-2003, 12:36 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Originally Posted by Martin
I just noticed the PM read and unread in the userinfo block. Is this something new for the block for nuke 6.0, or is it just for nuke 6.5?
Actually Martin, I updated our User Info block here on Nukemods and also updated it in the Downloads to show the Private messages correcty.
It's still the same one for Nuke6.0/phpBB2.0.6 you see on our site.

The one for Nuke6.5 is slightly different, but still has the same sort of private messages info displayed.

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 03-03-2003, 12:41 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
OK thanks Mikem for clearing up my question.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 03-06-2003, 05:33 PM
Moderator
 
Join Date: Nov 2002
Posts: 737
Mikem

You are fabulous, I was just searching to see if it had been updated.

Thats a nice feature.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Info Block SouthernPoet Nuke 7.x - Blocks 1 01-15-2006 02:31 PM
User Info Block Groove Nuke 7.x - Blocks 3 07-27-2004 03:53 PM
User Info Block, 6.5 Rc2? Zeusn Purged Topics 3 02-28-2003 10:31 AM
User Info Block won't log users in icevirus Purged Topics 6 11-22-2002 12:47 AM
User info block Rancord Purged Topics 3 11-14-2002 10:47 AM


All times are GMT -5. The time now is 03:48 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31