Gossamer Forum
Home : Products : Gossamer Forum : Development, Plugins and Globals :

[ FREE ] CountProfileViews v1

Quote Reply
[ FREE ] CountProfileViews v1
hi,

I was asked to write this for someone, and seeing as it wasn't too complex to do, I thought I'd post it as a free plugin :)

This plugin is very simple, just add this line to top of user_view.html:

Code:
<%Plugins::GForum::CountProfileViews::Count_View($user_username)%>

..and then you can use <%user_profile_views_shows%> in user_view.html.

If you want to use it anywhere else , the field name is:

Code:
<%user_profile_views%>

Enjoy =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [ FREE ] CountProfileViews v1 In reply to
Hi Andy,
is this plugin compatible with "gcomm user profile" ?

Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [ FREE ] CountProfileViews v1 In reply to
Hi,

Are you asking if you can get the number of profile views in GComm? If so, then you should be able to get the user_profile_view field from thre gforum_User table, in GForum - with the global you are already using to get data from GLinks/GForum :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [ FREE ] CountProfileViews v1 In reply to
Hi Andy,
no I meant, if its possible to count how many times a gcomm user profiles is viewed!
http://www.gossamer-threads.com//perl/gforum/gforum.cgi?post=300762#p300762

Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [ FREE ] CountProfileViews v1 In reply to
HI,

Not with this plugin, but I may do one for GComm too - won't be until next week though.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [ FREE ] CountProfileViews v1 In reply to
Andy wrote:
HI,
Not with this plugin, but I may do one for GComm too - won't be until next week though.

Hi Andy, that would be great and more than fast enough
Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Andy] [ FREE ] CountProfileViews v1 In reply to
Andy,

How about tracking who viewed a profile? Even just tracking the last X people who visited the profile (to keep the table size in control) and the total number of visits. People are usually curios about who's been stalking them. Wink

Safe swoops
Sangiro
Quote Reply
Re: [sangiro] [ FREE ] CountProfileViews v1 In reply to
Hi,

Mmm.. not yet - but may do at some point =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [sangiro] [ FREE ] CountProfileViews v1 In reply to
sangiro wrote:

How about tracking who viewed a profile? Even just tracking the last X people who visited the profile (to keep the table size in control) and the total number of visits. People are usually curios about who's been stalking them. Wink

That'll be great for GCUserProfiles, too ;-)

Matthias

Matthias
gpaed.de