Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Event Views Counter Details »
Event Views Counter
Mod Version: 1.00, by robert_2004 (Member) robert_2004 is offline
Developer Last Online: Aug 2008 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 3
Released: 04 Sep 2006 Last Update: Never Downloads: 0
Not Supported DB Changes Template Edits Code Changes  

This addon allows you to display the number of hits/views a calendar event has received.
It also inserts the eventid into the user's session, so they cannot refresh multiple times to boost the view count.

Thanks to tnguy3n with his post here

STEP 1 - MySQL modification:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

STEP 2 - calendar.php
FIND [line 134]

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

BELOW, ADD:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save and upload.


STEP 3 - template modification
edit template "calendar_showeventsbit"

FIND:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

BEFORE THIS, ADD:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

so it should look like:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and that *should* be everything - i can't think of anything else that was needed.

if you use - please click INSTALL

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Event Views Counter01.png
Views:	55
Size:	2.5 KB
ID:	53078  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Home Enhancements Forum Views Counter - Track the number of forum views eXtremeTim Modification Graveyard 31 23 Jun 2007 07:30
Profile Views Counter apfeifer vBulletin 2.x Full Releases 7 18 Jul 2006 07:46

Comments
  #2  
Old 04 Sep 2006, 11:41
hugh_ hugh_ is offline
 
Join Date: Mar 2005
Can we see a screenshot or example?

Thanks...

hugh
Reply With Quote
  #3  
Old 05 Sep 2006, 04:13
robert_2004 robert_2004 is offline
 
Join Date: Sep 2004
Real name: Robert
screenshot added to orginal post.
It doesn't help much - as my event listing template is modified a great deal.
Reply With Quote
  #4  
Old 06 Sep 2006, 07:17
finn snor's Avatar
finn snor finn snor is offline
 
Join Date: Jan 2006
Great have been looking for this for a long time..Can it be made conditional so only admin can see views ?
Reply With Quote
  #5  
Old 06 Sep 2006, 17:08
robert_2004 robert_2004 is offline
 
Join Date: Sep 2004
Real name: Robert
Yes, to only allow certain usergroups, use the following code:

usergroups 6 and 5 are admin and super moderators, respectively.



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #6  
Old 26 Nov 2013, 03:06
snowname snowname is offline
 
Join Date: Oct 2008
The database function works on 4.1.3.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:40.

Layout Options | Width: Wide Color: