Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 53
4 members and 49 guests
bea9qgchcomberc, peardir46, ral6qkeighqenpa, whyjjinternetvi
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

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

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
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
03-02-2003, 05:40 PM

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
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 6
Join Date: Dec 2002
03-03-2003, 10:52 AM

Thanks once again Mike!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
03-03-2003, 11:55 AM

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
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 71
Join Date: Jan 2003
Location: England
03-03-2003, 12:15 PM

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.
 Send a message via ICQ to TuNa  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
03-03-2003, 12:23 PM

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
Old
  (#7 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
03-03-2003, 12:36 PM

Quote:
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
Old
  (#8 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
03-03-2003, 12:41 PM

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
Old
  (#9 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
03-06-2003, 05:33 PM

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




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.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