Version: 1.0.4, by Andreas
Developer Last Online: Jan 2023
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.
I digged your plugin, only thing is I'm installing new skins at the moment so had to remove it. Will be installing it back on as soon as I get all my skins installed.
I hope I'm not stepping on any toes, I think Andreas does some wonderful work. I added a little cron job to reset the profile views at the beginning of each month. Just copy this code to a file and upload it to your /forum/includes/cron folder as: profileviewreset.php
Code:
<?php
error_reporting(E_ALL & ~E_NOTICE);
if (!is_object($DB_site))
{
exit;
}
// Who Viewed Profile in last month reset
$DB_site->query("UPDATE " . TABLE_PREFIX . "user SET whol = '6772'");
?>
Then go to your AdminCP to your Scheduled Task and add a new Scheduled Task
Quote:
Varname: profileviewsreset
Title: Reset Profile Views
Description: resets profile view log each month
Log Phrase:
Day of the week: *
Day of the Month: 1
Hour: 4 (I use 4 but you can enter any hour just not *)
Minute: 0 1 - - - -
Active: Yes
Log Entries: No
File Name: ./includes/cron/profileviewreset.php
Product: Vbulletin
Click "Save"
That should do it. I'm not much of a coder so if you have a problem with this I may not be of much help; however, there are lots of good coders here who I am sure can fix anything I've messed up. You do this at your own risk (had to add the disclaimer, lol)