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 WhoIsInside
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 8

extrafree
New Member

54 Posts

Posted - 19 November 2001 :  13:05:31  Show Profile  Visit extrafree's Homepage
How can I do to make colored the write " also here " and "inside" ?

exemple :

also here:manuel,luca,patrizia,gabriele

thanks....

the italian golden forum
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 19 November 2001 :  13:05:57  Show Profile
You can easily upgrade to this. It will remove the code redundancy. I believe you have the same code in six different files. More over I use the function CleanURL for showing the acronym while doing a mouseover on the active users name.

GauravBhabu
There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 19 November 2001 :  13:12:20  Show Profile
Look for the similar statement in inc_function.asp and modify as shown

Case "T"
Response.write "<br><img src=""" & strImageURL & "icon_blank.gif"" height=15 width=15 border=""0""><img src=""" & strImageURL & "icon_blank.gif"" height=15 width=15 border=""0""><img src=""" & strImageURL & "icon_bar.gif"" height=15 width=15 border=""0""><font color=""red""> (Also Here:</font> "
end select



GauravBhabu
There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 22 November 2001 :  12:29:05  Show Profile  Visit rick7165's Homepage
Something funny going on.... In the forums online users show: Rick7165, and 3 guests On other pages it shows Rick7165, and guests I have 2 active users files... one called inc_active_users.asp which you fixed and another called active_users.asp

Test Site:
EastPasco running on Huw's Code 3.3.10 SQL 2000
Need a Snitz MOD? Click Here: Snitz Mod Resource
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 22 November 2001 :  12:47:22  Show Profile
Whichever page you want to show active user count add the following statement under the case statement for that page

bActiveUserCount = True 


By default it is only set for default.asp


Case "default.asp"
strOnlineLocation = strOnlineLocation & "Forums"
bActiveUserCount = true


GauravBhabu
There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 22 November 2001 :  13:08:53  Show Profile  Visit rick7165's Homepage
I'm not sure I understand you... All I've done is put your mod in. It shouldn't change anything. I have 2 active user files you mod only had one the inc file. So is this going to affect everything? and which files do I need to modify for this to be like it was?



Test Site:
EastPasco running on Huw's Code 3.3.10 SQL 2000
Need a Snitz MOD? Click Here: Snitz Mod Resource
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 22 November 2001 :  13:17:06  Show Profile
The file which you include in inc_top.asp. That is what I included in the zip for HUWR code. It is named inc_activeusers.asp.

You will see the following stetments in that file. Just add the pages where you want to show the active user count. If the page is already there then add the statement

bActiveUserCount = true as shown in red below

 
Select Case strOnlinePageName
Case "active.asp"
strOnlineLocation = strOnlineLocation & "Active Topics"
Case "members.asp"
strOnlineLocation = strOnlineLocation & "Members"
Case "search.asp"
strOnlineLocation = strOnlineLocation & "Search"
Case "events.asp"
strOnlineLocation = strOnlineLocation & "Events Calendar"
Case "faq.asp"
strOnlineLocation = strOnlineLocation & "FAQ"
Case "pm_view.asp"
strOnlineLocation = strOnlineLocation & "Private Message Inbox"
Case "pm_options.asp"
strOnlineLocation = strOnlineLocation & "Private Messages Options"
Case "privatesend.asp"
strOnlineLocation = strOnlineLocation & "Sending Private Message"
Case "active_users.asp"
strOnlineLocation = strOnlineLocation & "Active Users"
Case "guestbook.asp"
strOnlineLocation = strOnlineLocation & "GuestBook"
Case "default.asp"
strOnlineLocation = strOnlineLocation & "Forums"
bActiveUserCount = true

Case "SOMEPAGE.asp"
strOnlineLocation = strOnlineLocation & "SOME DESCRIPTION"
bActiveUserCount = true



GauravBhabu
There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 22 November 2001 :  13:26:29  Show Profile  Visit rick7165's Homepage
Hmmm... Maybe that's the problem... I have the Huw file included in your zip and I don't have any code like that.

Test Site:
EastPasco running on Huw's Code 3.3.10 SQL 2000
Need a Snitz MOD? Click Here: Snitz Mod Resource
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 22 November 2001 :  13:41:14  Show Profile  Visit rick7165's Homepage
GauravBhabu it I've looked back and I think you have a old active uers file.


Test Site:
EastPasco running on Huw's Code 3.3.10 SQL 2000
Need a Snitz MOD? Click Here: Snitz Mod Resource
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 22 November 2001 :  13:49:45  Show Profile
The one you are using is from an older version. The file you have uses if elseif and the file I have included in the zip uses select case statements. And that is lot easier to manage. And there is no real difference between two files. I do'nt understand why you cannot use the file included in the zip.

GauravBhabu
There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 22 November 2001 :  13:58:13  Show Profile  Visit rick7165's Homepage
I just uploaded yours... Let me see what's going on now... it's not showing the number of guest

Test Site:
EastPasco running on Huw's Code 3.3.10 SQL 2000
Need a Snitz MOD? Click Here: Snitz Mod Resource
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 22 November 2001 :  14:05:19  Show Profile
since you are not making the changes, I suggested, I have made the changes to the file in zip. Zip is updated. use the filr which is in HUWR folder

GauravBhabu
There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 22 November 2001 :  14:09:39  Show Profile  Visit rick7165's Homepage
I made the changes... I somehow got confused with 2 files. and they got mixed up in the folders.

I'll download and look at what you did. I also added the portal_content.asp to mine so now it works fine.


Thanks


Test Site:
EastPasco running on Huw's Code 3.3.10 SQL 2000
Need a Snitz MOD? Click Here: Snitz Mod Resource
Go to Top of Page

wagnersean
New Member

USA
74 Posts

Posted - 14 January 2002 :  18:57:09  Show Profile  Visit wagnersean's Homepage  Send wagnersean an AOL message
I cannot seem to download the file! It gives me an error! please Help!

Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 14 January 2002 :  20:43:53  Show Profile
Link Updated.

www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Go to Top of Page
Page: of 8 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.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07