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 (Member) RedTyger is offline
Developer Last Online: Aug 2015 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (39 votes - 4.69 average) Installs: 422
Released: 28 Jan 2007 Last Update: 19 Nov 2007 Downloads: 2292
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:	5428
Size:	34.2 KB
ID:	59682   Click image for larger version

Name:	websites_who_have_visited_today1.jpg
Views:	3818
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
Forum Home Enhancements Members who have visited Today (or in the last 24 hours). Paul M Modification Graveyard 1144 18 Mar 2011 18:15
Forum Home Enhancements Members who have posted Today (or in the last 24 hours) Paul M Modification Graveyard 140 23 Feb 2008 22:19

  #376  
Old 19 Nov 2008, 02:17
smooth-c smooth-c is offline
 
Join Date: Jan 2008
Hey, I have the mod installed - i've since upgraded to 3.7.3 and I re-installed all of my plugins to start fresh and now it doesn't work. I have installed it correctly and it is set to show usergroup id 6 (which is my administration group id)

It also doesn't show when set to blank (show to all)

Any ideas? it doesn't show on any of my skins.
Reply With Quote
  #377  
Old 19 Nov 2008, 03:51
nsaivamsi nsaivamsi is offline
 
Join Date: Mar 2008
Thanks installed
Reply With Quote
  #378  
Old 24 Nov 2008, 13:26
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Originally Posted by Leo Brazil View Post
The link is not available any longer, anyone mind to share ?

It's a shame the autor is gone forever....he had great mods but all out-dated.
Anyone ? I'm still working with the "w" issue.
Reply With Quote
  #379  
Old 29 Nov 2008, 11:20
smooth-c smooth-c is offline
 
Join Date: Jan 2008
I appreciate this mod is unsupported but surely someone can help.
Reply With Quote
  #380  
Old 30 Nov 2008, 22:40
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Real name: MrDby
Originally Posted by smooth-c View Post
Hey, I have the mod installed - i've since upgraded to 3.7.3 and I re-installed all of my plugins to start fresh and now it doesn't work. I have installed it correctly and it is set to show usergroup id 6 (which is my administration group id)

It also doesn't show when set to blank (show to all)

Any ideas? it doesn't show on any of my skins.
pm me your log in info and site. I will help you.
Reply With Quote
  #381  
Old 27 Dec 2008, 08:21
XManuX XManuX is offline
 
Join Date: Feb 2007
Up for a fix about the "w" problem !
Reply With Quote
  #382  
Old 29 Dec 2008, 20:47
wally's Avatar
wally wally is offline
 
Join Date: Aug 2005
Originally Posted by XManuX View Post
Up for a fix about the "w" problem !
fix is on page 16
Reply With Quote
  #383  
Old 18 Jan 2009, 20:42
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Hello all ...

I realize that this mod is no longer supported, however, I thought I'd ask anyone still reading this thread if they have encountered the following consistent error and have found a solution they could share.

We get dozens and dozens of these specific errors every day and it's driving us crazy emailing us with vBulletin Database Errors.

The same error occurs frequently as follows: (shortened and dealt with privacy issues)

EXAMPLE

====================================
Database error in vBulletin 3.6.7:

Invalid SQL:

INSERT INTO referrers
(url, count)
VALUES
('google.co.il%2Fsearch%3Fhl%3Diw%26amp%3Bclient%3Dfirefox-a%26amp%3Brls%3Dorg.mozilla%253Aen-US%253Aofficial%26amp%3Bhs%3DHxf%26amp%3Bq%3D%2522%25D7%2597%25D7%2599%25D7%2595 %25D7%25AA%2B%25D7%259C%25D7%2599%25D7%259C%25D7%2594%2522%2B25.07.08%26amp%3Bbt nG%3D%25D7%2597%25D7%2599%25D7%25A4%25D7%2595%25D7%25A9%26amp%3Bmeta%3D', 1);

MySQL Error : Duplicate entry 'google.co.il%2Fsearch%3Fhl%3Diw%26amp%3Bclient%3Dfirefox-a%26amp' for key 1 Error Number : 1062
Date : Friday, January 16th 2009 @ 08:58:56 PM
Script : http://www.yourwebsite/yt.php?v=J4GwzQmLd9U
Referrer : http://www.google.co.il/search?hl=iw...95%D7%A9&meta=
IP Address : xx.xx.xx.xx
Username : Unregistered
Classname : vB_Database

====================================

Anyone else get these and perhaps can help us solve it?

Thanks for any feedback ....

Regards,
Badger
Reply With Quote
  #384  
Old 19 Jan 2009, 19:34
wally's Avatar
wally wally is offline
 
Join Date: Aug 2005
i get these errors from time to time also its not a big deal
Reply With Quote
  #385  
Old 20 Jan 2009, 15:25
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by wally View Post
i get these errors from time to time also its not a big deal
Thanks ...

I get dozens of these every day and each one sends me an SQL database error via email. Any way of fixing this, other than to have to turn off ALL database errors being sent to me via email?

Regards,
Badger
Reply With Quote
  #386  
Old 04 Feb 2009, 11:24
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
RedTyger,

I'm glad your back to activity !!!

How about a 3.8 upgrade for this one ?

Cheers
Reply With Quote
  #387  
Old 04 Feb 2009, 11:41
RedTyger RedTyger is offline
 
Join Date: Nov 2006
In what way does it not work on 3.8? There are a few bugs I could fix but there's nothing version-specific that I can see.
Reply With Quote
  #388  
Old 08 Feb 2009, 18:15
Cybertims Cybertims is offline
 
Join Date: Nov 2005
Real name: Paul
Can you provide a fix for the duplicate error in the database problem? I get emails all day every day from it.
Reply With Quote
  #389  
Old 09 Feb 2009, 17:08
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Originally Posted by RedTyger View Post
In what way does it not work on 3.8? There are a few bugs I could fix but there's nothing version-specific that I can see.
That's right. If known bugs were fixed would be a perfect mod.
Reply With Quote
  #390  
Old 10 Feb 2009, 11:05
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Some untested fixes to try, I cannot easily get it to work with 3.8 to try for myself.


If you are having trouble with database errors, try this:

OPEN: websites_who_have_referred_today_(versionnumber).xml

FIND (it's there more than once!):

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

REPLACE WITH:

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






If you are having trouble with the letter w being incorrectly removed from URLs, try this:

OPEN: websites_who_have_referred_today_(versionnumber).xml

FIND (it's there more than once!):

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

REPLACE WITH:

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

AND

FIND (it's there more than once!):

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

REPLACE WITH:

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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:15.

Layout Options | Width: Wide Color: