Author |
Topic |
8minus8
Starting Member
26 Posts |
Posted - 17 March 2001 : 11:38:53
|
hi. i have the 'active users' currently working great. but i was wondering if there is a way to show the member names in the active user area. the link works but i would like to have the members show up in the main page. any ideas?
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 17 March 2001 : 12:24:16
|
This is a post I made in the Active Users MOD thread, but it has been archived and isn't viewable at the moment:
DEMO: here
Here is 2 addons.
FILE: http://www11.ewebcity.com/dssdbs/files/active_users_addons.zip
This is the same as the above, except that the user's names are clickable: FILE: http://www11.ewebcity.com/dssdbs/files/active_users_addons2.zip
This first one is for if you liked the way the Who's Online Mod displayed the Members name and was like a Category of the Forum.
Just insert the Include code like this:
end if rs.MoveNext loop end if %> <!--#include file="active_users2.asp"--> <% if strShowStatistics = "1" then WriteStatistics end if
If you have the minimize category mod installed and you want the Who's Online part to be collapsible as well substitute active_users2b.asp as the include file above.
If you would instead like the Active Users displayed as the last line in your statistics section.
Just insert the Include code like this:
rs.MoveNext loop end if if strShowStatistics = "1" then WriteStatistics %> <!--#include file="active_users3.asp"--> <% end if %> </table> </td>
|
|
|
8minus8
Starting Member
26 Posts |
Posted - 17 March 2001 : 14:32:44
|
Thank you for your quick response. I will try that right away.
One last question...is there a way to have on the main forum how many members have registered?
thanks in advance.
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 17 March 2001 : 15:20:42
|
On default.asp, the amount of registered users is stored in the Users variable, you could use the following to display the amount of registered users:
<% Response.Write "<font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>Registered Users: <b>" & Users & "</b></font>" & vbCrLf %>
or like this:
<font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">Registered Users: <b><% =Users %></b></font>
|
|
|
naakh
Starting Member
1 Posts |
Posted - 19 March 2001 : 08:50:54
|
Hi Wht about the database??? Which changes should make to the database? In the database i don't have any table called Online.
naakh
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
|
bjlt
Senior Member
1144 Posts |
|
giorgius
Starting Member
Italy
17 Posts |
Posted - 30 May 2001 : 10:24:42
|
I have this error: who can fix it for me?? Active Users:
Microsoft OLE DB Provider for ODBC Drivers error '80040e37'
[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot find the input table or query 'FORUM_ONLINE'. Make sure it exists and that its name is spelled correctly.
/forumnew/active_users3.asp, line 23
Giorgius! |
|
|
big9erfan
Average Member
540 Posts |
Posted - 30 May 2001 : 11:09:56
|
you need to make sure and run the active_users_setup file or if there's a moddb_setup that came with the mod run that.
http://www.ugfl.net/forums |
|
|
giorgius
Starting Member
Italy
17 Posts |
Posted - 30 May 2001 : 11:40:35
|
U wrote: you need to make sure and run the active_users_setup file I dont understand!!! Please, help me!!
Giorgius! |
|
|
big9erfan
Average Member
540 Posts |
|
Hector
Starting Member
3 Posts |
Posted - 31 May 2001 : 12:58:01
|
How does the FORUM_ONLINE table gets filled? I'm asking because I'm getting the following error:
ADODB.Recordset error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
/forums/default.asp, line 347
|
|
|
big9erfan
Average Member
540 Posts |
|
Hector
Starting Member
3 Posts |
Posted - 31 May 2001 : 13:32:35
|
quote:
How does the FORUM_ONLINE table gets filled? I'm asking because I'm getting the following error:
ADODB.Recordset error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
/forums/default.asp, line 347
Nevermind... I left out the code that is supposed to go in inc_top.asp. Me baaaad!
|
|
|
big9erfan
Average Member
540 Posts |
|
Dan
Starting Member
4 Posts |
Posted - 25 June 2001 : 00:46:32
|
Never mind. I worked it out. :)
Edited by - Dan on 25 June 2001 19:28:31 |
|
|
Topic |
|