Author |
Topic |
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 05 September 2003 : 04:39:36
|
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 |
|
|
guessme
Banned User
393 Posts |
Posted - 03 October 2003 : 04:14:01
|
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 |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 03 October 2003 : 07:59:46
|
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 |
|
|
guessme
Banned User
393 Posts |
Posted - 03 October 2003 : 12:46:37
|
Thanks! |
|
|
|
choppermc
New Member
Australia
80 Posts |
Posted - 04 October 2003 : 03:16:33
|
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 |
|
|
kenpo_kirk
Starting Member
2 Posts |
Posted - 07 October 2003 : 00:01:45
|
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
|
|
|
Faizan
Average Member
United Kingdom
592 Posts |
Posted - 30 October 2003 : 10:58:52
|
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
|
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 31 October 2003 : 14:30:00
|
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 |
|
|
Faizan
Average Member
United Kingdom
592 Posts |
Posted - 31 October 2003 : 19:34:23
|
Oh right, I'll have a look at it tonight.
|
»Snitz Graphics
|
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 31 October 2003 : 19:40:25
|
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 |
|
|
Faizan
Average Member
United Kingdom
592 Posts |
Posted - 06 November 2003 : 20:19:28
|
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 |
|
|
Medic397
New Member
80 Posts |
Posted - 12 November 2003 : 19:10:36
|
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? |
|
|
Medic397
New Member
80 Posts |
Posted - 13 November 2003 : 15:14:53
|
Yes Faizan that is where I posted the code, but mine just doesn't show a user being online. They are all offline. LOL |
|
|
Faizan
Average Member
United Kingdom
592 Posts |
Posted - 13 November 2003 : 17:41:16
|
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
|
|
|
Faizan
Average Member
United Kingdom
592 Posts |
Posted - 24 November 2003 : 17:32:22
|
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
|
|
|
Topic |
|