Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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
  #82  
Old 11-25-2008, 03:04 AM
BamaStangGuy's Avatar
BamaStangGuy BamaStangGuy is offline
 
Join Date: Mar 2004
Location: Alabama
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's be really nice if it just replaced once per post or page....
Reply With Quote
  #83  
Old 01-06-2009, 04:19 PM
Qwest Qwest is offline
 
Join Date: Jun 2004
Location: United States
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would also be nice if there were a way to use wildcards....

Like if I wanted to link twitter profiles every time someone says @username
Reply With Quote
  #84  
Old 01-12-2009, 01:42 AM
paintballer.ie's Avatar
paintballer.ie paintballer.ie is offline
 
Join Date: Jan 2009
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Coming for 3.8?
Reply With Quote
  #85  
Old 01-14-2009, 10:09 PM
SimonVlc SimonVlc is offline
 
Join Date: Jun 2005
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by paintballer.ie View Post
Coming for 3.8?
Did you try it?
Reply With Quote
  #86  
Old 01-17-2009, 09:08 PM
luket79 luket79 is offline
 
Join Date: May 2007
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SimonVlc View Post
Did you try it?
Works in 3.8 for me!
Reply With Quote
  #87  
Old 03-31-2009, 07:33 PM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn´t works on my 3.8.1pl1....

Update Addon?
Reply With Quote
  #88  
Old 04-03-2009, 10:13 AM
SimonVlc SimonVlc is offline
 
Join Date: Jun 2005
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stopped working for me after updating to 3.8.2.

Disable and reenable the product solved my problem.

Cheers, Simon.
Reply With Quote
  #89  
Old 05-07-2009, 10:32 AM
Multani Multani is offline
 
Join Date: Jun 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works great with one word, but I can't seem to replace a combination of words.

Someone used the example "poker stars", I can't do that. Should it work?
Reply With Quote
  #90  
Old 07-31-2009, 12:40 PM
Azonaco Azonaco is offline
 
Join Date: Aug 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would really like to see this mod enabled only for guests.
Reply With Quote
  #91  
Old 08-22-2009, 05:42 AM
Mr. INTENSE Mr. INTENSE is offline
 
Join Date: Oct 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FRDS View Post
Just use the replacement variables in the style manager and see if that works, it should.
I used this add-on and also tried the Variable Replacement Manager on my forum, since I was only looking to replace text.

In either case, I can't figure out how to include a smiley as part of the replacement. Instead, it just shows exactly what I typed in the replacement text field. Is there a way to use a smiley as a replacement via this method?

Thanks in advance.
Reply With Quote
Reply

Thread Tools

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:20 AM.


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.10368 seconds
  • Memory Usage 2,299KB
  • 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
  • (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
  • (3)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