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
 user field mod - am I to stupid?HELP!!HELP!!HELP!!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

hwfranz
Starting Member

Germany
30 Posts

Posted - 30 July 2001 :  12:06:06  Show Profile  Visit hwfranz's Homepage
HELP!!!HELP!!!HELP!!!HELP!!!HELP!!!HELP!!!HELP!!!HELP!!!HELP!!!HELP!!!HELP!!!

I think I have done everything exact as described. And when I start admin_user_fields.asp i can create new user fields. But two things drive me crazy:
1. There's a checkbox: "User Fields are NOT enabled, check the box and press SET to enable" I clicked the checkbox and pressed SET and I pressed SET without clicking the checkbox: it always tells me "congrationlations, configuration posted" but still remains "NOT ENABLED"

2. I don't know how to use this new userfields. Is there a table where I must set them active? Is there a dropdown-menue where I can choose them or must I add them manually?

Is really not one person who successfully added the userfields mod? He should be able to answer at least question 2.

HELP!!!HELP!!!HELP!!!HELP!!!HELP!!!HELP!!!HELP!!!HELP!!!HELP!!!HELP!!!HELP!!!

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 30 July 2001 :  12:21:59  Show Profile  Visit HuwR's Homepage
1) you should have a file called either mod_config.asp or inc_mod_config.asp, open t and check that any lines relating to userfields does not have a ' in front of them.

2)If installed correctly, when you open admin_home.asp, you should have a table at the bottom of your screen called Mod Commander, ther will be a link here for the userfields admin

Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 30 July 2001 :  12:23:11  Show Profile
Look for the include file mod_config.asp The variables in this file are commented out. And thus are not getting populated. You should be using inc_mod_config.asp instead.

Share A Square at forumSquare


gauravbhabu

There is only one miracle...That is LIFE!
Go to Top of Page

hwfranz
Starting Member

Germany
30 Posts

Posted - 30 July 2001 :  12:44:30  Show Profile  Visit hwfranz's Homepage
admin_home.asp looks like this:
_______________________________________________________
|Mod Control |
_______________________________________________________
|Name |Admin|Setup|Readme File|Version|Author |
_______________________________________________________
|Mod commander | - | - | view | 1.05 |animedj|
_______________________________________________________

my inc_mod_config.asp looks like this:

<% '############ HuwR Config stuff #####################

Dim intUserFields
Dim intAllowUploads
Dim intPollMentor
Dim intSideMenu
Dim intPMessages
Dim strImageUrl
Dim intNewMemberPM
Dim intSpellcheck



function LoadModConfig()
Dim modDict

Set modDict = Server.CreateObject("Scripting.Dictionary")
set objRec = my_Conn.execute("SELECT M_CODE, M_VALUE FROM " & strTablePrefix & "MODS WHERE M_NAME = 'HModEnable'")

while not objRec.EOF
modDict.Add objRec.Fields.Item("m_code").Value, objRec.Fields.Item("m_value").Value
objRec.moveNext
wend


intUserFields = modDict.Item("UserFields")
intAllowUploads = modDict.Item("Attachment")
intPollMentor = modDict.Item("PollMentor")
intSideMenu = modDict.Item("SideMenu")
intPMessages = modDict.Item("Pmessages")
strImageURL = modDict.Item("imageURLPath")
intNewMemberPM = modDict.Item("NewMemberPM")
intSpellCheck = 1

Application.Lock

Application(strCookieURL & "intUserFields") = modDict.Item("UserFields")
Application(strCookieURL & "intPollMentor") = modDict.Item("PollMentor")
Application(strCookieURL & "intAllowUploads") = modDict.Item("Attachment")
Application(strCookieURL & "intSideMenu") = modDict.Item("SideMenu")
Application(strCookieURL & "intPMessages") = modDict.Item("Pmessages")
Application(strCookieURL & "strImageURL") = modDict.Item("imageURLPath")
Application(strCookieURL & "intSpellcheck") = 1
Application(strCookieURL & "intNewMemberPM") = modDict.Item("NewMemberPM")
Application.UnLock
end function

function ReadModConfig()

intUserFields = Application(strCookieURL & "intUserFields")
intPollMentor = Application(strCookieURL & "intPollMentor")
intAllowUploads = Application(strCookieURL & "intAllowUploads")
intSideMenu = Application(strCookieURL & "intSideMenu")
intPMessages = Application(strCookieURL & "intPMessages")
strImageURL = Application(strCookieURL & "strImageURL")
intSpellcheck = Application(strCookieURL & "intSpellcheck")
intNewMemberPM = Application(strCookieURL & "intNewMemberPM")

strUseExtendedProfile = strUseExtendedProfile or ((intUserFields ) > 0)
end function
'############ HuwR Config stuff #####################
%>

Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 30 July 2001 :  13:11:35  Show Profile
Yes This is the correct file. This should be in your forumdirectory. Check if you have the following statement at the very top of config.asp. Before anything starts. This should be the first line.

<!--#include file="inc_mod_config.asp"-->


Share A Square at forumSquare


gauravbhabu

There is only one miracle...That is LIFE!
Go to Top of Page

hwfranz
Starting Member

Germany
30 Posts

Posted - 30 July 2001 :  13:19:12  Show Profile  Visit hwfranz's Homepage
YES!! CHUCKA! KILL THE ENEMY!! WE ARE THE CHAMPIONS" "GO! GO! GO!!

GauravBhabu YOU ARE THE GREATEST!

My first line in config.asp was: <!--#include file="mod_config.asp"-->
BUT I DIDN'T HAVE A mod_config.asp but a INC_mod_config.asp!!!
No my first lie is <!--#include file="inc_mod_config.asp"-->

And now it woooooooooooooooooooooooooooooooooooooooooorks!


Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 30 July 2001 :  13:44:15  Show Profile
see you at, do I need to say...

Share A Square at forumSquare


gauravbhabu

There is only one miracle...That is LIFE!
Go to Top of Page

Astralis
Senior Member

USA
1218 Posts

Posted - 30 July 2001 :  16:52:59  Show Profile  Send Astralis a Yahoo! Message
I had the same exact problem. Glad you solved it!

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.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07