vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Boots' HTTP Referral Tracker (https://vborg.vbsupport.ru/showthread.php?t=232307)

Boots 01-05-2010 10:00 PM

Boots' HTTP Referral Tracker
 
1 Attachment(s)
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
  1. Remove any previously installed version
  2. Upload referrers.php to your forum root
  3. 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:
Code:

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.

Trek 01-06-2010 12:30 AM

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

Quote:

Originally Posted by Zaiaku (Post 1948368)
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

Quote:

Originally Posted by Zaiaku (Post 1948368)
OK I would really like to have this on a seperate page.

Quote:

Originally Posted by mandingo (Post 1948378)
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

Quote:

Originally Posted by Boots (Post 1948388)
Try that on for size.

No errors :) *waits for clicks to see mod in action*
Quote:

Originally Posted by Boots (Post 1948389)
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

Quote:

Originally Posted by VonDoom (Post 1948400)
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

Quote:

Originally Posted by VonDoom (Post 1948400)
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

Quote:

Originally Posted by Sushubh (Post 1948423)
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

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

Quote:

Originally Posted by Zaiaku (Post 1948368)
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

Quote:

Originally Posted by Sushubh (Post 1948423)
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

Quote:

Originally Posted by Sushubh (Post 1952578)
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

Quote:

Not working for me....same issue as Susubh



Sorry.
me too

Weting .....
________
BRAISING FOOD

pizzaservice 01-16-2010 04:04 PM

Quote:

Originally Posted by Sushubh (Post 1952619)
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,
Code:

{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

Code:

{vb:phrase bhr_title
to this

Code:

{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

1 Attachment(s)
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

Code:

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.


All times are GMT. The time now is 05:22 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
  • Page Generation 0.02384 seconds
  • Memory Usage 1,815KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete