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: Addition to active_users.asp
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

big9erfan
Average Member

540 Posts

Posted - 19 April 2001 :  23:14:47  Show Profile
This adds those cool little icons for AIM, ICQ, Yahoo, and Private Messages to the Active Users table.

Demo:
http://www.ugfl.net/forums/active_users.asp

File:
http://www.ugfl.net/test/active_users.txt


Hope you guys like it...


http://www.ugfl.net/forums

rick7165
Senior Member

USA
1094 Posts

Posted - 19 April 2001 :  23:19:13  Show Profile  Visit rick7165's Homepage
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.
Go to Top of Page

MDGamezz
Junior Member

USA
100 Posts

Posted - 19 April 2001 :  23:35:40  Show Profile  Send MDGamezz an AOL message  Send MDGamezz an ICQ Message
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
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 19 April 2001 :  23:42:26  Show Profile
I use this
<!--#include file="active_users2.asp"-->

just before

<%if strShowStatistics = "1" then
WriteStatistics
end if
%>
</table>
</td>
</tr>
<tr>

here's a link to the file in case you don't have it

http://www.ugfl.net/test/active_users2.txt

http://www.ugfl.net/forums
Go to Top of Page

MDGamezz
Junior Member

USA
100 Posts

Posted - 20 April 2001 :  00:09:44  Show Profile  Send MDGamezz an AOL message  Send MDGamezz an ICQ Message
Thanks

MDGamezz
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 21 April 2001 :  21:32:51  Show Profile  Send e3stone an AOL message
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

Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 21 April 2001 :  21:38:37  Show Profile
Doh! Thanks for pointing that out. It will be fixed Sunday evening ( PST in the USA ).

http://www.ugfl.net/forums
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 24 April 2001 :  23:28:26  Show Profile  Send e3stone an AOL message
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
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 25 April 2001 :  00:43:56  Show Profile
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
Go to Top of Page

tilttek
Junior Member

Canada
333 Posts

Posted - 25 April 2001 :  11:14:56  Show Profile  Visit tilttek's Homepage
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
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 04 May 2001 :  10:41:50  Show Profile  Visit dayve's Homepage
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
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 04 May 2001 :  10:59:15  Show Profile
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
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 06 May 2001 :  06:35:50  Show Profile
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
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 06 May 2001 :  10:56:29  Show Profile  Send e3stone an AOL message
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
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 06 May 2001 :  23:42:48  Show Profile  Visit dayve's Homepage
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
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 07 May 2001 :  00:35:44  Show Profile  Send e3stone an AOL message
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
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07