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)
 MOD: Profile Views v1.0 (Snitz v3.4)
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 17 April 2004 :  23:25:27  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Title: Profile Views
Version: v1.0 for Snitz Forums v3.4
Author: originally by Alan Le (Aznknight), updated by Michael Reisinger (OneWayMule)
Last Update: May 01, 2004

Description:
 Keeps count of how many times a member's profile is viewed by other members.

Features:
- Counts views of member profiles and displays view count in profile
- Doesn't count when you view your own profile
- Basic view count cheating prevention
- Easy installation
- All code done in response.write for Snitz v3.4 compatability

Installation Instructions:
 Included in the .zip file and available here.

Support:
 If you have problems installing this MOD, either post your questions in the Help: MOD Implementation forum or here.

Download:
 Profile Views v1.0 for Snitz Forums v3.4

Screenshot:
 View screenshot.

Demo:
 Profile page at my forum (Username: guest, Password: snitz)

More info available at:
 http://www.onewaymule.org/onewayscripts/mods/profileviews/

Feedback:
 Suggestions, comments, questions and bug reports are greatly appreciated!

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz

Edited by - OneWayMule on 07 September 2004 01:26:03

Webbo
Average Member

United Kingdom
982 Posts

Posted - 18 April 2004 :  05:40:44  Show Profile  Visit Webbo's Homepage
Nice straight forward addition Michael

Okay on MySql as well
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 18 April 2004 :  06:34:20  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Thanks, I've tested it with Access, MySQL and SQL Server.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Image
Average Member

Canada
574 Posts

Posted - 18 April 2004 :  16:56:02  Show Profile  Visit Image's Homepage  Send Image an ICQ Message
Been now 1 1/2 years that this MOD is establish on our Portal.
Change
" & rs("M_PAGE_VIEWS") & "

For
" & ChkString(rs("M_PAGE_VIEWS"), "display") & "
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 18 April 2004 :  17:06:27  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
Nice mod, I'll probably impliment it soon.




Erick
Snowmobile Fanatics

Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 18 April 2004 :  19:51:20  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
quote:
Originally posted by Image

Change
" & rs("M_PAGE_VIEWS") & "

For
" & ChkString(rs("M_PAGE_VIEWS"), "display") & "



Why? This is not needed, since M_PAGE_VIEWS is numeric and therefore needs no formatting.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Ares
New Member

USA
98 Posts

Posted - 18 April 2004 :  19:52:35  Show Profile
Kewl, so you updated it and it works ok? I'm glad i mentioned it! I'll check it out.

- Ares
Go to Top of Page

Image
Average Member

Canada
574 Posts

Posted - 18 April 2004 :  20:12:16  Show Profile  Visit Image's Homepage  Send Image an ICQ Message
quote:
Originally posted by OneWayMule

quote:
Originally posted by Image

Change
" & rs("M_PAGE_VIEWS") & "

For
" & ChkString(rs("M_PAGE_VIEWS"), "display") & "



Why? This is not needed, since M_PAGE_VIEWS is numeric and therefore needs no formatting.



Like you want but Age and Total Posts are numeric also
Age: = " & ChkString(rs("M_AGE"), "display") & "

Total Posts: " & ChkString(intTotalMemberPosts, "display") & "
Go to Top of Page

MasterOfTheCats
Junior Member

103 Posts

Posted - 19 April 2004 :  01:23:30  Show Profile
ChkString is used here for security purposes...
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 01 May 2004 :  13:38:25  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
quote:
Originally posted by Image

Change
" & rs("M_PAGE_VIEWS") & "

For
" & ChkString(rs("M_PAGE_VIEWS"), "display") & "



Done. ZIP file updated, please re-download.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 01 May 2004 :  13:56:29  Show Profile
That ChkString is not needed as you say, the "display" attribute formats HTML and removes bad words from the string. Doesn't do any harm but may slow the page down a micro-second

MasterOfTheCats, I can't see any security issues with it?!

The UK MkIVs Forum
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 01 May 2004 :  14:26:58  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Yes, I thought the same.
I'll keep the formatting in the readme for now, since it's used for other numeric values in the code in pop_profile.asp.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Bassman
Junior Member

Netherlands
256 Posts

Posted - 05 May 2004 :  08:57:22  Show Profile  Visit Bassman's Homepage
Nice one Michael, works great
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 07 September 2004 :  04:31:00  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
Worked like a charm!
Another great mod from OWM =)
Thanks!

I'm working on a modded "member spotlight" to show the latest updated user profile, want to add it here? The code may not be that pretty though, but working =)

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 07 September 2004 :  04:36:14  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Sure, hand me the code and I'll add it.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 07 September 2004 :  04:47:33  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
Okay, it'll be completed today if my boss aint giving me too much work hehehe..

/Tribaliztic
- www.gotlandrace.se -
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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07