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: MOD Implementation
 PM MOD problems
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

h4v0k_d0m
Starting Member

United States
7 Posts

Posted - 24 April 2008 :  13:37:15  Show Profile  Send h4v0k_d0m a Yahoo! Message
I recently installed the pm mod by havvok and a avatar mod and something went wrong now all replies to a post shows who posted the reply like there should be a reply and there is the word error under the name with a single digit number and where the reply should be is only a number. when I as admin try to delete it i log in and it says:

No Permissions to Delete Reply

If anyone can help me let me know what to do or where i messed up please help.
I love this forum and it is pretty easy so far but im stumped as to what to do.

AnonJr
Moderator

United States
5768 Posts

Posted - 24 April 2008 :  14:37:11  Show Profile  Visit AnonJr's Homepage
first, its always a good idea to install one MOD at a time and then rigorously test... not sure if you did/didn't, I'm just sayin'

It sounds like a coding error from where you tried installing one of the MODs. Without knowing which MOD was the one that got added incorrectly, its hard to trouble-shoot. I'd go back to the backups you made before you added those two MODs (you did make backups first, right?) and try one - test - and then add the other. You won't be able to use the pre-modded files if they came with any.
Go to Top of Page

h4v0k_d0m
Starting Member

United States
7 Posts

Posted - 24 April 2008 :  15:17:25  Show Profile  Send h4v0k_d0m a Yahoo! Message
No quite stupid of me at this point i see the need but i didnt. I may need to shut down my forum and reinstall from new. Why does the snitz forum not come bundled with avatar and private messages already installed lol. Might have saved my booty.
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 24 April 2008 :  16:09:29  Show Profile
I think its the avatar mod and you either missed something or have something in the wrong spot. The row sequence is out of order.

In "topic.asp" look at this part of the code around line 300 and make sure you added the avatar changes in the right place (I think its after "M.M_COUNTRY").
	'## Forum_SQL
	strSql = "SELECT M.M_NAME, M.M_RECEIVE_EMAIL, M.M_AIM, M.M_ICQ, M.M_MSN, M.M_YAHOO"
	strSql = strSql & ", M.M_TITLE, M.MEMBER_ID, M.M_HOMEPAGE, M.M_LEVEL, M.M_POSTS, M.M_COUNTRY, M.M_AVATAR_URL"
	strSql = strSql & ", R.REPLY_ID, R.FORUM_ID, R.R_AUTHOR, R.TOPIC_ID, R.R_MESSAGE, R.R_LAST_EDIT"
	strSql = strSql & ", R.R_LAST_EDITBY, R.R_SIG, R.R_STATUS, R.R_DATE"

Now look at the changes you made here around line 523. The avatar code needs to be added in the same place you added it above Again I think its after the country. All those numbers have to be in sequence.
		rM_NAME = 0
		rM_RECEIVE_EMAIL = 1
		rM_AIM = 2
		rM_ICQ = 3
		rM_MSN = 4
		rM_YAHOO = 5
		rM_TITLE = 6
		rMEMBER_ID = 7
		rM_HOMEPAGE = 8
		rM_LEVEL = 9
		rM_POSTS = 10
		rM_COUNTRY = 11
           rM_AVATAR = 12'increase all the numbers after this by 1, so they are in sequence
		rREPLY_ID = 12
		rFORUM_ID = 13
		rR_AUTHOR = 14
		rTOPIC_ID = 15
		rR_MESSAGE = 16
		rR_LAST_EDIT = 17
		rR_LAST_EDITBY = 18
		rR_SIG = 19
		rR_STATUS = 20
		rR_DATE = 21

In other words, it doesn't matter where you add it. The order just has to be consistent.

ps - I don't have a copy ot the avatar mod handy, so I don't know if rM_AVATAR or M.M_AVATAR_URL are spelled correctly, so refer to the installation instructions.

    _-/Cripto9t\-_
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 24 April 2008 :  16:49:08  Show Profile  Visit AnonJr's Homepage
quote:
Originally posted by h4v0k_d0m

Why does the snitz forum not come bundled with avatar and private messages already installed lol. Might have saved my booty.
Because they are not things that everybody needs in a forum.

We tend towards the "minimalist" view where you get a bare-bones base install with just what's needed for everyone and then you can roll up just what you need. It helps keep things neat and speedy - unless you install every MOD out there.
Go to Top of Page

h4v0k_d0m
Starting Member

United States
7 Posts

Posted - 25 April 2008 :  18:03:51  Show Profile  Send h4v0k_d0m a Yahoo! Message
Thank you both soooo much i finally got everything going right again just took the original topic.asp and started from scratch appreciate the help. At least now i know what to not do in the future lol
Go to Top of Page

h4v0k_d0m
Starting Member

United States
7 Posts

Posted - 25 April 2008 :  19:28:04  Show Profile  Send h4v0k_d0m a Yahoo! Message
Now that all the MODs are working, I have one other question. Why do the avatars not show up in a persons post, usually there is a box to the left side with the user name and info of sorts and a avatar but all i get is the user name and info how do i set it to show the avatar too?
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.44 seconds. Powered By: Snitz Forums 2000 Version 3.4.07