Author |
Topic |
extrafree
New Member
54 Posts |
Posted - 19 November 2001 : 13:05:31
|
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
|
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 19 November 2001 : 13:05:57
|
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. |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 19 November 2001 : 13:12:20
|
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. |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 22 November 2001 : 12:29:05
|
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 |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 22 November 2001 : 12:47:22
|
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. |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 22 November 2001 : 13:08:53
|
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 |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 22 November 2001 : 13:17:06
|
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. |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 22 November 2001 : 13:26:29
|
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 |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 22 November 2001 : 13:41:14
|
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 |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 22 November 2001 : 13:49:45
|
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. |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 22 November 2001 : 13:58:13
|
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 |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 22 November 2001 : 14:05:19
|
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. |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 22 November 2001 : 14:09:39
|
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 |
|
|
wagnersean
New Member
USA
74 Posts |
Posted - 14 January 2002 : 18:57:09
|
I cannot seem to download the file! It gives me an error! please Help!
|
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 14 January 2002 : 20:43:53
|
Link Updated.
www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
|
|
Topic |
|