Author |
Topic |
Hopper
Junior Member
192 Posts |
Posted - 20 December 2000 : 09:25:01
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> Ok I have updated the Active Users and this will allow you to view the users IP Address if you are logged in as an Admin or a Moderator. Please give me your feedback. If you have installed the Previous Active User Mod you will still need to run active_users_setup.asp along with replacing all code with this new code for the ip logging to work.
Brad
http://www.freeaspcode.net/active_users.zip
Brad <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I see no IP at all when adding this code.
|
|
|
redbrad0
Advanced Member
USA
3725 Posts |
Posted - 20 December 2000 : 10:22:58
|
are you logged in as a admin or moderator?
Brad |
|
|
Hopper
Junior Member
192 Posts |
Posted - 20 December 2000 : 10:34:29
|
yep, as Admin
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 20 December 2000 : 10:35:11
|
Brad, when I downloaded this a little while ago the filedates still showed 12-19-2000 05:49am and 05:50am which looks like these haven't been updated yet. |
|
|
redbrad0
Advanced Member
USA
3725 Posts |
Posted - 20 December 2000 : 10:42:00
|
; /
I know i update the zip files, i will update them again in a second and will post a reply when they get updated
Brad |
|
|
redbrad0
Advanced Member
USA
3725 Posts |
Posted - 20 December 2000 : 11:16:19
|
Sorry about the mix up guys, but the zip file should be totally updated with the new files to show IP Address if you are logged in as a Admin or Mod.
http://www.freeaspcode.net/active_users.zip
Brad
Brad |
|
|
Hopper
Junior Member
192 Posts |
Posted - 20 December 2000 : 11:19:40
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> Sorry about the mix up guys, but the zip file should be totally updated with the new files to show IP Address if you are logged in as a Admin or Mod.
http://www.freeaspcode.net/active_users.zip
Brad
Brad <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Do we need to readd the code and all that?
|
|
|
Hopper
Junior Member
192 Posts |
Posted - 20 December 2000 : 11:24:55
|
Nope, still no IP
Using the zip you just posted and exchanging the code in your text file just to make sure.
Edited by - Hopper on 20 December 2000 11:28:20 |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 20 December 2000 : 11:51:53
|
Hopper, did you rerun the database setup? |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 20 December 2000 : 12:31:36
|
Brad,
active_users.asp is missing a:
<font size=1><pre id=code><font face=courier size=2 id=code><font color=green></table></font id=green></font id=code></pre id=code></font id=size1>
on line #85
Also,
Line #95:
<font size=1><pre id=code><font face=courier size=2 id=code><P><B><FONT SIZE="4" FACE="Verdana, Arial" COLOR="<font color=red>#ffffff</font id=red>">Active Users</FONT></B><P></font id=code></pre id=code></font id=size1>
the <font color=red>#ffffff</font id=red> should be changed to: <% =strDefaultFontColor %>
On a white background you won't see "Active Users" <img src=icon_smile.gif border=0 align=middle> |
|
|
bugzy
Junior Member
USA
147 Posts |
Posted - 20 December 2000 : 15:12:43
|
redbrad ... was there any update/changes since we implemented this on azian.com ?
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 20 December 2000 : 16:50:15
|
Here is 2 addons.
FILE: http://www11.ewebcity.com/dssdbs/files/active_users_addons.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:
<font size=1><pre id=code><font face=courier size=2 id=code> end if rs.MoveNext loop end if <font color=red>%> <!--#include file="active_users2.asp"--> <%</font id=red> if strShowStatistics = "1" then WriteStatistics end if</font id=code></pre id=code></font id=size1>
If you have the minimize category mod installed and you want the Who's Online part to be collapsible as well substitute <font color=red>active_users2<b>b</b>.asp</font id=red> 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:
<font size=1><pre id=code><font face=courier size=2 id=code> rs.MoveNext loop end if if strShowStatistics = "1" then WriteStatistics <font color=red>%> <!--#include file="active_users3.asp"--> <%</font id=red> end if %> </table> </td></font id=code></pre id=code></font id=size1>
When cfm-resources is up, a DEMO can be seen here: http://richard.cfm-resources.com
Alternate DEMO Site: http://www.websamba.com/dssdbs/forum/
Edited by - Richard Kinser on 20 December 2000 17:46:08 |
|
|
bugzy
Junior Member
USA
147 Posts |
Posted - 20 December 2000 : 17:38:55
|
need to add a link to the profiles of those active members :)
|
|
|
Capt_Dunzell
Junior Member
USA
160 Posts |
Posted - 20 December 2000 : 21:55:02
|
Thank you Thank you Thank you!!! <img src=icon_smile_big.gif border=0 align=middle>
Great work redbrad0! And thank you for the addons Richard! I now have it running and looking just the way I wanted. Could not have done it without you two!! <img src=icon_smile.gif border=0 align=middle>
http://www.dunzellsden.com/forum/ |
|
|
Capt_Dunzell
Junior Member
USA
160 Posts |
Posted - 21 December 2000 : 00:45:08
|
Okay, I found a problem. My whos online is using the time at my host. Not the board time setting that I have, so everything is 2 hours different. What do I need to do to fix this?
Remember I know nothing about coding, I can only follow instructions. <img src=icon_smile_wink.gif border=0 align=middle>
Thanks
http://www.dunzellsden.com/forum/ |
|
|
Topic |
|