» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 63
0 members and 63 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
buy Rimonabant - Help dieters achieve significant weight loss without having to slog in the gym

Register Now! Contact Us

About this Page
This is a discussion on Registration hack/your account module within the Purged Topics forums, part of the NM Staff category; The Private messages on the page does not work on the hack. It shows you have "0" messages, ...



Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-07-2003, 05:52 PM
Junior Member
 
Join Date: Jan 2003
Posts: 6
Registration hack/your account module
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
  #2 (permalink)  
Old 04-07-2003, 08:15 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
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
  #3 (permalink)  
Old 04-07-2003, 09:01 PM
Junior Member
 
Join Date: Jan 2003
Posts: 6
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
  #4 (permalink)  
Old 04-07-2003, 10:16 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Originally Posted by colin
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
  #5 (permalink)  
Old 04-07-2003, 11:05 PM
Junior Member
 
Join Date: Mar 2003
Location: Valencia, Venezuela
Posts: 5
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
  #6 (permalink)  
Old 04-07-2003, 11:55 PM
Junior Member
 
Join Date: Jan 2003
Posts: 6
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
  #7 (permalink)  
Old 04-08-2003, 12:23 AM
Junior Member
 
Join Date: Mar 2003
Location: Valencia, Venezuela
Posts: 5
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
  #8 (permalink)  
Old 04-08-2003, 01:50 AM
Junior Member
 
Join Date: Jan 2003
Posts: 6
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
  #9 (permalink)  
Old 04-08-2003, 02:17 AM
Junior Member
 
Join Date: Mar 2003
Location: Valencia, Venezuela
Posts: 5
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
  #10 (permalink)  
Old 04-08-2003, 10:28 AM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
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 10:15 PM
Registration hack Problem!!!!! G2F Purged Topics 2 03-24-2003 08:23 PM
Registration Hack Kelu Purged Topics 1 01-21-2003 06:17 PM
Forum Registration Hack IACOJ Purged Topics 10 01-11-2003 06:28 PM
Forum Registration Hack Konan Purged Topics 3 12-30-2002 10:58 AM


All times are GMT -5. The time now is 07:34 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