The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Message Text/Link Scripts

2 posters

Go down

Message Text/Link Scripts Empty Message Text/Link Scripts

Post by Bully@Wiiplaza August 26th 2012, 7:45 pm

Where do I put scripts if they should ONLY affect the links posted inside messages? I´m trying to apply the "Adf.ly link converter" script.
Code:
<script>
var adfly_id = XXXXXX;
var adfly_advert = 'int';
var exclude_domains = ['example.com', 'yoursite.com',];
</script>
<script src="http://adf.ly/js/link-converter.js"></script>
Thank you bounce
avatar
Bully@Wiiplaza
Forumember

Male Posts : 127
Reputation : 4
Language : English

http://www.bullywiihacks.forumotion.com/

Back to top Go down

Message Text/Link Scripts Empty Re: Message Text/Link Scripts

Post by DarkGlow August 26th 2012, 10:51 pm

Hello,

Go to:

1) ACP.
2) Advanced mode.
3) Display tab.
4) Templates box > Post & private messages.
5) Posting_body; exactly the first one. Click on it.
6) Add the code there and try! Hit save once you're done!

Good luck Wink
DarkGlow
DarkGlow
Forumember

Male Posts : 629
Reputation : 92
Language : English | Hebrew | Arabic
Location : Israel

Back to top Go down

Message Text/Link Scripts Empty Re: Message Text/Link Scripts

Post by Bully@Wiiplaza August 27th 2012, 12:04 am

Hmm, that´s not it. None of the existing links are changed and none that I newly post. If I use this script as "Homepage Message" all links on the main page get modified. The script definitely works.
avatar
Bully@Wiiplaza
Forumember

Male Posts : 127
Reputation : 4
Language : English

http://www.bullywiihacks.forumotion.com/

Back to top Go down

Message Text/Link Scripts Empty Re: Message Text/Link Scripts

Post by Bully@Wiiplaza August 30th 2012, 3:55 pm

Rideem3 wrote:You can't unfortunately. Wink
I can´t? But the script works as "Homepage Message" for all links on the main page. There isn´t a spot to put this just to affect message texts? I´m pretty sure this can be done bwi
avatar
Bully@Wiiplaza
Forumember

Male Posts : 127
Reputation : 4
Language : English

http://www.bullywiihacks.forumotion.com/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum