MyBB Community Forums

Full Version: Auto Linik Posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am sure there is an easy way to go about this as I did this last time but I forgot.

How do I make for example Facebook become Facebook with the link automatically?

I want certain normal text turning into links such as MyBB, Facebook, IMDB, etc. So the end user does not have to type those links in manually.

Hope I've made it as simple to understand. Toungue
It's been suggested before; It's very resource intensive and no plugins exist.
How is it resource intensive if it works with PhpBB etc?

Can't it be done with the swear filter thingy though?
Unless I'm missing something, this is supremely easy to do with a MyCode.

1. Go to Admin CP > Configuration > MyCode > Add New MyCode.

2. Enter a title like:

Quote:Facebook Auto Link

3. Enter the following Regular Expression:

Facebook

4. Enter the following as a Replacement:

<a href="http://facebook.com">Facebook</a>

5. Click Save MyCode.

Use the same logic for anything else like Twitter, IMDb, MyBB, YouTube, etc.
I think refreshing memory that is what I used to do.

Thanks!