Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[AJAX] Websites who have referred today (in the last 24 hours) Details »»
[AJAX] Websites who have referred today (in the last 24 hours)
Mod Version: 1.62, by RedTyger (Coder) RedTyger is offline
Developer Last Online: Jul 2012 I like it Show Printable Version Email this Page

vB Version: 3.6.8 Rating: (72 votes - 4.57 average) Installs: 424
Released: 28 Jan 2007 Last Update: 19 Nov 2007 Downloads: 2274
Not Supported DB Changes Uses Plugins Template Edits Additional Files  

Websites who have referred today (in the last 24 hours)


Description:
Lists all websites who have sent you visitors in the last day.

Each time a person arrives at your forum by clicking on a link from another website, the website URL they arrived from is listed on the index page of your forum in the same manner as members who are logged in. Screenshots at the foot of this post.


Options: (AdminCP > vBulletin Options > Websites who have referred today)
Turn it on or off
Mod goes on, mod goes off. Mod goes on, mod goes off.

Enable display for UsergroupIDs
Enter the IDs of the usergroups you wish to be able to view referring links, separated by commas (,). (i.e 1,2,3). Leave blank to display referring links to everyone.

Enable referrer page title? (http://www.vbulletin.org/forum/attac...0&d=1170326535)
Choose Yes to store the page title of the referrer, which will be used as the link text. If this is not enabled or not available, a trimmed version of the URL will be used.

This may incur a slight penalty on page-load time when a visitor first arrives from a referrer or possibly be problematic where referring pages time out or redirect.

Trim URL variables?
Choose Yes to remove variables from the end of URLs to shrink listing repeats. (i.e. Set to No, every different search from Google will add a new www.google.com referral to the listings. Set to yes, all will be compressed into one listing but the search terms will be lost.)

Blockword List:
Enter character strings to be prevented from being added to the URL database, separated by commas (,). You may use any part of domains (www.xxx or xxx or www.xxx.com or .com).

Highlight arrivals from a referrid link?
Choose Yes to highlight in italics referrers using a forum member's referral link.

For this to work, you must have "Trim URL variables" to No.

Highlight domain list
Enter domains to be highlighted using the markup belowe, separated by commas (,). You must use the format domain.ext, exclude the http://(www.) part. (i.e. redtyger.co.uk)

Opening tag for highlighted domain markup
Enter HTML and/or text that will be placed before the domain name.

Closing tag for highlighted domain markup
Enter HTML and/or text that will be placed after the domain name.


Additional Features:
AJAX inline moderation (http://www.vbulletin.org/forum/attac...2&d=1170095586)
Click on the X next to any domain to remove it from the database. No page loads, no waiting.

Scheduled Task (Cron)
All domains are cleared at midnight daily. You can edit the Scheduled task to have the database cleared when and as often as you like. All scheduled clearances are logged and phrased. Like any other vBulletin Scheduled task you must have activity or the scheduled task will not run.

Manual database clearance
As well as removing any individual domain, you can clear the referral database at any time using a link from the index page.

Queries:
This modification adds one very small query for every arrival from an external link. One additional larger query is used on the index page to construct the list.


Installation Instructions:
1. Go to AdminCP > Plugins & Products > Manage Products > Add/Import Product.
2. Upload the websites_who_have_referred_today.xml file.
3. Upload the wwhrt.php file to the includes/cron folder of your forum directory.
4. Open AdminCP > Styles & Templates > (Your Theme) Edit Templates > Forumhome templates > FORUMHOME.
5. FIND:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


BELOW, ADD:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


And save the template. Done!


Donations

If you have a pressing wish to donate money to me (and of course, you do) to say thank you and to possibly encourage more future work then you can do via the link below. Also, you will go to heaven.

http://redtyger.co.uk/donations.php

Don't panic! The donations link is only hosted on my website so it can be encrypted and not open my email address to spammers.


Changelog

v1.1 Added AJAX inline moderation (Yay!) and ability to clear the list via a link on the index page without waiting from the Scheduled Task to do it. Admins only may do either task.
v1.1 Changed the screenshot to show the inline deletion links.
v1.1 Fixed incorrect cron timing (Scheduled Task) and phrased it.
v1.1 Fixed issue with domains that sometimes had www. and sometimes did not. This also now shortens any URL which I was meaning to do anyway, so www.google.com will appear in the list as google.com. Smartens things up and gives a bit more room too.
v1.1 Changed URL encoding to avoid problems with domains that contained hypens.
v1.1 Fixed blockwords not working. They are still only checked when a domain is first added, but inline moderation means you can now take care of it yourself afterwards if necessary..
v1.1 Minor optimisations.

v1.5 Added Archive referral recording.
v1.5 Added Usergroup display controls.
v1.5 Added option to record and use referring page title as link text instead of trimmed domain. (http://www.vbulletin.org/forum/attac...0&d=1170326535)
v1.5 Added option to highlight referrals that have arrived from a forum member's referral link.
v1.5 Added option to highlight with custom markup any domains of your choice.
v1.5 Fixed workaround for apparent PHP bug where a letter would occasionally be removed from the beginning of URLs
v1.5 Fixed issue with multiple blockwords, I swear to God it's fixed this time. Probably.
v1.5 Fixed issue with AJAX inline moderation only deleting the last URL in the list.
v1.5 Changed minor optimisations.

v1.51 Fixed bug where multiple versions of the same forum URL were used for access.

v1.6 Added option to limit number of recent URLs displayed
v1.6 Added option to trim referrer additions to the domain name only to further limit repeat listings
v1.6 Added URL sorting, referrers are now listed in reverse order (last addition first)
v1.6 Fixed catch for https and ftp URLS.
v1.6 Fixed bug where a w would be trimmed off the beginning of URLS.
v1.6 Fixed blockwords not working (Oh please, oh please, oh please)
v1.6 Minor optimisations

v1.61 Added compatiblity with vBulletin 3.5.x
v1.61 Probably fix to possible referrer text exploit.

v1.62 Added securing of HTML tags as a security measure.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	websites_who_have_visited_today.jpg
Views:	5409
Size:	34.2 KB
ID:	59682Click image for larger version

Name:	websites_who_have_visited_today1.jpg
Views:	3798
Size:	34.9 KB
ID:	59820

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Members who have visited Today (or in the last 24 hours). Paul M vBulletin 3.6 Add-ons 1144 18 Mar 2011 18:15
Members who have posted Today (or in the last 24 hours) Paul M vBulletin 3.6 Add-ons 140 23 Feb 2008 22:19

  #196  
Old 01 May 2007, 18:42
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Question

Hi again....

I've been using Track Guest Visits Version: 1.16, by Paul M (Administrator)

http://www.vbulletin.org/forum/showthread.php?t=131314

It was working fine, but since I've installed "Websites who have referred today (in the last 24 hours)", I've noticed that Paul's mod, which used to show 180-250 visitors in the last 24 hours, has dropped off to 10-20 in the last 24 hours.

Edit: I also just noticed that another one of Paul's mods "Members who have visited Today (or in the last 24 hours)." has dropped from 60-70 down to 15 members in the last 24 hours. We've been consistently in the former metric? Now I'm really confused....


Is there something that this mod does, that would have affected either (or any) of Paul's mods?

Thanks

Regards,
Badger

Last edited by BadgerDog : 01 May 2007 at 19:37.
Reply With Quote
  #197  
Old 01 May 2007, 21:01
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul Marsden
There's a lot of code, but from a quick look at it I can't see anything that would affect my mods, are you sure your site wasn't offline for a time ?
__________________


Cable Forum - DigiGuide
Please Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Senior vBulletin Developer : Please do not PM me about custom work - I work for Internet brands and no longer have the time to undertake any.
Reply With Quote
  #198  
Old 01 May 2007, 21:16
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by Paul M View Post
There's a lot of code, but from a quick look at it I can't see anything that would affect my mods, are you sure your site wasn't offline for a time ?

No, been up for 205 days contiguously without any problems or re-boot....

It's almost as if the member database your mods draw upon got "wiped"?

Is it ok if I email you my FORUMHOME script?

I haven't touched your <!-- end logged-in users --> section in AdminCP, but I have injected other mods (like this one) into it. Perhaps that's a problem? I also installed your RealIP mod?

In any event, thanks for your response Paul.... and your excellent development work. Both are much appreciated as I've found them very helpful to a new and growing board.

Regards,
Badger
Reply With Quote
  #199  
Old 02 May 2007, 10:55
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Question

Interesting....

It bounced back up to 164 visitors and 65 members in the last 24 hours, as of this morning ...

This is what it's been day in and day out for months, so I have no idea what caused the sudden change after installing this mod. Perhaps coincidental to some other anomaly, but I'll try to keep an eye on it and report anything that has a pattern. I did turn this mod off and on again, but I can't see that making any difference.

Quick question:

Trim URL to domain only?
Choose Yes to remove everything except the domain name from the end of URLs to shrink listing repeats. Subdomains will still be included.


I've set this to YES and NO, but I can't see any display difference and I'm not quite understanding what it does?

Thank you for some excellent work. I have found it valuable to be able to analyze where our guests are coming from, particularly a site where we pay for a banner.

Regards,
Badger
Reply With Quote
  #200  
Old 02 May 2007, 11:13
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
This modification shouldn't interfere with anyone else unless they happen to be using a referrer table in the database as well.

Trim URL to domain only is a way of limiting repeat entries. So any referrals from http://www.google.com will add a count to one single google.com entry instead of one for each page a referral came from.
Reply With Quote
  #201  
Old 02 May 2007, 11:36
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by RedTyger View Post
This modification shouldn't interfere with anyone else unless they happen to be using a referrer table in the database as well.

Trim URL to domain only is a way of limiting repeat entries. So any referrals from http://www.google.com will add a count to one single google.com entry instead of one for each page a referral came from.

Thanks ...

That's what it does do on my system, sets a (2) etc after the name, regardless of whether I turn the option ON or OFF. Perhaps it's a "going forward" change, as opposed to a change to what's already stored? Other than all of Paul's mods, I don't have anything else running that I think effects a referrer table, although I'm geren around the gills with regards to this stuff. I guess my old 1960's Fortran programming skills are a little dated..

I think that it has something to do with emptying out the entries. I'm not sure, but if I purge all of the sites, I think for some reason the database entries for Paul's (24 hour) mods seem to start over? my "scheduled task" log shows one entry for this mod.

625 Total websites who have referred visitors today 01:04, 1st May 2007 Referrals Emptied

It was immediately after that, Paul's information essentially dropped to nothing, then has rebuilt itself over the last day, but I haven't run the "referral empty" job since.

Edit: I figured out the cron thing ... my fault... give me a coffee break and you'll have to re-train me..

Last edited by BadgerDog : 02 May 2007 at 11:51.
Reply With Quote
  #202  
Old 02 May 2007, 21:25
jw00dy's Avatar
jw00dy jw00dy is offline
 
Join Date: Dec 2004
Originally Posted by jw00dy View Post
Sorry I just saw your update.

Here's the info.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I only have this one entry in my DB at the moment.
Did you get a chance to look at this?
__________________
Just another squirrel trying to get a nut

allthingsmoto.com, bodynspirit.net, & payinitoff.com
Reply With Quote
  #203  
Old 02 May 2007, 22:06
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
I could do with the full details, not just the parts before the ...!

I did have a quick look, it should not be a length of field problem after all. So I'm not sure at the moment.
Reply With Quote
  #204  
Old 03 May 2007, 15:16
MeMySelfNi MeMySelfNi is offline
 
Join Date: Dec 2003
*installed*
Reply With Quote
  #205  
Old 03 May 2007, 17:13
jw00dy's Avatar
jw00dy jw00dy is offline
 
Join Date: Dec 2004
Originally Posted by RedTyger View Post
I could do with the full details, not just the parts before the ...!

I did have a quick look, it should not be a length of field problem after all. So I'm not sure at the moment.
That is all the information. I did not cut that off.
__________________
Just another squirrel trying to get a nut

allthingsmoto.com, bodynspirit.net, & payinitoff.com
Reply With Quote
  #206  
Old 03 May 2007, 21:13
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Not sure about that...if you're using PHPMyAdmin then above the table is an icon that looks like <<T>> which will display the entire contents of the field.
Reply With Quote
  #207  
Old 03 May 2007, 21:43
jw00dy's Avatar
jw00dy jw00dy is offline
 
Join Date: Dec 2004
Ahh, okay, we'll, I'll get you some new data, I did not know about the <<T>>

thanks.
__________________
Just another squirrel trying to get a nut

allthingsmoto.com, bodynspirit.net, & payinitoff.com
Reply With Quote
  #208  
Old 06 May 2007, 09:16
Ignicoccus Ignicoccus is offline
 
Join Date: Aug 2006
I am still having the problem with the trailing "w" beeing cut of some referrers. Any ideas ?
Reply With Quote
  #209  
Old 06 May 2007, 22:10
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Same here.

Originally Posted by Ignicoccus View Post
I am still having the problem with the trailing "w" beeing cut of some referrers. Any ideas ?
It's happening on all of them that start with a "w".
Reply With Quote
  #210  
Old 07 May 2007, 21:09
CalCCW CalCCW is offline
 
Join Date: Apr 2007
I installed this today, but if I have it enabled then my home page is broken. I get a blank page (completely white) in Firefox and IE7 says
Internet Explorer cannot display the webpage

Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.
The strange thing is that the error comes up immidiately, not like a timeout or something.

I can turn this add-in on/off and reproduce the problem, so I'm 1000% sure that is the problem. I checked, and the referrals table is in fact created and has a few listings. I also tried setting the referrer page title to no just to make sure that wasn't causing a problem.

Any thoughts? I'm running vB 3.6.5 with the paid vbseo add-in, otherwise stock.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 06:26.

Layout Options | Width: Wide Color: