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
  #22  
Old 07-07-2005, 05:43 PM
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Location: on vb.org
Posts: 526
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yep...
Reply With Quote
  #23  
Old 07-07-2005, 05:45 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds a bit like a vBulletin Bug ...
Which Plugins from this Hack are currently activated?
Reply With Quote
  #24  
Old 07-07-2005, 05:47 PM
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Location: on vb.org
Posts: 526
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All of the plugins for this hack are activated.
Reply With Quote
  #25  
Old 07-07-2005, 06:09 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I ask again: Which Plugins from this Hack are being shown and activated?
It should be 3: member_complete, misc_start and cache_templates
Reply With Quote
  #26  
Old 07-07-2005, 06:13 PM
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Location: on vb.org
Posts: 526
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes. All three of those are activated in the plugin manager.
Reply With Quote
  #27  
Old 07-07-2005, 06:19 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just ran into an issue with this one as well. Registered users are getting DB errors when attempting to view a profile from the Forum Home display page.

Code:
Database error in vBulletin 3.5.0 Beta 3:

Invalid SQL:
SELECT dateline FROM profileviews WHERE userid = 1 AND byuserid = 4 AND dateline > 1120763590;

MySQL Error  : Unknown column 'byuserid' in 'where clause'
Error Number : 1054
Date         : Thursday, July 7th 2005 @ 03:14:10 PM
Script       : http://www.socialexperiment.org/forum/member.php?find=lastposter&f=2
Referrer     : http://www.socialexperiment.org/forum/index.php?
IP Address   : 70.114.46.92
Username     : Test
Classname    : vb_database
Deactivated the plugin and it's back to normal.
Reply With Quote
  #28  
Old 07-07-2005, 07:04 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whoops
This happens when Flood Check is activated ... wrong column Name that somehow slipped through.
In Hook member_complete change byuserid to viewedby.

Does it work after this change?
Reply With Quote
  #29  
Old 07-07-2005, 07:21 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can mark this one fixed. WOOHOO! LOL
Reply With Quote
  #30  
Old 07-07-2005, 09:29 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Roxie
If you deactivate the Plugins, does it still generate the Error then?
Reply With Quote
  #31  
Old 07-07-2005, 09:36 PM
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Location: on vb.org
Posts: 526
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes. It does.
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:39 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04828 seconds
  • Memory Usage 2,311KB
  • 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
  • (1)bbcode_code
  • (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