MyBB Community Forums

Full Version: Add Custom prefix on URL
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have the list of refferal id of various shopping site and stored in my root directory as refer.php.
Am launching new forum site for sharing latest shopping deals. So, what I need is if any one shared the shopping deals in my forums, It need to convert with my refferal id.

Example if any one shared the products of ebay in my forums. The link need to redirect as: http://example.com/refer.php?url=http://www.ebay.com

So, my referral id will automatically added in end of ebay.com.

So, simply what I need is I would like to add the following prefix in every outbound links. http://example.com/refer.php?url=

Can you please tell me how to add "http://example.com/refer.php?url=" before of an all outgoing links.

Example site: http://freekaamaal.com/discuss/Thread-sh...for-rs-205

Please someone help me.
Just post the shopping link as your referral link?
Your trying to make a simple task into a super Complex one.

Also want you to know that your talking about a postfix.
(2015-06-20, 11:09 PM)Nasyr Wrote: [ -> ]Just post the shopping link as your referral link?

Please can you explain more...

(2015-06-21, 02:26 AM)mikeorman Wrote: [ -> ]Your trying to make a simple task into a super Complex one.

Also want you to know that your talking about a postfix.

Yes... I know this is an simple task. But I don't know how to done this. Previously I have done on phpbb using the following plugin: http://bb3.mobi/forum/viewtopic.php?t=26

See the screenshot that easily added prefix on the link on phpbb: http://bb3.mobi/forum/pic/348.jpg
(2015-06-23, 02:10 PM)anderson4u Wrote: [ -> ]
(2015-06-20, 11:09 PM)Nasyr Wrote: [ -> ]Just post the shopping link as your referral link?

Please can you explain more...

(2015-06-21, 02:26 AM)mikeorman Wrote: [ -> ]Your trying to make a simple task into a super Complex one.

Also want you to know that your talking about a postfix.

Yes... I know this is an simple task. But I don't know how to done this. Previously I have done on phpbb using the following plugin: http://bb3.mobi/forum/viewtopic.php?t=26

See the screenshot that easily added prefix on the link on phpbb: http://bb3.mobi/forum/pic/348.jpg

On the forums, add the shopping link as your referral link.
Example
Shopping Link: http://www.google.com
Referral Link: http://www.google.com/refer.php=4

Add this as the Shopping link on your forum - http://www.google.com/refer.php=4
The user of my forums will not going to share single website offer. They are going to share the offers from various site like ebay.com, amazon.com, bestbuy.com etc.

Sorry... I don't know how to explain more... Simply please visit the following site.

http://www.desidime.com/forums/hot-deals...67-off?f=1

The user shared the link of the product 12WLED Bulb
http://shopping.rediff.com/product/12-w-...4/14565684

On Firefox, When you mouse over the link you can see the link with prefix as the following link
http://links.desidime.com/?ref=forums&ur...4/14565684

They added Referral list on ref="forums": So, they added default prefix on url: http://links.desidime.com/?ref=forums&url=

I want to do the same. Please...

I still hope that anyone will help me... Sleepy
After 1000 views... No one is there to solve this issue... Poor support.
I think that you forget the basic fact that you use MyBB for FREE. You are provided support for FREE. Don't be so quick to complain when no one here is obliged to do anything for you.
(2015-06-27, 06:02 PM)Ben C Wrote: [ -> ]I think that you forget the basic fact that you use MyBB for FREE. You are provided support for FREE. Don't be so quick to complain when no one here is obliged to do anything for you.

I know that mybb is free. Previously I have used phpbb, that too free but have more supporters.

Am new to mybb, I know most of experienced persons are here in mybb. What am asking is why no one is helping for newbies? weather my query is possible... You can see the following site, they are using mybb script only, with added custom prefix on outbound links: http://freekaamaal.com/discuss/Thread-sh...for-rs-205


I want to know which plugin they are using? More than 1 week over, still no one is helping...

*I have well experienced in html and css but not in php. So, guys please help me.
They are using the Google SEO plugin.
Pages: 1 2