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)
 Active Users add-on (User Status)
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 6

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 05 September 2003 :  04:39:36  Show Profile
quote:
Originally posted by reef120

Where can I get the offline/online mod with install directions? Can someone please post this mod I would love to add it to my forum



read this topic ??!!

The UK MkIVs Forum
Go to Top of Page

guessme
Banned User

393 Posts

Posted - 03 October 2003 :  04:14:01  Show Profile  Visit guessme's Homepage
This is cool! How do i add a space or 2 between the posts count and this. Also how do i change the size of the text.

In razisals code he has these [<b></b>] but i tried it with and without and doesn't seem needed.
AUMemberStatus = "<font color=green><b>online</b></font>"


Edited by - guessme on 03 October 2003 04:21:34
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 03 October 2003 :  07:59:46  Show Profile
try putting <br> before <font color=green> for the space and use the size attribute for the font size
eg
AUMemberStatus = "<br><font color=green size=[number]><b>online</b></font>"

The UK MkIVs Forum
Go to Top of Page

guessme
Banned User

393 Posts

Posted - 03 October 2003 :  12:46:37  Show Profile  Visit guessme's Homepage
Thanks!

Go to Top of Page

choppermc
New Member

Australia
80 Posts

Posted - 04 October 2003 :  03:16:33  Show Profile  Send choppermc an AOL message
Hi David, great mod!
I'm not normally one to complicate things, but how hard would it be to put a Status section in pop_profile.asp and members.asp?
I think they might be good places to implement this mod.

Oh....Is that it?

Edited by - choppermc on 05 October 2003 08:18:15
Go to Top of Page

kenpo_kirk
Starting Member

2 Posts

Posted - 07 October 2003 :  00:01:45  Show Profile
I'm getting the following errors:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'fLang'

/admin_home.asp, line 131


AND

error '80020009'

Exception occurred.

/inc_func_common.asp, line 130
Go to Top of Page

Faizan
Average Member

United Kingdom
592 Posts

Posted - 30 October 2003 :  10:58:52  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
I get the following error:

Microsoft VBScript compilation (0x800A03EA)
Syntax error
/snitz/forum1/inc_func_common.asp, line 161
function AUGetOnlineMembers()


Is the code alright, or have I installed it wrong?


»Snitz Graphics
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 31 October 2003 :  14:30:00  Show Profile
Double check you have added the functions to inc_func_common.asp, a syntax error on a function call generally means it doesn't exist

The UK MkIVs Forum
Go to Top of Page

Faizan
Average Member

United Kingdom
592 Posts

Posted - 31 October 2003 :  19:34:23  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
Oh right, I'll have a look at it tonight.



»Snitz Graphics
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 31 October 2003 :  19:40:25  Show Profile
I'm off away for the weekend but if you're still having trouble, post text versions of inc_func_common.asp and topic.asp and i'll have a look on Monday

The UK MkIVs Forum
Go to Top of Page

Faizan
Average Member

United Kingdom
592 Posts

Posted - 06 November 2003 :  20:19:28  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
In inc_func_common.asp, on line 60, just after sub AUHandleLoging(), I pasted the first bit, so it now looks like:

quote:

sub AUHandleLoging()
function AUGetOnlineMembers()
strSql ="SELECT " & strTablePrefix & "ACTIVE_USERS.MEMBER_ID "
strSql = strSql & " FROM " & strTablePrefix & "ACTIVE_USERS "
set rsOnline = my_Conn.Execute(strSql)
AUGetOnlineMembers = rsOnline.GetRows()
rsOnline.close
set rsOnline = nothing
end function

function AUMemberStatus(OnlineMembers, CurrentMember)
for intRow = 0 to UBound(OnlineMembers, 2)
if OnlineMembers(0,intRow) = CurrentMember then
AUMemberStatus = "online"
exit function
end if
next
AUMemberStatus = "offline"
end function



But in topic.asp, it says just above where the forum sql begins, is it above the following line?
Line 99:
quote:
'## Forum_SQL - Get original topic and check for the Category, Forum or Topic Status and existence
...or is it some other place? I am sorry but I am just dumb at ASP.

[By the way, I used my original back-up of my files to install this MOD again, the last modified files were messed up.]

TIA



»Snitz Graphics

Edited by - Faizan on 06 November 2003 20:29:54
Go to Top of Page

Medic397
New Member

80 Posts

Posted - 12 November 2003 :  19:10:36  Show Profile  Visit Medic397's Homepage  Send Medic397 an AOL message  Send Medic397 a Yahoo! Message
I have posted the code as stated above and used the code for access, but it says that all my users are offline at any given time even if they are on. Did I do something wrong with this mod?
Go to Top of Page

Medic397
New Member

80 Posts

Posted - 13 November 2003 :  15:14:53  Show Profile  Visit Medic397's Homepage  Send Medic397 an AOL message  Send Medic397 a Yahoo! Message
Yes Faizan that is where I posted the code, but mine just doesn't show a user being online. They are all offline. LOL
Go to Top of Page

Faizan
Average Member

United Kingdom
592 Posts

Posted - 13 November 2003 :  17:41:16  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
I think the forum I started MODing is quite messed up, I best start again. I installed more than 10 main MODs on a base snitz code, and I think some of it is messed up now.




»Snitz Graphics
Go to Top of Page

Faizan
Average Member

United Kingdom
592 Posts

Posted - 24 November 2003 :  17:32:22  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
Would anyone be interested in altering my topic.asp, so this code can be inserted. I am stuck, because I installed Gender MOD before, and cannot really fit that one in.

Here is my text version of topic.asp

I tried to put this code in several times, but I just cannot do it, I have done the other file with no problems, but its just this one..

TIA


»Snitz Graphics
Go to Top of Page
Page: of 6 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.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07