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/O Code)
 male o female mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mas
New Member

78 Posts

Posted - 26 March 2002 :  16:20:40  Show Profile  Visit mas's Homepage
i would like that near the nick name appear the simbol of male and female like this

someone explains to me like making or if it exists.

thx Mas



Webmaster of VincereOnLine.it

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 26 March 2002 :  16:45:59  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
On which page(s) do you want it displayed? topic.asp?

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

mas
New Member

78 Posts

Posted - 26 March 2002 :  16:50:00  Show Profile  Visit mas's Homepage
even near the nick name left column if is possible in registration form a combo box for appear the simbol like guest want.

Webmaster of VincereOnLine.it
Go to Top of Page

mas
New Member

78 Posts

Posted - 28 March 2002 :  06:58:26  Show Profile  Visit mas's Homepage
onewaymule any suggestion for this mod ?

anyone make this?

Webmaster of VincereOnLine.it
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 28 March 2002 :  07:22:03  Show Profile
Open topic.asp and go to line 108:

strMemberTablePrefix & "MEMBERS.M_TITLE, " & _


Add this right below that line:

strMemberTablePrefix & "MEMBERS.M_SEX, " & _


Go to line 213:

strMemberTablePrefix & "MEMBERS.M_TITLE, " & _


Add this right below that line:

strMemberTablePrefix & "MEMBERS.M_SEX, " & _


Go to lines 378 to 383:

<a href="pop_profile.asp?mode=display&id=<% =rsReplies("R_AUTHOR") %>">
<% else %>
<a href="JavaScript:openWindow3('pop_profile.asp?mode=display&id=<% =rsReplies("R_AUTHOR") %>')">
<% end if %>
<font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b><% =ChkString(rsReplies("M_NAME"),"display") %></a>
</b></font>


Add this block of code right below that:

<% if rsReplies("M_SEX") <> " " then
if rsReplies("M_SEX") <> "Female" then
Response.Write "<img src=""icon_male.gif"" height=""something"" width=""something"" border=""0"" alt=""Male""><br>"
else
Response.Write "<img src=""icon_female.gif"" height=""something"" width=""something"" border=""0"" alt=""Female""><br>"
end if
end if


Now go to lines 525 to 531:

<% if strUseExtendedProfile then %>
<a href="pop_profile.asp?mode=display&id=<% =rsTopic("MEMBER_ID") %>">
<% else %>
<a href="JavaScript:openWindow3('pop_profile.asp?mode=display&id=<% =rsTopic("MEMBER_ID") %>')">
<% end if %>
<font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b><% =ChkString(rsTopic("M_NAME"),"display") %></a>
</b></font>


Place this code right below it:

<% if rsTopic("M_SEX") <> " " then
if rsTopic("M_SEX") <> "Female" then
Response.Write "<img src=""icon_male.gif"" height=""something"" width=""something"" border=""0"" alt=""Male""><br>"
else
Response.Write "<img src=""icon_female.gif"" height=""something"" width=""something"" border=""0"" alt=""Female""><br>"
end if
end if


That should be all there is to it. Just make sure you edit the image tags correctly so they'll point to the image and use the correct height and width.

Let me know if you need any help

Codes are okay now. Best way to get it working is to click the reply with quote icon for this post and copy the codes from the editor.
That way the spaces & tabs will stay put. Note! you will have to remove four instances of [red] and [/red].

<edit> Thanks OneWay for testing it and pointing me to the missing quotes </edit>



http://www.frutzle.com

Snitz Exchange | Do's and Dont's

Edited by - FrutZle on 28 March 2002 08:36:18
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 28 March 2002 :  07:23:10  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Hmm... you're too fast for me...!

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs


Edited by - OneWayMule on 28 March 2002 07:24:35
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 28 March 2002 :  07:34:12  Show Profile
quote:

Hmm... you're too fast for me...!

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs


Edited by - OneWayMule on 28 March 2002 07:24:35



I haven't really tested it yet though...



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 28 March 2002 :  08:05:27  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Hey FrutZle, I've just tested it and it works fine.
You've forgotten some quotes though, I've marked them red in the quote.

I've made a screenshot to see how it looks like (btw the images are 11x11):


And you can download/view the edited topic.asp here.

quote:

Open topic.asp and go to line 108:

strMemberTablePrefix & "MEMBERS.M_TITLE, " & _


Add this right below that line:

strMemberTablePrefix & "MEMBERS.M_SEX, " & _


Go to line 213:

strMemberTablePrefix & "MEMBERS.M_TITLE, " & _


Add this right below that line:

strMemberTablePrefix & "MEMBERS.M_SEX, " & _


Go to lines 378 to 383:

<a href="pop_profile.asp?mode=display&id=<% =rsReplies("R_AUTHOR") %>">
<% else %>
<a href="JavaScript:openWindow3('pop_profile.asp?mode=display&id=<% =rsReplies("R_AUTHOR") %>')">
<% end if %>
<font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b><% =ChkString(rsReplies("M_NAME"),"display") %></a>
</b></font>


Add this block of code right below that:

<% if rsReplies("M_SEX") <> " " then
if rsReplies("M_SEX") <> "Female" then
Response.Write "<img src=""icon_male.gif"" height=""something"" width=""something"" border=""0"" alt=""Male""><br>"
else
Response.Write "<img src=""icon_female.gif"" height=""something"" width=""something"" border=""0"" alt=""Female""><br>"
end if
end if


Now go to lines 525 to 531:

<% if strUseExtendedProfile then %>
<a href="pop_profile.asp?mode=display&id=<% =rsTopic("MEMBER_ID") %>">
<% else %>
<a href="JavaScript:openWindow3('pop_profile.asp?mode=display&id=<% =rsTopic("MEMBER_ID") %>')">
<% end if %>
<font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b><% =ChkString(rsTopic("M_NAME"),"display") %></a>
</b></font>


Place this code right below it:

<% if rsTopic("M_SEX") <> " " then
if rsTopic("M_SEX") <> "Female" then
Response.Write "<img src=""icon_male.gif"" height=""something"" width=""something"" border=""0"" alt=""Male""><br>"
else
Response.Write "<img src=""icon_female.gif"" height=""something"" width=""something"" border=""0"" alt=""Female""><br>"
end if
end if


That should be all there is to it. Just make sure you edit the image tags correctly so they'll point to the image and use the correct height and width.

Let me know if you need any help



http://www.frutzle.com

Snitz Exchange | Do's and Dont's



-------------------------------------------------
Installation Guide | Do's and Dont's | MODs


Edited by - OneWayMule on 28 March 2002 08:49:49
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 28 March 2002 :  08:31:54  Show Profile
Thanks! Looks like I forgot one more OWM: in the line right below the one you put the "

I'll change the original codes a couple replies up to prevent questions about it.



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

mas
New Member

78 Posts

Posted - 28 March 2002 :  17:20:13  Show Profile  Visit mas's Homepage
it's ok but how he is all male ?

how i can assign if male or female?

look my site all male azz

thx frutzle and onewaymule

Webmaster of VincereOnLine.it
Go to Top of Page

Blakord
Starting Member

Venezuela
22 Posts

Posted - 28 March 2002 :  17:50:01  Show Profile
put auction, now all member have to update profiles i think

<script src="http://www.cdv3k.com/banners/firma/firma.js" type="text/javascript"></script>
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 29 March 2002 :  06:56:51  Show Profile
quote:

it's ok but how he is all male ?

how i can assign if male or female?

look my site all male azz

thx frutzle and onewaymule

Webmaster of VincereOnLine.it



It should work, unless you've actually altered the values for "male" and "female" in the profile Sex selection box.
Just change the instances male to whatever you have for male and do the same for female. It has to work, I know it does.



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

mas
New Member

78 Posts

Posted - 29 March 2002 :  07:11:01  Show Profile  Visit mas's Homepage
i don't have in the profile the value male o female .

i have snitz 3.303 and this option don't exist.

Webmaster of VincereOnLine.it
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 29 March 2002 :  07:21:17  Show Profile
Nice logo, too bad it's only used on the home page and not on the forums

The reason why you don't have that option is because you don't have Sex turned on (wow that sounds weird... lol). Go to the Admin Options > Members Detail Configuration and turn Sex on.



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

mas
New Member

78 Posts

Posted - 29 March 2002 :  13:50:41  Show Profile  Visit mas's Homepage
yes very nice logo the best webdesigner have make my logo.

in the forum a little flash banner that have make myself.

thx frutzle for the info lol i' don't remember the option in admin panel.

Webmaster of VincereOnLine.it
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 29 March 2002 :  14:13:28  Show Profile
I can't enter any of your forums as they're all for members only, but I take it you got it working...

Good luck with your forums



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
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.48 seconds. Powered By: Snitz Forums 2000 Version 3.4.07