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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: Configurable Member Fields
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 29 December 2000 :  04:02:32  Show Profile  Visit HuwR's Homepage
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
First, let me say thanks to everyone for the great mods. They just keep getting better.

I downloaded the UserFields mod and installed. It created the table and I was able to insert a custom field via the admin page. For the sake of details, I entered the following information.

LABEL = Units
TYPE = S
SHORTNAME = User_Unit

All this gets entered successfully. I've updated admin_config_members.asp
config.asp
pop_profile.asp
inc_profile.asp
register.asp
per the instructions, but when I go to pop_profile.asp to view my profile information I don't see the custom "Unit" field.

Am I missing something? Maybe I just don't know what this mod is suppose to do. I want to use the mod to add an extra member field to capture what military style unit they want to be a member of. Then I could use this information to select which rank insignia image (a little custom hack of the badge mod I did) to display for the member. i.e. whether they are officers or enlisted, etc.

Any demos on how this is suppose to look and work?

Thanks

Indy
----
Is CHRISTmas a holiday or a HOLYday for you?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Do you have a URL I can look at. or could you post a screen dump of the profile page

<font color=blue>'Resistance is futile'</font id=blue>

Did you enable userfiels in the member config in admin options?

Edited by - Huwr on 29 December 2000 08:09:36
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 29 December 2000 :  04:04:44  Show Profile  Visit HuwR's Homepage
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
HuwR,

Do you know why this mod doesn't post the members entries in the userfields to the MEMBERFIELDS table (that is the Usr_Value cloumn)?!!

Thoughts?!!

Note: When I added the values in the table manually, everything worked, otherwise nothing will show in the profile page after the user enters or modifies any of the added USERFIELDS!

ô¿~
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

What version of the forum are you using?
Do you have a URL I can check?

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 29 December 2000 :  04:05:58  Show Profile  Visit HuwR's Homepage
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Well, I got the Mods Commander and it installed easily. The changes HuwR suggested were downloaded and istalled as directed. But, now the registration/logon now does not work. Did I miss something?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

What problems are you getting registering/logon.?
What version of the Forumcode are you using.?

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

bencal
Starting Member

USA
17 Posts

Posted - 29 December 2000 :  08:17:41  Show Profile  Send bencal a Yahoo! Message
I'm using version V3_1_SR3_final.

The inc_functions.asp already has the 2 new functions in it from the zip file (UserFields.zip).

I get the following message after loading the UserFields.zip files, re-pointing my config.asp to the database, and running Member_profile.setup.asp:

Microsoft OLE DB Provider for ODBC Drivers error '80040e10'

[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 2.

/forums/inc_functions.asp, line 1252

This appearing in the table header area above the labels(FORUMS/TOPICS/POSTS/LAST POST...).

If I try to Log In I get:
Microsoft VBScript runtime error '800a01c2'

Wrong number of arguments or invalid property assignment: 'DoCookies'

/forums/inc_top.asp, line 1

Thanks for you assistance!


<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Well, I got the Mods Commander and it installed easily. The changes HuwR suggested were downloaded and istalled as directed. But, now the registration/logon now does not work. Did I miss something?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

What problems are you getting registering/logon.?
What version of the Forumcode are you using.?

<font color=blue>'Resistance is futile'</font id=blue>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote><i></i><i></i>
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 29 December 2000 :  10:45:22  Show Profile  Visit HuwR's Homepage
it sounds like you have a mixed up version, you should only get the docookies error if you have some sr4 files ?

What exactly did you do to install the Mod?

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

bencal
Starting Member

USA
17 Posts

Posted - 29 December 2000 :  11:41:29  Show Profile  Send bencal a Yahoo! Message
HuwR,

I unzipped the ModCMD.zip into the MODS folder. Then added the code:
[b]<!--#INCLUDE FILE="mods/modCMD.asp" -->[\b] to the admin_home.asp after line 94.

Then I unzipped the UserFields.zip to the FORUMS folder (which unzipped some files to the MODS folder).

Then I changed the [b]config.asp[\b] for the db type and connection string.

Then, I did setup.asp and went into the forums, to see the error.

I, after receiving your latest response, I went to SNITZ and for the SR4 version and did all the installation again, and got the same results....

The same errors occurred using SR3_final and SR4..Is there a version I should be using other than what I have?


Thanks-

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
it sounds like you have a mixed up version, you should only get the docookies error if you have some sr4 files ?

What exactly did you do to install the Mod?

<font color=blue>'Resistance is futile'</font id=blue>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 29 December 2000 :  11:54:48  Show Profile  Visit HuwR's Homepage
If you install the latest forum code without the mods, does everything work OK ?

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

frankie
Junior Member

Vatican City
304 Posts

Posted - 29 December 2000 :  12:18:53  Show Profile  Visit frankie's Homepage  Send frankie an AOL message  Send frankie an ICQ Message  Send frankie a Yahoo! Message
HuwR,

I'm using v3.1 SR4 and I did change the user and password cookie settings to <font color=blue>strUniqueID</font id=blue>. But it sounds that when a user registers and fills those fields or when a member modifies or edits his profile the <font color=red>Usr_Value</font id=red> field is not added to the db table for some apparent reason!

I'm sorry I don't have a url for you test it as of yet!

ô¿~
Go to Top of Page

bencal
Starting Member

USA
17 Posts

Posted - 29 December 2000 :  12:29:32  Show Profile  Send bencal a Yahoo! Message
HuwR,
Yes, SR4,plain vanilla, works fine.


<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
If you install the latest forum code without the mods, does everything work OK ?

<font color=blue>'Resistance is futile'</font id=blue>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 29 December 2000 :  13:26:33  Show Profile  Visit HuwR's Homepage
if you could bare with me a couple of days I will look into it, bit busy at the moment. But as soon as I get chance, will check it out.

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

bencal
Starting Member

USA
17 Posts

Posted - 29 December 2000 :  14:33:54  Show Profile  Send bencal a Yahoo! Message
HuwR,
Will do, Thanks for your help! If it would help, I can send you my files... let me know.

Thanks- <img src=icon_smile_cool.gif border=0 align=middle>


<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
if you could bare with me a couple of days I will look into it, bit busy at the moment. But as soon as I get chance, will check it out.

<font color=blue>'Resistance is futile'</font id=blue>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote><img src=icon_smile.gif border=0 align=middle><img src=icon_smile.gif border=0 align=middle>

Edited by - bencal on 29 December 2000 14:35:52

Edited by - bencal on 29 December 2000 14:36:30

Edited by - bencal on 29 December 2000 14:37:00

Edited by - bencal on 02 January 2001 18:40:27
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 29 December 2000 :  14:59:58  Show Profile  Visit HuwR's Homepage
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
HuwR,
Will do, Thanks for your help! If it would help, I can send you my files... let me know.

Thanks- <img src=icon_smile_cool.gif border=0 align=middle>


<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
if you could bare with me a couple of days I will look into it, bit busy at the moment. But as soon as I get chance, will check it out.

<font color=blue>'Resistance is futile'</font id=blue>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote><img src=icon_smile.gif border=0 align=middle><img src=icon_smile.gif border=0 align=middle>

Edited by - bencal on 29 December 2000 14:35:52

Edited by - bencal on 29 December 2000 14:36:30

Edited by - bencal on 29 December 2000 14:37:00
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

That would be useful if you could

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

bencal
Starting Member

USA
17 Posts

Posted - 29 December 2000 :  21:57:12  Show Profile  Send bencal a Yahoo! Message
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
HuwR,
Will do, Thanks for your help! If it would help, I can send you my files... let me know.

Thanks- <img src=icon_smile_cool.gif border=0 align=middle>


<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
if you could bare with me a couple of days I will look into it, bit busy at the moment. But as soon as I get chance, will check it out.

<font color=blue>'Resistance is futile'</font id=blue>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote><img src=icon_smile.gif border=0 align=middle><img src=icon_smile.gif border=0 align=middle>

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

That would be useful if you could

<font color=blue>'Resistance is futile'</font id=blue>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

<b>I sent it to your email listed in your Profile...</b>



Edited by - bencal on 02 January 2001 18:41:00
Go to Top of Page

kycable
New Member

USA
82 Posts

Posted - 01 January 2001 :  12:07:44  Show Profile  Visit kycable's Homepage  Send kycable an AOL message
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Line 59 is:
rs2.AbsolutePage = iPage
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

I have added a small fix to this, modify line 59 to this

'############################################
if rs2.AbsolutePage > 0 then
rs2.AbsolutePage = iPage
end if
'############################################

I had also changed the [Page:1/0] so it would display correctly [Page:1/1] by changing line 80 to this:

'############################################
response.write "   [Page:" & iPage & "/"
if iPageCount = 0 then
iPageCount = 1
end if
response.write iPageCount & "]"
'############################################


Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 01 January 2001 :  12:16:41  Show Profile  Visit HuwR's Homepage
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Line 59 is:
rs2.AbsolutePage = iPage
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

I have added a small fix to this, modify line 59 to this

'############################################
if rs2.AbsolutePage > 0 then
rs2.AbsolutePage = iPage
end if
'############################################

I had also changed the [Page:1/0] so it would display correctly [Page:1/1] by changing line 80 to this:

'############################################
response.write "   [Page:" & iPage & "/"
if iPageCount = 0 then
iPageCount = 1
end if
response.write iPageCount & "]"
'############################################

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Thanks Kycable,
I had already changed the first part to
if not rs2.BOF or not rs2.EOF then
rs2.AbsolutePage = iPage
end if

, but have updated the second part as you suggested.

Will get round to fixing the files for download when I get chance.

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07