vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - [AJAX] Websites who have referred today (in the last 24 hours) (https://vborg.vbsupport.ru/showthread.php?t=137792)

PinkDaisy 01-30-2007 04:30 PM

Great hack!! Wanted this for some time.. Thanks! Off to install.. :D

RedTyger 01-30-2007 04:31 PM

Don't do it yet, a new versions is appearing in a few minutes.

PinkDaisy 01-30-2007 04:54 PM

I just did it.. :(

Is there any way to show which site maybe they just came from, like not referred you, but say I was at www.yahoo.com and I typed in the same window the link to my boards, can that be possible ??

SCRIPT3R 01-30-2007 06:13 PM

The addition to add usergroup visibility in Options would be nice. I know the edit is available, but a built-in option would be nice similar to Paul M's Groups allowed to View in his Who Has Visited Today hacks. also, does/can this differentiate between Members and Guests? and finally, possible for the Database Clean-up Period every 24 hours or at least optional for either 12 or 24 hours?

SCRIPT3R 01-30-2007 06:43 PM

also, i've decided to display this onto another page of Referrer Statistics i am using. i don't see the need to query for this on forumhome for every user... too much for big boards.

fringehead 01-31-2007 01:00 AM

I just installed this mod, and it seems to break the Track Guests Mod. Any idea how to get these to work together?

Thanks!

Mr. F

RedTyger 01-31-2007 09:45 AM

Quote:

Originally Posted by fringehead (Post 1170985)
I just installed this mod, and it seems to break the Track Guests Mod. Any idea how to get these to work together?

Thanks!

Mr. F


What is the issue? I am not seeing any problems on my test forum.


Quote:

Originally Posted by GearTripper (Post 1170732)
The addition to add usergroup visibility in Options would be nice. I know the edit is available, but a built-in option would be nice similar to Paul M's Groups allowed to View in his Who Has Visited Today hacks. also, does/can this differentiate between Members and Guests? and finally, possible for the Database Clean-up Period every 24 hours or at least optional for either 12 or 24 hours?


Usergroup display from the AdminCP has now been added.

It does not differentiate between members and Guests. This can easily be done yourself, just find this code at the very top of the global_start section of the plugin:

Code:

if ($vbulletin->options['referrers_onoff'])
and change it to

Code:

if ($vbulletin->options['referrers_onoff'] && !$vbulletin->userinfo['userid'])
That should only record Guest hits. Remove the ! to change it to only member hits. Untested, it's not something I intend to add.

Cleanup is done by cron, if you want to change the timing just edit it in the Scheduled Task listings.

project-Buckfas 01-31-2007 10:04 AM

Any way of getting this in the admincp instead of on the index?

RedTyger 01-31-2007 10:07 AM

There is someone who intends to release an Add-On to this modification that does that, but it's not something I will do myself.

melscamera 01-31-2007 07:14 PM

Works great !!! good job guys..


_____________________
http://forums.melscamera.com

BigJimTheLug 01-31-2007 07:22 PM

Has this mod been fixed so that the letter t and p do not get cut off?

Thanks.

Nice mod, very helpful!

Shazz 01-31-2007 07:44 PM

Many people have had different problems none of them relating to the same type?

BigJimTheLug 01-31-2007 07:54 PM

Quote:

Originally Posted by Shazz (Post 1171483)
Many people have had different problems none of them relating to the same type?

Wow, I see.

Thanks.

RedTyger 01-31-2007 09:06 PM

Quote:

Originally Posted by MARKETPROFITS (Post 1171474)
Has this mod been fixed so that the letter t and p do not get cut off?!

Yes it has. New release out ASAP...

Shazz 01-31-2007 09:22 PM

Quote:

Originally Posted by MARKETPROFITS (Post 1171495)
Wow, I see.

Thanks.

Not many mods are like that... :rolleyes:

Nathan2006 01-31-2007 10:47 PM

Thank you RedTyger

This is great!

Install :)

Bison 02-01-2007 01:03 AM

Paul M created a few hacks simular to this one but his didn't require hacking the templates. Everything was automated ... can this be done with this hack?

RedTyger 02-01-2007 08:19 AM

Quote:

Originally Posted by Bison (Post 1171701)
Paul M created a few hacks simular to this one but his didn't require hacking the templates. Everything was automated ... can this be done with this hack?

Yes it can, but I two reasons. Firstly it uses verrrrrrrrrrrrrrrry slightly more resources. Very slight. Secondly it might not work on custom templates so I'd have to give out the template edit anyway, nor does it allow you to put it anywhere you like in your template. It's just one very easy template edit so it's not a big deal.

RedTyger 02-01-2007 09:07 AM

Okay, the update stripped all the text and sent a blank email. That's a new one! Here's the update text again.

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.
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.

To upgrade, you must first uninstall your existing product and then install this version. You must also redo the template edit so that the Usergroup settings will work.

Icehawk002 02-01-2007 10:09 AM

I've read the thread a whilst there are a few posts related to this issue I can't see or am missing whether there is a solution.

Problem is that our own site shows up as links, whether its the front page or admincp or who's on line.

I am sure it has been resolved just a bit dense lol.

other than that it works fine on 3.6.4 and install was easy

RedTyger 02-01-2007 10:13 AM

Are you using the 1.5 version just released? If not, follow the upgrade instructions and see if it still happens.

If it still happens after that, can you copy and paste here what is in the forum URL field at AdminCP > vBulletin Options > Site Name / URL / Contact Details and preferably make the referrals public on your forum so I can have a look myself.

TrIn@dOr 02-01-2007 11:16 AM

Quote:

Originally Posted by RedTyger (Post 1171929)
To upgrade, you must first uninstall your existing product and then install this version. You must also redo the template edit so that the Usergroup settings will work.

Thanks a lot for the new features.

Upgraded, need i still to redo template modification?, seems to work with the last mod.

RedTyger 02-01-2007 11:17 AM

Quote:

Originally Posted by TrIn@dOr (Post 1171987)
Thanks a lot for the new features.

Upgraded, need i still to redo template modification?, seems to work with the last mod.

If you don't need the Usergroup settings, no. Otherwise yes.

Icehawk002 02-01-2007 11:33 AM

Quote:

Originally Posted by RedTyger (Post 1171959)
Are you using the 1.5 version just released? If not, follow the upgrade instructions and see if it still happens.

If it still happens after that, can you copy and paste here what is in the forum URL field at AdminCP > vBulletin Options > Site Name / URL / Contact Details and preferably make the referrals public on your forum so I can have a look myself.

Yes I am using latest version downloaded today. No prior installation.

Code:

Forum URL http://www.the-ice-castle.co.uk/forum

Homepage URL http://www.the-ice-castle.co.uk/index.php

The folowing urls are in the blockword list

http://www.the-ice-castle.co.uk/,
http://the-ice-castle.co.uk/forum/admincp/index.php,
www.the-ice-castle.co.uk,
the-ice-castle.co.uk,
http://the-ice-castle.co.uk/forum/index.php,
http://the-ice-castle.co.uk/forum/private.php,
http://the-ice-castle.co.uk/forum/admincp/index.php,
http://the-ice-castle.co.uk/forum/admincp/index.php?do=head,

OK public now but I am afraid you'll need to register, but its free. Please note it is an adult fetish site, don't visit if easily offended :)

Icehawk002 02-01-2007 11:52 AM

Done, problem unresolved.

RedTyger 02-01-2007 11:56 AM

Nuts. If you're willing to grant me Admin access I'd appreciate being able to test on your forum myself, it'd be quicker and save you the effort.

Note: Post & attachment removed.

Icehawk002 02-01-2007 12:03 PM

OK would like to get this sorted and maybe others will have same problem. PM sent to you.

RedTyger 02-01-2007 01:26 PM

Quote:

Originally Posted by Icehawk002 (Post 1172027)
OK would like to get this sorted and maybe others will have same problem. PM sent to you.

Thanks for that, the version I have uploaded seems to be doing the job, I'm not seeing any of your own URLs being listed. The problem was that you have people using two different versions of your forum URL.

Really, this shouldn't be happening. You are diluting your SEO by using two different URLs, so for the sake of your search engine rankings always be sure to point people to http://yourdomain.com or http://www.domain.com, but not both. A less effective solution is to use .htaccess to force a 301 redirect to one or the other regardless of which is used for access. It doesn't help as much with your rankings but it's as effective as you can be if you already have multiple versions of your URL around the internet.

I'll leave it for a bit to make sure the problem doesn't crop up again unexpectedly and I'll check back later then release an update. It won't be a problem for most people.

P.S. the redirect on your affiliate link isn't working, it just sits in a loop. There's a bug in the code somewhere.

Icehawk002 02-01-2007 01:30 PM

Thank you :)

Icehawk002 02-01-2007 01:36 PM

Quote:

Originally Posted by RedTyger (Post 1172087)
P.S. the redirect on your affiliate link isn't working, it just sits in a loop. There's a bug in the code somewhere.

Yes I know, oh! if only others responded in the excellent way you have for your mod here

RedTyger 02-01-2007 01:38 PM

You are most welcome.

Mastar 02-01-2007 01:46 PM

I uploaded and installed the new 1.5 version and got a db error. I reinstalled the old one and it works, vb3.64

What I did is to keep the old cron job file and upload the new product. I get no errors now but I'll wait til I get visitors.

RedTyger 02-01-2007 01:48 PM

Did you uninstall the working product, then install the new one? You can't just overwrite it.

Veer 02-01-2007 04:37 PM

I updated latest version of the hack, and just got the Database error:

Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT url, count, title, referrerid
FROM community_referrers;

MySQL Error : Unknown column 'title' in 'field list'
Error Number : 1054
Date : Thursday, February 1st 2007 @ 01:30:39 PM
Script : http://www.site.com/home.php
Referrer : http://www.site.com/admincp/index.php?do=head

I Disabled the hack and Error gone.

Any idea?

RedTyger 02-01-2007 04:39 PM

Uninstall the old, then install the new.

Gryphon 02-01-2007 04:45 PM

Would it possible to add the option of a rolling 24 hour period instead of a set 24 hour period?

Nice mod :)

Veer 02-01-2007 04:46 PM

Quote:

Originally Posted by RedTyger (Post 1172235)
Uninstall the old, then install the new.

Done, Its working fine Now.

Thanks :)

BigJimTheLug 02-01-2007 04:53 PM

Works fine!
Excellent. All my website referrals look so nice!

This definitely helps promote any forum!

;)

SCRIPT3R 02-01-2007 04:57 PM

Quote:

Originally Posted by GearTripper (Post 1170732)
...possible for the Database Clean-up Period every 24 hours or at least optional for either 12 or 24 hours?

Quote:

Originally Posted by Blackjack (Post 1172242)
Would it possible to add the option of a rolling 24 hour period instead of a set 24 hour period?

i have to second this request. ;)

Nathan2006 02-02-2007 09:26 AM

Hi,

Thank you for the update but there are some problems:

Do we need to add or remove the template edit before updating?


When switching on "Enable referrer page title?" I get this error:

Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT url, count, title
FROM referrers;

MySQL Error : Unknown column 'title' in 'field list'
Error Number : 1054
Date : Friday, February 2nd 2007 @ 11:16:48 AM
Script : http://www.myboard.com/
Referrer :
IP Address : 12.34.566.534
Username : Nathan2006
Classname : vb_database
Also all the URL's in the box at the bottom don't work (ScreenShot Added)

Thanks for any help :)


All times are GMT. The time now is 04:47 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.01578 seconds
  • Memory Usage 1,831KB
  • 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
  • (3)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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