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 Customization
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

middleweb
Junior Member

USA
230 Posts

Posted - 29 October 2003 :  17:58:11  Show Profile  Visit middleweb's Homepage
I'm trying to customize active users to make it similar to UK-MKIVs'. I just included inc_activeusers.asp in the inc_header.asp file. Then I toyed with inc_activeusers.asp and here's what it returns:
http://www.middle-web.com/forum3

Here's the text file:
http://www.middle-web.com/forum3/inc_activeusers.txt

Thanks for your patience/help!

Beano_ie
Junior Member

Ireland
328 Posts

Posted - 30 October 2003 :  05:50:00  Show Profile  Visit Beano_ie's Homepage  Send Beano_ie an ICQ Message
quote:
Originally posted by middleweb

I'm trying to customize active users to make it similar to UK-MKIVs'.



Can we get a link to this UK-MKIVs so people know what you are trying to do.

Steve
Drogheda, Ireland @ www.droghedatown.com
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 30 October 2003 :  06:21:06  Show Profile
My Active Users is just standard?

The UK MkIVs Forum
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 30 October 2003 :  06:22:40  Show Profile
Oh, you mean the summary bit under the menu bar? I did the code myself, i'll find it after work.

The UK MkIVs Forum
Go to Top of Page

marckmcgill
Junior Member

Italy
134 Posts

Posted - 30 October 2003 :  06:35:16  Show Profile
Any chance to get in the forum as a guest to take a look at what you're talking about? Seems interesting...
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 30 October 2003 :  06:41:01  Show Profile
quote:
Originally posted by marckmcgill

Any chance to get in the forum as a guest to take a look at what you're talking about? Seems interesting...



The link is below, you don't need to login to see it

The UK MkIVs Forum
Go to Top of Page

marckmcgill
Junior Member

Italy
134 Posts

Posted - 30 October 2003 :  06:47:31  Show Profile
quote:
Originally posted by DavidRhodes

The link is below, you don't need to login to see it


AHEM!!! toss toss... I'm not in my lucky day, apparently.
Again!
Go to Top of Page

middleweb
Junior Member

USA
230 Posts

Posted - 30 October 2003 :  20:02:44  Show Profile  Visit middleweb's Homepage
Thanks David! No rush though. That is exactly what I meant, just basically changing the location/format. Thanks again!
-Gabe

Go to Top of Page

soxc
New Member

53 Posts

Posted - 30 October 2003 :  23:31:39  Show Profile
I also really liked the design that DavidRhodes used on his forum and coded something very similar. A couple of changes that I made were to add the active topics link to this area (with a count on new in () ) and if you are logged in I added the active users list (the test that shows the user names of people online) as a title tag for the active user link. This way people can just mouse over the link to see who is online, but it does not have to take up space all the time. This works for me since I don't have tons of online users.


Go to Top of Page

Faizan
Average Member

United Kingdom
592 Posts

Posted - 31 October 2003 :  00:02:09  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
I wanted to steal his icons once, but then thought it wouldn't be nice to use someone else's property. But really, I love your site David.



»Snitz Graphics
Go to Top of Page

soxc
New Member

53 Posts

Posted - 31 October 2003 :  00:05:42  Show Profile
I agree David's site is awesome. Very clean.
Go to Top of Page

middleweb
Junior Member

USA
230 Posts

Posted - 01 November 2003 :  13:05:32  Show Profile  Visit middleweb's Homepage
David's site is great! Maybe the best I've seen.

Go to Top of Page

middleweb
Junior Member

USA
230 Posts

Posted - 01 November 2003 :  22:12:00  Show Profile  Visit middleweb's Homepage
Got the code for me yet David?

Go to Top of Page

Faizan
Average Member

United Kingdom
592 Posts

Posted - 02 November 2003 :  08:54:18  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
He's out on the weekend, will be back tomorrow. (I needed his help with Active Users Status, so I know this )



»Snitz Graphics

Edited by - Faizan on 02 November 2003 08:54:52
Go to Top of Page

middleweb
Junior Member

USA
230 Posts

Posted - 04 November 2003 :  19:52:43  Show Profile  Visit middleweb's Homepage
Cool, thanks.

Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 05 November 2003 :  04:56:44  Show Profile
Try this


' Get Private Message count for display
if strDBType = "access" then
	strSqL = "SELECT count(M_TO) as [pmUserCount] "
else
	strSqL = "SELECT count(M_TO) as pmUserCount "
end if
strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS , " & strTablePrefix & "PM "
strSql = strSql & " WHERE " & strMemberTablePrefix & "MEMBERS.M_NAME = '" & strDBNTUserName & "'"
strSql = strSql & " AND " & strMemberTablePrefix & "MEMBERS.MEMBER_ID = " & strTablePrefix & "PM.M_TO "
strSql = strSql & " AND " & strTablePrefix & "PM.M_READ = 0 "
Set rsPM = my_Conn.Execute(strSql)
pmUserCount = rsPM("pmUserCount")
rsPM.close
set rsPM = nothing
%><!--#include file="inc_activeusers_data.asp"--><%
'## Forum_SQL - Get newest membername and id from DB

strSql = "SELECT M_NAME, MEMBER_ID FROM " & strMemberTablePrefix & "MEMBERS " &_
" WHERE M_STATUS = 1 AND MEMBER_ID > 1 " &_
" ORDER BY MEMBER_ID desc;"

set rs = Server.CreateObject("ADODB.Recordset")
rs.open TopSQL(strSql,1), my_Conn

if not rs.EOF then
	NewMember_Name = chkString(rs("M_NAME"), "display")
	NewMember_Id = rs("MEMBER_ID")
else
	NewMember_Name = ""
end if

rs.close
set rs = nothing
	
Response.Write	"				<table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""0"">" &vbCrLf &_
		"				<tr>" &vbCrLf &_
		"					<td bgcolor=""" & strTableBorderColor & """>" &vbCrLf &_		
		"						<TABLE WIDTH=""100%"" BORDER=""0"" CELLSPACING=""1"" CELLPADDING=""4"">" &vbCrLf &_
		"						<TR>" &vbCrLf &_
		"							<TD align=""left"" bgcolor="""& strHeadCellColor &""" nowrap valign=""top""><font face="""& strDefaultFontFace &""" size="""& strDefaultFontSize &""" color="""& strCategoryFontColor &"""> </font></td>" &vbCrLf &_
		"						</TR>" &vbCrLf &_	
		"						<TR>" &vbCrLf &_
		"							<TD align=""left"" bgcolor="""& strForumCellColor &""" nowrap valign=""top""><font size="""& strFooterFontSize &""">" &_
		"								[ <a href=""active_users.asp"">Active Users</a>: "& intActiveMembers &" | Guests: "& intActiveGuests &" ] [ Total: "& intTotalActiveUsers &" ] "

if NewMember_Name <> "" then 
	Response.Write	"[ Newest Member: <span class=""spnMessageText"">" & profileLink(NewMember_Name,NewMember_Id) & " ]</span>" & vbNewline
end if
Response.Write  "[ "
if pmUserCount >=1 then
	Response.Write "<font color=""" & strActiveLinkColor & """><b>" & pmUserCount & "</b></font>"
else
	Response.Write pmUserCount
end if
Response.Write	" new <span class=""spnMessageText""><a href=""pm_view.asp"">message"
if pmUserCount <>1 then
	Response.Write	"s"
end if
Response.Write	"</a></span> | <span class=""spnMessageText""><a href=""javascript:openWindowPager('pm_pop_pager.asp')"">pager</a></span> ]"

Response.Write	"							</font></td>" &vbCrLf &_
		"						</TR>" &vbCrLf &_		
		"						</table>" &vbCrLf &_
		"					</td>" &vbCrLf &_
		"				</tr>" &vbCrLf &_
		"				</table>" &vbCrLf	

The UK MkIVs Forum
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
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.43 seconds. Powered By: Snitz Forums 2000 Version 3.4.07