Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Who Viewed My Profile Details »»
Who Viewed My Profile
Version: 1.0.4, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 07-06-2005 Last Update: 12-29-2007 Installs: 364
DB Changes Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

Who Viewed My Profile
Description
This Hack logs Profile Views and displays the last X Visitors.
It has settings for Flood Control, showing Unique Visitors and several Permissions (Can See Profile Views, Can see others Profile Views, Log Profile Views for Usergroup, Log Profile Views made by Usergroup).
It also takes care of invisible Users: They will be logged, but only shown to those who can see hidden Users.

Details
1 Product XML with 3 Queries, 3 Settings, 9 Phrases, 2 Templates and 3 Plugins
1 Bitfield XML
2 Template Edits

History
1.0.0
Initial Version
1.0.1
Fixed a Bug that caused an SQL Error upon installation on Systems that use Table-Prefixes
1.0.2
Fixed a Bug that caused an SQL Error when Floodcheck was enabled
1.0.3
Fixed a slight Bug for Permissions checks and updated for RC1 compatibiality
Please note: This Hack does only work for vBulletin 3.5.0 RC1 and up!
1.0.4
Fixed a slight typo that caused logging self-views in very rare cases

Important Note
This Add-on is no longer developed as vBulletin 3.7 contains similar built-in functionality.
You can use the attached product-profileviewsconvert.xml to convert existing data into vBulletin 3.7 format.
If you uninstall this hack before convertig the data, all existing data will be lost!

Please only click Install if you actually have installed/are using this Hack, and click Uninstall when you don't use it any longer!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 07-18-2005, 04:08 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right.

In Hook misc_start
PHP Code:
if (($userid != $vbulletin->userinfo['userid'] AND !($permissions['profileviewpermissions'] & $vbulletin->bf_ugp_profileviewpermissions['canseeotherviews'])) OR !($permissions['profileviewpermissions'] & $vbulletin->bf_ugp_profileviewpermissions['canseeviews'])) 
should be

PHP Code:
if (($userid AND $userid != $vbulletin->userinfo['userid'] AND !($permissions['profileviewpermissions'] & $vbulletin->bf_ugp_profileviewpermissions['canseeotherviews'])) OR !($permissions['profileviewpermissions'] & $vbulletin->bf_ugp_profileviewpermissions['canseeviews'])) 
Gonna update the ZIP soon.
Reply With Quote
  #53  
Old 07-18-2005, 12:14 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Danke!
Reply With Quote
  #54  
Old 07-20-2005, 05:56 PM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I figured it out. Nice mod. I have a feature request though:

Here is a profile on deviantART: http://h4m1337.deviantart.com/
On their profiles it shows only the 5 Recent Visitors and it displays them on the profile page without having to open a new window.
It also has the setting for users to dissable it.

Just a suggestion.
Reply With Quote
  #55  
Old 07-23-2005, 01:37 AM
Michael Morris's Avatar
Michael Morris Michael Morris is offline
 
Join Date: Nov 2003
Location: Knoxville TN
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's going wrong here. I tried using this hack's xml template as a pattern to get my own hack to work and install it's phrases and templates. It didn't work.

I then tried dumped the database and just install this hack to beta 4. No dice. So now I have no idea what to do next.

The vb plugin system is going to be utterly worthless for code portability if phrases and settings can't be packaged.
Reply With Quote
  #56  
Old 07-26-2005, 05:52 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed a slight Bug and updated for RC1.
Reply With Quote
  #57  
Old 07-26-2005, 11:36 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No template changes, right? Just the product file?
Reply With Quote
  #58  
Old 07-27-2005, 03:05 PM
chizzzz chizzzz is offline
 
Join Date: Mar 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cannot import the new file "product-profileviews.xml". It shows blank in my plugin manager, but if I try to import an older version, when it was named "profileviews.xml" it works fine. Please Help me
Reply With Quote
  #59  
Old 07-27-2005, 03:18 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@boofo
There are Template Edits, as stated in the Readme

@chizzzz
This is a Product XML, not a Plugin XML.
Therefore you must import it as Product, not as Plugin.
Reply With Quote
  #60  
Old 07-27-2005, 03:34 PM
chizzzz chizzzz is offline
 
Join Date: Mar 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Aha! Thats it, Im new to 3.5 , didnt even know there was a difference in product and plugin, but it works like a Charm now, thanks a lot
Reply With Quote
  #61  
Old 07-27-2005, 04:59 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
@boofo
There are Template Edits, as stated in the Readme
I think he meant with the update... I was wondering the same thing. Were there any changes to the templates when you updated the mod?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 12:28 AM.


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.04518 seconds
  • Memory Usage 2,312KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete