Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Error displaying Username in posts
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

jarod
Starting Member

30 Posts

Posted - 24 September 2002 :  10:36:58  Show Profile
I ma having problems where the username does not appear in posts.
I am using the latest version on a windows 2000 server.
There is no error message. I get the number 1 instead of the persons user name.

Located at http://www.kenston.k12.oh.us/khs/messageboards/topic.asp?TOPIC_ID=2

That will give you an idea of what I mean.

Doug G
Support Moderator

USA
6493 Posts

Posted - 24 September 2002 :  11:35:13  Show Profile
Have you installed any mods? Sounds like you may have made an edit that affects the code that looks up the username.

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

jarod
Starting Member

30 Posts

Posted - 24 September 2002 :  11:41:21  Show Profile
i installed the 5 star mod for admin. i have to find where this is
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 24 September 2002 :  11:45:58  Show Profile
Have you in any way edited topic.asp? It looks like the value 1 is used everywhere instead of showing the username of the post's author and getting the correct ID to that author's profile.

Save your topic.asp as a .TXT file and upload it to your server. Then post a link to it here so someone can take a look and hopefully tell you how to fix your problem.
Go to Top of Page

jarod
Starting Member

30 Posts

Posted - 24 September 2002 :  11:59:51  Show Profile
Here we go

http://www.kenston.k12.oh.us/khs/messageboards/topic.txt

thanks for the help guys
Go to Top of Page

jarod
Starting Member

30 Posts

Posted - 24 September 2002 :  14:22:56  Show Profile
i did edit this page but i cant seem to find where the username is displayed
Go to Top of Page

jarod
Starting Member

30 Posts

Posted - 24 September 2002 :  14:25:17  Show Profile
when i put in thr private essage mod i mdifed this
rM_PM = 0
rM_NAME = 1

that looks like it could be it
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 24 September 2002 :  14:41:03  Show Profile
I think that might indeed be it. It's getting the wrong value from the database and I think it's because the PM MOD's field isn't the first on in the table but the last one. Now it's using the member status instead of the member ID or name.

You'll have to make sure you made all changes exactly as stated in the readme file for that MOD.
Go to Top of Page

jarod
Starting Member

30 Posts

Posted - 24 September 2002 :  15:13:22  Show Profile
problem solved
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 25 September 2002 :  04:21:35  Show Profile
Glad you got it fixed
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07