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

Reply
 
Thread Tools
vBaffiliate Links Details »»
vBaffiliate Links
Version: 1.1.0, by nfn nfn is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.5 Rating:
Released: 04-15-2008 Last Update: 04-19-2008 Installs: 120
Uses Plugins
Translations  
No support by the author.

Description:

This modification will replace a list of words with a list of words/links you define.
I use it to create links to affiliate programs using words from the posts, but can be used as a simple text replacement.

Tested With:
  • vBulletin 3.6.9
  • vBulletin 3.7.0 RC 3
Changes:
  • [v1.1.0]
    • Added vBadvanced News module support
    • Option for case sensitive
    • Option for removing space before & after
    • Link mask for link replacement
    • Can be used as a simple text replacement (without Link mask)
    • Code simplification for expanding propose
  • [v1.0.1] Issue with vB 3.7.0 RC3
  • [v1.0.0] First Release.
Installation & Upgrade Instructions:

Upload the product & configure the settings for the product vBaffiliate Links.

Notes:

This doesn't work with highlight text when searching yet ...
[s]The replacement is case sensitive.
The replacement process will only replace word between spaces.[/s]
From v1.1.x you can use the Link mask as a standard way to define your links.
This mod will only work with PHP5.
If someone would like to help, the credit will be given and I'll appreciate.

How to Use:

Without Link Mask:

Place one word per line in the first box and one word/link per line in the second box.

Word to Replace:
vBulletin Oficial Site
vBorg
Simple Text

Link to Replace:
<a href="http://www.vbulletin.com" title="vBulletin Official Site">vBulletin Oficial Site</a>
<a href="http://www.vbulletin.org" title="vBulletin Modification Site">vBorg</a>
<strong>Simple Text</strong>

With Link Mask:

Define the Link mask you want to use:

<a href="{link}" title="Advertisement">{word}</a>
{link} and {word} will be replaced with each par.

Place one word per line in the first box and one word/link per line in the second box.

Word to Replace:
vBulletin Oficial Site
vBorg

Link to Replace:
http://www.vbulletin.com
http://www.vbulletin.org


Show Your Support

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

Comments
  #72  
Old 08-04-2008, 06:00 PM
ErrorLog ErrorLog is offline
 
Join Date: Jul 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ajax toplist kayboluyor =S
Reply With Quote
  #73  
Old 08-06-2008, 01:51 PM
tafSteve tafSteve is offline
 
Join Date: Jun 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the perfect plugin, unfortunately, I can't get it to work on 3.7.2 RC1... I have disabled all other products/plugins to ensure it wasn't another modification, to no avail. I get the same error in the postbit hook, like some of the others have had. Here it is below:

Fatal error: Call to undefined function: vbal_msg() in /xxxxxxxxx_postbit.php(293) : eval()'d code on line 7

The error comes from postbit_display_complete... it seems it can't read where the originanl 'vbal_msg' function was declared in the 'global_start' plugin of the product.

I've tried playing around a lot and still can't get rid of the error message. Any help would be nice, although I understand this is a rather old mod that wasn't even made for 3.7.2

Thanks,
steve
Reply With Quote
  #74  
Old 08-06-2008, 02:28 PM
plusev's Avatar
plusev plusev is offline
 
Join Date: Jul 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tafSteve View Post
This is the perfect plugin, unfortunately, I can't get it to work on 3.7.2 RC1... I have disabled all other products/plugins to ensure it wasn't another modification, to no avail. I get the same error in the postbit hook, like some of the others have had. Here it is below:

Fatal error: Call to undefined function: vbal_msg() in /xxxxxxxxx_postbit.php(293) : eval()'d code on line 7

The error comes from postbit_display_complete... it seems it can't read where the originanl 'vbal_msg' function was declared in the 'global_start' plugin of the product.

I've tried playing around a lot and still can't get rid of the error message. Any help would be nice, although I understand this is a rather old mod that wasn't even made for 3.7.2

Thanks,
steve
The strange thing is that I am running 3.7.2 ( http://nl.plusevpokercoaching.com/pokerforum/ ) and the plugin is working fine.....

Can you tell me in what way I can help
Reply With Quote
  #75  
Old 08-06-2008, 08:57 PM
tafSteve tafSteve is offline
 
Join Date: Jun 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the quick reply plusev.

That is very strange indeed... It must not be any of the additional mods I have installed since I disabled all of them... I'll continue to play around with it tonight, but I am very confused on what the issue can be then. If you think of anything, please let me know... this is all sort of up in the air now. I will report any findings when I try messing with it again later this evening.

thanks again,
steve
Reply With Quote
  #76  
Old 08-18-2008, 09:34 PM
CardMafia CardMafia is offline
 
Join Date: Jun 2008
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this mod.

I did notice, if one of the words is part of the affiliate link, then it makes the link then breaks it up so the post shows the HTML of the link and links only the word in the affiliate code. anyway around this?
Reply With Quote
  #77  
Old 08-19-2008, 06:08 AM
plusev's Avatar
plusev plusev is offline
 
Join Date: Jul 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CardMafia View Post
I like this mod.

I did notice, if one of the words is part of the affiliate link, then it makes the link then breaks it up so the post shows the HTML of the link and links only the word in the affiliate code. anyway around this?
Let's say you are an affiliate of "Full Tilt Poker" and want to link this text. Your user type things like Full Tilt Poker, Full Tilt, FullTilt, FT

sollution:
- no link mask!
- first replace the one with the most words with a single word (Full Tilt Poker --> ftp)
- replace all other variants with (for instance) ftp
- last, replace ftp with the affiliate link

I hope you can see what I mean, otherwise I can add a screenshot if you like

Greetz,

Michiel
Reply With Quote
  #78  
Old 08-19-2008, 06:19 AM
stevectaylor stevectaylor is offline
 
Join Date: Aug 2007
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have VBSEO you can use the expanded acronym to do the same thing
Reply With Quote
  #79  
Old 08-21-2008, 01:03 PM
Keyser Soze Keyser Soze is offline
 
Join Date: Apr 2005
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How is it possible to highlight a certain word only once per post? If someone is talking about a certain product in his post and he mentions it in every second sentence, the post looks very "spammy" because it contais so many affiliate-links. I think, one link (for the first appearance of the word) would be enough and this would be a good candidate for a new option for this plugin
Reply With Quote
  #80  
Old 08-26-2008, 08:05 PM
Ossedis Ossedis is offline
 
Join Date: Aug 2008
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have this for 3.6.8?
Reply With Quote
  #81  
Old 11-17-2008, 09:46 PM
OsirisAgain OsirisAgain is offline
 
Join Date: Jan 2007
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great job
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 11:27 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05206 seconds
  • Memory Usage 2,306KB
  • 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
  • (2)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