Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 89
7 members and 82 guests
bearmchdressesr, cycwcwlinlt2gti, danansceclasqe6, ess3grdexmusica, napry4goleobg9t, rem3noqoval4fiw, vacex9ga
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
Registration hack/your account module
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 6
Join Date: Jan 2003
Registration hack/your account module - 04-07-2003, 06:52 PM

The Private messages on the page does not work on the hack. It shows you have "0" messages, even though there are new messages in the inbox. What gives?
Oh, using nuke 6 with Tom's PHPBB port.

Thanks
   
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
04-07-2003, 09:15 PM

As far as I remember, the Private Message coutn at th etop of the Forums in Nuke6.0 with Tom's port has never worked right.
As soon as you enter your inbox it shows none. Or am I talking about something else?

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: Jan 2003
04-07-2003, 10:01 PM

Quote:
Originally Posted by mikem
As far as I remember, the Private Message coutn at th etop of the Forums in Nuke6.0 with Tom's port has never worked right.
As soon as you enter your inbox it shows none. Or am I talking about something else?

mikem
When you click "your account" link, it brings you to the your accounts index page with the icons up top, public broadcast etc, Just below, it should read "you have "x" private messages"
I used the older reg hack you had here and it worked. I updated it with the new hack you have here with axis's mod and it no longer shows the actual messages, it only shows "0" m messages when there are actually new messages in the inbox.
   
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: 2,905
Join Date: Sep 2002
04-07-2003, 11:16 PM

Quote:
Originally Posted by colin
Quote:
Originally Posted by mikem
As far as I remember, the Private Message coutn at th etop of the Forums in Nuke6.0 with Tom's port has never worked right.
As soon as you enter your inbox it shows none. Or am I talking about something else?

mikem
When you click "your account" link, it brings you to the your accounts index page with the icons up top, public broadcast etc, Just below, it should read "you have "x" private messages"
I used the older reg hack you had here and it worked. I updated it with the new hack you have here with axis's mod and it no longer shows the actual messages, it only shows "0" m messages when there are actually new messages in the inbox.
ok I'll take a look at it.
If you don't hear anything in the next couple days. reply back to remind me :-)

mikem
   
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: 5
Join Date: Mar 2003
Location: Valencia, Venezuela
04-08-2003, 12:05 AM

Ok look for this code
Code:
$result2 = sql_query("select to_userid from ".$prefix."_priv_msgs where to_userid='$userinfo[uid]'", $dbi);
And change it with:
Code:
    $result2 = sql_query("select privmsgs_to_userid from $prefix"._bbprivmsgs." where privmsgs_to_userid='$userinfo[uid]' and privmsgs_type='5'", $dbi);
Some people like to use (privmsgs_type='5' or privmsgs_type='1'), but in my experience privmsgs_type='5' is enough
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Junior Member
 
Status: Offline
Posts: 6
Join Date: Jan 2003
04-08-2003, 12:55 AM

Axis, well, that's different...except now instead of a "0" or any number, there is a blank spot, no number, no anything. Just you have (blank) private messages

Thanks
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: Mar 2003
Location: Valencia, Venezuela
04-08-2003, 01:23 AM

That's weird.

This is the piece of code of the index.php that comes in the hack
Code:
echo "<center>"._PRIVATEMESSAGES."

";
	$result2 = sql_query("select to_userid from ".$prefix."_priv_msgs where to_userid='$userinfo[uid]'", $dbi);
	$numrow = sql_num_rows($result2, $dbi);
This is the code that i use in my site:
Code:
echo "<center>"._PRIVATEMESSAGES."

";
	$result2 = sql_query("select privmsgs_to_userid from $prefix"._bbprivmsgs." where privmsgs_to_userid='$userinfo[uid]' and privmsgs_type='5'", $dbi);
	$numrow = sql_num_rows($result2, $dbi);
And works fine (in fact is one of the few things that are working in my site right now ops: ), i use it in several blocks and in some fixes that i made in my site.

Well, you haven't modded your_account or install NSN your_account tweak?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Junior Member
 
Status: Offline
Posts: 6
Join Date: Jan 2003
04-08-2003, 02:50 AM

Axis, now that works great!!! If you have a chance take a look here http://<br /> http://elcaminocentra...&mode=register
Why the heck does my user agreement appear twice on the page?

Thanks
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#9 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: Mar 2003
Location: Valencia, Venezuela
04-08-2003, 03:17 AM

I have see it, but right now i'm burn out (I need to get some sleep ).

I can't imagine why that happens. it seems is something relative of the phpbb template, but i'm not really sure

I see that you let people use Link to off-site Photo, thats avatars will not be show in the user info page in your_account because this code
Code:
<img src=\"modules/Forums/images/avatars/$user_avatar\" alt=\"\">
Is not design to work with offsites avatars, if you use a offsite avatar you will get something like this:
Code:
http://elcaminocentral.com/modules/Forums/images/avatars/http://wwww.avatarplace.com/images/avatars/someavatar.gif
You need to change that with something like this
Code:
  
if ( ereg( "(http)", $user_avatar) )
{
echo "<img src=\"$user_avatar\">
\n";
}
else
{
echo "<img src=\"modules/Forums/images/avatars/$user_avatar\" }
This code is from the people of http://www.gopsfrench.net and i have been using it, solving some issues with offsite avatars
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#10 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
04-08-2003, 11:28 AM

I've seen that double agreement thingy before too. I think it has something to do with the tempalte being modified and somethign was changed...can't remember.
And I was right about the PM thing. It has never worked right when you install Tom's port. At least not on the Your Account page. I tested this again last night and it always shows me zero, but the blocks for user info show correctly etc.
OpositeAxis gave you your solution there..but in Nuke6.5 it seems to be fixed. Only problem with Nuke6.5 is that it shows the amoutn of messages in your inbox all the time on the Your Account page, read or not.

mikem
   
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
Devil Modz CNB Your Account 4.4.2 Mod Hack!!' dainbramage News 0 06-08-2007 11:15 PM
Registration hack Problem!!!!! G2F Purged Topics 2 03-24-2003 09:23 PM
Registration Hack Kelu Purged Topics 1 01-21-2003 07:17 PM
Forum Registration Hack IACOJ Purged Topics 10 01-11-2003 07:28 PM
Forum Registration Hack Konan Purged Topics 3 12-30-2002 11:58 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