![]() |
Who Viewed My Profile
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! |
Hmmmmmmm. Loaded. However not showing the Profile Views in the UserCP menu.
|
Did you Setup the Permissions?
By default none are active. |
Quote:
|
Works perfectly. :)
|
I have a user who stalks via profiles. I have a feeling this will come to a screeching halt when she realizes the user will be able to see how many times she's viewing their profile. :)
|
Excellent modification. :)
|
Ok..after trying to upload the xml file, I get a database error. I now can't access the admin control panel. Here is the error:
Invalid SQL: REPLACE INTO settinggroup (grouptitle, displayorder, volatile, product) VALUES ('memberlist', 250, 0, 'vbulletin'); MySQL Error : Table 'dizzam_daboard.settinggroup' doesn't exist Error Number : 1146 Date : Thursday, July 7th 2005 @ 02:11:15 AM |
Strange. Settinggroup memberlist is a default settinggroup, and the Table should really exist ...
Have you checked that the Table does exist? Have you tried to disable all Plugins? |
I can't get into the admin panel to disable. And yes, the table (vb3_settinggroup) does exist.
I was thinking maybe there's a query I can run to disable this plugin? |
OK, there was a Problem with Table-Prefixes not being supported properly - this explains the SQL Error.
Open config.php and place PHP Code:
Then go to Plugin Manager and delete all Plugins from this Hack. Afterwards please check (in phpMyAdmin) if you have a row for grouptitle = 'memberlist' in Table vb3_settinggroup. |
any particular place to put that code?
|
Nevermind. Figured it out. Just stuck it anywhere and was able to get back in.
And yes I do have that row. |
I think I found the Problem - stupid typo ;)
As said, delete all Plugins from the Hack, then remove the define from config.php, redownload and it should work then. Sorry for the mess. (I should start using Table-Prefixes on my Testserver ...) |
Okay, will try again. Thanks Kirby!
|
Worked this time! :D
|
Hate to be a pain...but the settings for the usergroups aren't sticking. When I change them...I get this error at the top of the page:
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 598 |
Hmm ... where exactly do you get this error?
|
OK...when I went to usergroups manager and selected the usergroup I wanted to edit...then I changed the settings (all to yes)..hit submit...and on the redirect screen (at the very top) was that error. I had to act quickly to copy it then redirects to the main usergroup manager page. When I went back into the usergroup that I had just edited...the settings that I had changed did not stick. Hope this makes sense.
|
And it does only appear in Usergroup Manager after hitting Save?
|
yep...
|
Sounds a bit like a vBulletin Bug ...
Which Plugins from this Hack are currently activated? |
All of the plugins for this hack are activated.
|
I ask again: Which Plugins from this Hack are being shown and activated?
It should be 3: member_complete, misc_start and cache_templates |
Yes. All three of those are activated in the plugin manager.
|
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: |
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? |
Can mark this one fixed. WOOHOO! LOL
|
@Roxie
If you deactivate the Plugins, does it still generate the Error then? |
Yes. It does.
|
Hmm, if the Plugins are deactivated then no Code of this Hack is active ... strange.
If you delete includes/xml/bitfield_profileviews.php and afterwards call admincp/index.php?do=buildbitfields, the new Permissions sould disappear in Usergroup Manager. If you do so, does it still give the error? And do you have Hacks installed that modify usergroup.php? |
Hi,
Does this allow admins (for example) not to show on the list of people who have viewed your profile? taffy |
If you set Administrators to "Log Profile Views Made by this Usergroup = No", then they will not be logged/counted.
They will also not show up if they are Invisible and the User viewing the List does not have permission to see Hidden. |
Umm... where's the bitfield xml ?
|
Should be /includes/xml
|
@kall
Should be in the ZIP under upload/includes/xml :) |
Quote:
And I don't think any of my other hacks/plugins modify usergroup.php. |
Strange, really ... strange.
There are only two calls to escape_string() in usergroup.php, and none of them seems to be executed when updating usergroup permissions. Sorry, don't know what the Problem actually could be :( If you want, send me a PM with ACP and FTP account, i'll try to sort this out then. |
Quote:
It isn't tho. On re-downloading the .zip it is... how very strange. :) |
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 598 :(
*edit* Ahh. Event Comment modification (which wasn't even working) was interfering with this. |
All times are GMT. The time now is 05:34 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|