vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Profile-Views (https://vborg.vbsupport.ru/showthread.php?t=66203)

Hoffi 06-14-2004 10:00 PM

Profile-Views
 
Here it is. It was Requested in vBulletin-Germany.com

It counts when someone ist viewing somebody others Profile and counts it Up.
It don't count if a user is viewing his own Profile.

I have not added a Flood Control, so if the User is hitting Reload it counts up and up and up. ;)

Update 2004-06-18

Languages: English and German

Now there are two Versions in the txt-File. One with and one without Flood-Control.
  • The Views were stored in a new Table:
    Everytime the user visits the site it is checkes if he is first time visiting or when he looks last time at this profile. If the counter must be incremented three Querys are neccessary. If not only one.
  • Also Guest-Views are not counted any more.
  • And I now use a Phrase for the Text in the Template.
The Future:
  • Install Script
  • vBuletin Options

daveone 06-15-2004 09:23 PM

I tested it and it works perfectly! Thank you

Oblivion Knight 06-15-2004 10:17 PM

Perhaps guest views should also not be counted? :)

monstergamer 06-15-2004 10:21 PM

View Profile: monstergamer (1 mal angesehen)???
whats mal angesehen
i changed it to Page View

FleaBag 06-15-2004 10:31 PM

Awesome, I've been waiting for this from vB2. I'll see if I can use my old profile counts too.

FleaBag 06-15-2004 10:45 PM

It worked! Just had to alter the name of the field. :) Thanks for this.

007 06-15-2004 11:08 PM

There's a VB2 hack for this... Actually the VB2 hack works on VB3 with no changes to the original hack I believe. That's how I've been counting profile views since I installed VB3 :)

Hoffi 06-16-2004 10:14 AM

Quote:

Originally Posted by 006
There's a VB2 hack for this... Actually the VB2 hack works on VB3 with no changes to the original hack I believe. That's how I've been counting profile views since I installed VB3 :)

Yes, "mal angesehen" ist German. ;) just Translate it to something you like.

@006: In the vB2 Hack all Views were counted, also the own.

I will see and build an Update that Guests Views are not counted.

007 06-16-2004 01:47 PM

Ahh I see. I forgot about that. I forgot that I made a few changes to it lol. I amde themw ay back for VB2 and forgot i made them I guess. The way I did it was so guests views, and the profile owner's views don't count. It would be nice if in your version you could get the flood control working, although I don't think it would be worth it if it added queries.

Hoffi 06-17-2004 04:28 PM

To prevent Flod Control it is necessary to an own Table where I store the views in and control the Data in there. Maybe a Count from one user is made once a day.
There are some Ideas in my Head. ;)


All times are GMT. The time now is 01:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01061 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete