View Full Version : Add-On Releases - Boots' HTTP Referral Tracker
Boots
01-05-2010, 10:00 PM
I wanted some quick way to see who was linking to my forum so I created this product to show me the last xxx referring urls on the forum home page. I figured I'd share in case others found it useful.
Installation is simple, upload the xml as a product, go to the settings and configure it how you like.
Let me know if it works ok, it's my first time packaging up a product.
History:
1.0 - Initial Release
1.1 - Fixed a hard coded table prefix
2.0 - Added referred pages section, full referrer list and more options
2.1 - Fixed a template bug
Installation Instructions
Remove any previously installed version
Upload referrers.php to your forum root
Import the product XML
mandingo
01-06-2010, 12:30 AM
Cool idea, thanks.
oops,got a database error.
Database error in vBulletin 4.0.0:
Invalid SQL:
SELECT url, count, lastvisit, UNIX_TIMESTAMP(lastvisit) as 'lastvisit_ts' FROM vb3_http_referrers ORDER BY count DESC LIMIT 15;
MySQL Error : Table 'xxxxxxxxxx.vb3_http_referrers' doesn't exist
Error Number : 1146
Request Date : Tuesday, January 5th 2010 @ 08:32:07 PM
Error Date : Tuesday, January 5th 2010 @ 08:32:07 PM
Script : xxxxxxxxxxxxxxxxxxxxxxxx
Referrer : xxxxxxxxxxxxxxxxxxxxxx
IP Address : xxx.xxx.xx.x
Username : xxxxx
Classname : vB_Database
MySQL Version : 5.1.30
not sure what happened there.
I like this, pretty slick. Using the anonymizer as well is cool. Tagged until I go live with vB4.
Zaiaku
01-06-2010, 12:31 AM
OK I would really like to have this on a seperate page.
mandingo
01-06-2010, 12:40 AM
OK I would really like to have this on a seperate page.
Agreed,like a link from admincp would be optimal.
Sushubh
01-06-2010, 12:51 AM
<a href="https://vborg.vbsupport.ru/showpost.php?p=1948365&postcount=2" target="_blank">https://vborg.vbsupport.ru/showp...65&postcount=2</a> same problem here.
Boots
01-06-2010, 12:59 AM
oops, had a hardcoded table prefix.. one sec
Boots
01-06-2010, 01:01 AM
Try that on for size.
Boots
01-06-2010, 01:02 AM
OK I would really like to have this on a seperate page.
Agreed,like a link from admincp would be optimal.
I'll gear up an Admin CP page in the next day or two :D
mandingo
01-06-2010, 01:07 AM
Try that on for size.
No errors :) *waits for clicks to see mod in action*
I'll gear up an Admin CP page in the next day or two :D
Thanks.
VonDoom
01-06-2010, 01:33 AM
This Product is showing in my ACP but nothing In WGO? Permissions for Admin usergroup 6 are set.
ETA Installed on 4 separate forums on 4 separate servers Nothing showing in WGO on any of them. But the menu does show in all the ACP's
2nd Edit I take that back apperantly you have to wait for a referal b4 the block shows. Seems to be working fine. Thnks for a very useful hack good stuff. Installed and rated.
Boots
01-06-2010, 01:44 AM
This Product is showing in my ACP but nothing In WGO? Permissions for Admin usergroup 6 are set.
ETA Installed on 4 separate forums on 4 separate servers Nothing showing in WGO on any of them. But the menu does show in all the ACP's
2nd Edit I take that back apperantly you have to wait for a referal b4 the block shows. Seems to be working fine. Thnks for a very useful hack good stuff. Installed and rated.
I guess I should have mentioned that :) Glad you find it useful!
blake247
01-06-2010, 01:45 AM
This Product is showing in my ACP but nothing In WGO? Permissions for Admin usergroup 6 are set.
ETA Installed on 4 separate forums on 4 separate servers Nothing showing in WGO on any of them. But the menu does show in all the ACP's
2nd Edit I take that back apperantly you have to wait for a referal b4 the block shows. Seems to be working fine. Thnks for a very useful hack good stuff. Installed and rated.
Same
Sushubh
01-06-2010, 02:10 AM
works now.
suggestion:
for search engines optional... show search engine name and query as well...
question:
on my forum it seems to show the most popular referrers not the latest one!
Boots
01-06-2010, 09:22 AM
works now.
suggestion:
for search engines optional... show search engine name and query as well...
question:
on my forum it seems to show the most popular referrers not the latest one!
It's sorted by most popular referrer. I'm adding an option to change that. I'm also adding a section to show the most popular pages being referred to.
kersti
01-06-2010, 09:24 AM
Would love this to link from the What's New tab - is that possible?
Sushubh
01-06-2010, 09:44 AM
cool thanks. i like this add-on.
Dr.osamA
01-07-2010, 09:20 AM
Good mod
thanxx man
installed
________
Motorcycle tires (http://www.motorcycle-tech.com/tires/motorcycle-tires)
Boots
01-07-2010, 11:14 AM
I'll be releasing an updated version this weekend with some extra features. I now have the ability to display the most referred to pages as well.
Zaiaku
01-09-2010, 03:08 PM
Can't wait! Upload it now Mr! lol jk
Boots
01-10-2010, 05:21 PM
OK I would really like to have this on a seperate page.
There is now a separate page in addition to the forumhome bits.
Boots
01-10-2010, 05:25 PM
works now.
suggestion:
for search engines optional... show search engine name and query as well...
question:
on my forum it seems to show the most popular referrers not the latest one!
You can now sort by popularity or last visit.
Sushubh
01-11-2010, 09:11 AM
<a href="https://goo.gl/lnSl" target="_blank">http://goo.gl/lnSl</a> the referrer page seems to be not working on my forum!
Boots
01-11-2010, 10:00 AM
http://goo.gl/lnSl the referrer page seems to be not working on my forum!
The blank page indicates a permission problem. Do you have usergroups set properly for "Full View - Usergroups Access" ?
Sushubh
01-11-2010, 10:27 AM
ok. i am the admin and i have permission to watch that page.
the page shows
{vb:phrase bhr_title
in the header and nothing after that...
Boots
01-11-2010, 11:53 AM
Is it working for anyone else?
SpongeBob71
01-11-2010, 05:07 PM
Not working for me....same issue as Susubh
Sorry.
-SB
Boots
01-11-2010, 08:49 PM
Ok, I'll take a closer look at it :)
Dr.osamA
01-16-2010, 05:42 AM
Not working for me....same issue as Susubh
Sorry.
me too
Weting .....
________
BRAISING FOOD (http://www.cooking-chef.com/braising/)
pizzaservice
01-16-2010, 04:04 PM
ok. i am the admin and i have permission to watch that page.
the page shows
{vb:phrase bhr_title
in the header and nothing after that...
I have the same probleme,
{vb:phrase bhr_title
and nothing more...
chingon
01-16-2010, 07:09 PM
me too.
Verionia
01-16-2010, 10:31 PM
will download once problems are fixed ;)
cooltechie
01-17-2010, 01:42 PM
Would like to try this out when problem is fixed. Tagged.
Boots
01-17-2010, 03:01 PM
I know what the problem is, I screwed up exporting a template. I've been super busy with work but I'm going to try and get a fixed up version posted later today.
Penguin82
01-17-2010, 07:24 PM
Great Mod! Was much needed!
Installed =]
gbechtel
01-18-2010, 11:18 AM
Search for in templates and change this
{vb:phrase bhr_title
to this
{vb:phrase bhr_title}
and that will fix the title issue, but still nothing showing on the page.
Boots
01-18-2010, 12:26 PM
I'm at work right now but I fixed up a dated template in the product. If someone could test this and let me know if it fixed the problem I'll update the modification.
Thanks!
Boots
01-18-2010, 12:26 PM
and sorry for the slow action on this.. busy, busy :D
Sushubh
01-18-2010, 12:34 PM
MySQL Error : Table 'xxxxx_http_referrers' already exists
i got this sql related error when i tried re-importing the xml file. should i delete this table from the database manually?
Boots
01-18-2010, 12:38 PM
Actually, if you uninstall the product first it should take care of that. I'll make the installer a bit smarter in the next release.
Sushubh
01-18-2010, 12:41 PM
alright. i would try uninstalling and installing it now :)
Boots
01-18-2010, 01:05 PM
Let me know if it fixes the problem :)
Sushubh
01-18-2010, 01:17 PM
<a href="http://broadbandforum.in/referrers.php" target="_blank">http://broadbandforum.in/referrers.php</a> seems to work now.
Boots
01-18-2010, 01:24 PM
Excellent. I'll update the modification. Thanks for testing!
gbechtel
01-18-2010, 05:24 PM
Still a no data on the "referrers.php" page on my end, it shows the referrers on forum.php but clicking on the link brings up the referrers.php page with no data
Sushubh
01-18-2010, 07:21 PM
the default permissions should enable that page for mods, supermods and admins... have you got different usergroup numbers for your own usergroup?
chingon
01-18-2010, 07:41 PM
Thank you, works like a charm now.
Boots
01-18-2010, 11:05 PM
Still a no data on the "referrers.php" page on my end, it shows the referrers on forum.php but clicking on the link brings up the referrers.php page with no data
Verify the usergroup settings.
Boots
01-22-2010, 03:42 PM
This appears to be working fine so I'm going to take it out of beta.
venom2124
01-25-2010, 02:36 AM
getting a database error and can't get my admincp back up to get this mod off
Boots
01-25-2010, 10:01 AM
getting a database error and can't get my admincp back up to get this mod off
Details? Can't help if I don't know any details.
gbechtel
01-25-2010, 10:28 PM
Verify the usergroup settings. I have verified the settings and I can see the listing on the forumhome page but clicking on the
"Full referrer list..." displays an empty page... see attached
Boots
01-26-2010, 10:01 AM
gbechtel, can you PM me a screen shot of your admincp settings for the plugin?
gbechtel
01-26-2010, 09:49 PM
Ill just post it here (top, middle and bottom) couldn't get it on one screen shot.
goran424
07-28-2010, 04:31 PM
Installed, waiting for it to show on forum home page.
Dragonsys
07-29-2010, 03:05 PM
How do I disable the information in WGO?
EDIT: Ok I can just set Referrers - Usergroups Access & Referred Pages - Usergroups Access to blank.
Can we get a NavBar link for this? maybe under Quick Links.
KURTZ
07-29-2010, 07:01 PM
just tagged, i'll check later :)
SuperTaz
08-09-2010, 12:33 AM
Very nice. Thank you.
KevinL
12-08-2010, 04:37 PM
Is anyone having an issue with this not showing for FireFox?
OldSchoolDSL
12-24-2010, 05:39 AM
Installed on 4.1 PL2
Not sure if its working or not. Do not see anything new added on my forum page.
EDIT: If someone else other then me would click the link here:
http://www.sociallyuncensored.com/forums/forum.php
I would know if this is working.
OldSchoolDSL
12-24-2010, 04:25 PM
It works, but I ran into a small problem. I made the "mistake" of clicking the following http://www.sociallyuncensored.com/forums/images/buttons/collapse_collapsed.png to collapse it out of view.... Which it did. But sadly, once click they became un-click-able, so now I can not un-collapse it. :(
AURFSCAN
12-25-2010, 03:57 AM
Does work, had to edit: plugin - build template, and change
pos2
$template_hook['forumhome_wgo_pos2'] .= $templater->render();
to pos5 to put it at the bottom of whats 'going on'
$template_hook['forumhome_wgo_pos5'] .= $templater->render();
and then remove this at the end
if ($render)
{
$templater = vB_Template::create('Boots_Http_Referrers_Targets' );
$templater->register('targets', $targets);
$template_hook['forumhome_wgo_pos2'] .= $templater->render();
}
but its still not lined up and looks pretty ugly but can be sorted and it does work.
tagged, testing and modifying when Im bored and have nothing else todo :)
OldSchoolDSL
12-30-2010, 02:48 AM
Uninstalled.
Caused a conflict with a few things.
Britmovie
12-30-2010, 01:48 PM
Hi this is by far the best one but can it be made so it has its own page and doesnt clutter the front page?
smirkley
12-31-2010, 05:05 AM
Needs some fine tuning, some polishing,...
But I like it.
sportsfroma2
07-18-2011, 03:29 AM
This was a great mod and worked well, but I just upgraded my site from 4.0.7 to 4.1.4 and it no longer displayed correctly...
Would love to install it again if it's updated, but in the meantime looks like I will have to try another one.
inspector
09-22-2011, 10:51 AM
Just installed and it goofed my forum up. I'm in admin cp and nothing works now. Every thing I click in the cp goes to data base error.
inspector
09-22-2011, 11:03 AM
Please advise how to fix this problem if I can't see the plugin manager to uninstall. Every single thing in the CP left column goes to "database error" when I click on it. I can't see anything in options and can't even turn the forum off while it's goofed up.
Boots
09-22-2011, 12:28 PM
Sorry guys, no longer maintaining this.
@inspector Disable the plugin system and uninstall the plugin
inspector
09-23-2011, 12:11 AM
Someone needs to edit the first post to inform people this thing will F your board up!
inspector
09-25-2011, 07:43 PM
Uninstalled. Had to have a ticket sent in to VBulletin team to fix my forum as this mod screwed everything up.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.