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: Strip profileLink Tease
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Etymon
Advanced Member

United States
2393 Posts

Posted - 31 January 2005 :  22:48:43  Show Profile  Visit Etymon's Homepage
This MOD makes the profile link under a member's name disappear when a site visitor is not logged in.

For example, when not logged in, the site visitor sees Etymon, and when logged in, the site member sees Etymon.

Demo site: www.CricketsCreations.com

Username: demo
Password: demo

----------------------------------------------------

MOD: Strip profileLink Tease

* Open inc_func_common.asp and replace function profileLink(fName, fID) with the modified profileLink function below:


function profileLink(fName, fID)
	if MemberID < 1 or mlev < 1 then
		profileLink = "<b>" & strReturn & fName & "</b>"
	else
		if instr(fName,"img src=") > 0 then
			strExtraStuff = ""
		else
			strExtraStuff = " title=""View " & fName & "'s Profile""" & dWStatus("View " & fName & "'s Profile")
		end if
		if strUseExtendedProfile then
			strReturn = "<b><a href=""pop_profile.asp?mode=display&id=" & fID & """" & strExtraStuff & ">"
		else
			strReturn = "<a href=""JavaScript:openWindow3('pop_profile.asp?mode=display&id=" & fID & "')""" & strExtraStuff & ">"
		end if
		profileLink = strReturn & fName & "</a></b>"
	end if
end function

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 01 February 2005 :  02:33:08  Show Profile  Visit MarcelG's Homepage
Brilliant!!!!! Why didn't someone else come up with this earlier!!! Thanks!

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 01 February 2005 :  06:01:20  Show Profile
Simple, yet ingenius!


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

Etymon
Advanced Member

United States
2393 Posts

Posted - 02 February 2005 :  11:06:28  Show Profile  Visit Etymon's Homepage
Go to Top of Page

Silneil
Starting Member

Brazil
5 Posts

Posted - 07 February 2005 :  05:11:51  Show Profile
Hello Etymon,

Exist some MOD for this¿

http://www.cricketscreations.com/forum/



Thanks,

Silneil
Go to Top of Page

Etymon
Advanced Member

United States
2393 Posts

Posted - 07 February 2005 :  10:07:26  Show Profile  Visit Etymon's Homepage

Sure! Try this topic ...

MOD: Pic by forum
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=47800
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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07