Author |
Topic |
big9erfan
Average Member
540 Posts |
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 19 April 2001 : 23:19:13
|
Great Job Big9erfan!!
Awesome addon!!
Thanks, Rick
Test Site www.eastpasco.com Running on HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser. |
|
|
MDGamezz
Junior Member
USA
100 Posts |
Posted - 19 April 2001 : 23:35:40
|
You seem to have this active users mod down . I was at your site and I'm wondering how did you get names of the active users to show up on your board at the bottom ?
Nice addon for active users !
MDGamezz |
|
|
big9erfan
Average Member
540 Posts |
|
MDGamezz
Junior Member
USA
100 Posts |
Posted - 20 April 2001 : 00:09:44
|
Thanks
MDGamezz |
|
|
e3stone
Average Member
USA
885 Posts |
Posted - 21 April 2001 : 21:32:51
|
big9erfan...great little mod. I just used the code on my website, but I noticed one thing; is that suppose to say "no conact" or "no contact"? just a wittle bitty typo
|
|
|
big9erfan
Average Member
540 Posts |
Posted - 21 April 2001 : 21:38:37
|
Doh! Thanks for pointing that out. It will be fixed Sunday evening ( PST in the USA ).
http://www.ugfl.net/forums |
|
|
e3stone
Average Member
USA
885 Posts |
Posted - 24 April 2001 : 23:28:26
|
I just noticed that we have a flower icq image that turns green when the member in on ICQ, but nothing like that for Yahoo Messenger, so I did some hunting and found something. You've probably seen it; its a yellow smile face when online and a gray face when offline.
Just replace this code in Big9erfan's active user mod:
<img src="icon_yahoo.gif" height=15 width=15 alt="Send <% =ChkString(rsMember("M_NAME"),"display") %> a Yahoo! Message" border="0" align="absmiddle" hspace="0">
with this code:
<img src="http://opi.yahoo.com/online?u=<%=rs2("M_YAHOO")%>&m=g" border="0" alt="Send <% =ChkString(rsMember("M_NAME"),"display") %> a Yahoo message" hspace="0">
Don't know if this has been addressed before, but I thought it was a nice way to "snitz" up the active user page. (of course, you can add it anywhere, but I'm fairly sure the variable names are specific for Big9erfan's mod, so you'd just have to change those)
Eric
Edited by - e3stone on 24 April 2001 23:29:48 |
|
|
big9erfan
Average Member
540 Posts |
Posted - 25 April 2001 : 00:43:56
|
Actually the variables are taken from the members.asp page.
You can do it there ( and you can change it on the topic lisiting as well if you want to get really creative ). I've just found that even adding the ICQ green or gray flower can slow down your forums if the ICQ server is slow.
Just a little FYI.
http://www.ugfl.net/forums |
|
|
tilttek
Junior Member
Canada
333 Posts |
Posted - 25 April 2001 : 11:14:56
|
quote:
Actually the variables are taken from the members.asp page. You can do it there ( and you can change it on the topic lisiting as well if you want to get really creative ). I've just found that even adding the ICQ green or gray flower can slow down your forums if the ICQ server is slow.
I think is because the isn't any width and height for the image... So the browser have to wait a little bit to know the size of the image.
Philippe Gamache http://www.tilttek.com http://www.lapageamelkor.com |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 04 May 2001 : 10:41:50
|
I get this problem intemittently. sometimes it works and then sometimes this:
Currently Browsing the Boards (3) dayve, error '80020009' Exception occurred.
/patriotforum/active_users2.asp, line 54
I have another forum using the same exact template on my server and this does not happen. Please advise.
Dayve |
|
|
big9erfan
Average Member
540 Posts |
Posted - 04 May 2001 : 10:59:15
|
does it give anymore info other than the line number? If you have friendly HTML errors on, please turn it off and see what it says.
Secondly, you said you're using the same code on another forum with no problems?
Make sure that you copied everything correctly, you may have something mistyped.
Also, what database are you using? Access, SQL, etc.
http://www.ugfl.net/forums
Edited by - big9erfan on 04 May 2001 10:59:48 |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 06 May 2001 : 06:35:50
|
Hello,
Does anyone know all the codes for the pages that are used with Active Users? i.e.;
ElseIf lcase(Right(strOnlinePathInfo, 10)) = "active.asp" Then strOnlineLocation = "<a href=""active.asp"">Active Topics</a>" ElseIf lcase(Right(strOnlinePathInfo, 11)) = "members.asp" Then strOnlineLocation = "<a href=""members.asp"">Members</a>" ElseIf lcase(Right(strOnlinePathInfo, 10)) = "search.asp" Then strOnlineLocation = "<a href=""search.asp"">Search</a>" ElseIf lcase(Right(strOnlinePathInfo, 17)) = "events.asp" Then strOnlineLocation = "<a href=""events.asp"">Events Calendar</a>" ElseIf lcase(Right(strOnlinePathInfo, 18)) = "links.asp" Then strOnlineLocation = "<a href=""links.asp"">Links Manager</a>" ElseIf lcase(Right(strOnlinePathInfo, 7)) = "faq.asp" Then strOnlineLocation = "<a href=""faq.asp"">FAQ</a>"
I just would like to know if there is any rules to the numbers used in the list after the strOnlinePathInfo in the inc_top.asp?
Any assistance would be great.
Regards,
Webmaster @ Classic Motor Cycling Classic Motor Cycling |
|
|
e3stone
Average Member
USA
885 Posts |
Posted - 06 May 2001 : 10:56:29
|
That number is how many characters are taken from the right side of the url name. i.e. ElseIf lcase(Right(strOnlinePathInfo, 10)) = "active.asp" Then strOnlineLocation = "<a href=""active.asp"">Active Topics</a>"
active.asp is 10 characters (including the period)
I don't understand why the events and links have 17 and 18, respectfully. That's probably a mistake.
<-- Eric -->
http://insidewaco.com |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 06 May 2001 : 23:42:48
|
ok here is my problem, I have two forums uploaded to the same server in different directories with their own databases. I troubleshot and found out that I am getting the error because on one forum I am logged in as nineinchnailz but there is no nineinchnailz on the other forum and when I go there it shows me as an active user and then eventually gives me an error.
how do I run two forums on the same server without problems??? especially if there are totally different account names?
the other problem is since the "cookie" is forcing nineinchnailz to show on the forum that doesn't have that as one of the members, I cannot register that name either. I am thinking this is a problem because what would happen if someone logged in as admin at their site and then came to my site? would that give admin rights to the other forum by mistake?
Dayve |
|
|
e3stone
Average Member
USA
885 Posts |
Posted - 07 May 2001 : 00:35:44
|
In your config.asp file around line 89 or 90, there's a variable called strUniqueID. Make sure your two forums have different UniqueID's. I believe this is the identifier for the cookie file stored on your computer. That might be causing your problems
<-- Eric -->
http://insidewaco.com |
|
|
Topic |
|