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
 My Avatars Add-On & register.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

withanhdammit
Junior Member

USA
236 Posts

Posted - 14 March 2005 :  23:05:26  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
I installed the My Avatars Add-On for my new forum. The add-on appears to work properly/normally except for when someone does their initial registration. Then the old/original avatar selection form is available. I'd actually like to have a user not able to select an avatar when the initially register, but allow them to select an avatar after they become a registered user.

Any ideas?

Thanks!

h

Snitz 3.4.05
MS Sql 2k
Tons of other mods
http://thepoopsheet.dnjhome.com
login as testuser/testuser (or register yourself)

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 15 March 2005 :  06:08:10  Show Profile
Look for <!--#INCLUDE FILE="inc_avatar.asp" --> in inc_profile.asp and wrap it in an if statement so it's only included if mode<>regsiter else use a hidden with the same name as the avatar select box that holds a value of "noavatar.gif".


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”

Edited by - Shaggy on 15 March 2005 10:41:52
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 15 March 2005 :  10:03:54  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
Thanks Shaggy, I'll give that a shot. I was looking in register.asp and couldn't find anything.

h
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 15 March 2005 :  10:42:21  Show Profile
Fixed a typo on the file name above, but I'm sure you'd spotted it already!


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 15 March 2005 :  11:27:42  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
Hadn't got to it yet. I had to work a little while on finding a real job...but I'm just getting ready to have a go now.

h
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 15 March 2005 :  12:03:13  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
Works great Shaggy! Thanks for the idea. My code is
if strMode <> "Register" then 
%>
<!--#INCLUDE FILE="inc_avatar.asp" -->
<%
end if

I tested it without the else statement, and it works just fine!

Thanks again!

h
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 15 March 2005 :  12:20:05  Show Profile
You're welcome Long time since I worked with the avatar mod so I wasn't sure if it'd throw up an error without the else.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
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.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07