vBulletin Modifications

replace a word with link

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > vBulletin Modification Requests

Reply
 
LinkBack Thread Tools
Old 07-24-2006, 05:25 PM   #11
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

it's not really a hack :p

as posted at vborg which i now looked at it is string replace:
You must first be a registered member to view any code.
you could then make 2 new option in the admin cp with the varnames: word and newword and then stick the above code in a plugin

Last edited by Nick R; 07-24-2006 at 05:29 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 07-24-2006, 05:56 PM   #12
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Quote:
Originally Posted by rogersnm
it's not really a hack :p

as posted at vborg which i now looked at it is string replace:
You must first be a registered member to view any code.
you could then make 2 new option in the admin cp with the varnames: word and newword and then stick the above code in a plugin
That'd screw up existing URLs though. It'd change www.google.com into www.http://www.google.com.com, for example.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-25-2006, 03:42 AM   #13
vB Newbie
Join Date: Aug 2005
Real Name: Dima
Location: Israel
dimiboy is on a distinguished road

Default

so how do i do that to work well?
or should i just pass and leave that hack? (no! i want this hack! please!)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-25-2006, 04:35 AM   #14
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

so don't put www.google.com :p

or you could add an if or something ;)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-25-2006, 10:46 PM   #15
vB User
HDRebel88's Avatar
Join Date: Jul 2006
Location: New Jersey, U.S.A.
HDRebel88 is on a distinguished road

Default

Set-up a replacement variable.... under Styles & Templates goto Replacement Variable Manager
Then Add New Replacement Variable next to the style.

search for: google

replace with: <a href=http://www.google.com target="_blank">google</a>

result: the word is replaced with the link....
Attached Images
File Type: jpg admincprv.JPG (32.2 KB, 6 views)
File Type: jpg postrv.JPG (55.6 KB, 6 views)
File Type: jpg result.JPG (58.3 KB, 6 views)

Last edited by HDRebel88; 07-25-2006 at 10:49 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-26-2006, 04:02 AM   #16
vB Newbie
Join Date: Aug 2005
Real Name: Dima
Location: Israel
dimiboy is on a distinguished road

Default

it will work but it will make some bugs




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-26-2006, 04:45 AM   #17
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

smartarse :p




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get a arcade link in top NavBar blue-inc General vBulletin Support 2 04-12-2006 06:54 AM
Link exchange Craig vBulletin Modification Requests 0 03-28-2005 02:52 PM


All times are GMT -3. The time now is 10:00 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)