Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 11 Oct 2009, 18:32
MikesSite MikesSite is offline
 
Join Date: Jan 2009
Replace certain text with link

I'm looking for a mod or somebody to make me a mod that will make specific text a specific link.

For example is anybody types espn the text would still say espn but be a link to ESPN.com.


Thanks.
Reply With Quote
  #2  
Old 11 Oct 2009, 18:37
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Just use str_replace. I've posted a plugin to do this several times and I think someone even posted it in the mods forums.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 11 Oct 2009, 22:53
MikesSite MikesSite is offline
 
Join Date: Jan 2009
Could you show me how to replace the word espn with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

please?
Reply With Quote
  #4  
Old 11 Oct 2009, 23:10
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
I would replace " espn " with the link (notice the spaces around the word) otherwise you could cause conflicts with links that have espn in them (like espn.com).

Did you find the modification or thread that shows you the plugin to use for this?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #5  
Old 11 Oct 2009, 23:22
MikesSite MikesSite is offline
 
Join Date: Jan 2009
Thanks. No I did not. Can you please send me a link to it?
Reply With Quote
  #6  
Old 12 Oct 2009, 00:49
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
I just did a search for "replace*" in "all mods" "titles only" and found these - Replacement Words In Posts and Word Replacement . I know there are others, including threads not in the mods forums. If those threads aren't what you want, try a search on the word "replace*" to find other similar threads.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #7  
Old 12 Oct 2009, 02:20
MikesSite MikesSite is offline
 
Join Date: Jan 2009
Thank you, the first one is what I was looking for.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace Text amykhar vBulletin 2.x Full Releases 60 31 Jul 2004 04:07



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


New To Site? Need Help?

All times are GMT. The time now is 13:24.

Layout Options | Width: Wide Color: