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
 Active Users - Links (Members Online)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 06 February 2007 :  17:14:03  Show Profile
Help please - I wonder if there is a little code that will allow the Members Online list to display in the same manner as the other hyperlinks on the rest of the forum, i.e. with active,visted,hover properties the same as the main forum header links Home | Profile | Register | Active Topics | Members | Search | FAQ


The existing code I have is in the inc_activeusers.asp file
lines 179 onwards:

" " & fLang(strLangMOD_Ls3kAU_00100) & ": "
if intActiveMembers > 0 then
response.write strActiveMemberList & VBNewLine
else
response.write fLang(strLangMod_Ls3kAU_00110) & VBNewLine
end if
response.write " </font>" & VBNewLine & _
" </td>" & VBNewLine & _
" </tr>"

any help would be appreciated<

Edited by - Andy Humm on 07 February 2007 12:15:32

PPSSWeb
Junior Member

312 Posts

Posted - 07 February 2007 :  12:25:48  Show Profile
Search for strActiveMemberList in inc_activeusers.asp around line 64. This is the list of names of online members. You will see in the subsequent lines how the list and links are created. You can modifiy this code to be similar to the other links by adding to the "<a href" whatever you would like just be sure to close any additional tags you open in the subsequent lines.<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 07 February 2007 :  12:59:10  Show Profile
Thank you ppssweb, this is where I was at, see code extracted above:
I was hoping some 'coding whizz' could show me where to put the font attributing code around the response.write strActiveMemberList & VBNewLine
<
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 07 February 2007 :  14:00:54  Show Profile  Visit MaD2ko0l's Homepage
y dont u change the colours in the active users admin options to the same as the forum colours in the admin pannel?<

© 1999-2010 MaD2ko0l
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 11 February 2007 :  04:38:10  Show Profile
I think those options offered in the admin options purely highlights the moderators and admin personnel. I was looking for the Members online listing to display the same as the rest with hover and hyperlinks properties. Just like the menu at the header Home | Profile | Register | Active Topics | Members | Search | FAQ


<
Go to Top of Page

PPSSWeb
Junior Member

312 Posts

Posted - 12 February 2007 :  08:46:11  Show Profile
The modifications you will need to make will be in the lines I indicated above not the lines you originally posted. This is where the list of active users is created as a string to be printed and the formatting applied. You will add to the html encoding here to create the look you want.

for example you could add the hover to a name by adding the acronym tag to the following line (~line #72):
strActiveMemberList = strActiveMemberList & "<font color=""" & strDefaultFontColor & """><acronym title=""Open User Profile"">"

and close it (~line #83)
strActiveMemberList = strActiveMemberList & "</acronym></a>"

If you want the links to look like the ones from the header, search in inc_header.asp for strHomeURL and use that as an example.<

Edited by - PPSSWeb on 12 February 2007 16:08:45
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 02 May 2008 :  14:46:16  Show Profile
After all this time, I thought I would revisit the problem, and with the kind help of Leatherlips, he has provided the answer. (Thank you)

inc_activeusers.asp line 72 reads
strActiveMemberList = strActiveMemberList & "<font color=""" & strDefaultFontColor & """>


Replace strDefaultFontColor with strDefaultLinkColor
strActiveMemberList = strActiveMemberList & "<font color=""" & strDefaultLinkColor & """>


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