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 addon + members since
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

zerakh
Junior Member

120 Posts

Posted - 17 September 2005 :  13:41:25  Show Profile
I have the members since mod added to my forums as well as the active users mod. What I am looking for is to try and implement the addon for active users: where users can see whether the poster is online when viewed from a specific topic.

I followed the directions from ::
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=42436&SearchTerms=online/offline

It does work, with some exceptions; the code pushes either itself or the members since mod to the top of the topic: above the title for the topic and author title.

How do I get it to show in the correct spot (below the authors name- for both the members since and status)?

AnonJr
Moderator

United States
5768 Posts

Posted - 17 September 2005 :  13:50:21  Show Profile  Visit AnonJr's Homepage
Have you double-checked the HTML put out? Just off the top of my head I'd say it was a missing/extra tag somewhere...
Go to Top of Page

zerakh
Junior Member

120 Posts

Posted - 17 September 2005 :  14:37:51  Show Profile
I dont see anything wrong, but I could be wrong. Here was a picture of what happened when I have both codes working together::


as you can see, the members since is above the authors, and with more posters, the more is seen in that location.

here is the code from my topic.asp and inc_func_common.asp, links are respective.


http://www.ichabod.org/tests/topic.txt
http://www.ichabod.org/tests/inc_func_common.txt
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 17 September 2005 :  14:42:34  Show Profile  Visit AnonJr's Homepage
Its definatly an errant tag. Lemme see if I can find it.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 17 September 2005 :  14:45:31  Show Profile  Visit AnonJr's Homepage
Line 592 you have an extra </td>

and on Line 800


Because you are closing the table cell after you write the status, it doesn't know what to do with the "Member Since" part.

Just get rid of those two extra closing tags and all should be ok.
Go to Top of Page

zerakh
Junior Member

120 Posts

Posted - 17 September 2005 :  17:29:56  Show Profile
yup, that seemed to do the trick- thanks, I appreciate it.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 17 September 2005 :  22:07:00  Show Profile  Visit AnonJr's Homepage
Not a problem. That's what we're here for.
Go to Top of Page

zerakh
Junior Member

120 Posts

Posted - 17 September 2005 :  23:32:45  Show Profile
any suggetsions how I can get rid of the text (Status: online/offline) in exchange for images (with alt text stating whether the 2 images are online or offline?)
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 17 September 2005 :  23:56:58  Show Profile  Visit AnonJr's Homepage
Replace the words with the image tags for the images you want to use.
Go to Top of Page

zerakh
Junior Member

120 Posts

Posted - 18 September 2005 :  00:34:29  Show Profile
I can understand the replacing the status section, but isnt it tied into the database string, and then comes back with a value?

quote:
" <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>Status: "& AUMemberStatus(arrOnlineMembers, Reply_MemberID) &"</small></font></p></td>" & vbNewLine & _

Go to Top of Page

StudyManSteve
Starting Member

New Zealand
11 Posts

Posted - 18 September 2005 :  06:13:31  Show Profile
zerakh - the string comes from inc_func_common.asp. So you will need to edit the AUMemberStatus function in that file to return appropriate img tags instead of 'online' or 'offline'

I'll add - Classicmotorcycling posted a nice mod to the AUMemberStatus function here:
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=42436&SearchTerms=Start+code

Edited by - StudyManSteve on 18 September 2005 06:32:48
Go to Top of Page

zerakh
Junior Member

120 Posts

Posted - 18 September 2005 :  09:30:43  Show Profile
yeha- that was one of the pages I had been looking at. After following his code, I had screwed some things up, hence this topic. But with Anon's help, I managed to straighten out my code.

Thank you for your help, with it, I managed to locate the correct spot and put in my images. The one thing thats not showing is the alt tags.
quote:
" <img src=""user_online.gif"" border=""0"" alt=""Member is online"">"

I tried this way as well as::
quote:
"<img src='user_online.gif' alt='Member is online.'>"


each one works, just not with the alt tag-
I'm just looking to say that the user is offline

when I have this:: AUMemberStatus = "offline"
it states (text) that the user is offline. With the image, the user holds the mouse over the image and the text shows that the user is offline.
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.43 seconds. Powered By: Snitz Forums 2000 Version 3.4.07