Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Shows List of other sites linked to your forum Details »»
Shows List of other sites linked to your forum
Version: 1.20, by payamix1 payamix1 is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 01-12-2006 Last Update: 01-22-2006 Installs: 76
DB Changes Uses Plugins Template Edits
 
No support by the author.

Released : 13 Jan 06

This plugin shows the websites linked to your forum on stat section of forumhome.
When you click on the site link, it redirects to the page where linked to your forum.
You can change number of top links in Admin CP.

UPDATED 1.20 : 16 Jan 06
changes in version 1.20

-----------------------
Referral Stat Page ...
Ability to remove refers

UPDATED 1.10 : 14 Jan 06
changes in version 1.10

-----------------------
Ignore Mail Servers ability via Admin CP (like us.f123.yahoo.com)
Ignore Spiders (MSNbot YAHOO GOOGLE) via Admin CP
Ignore List which Admin specifies via Admin CP
Change Sub Domain to Domain (aa111.bloger.com changes to www.bloger.com)
Bug fix (table error)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 01-26-2006, 03:37 AM
ironchef ironchef is offline
 
Join Date: Nov 2004
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just made a minor modification to the query on this plugin. I wanted to see referrals as they happened (newest first), so I changed the ordering:

PHP Code:
$referrals $db->query_read("SELECT COUNT(refer) AS num,refer FROM " TABLE_PREFIX "referrallinks GROUP BY refer ORDER BY date DESC, num DESC LIMIT $num"); 
Reply With Quote
  #43  
Old 01-26-2006, 07:25 PM
Blazin Trav Blazin Trav is offline
 
Join Date: Jan 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't get it, which .php file do I edit to add it?
Reply With Quote
  #44  
Old 01-27-2006, 05:29 AM
Illustrious Illustrious is offline
 
Join Date: Dec 2005
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by murrtex
if we can add sites manually from acp it'll be nice...
This is very nice. However, it doesn't seem to work with vBAffiliates, keep saying it tries to refer itself and that causes db errors.
Reply With Quote
  #45  
Old 01-28-2006, 08:28 PM
joefitz joefitz is offline
 
Join Date: May 2005
Location: Boston, MA
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the feature!

I was looking over the code and have a few comments and an offer:

1) I noticed a define for 'THIS_SCRIPT' and yet I didn't see it referenced in the code. It appears that the var was put in there to make it easier to change the name of the page -- which is great, but since it isn't used it didn't work. I updated the script to use the DEFINE (I'm sure it was just an oversite). So could that be incorporated into the next release?

2) Related to #1 above, I thought it would make sense to add another phrase in which would be something like 'referral_links_linkTitle' or 'referral_links_pagename' and then the DEFINE could get it's value from that phrase so no code changes would be necessary to rename the file. All one would have to do is rename the referrals.php file and then update the phrase...

3) While I was in the code, I noticed a few potential changes that I believe to be optimizations:
a) default $insert to true
b) change the first if statement so it will set $insert to false when appropriate (these first two changes are more about clarity than anything)
c) check $insert as first part of all the rest of the if statements (for the other options loops) to prevent those checks from running if $insert is already false
d) use the break; command to exit loops as soon as $insert = false

4) My host has various aliases (as many do) and therefore I need the system to not record referrals from those various aliases in addition to the standard server name.

I have already coded all of these updates into a new xml and referrals.php file if you (or anyone else) would like to make these changes.

Thanks again for the feature -- great work!!
Reply With Quote
  #46  
Old 01-29-2006, 12:58 PM
atosoup atosoup is offline
 
Join Date: Aug 2005
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wachtmeister
installed and uninstalled. does (currently) not work with table prefixes

MySQL Error : Table 'db.referrallinks' doesn't exist
Error Number : 1146
Date : Friday, January 13th 2006 @ 08:55:32 PM
Script : http://www.webgurus.de/forum/forumdisplay.php?f=110
Referrer : http://cronjob.de
IP Address : 80.237.144.8
Username : Unregistriert
Classname : vb_database
I get this same error..

Would love to use this hack.. Is there a fix?
Reply With Quote
  #47  
Old 01-29-2006, 01:37 PM
IrPr IrPr is offline
 
Join Date: Mar 2005
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it seems u must set TablePrefix manually...
Reply With Quote
  #48  
Old 01-29-2006, 01:59 PM
joefitz joefitz is offline
 
Join Date: May 2005
Location: Boston, MA
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmn. Looks like TABLE_PREFIX is in the script before the table name in every query... Looks like it should work to me...odd.
Reply With Quote
  #49  
Old 01-29-2006, 02:23 PM
atosoup atosoup is offline
 
Join Date: Aug 2005
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Moosa
it seems u must set TablePrefix manually...
How is this done?
Reply With Quote
  #50  
Old 01-29-2006, 11:26 PM
Deimos Deimos is offline
 
Join Date: Oct 2002
Posts: 529
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed aok, but all i get is 10 referalls, all are the same domain name the forum is hosted on?
Reply With Quote
  #51  
Old 01-30-2006, 12:01 AM
vietfancy's Avatar
vietfancy vietfancy is offline
 
Join Date: Feb 2005
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 05:27 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.04971 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete