MyBB Community Forums

Full Version: need help in adding link prefix of my forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a forum and many users copy-paste content to other website..
I want a link prefix of all the url posted in my website..
like.

if someone posted this ur:-

www.abc.com

than it will automatically becomes:-

www.xyz.com?url=www.abc.com

how to do this?

actually the urls posted by users are of shopping websites and i want the aff links to get merged in that single coding only

www.xyz.com?url=
First of all wrong forum. Now I've reported so staff could move it to proper section.

It needs a plugin.
which plugin??
i will download..

please give me the link
Actually there two ways to achieve this. One and the best method is to code a plugin, however you could do this with Word Filter as well.

AdminCP > Configuration > Word Filters > and add it like this;

Add http://www.abc.com in "Word" option field.
Add http://www.xyz.com/?url=www.abc.com in "Replacement" option field.

Now when your users post: http://www.abc.com , it will automatically replace to: http://www.xyz.com/?url=www.abc.com

But as I said its not an efficient way since if users post slightly different URL like: http://abc.com then will not replaces to the other. That's why plugin is more suitable, but since there is no such plugin available (as far as I searched) you've to hire someone to code it for you.