The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Message Text/Link Scripts

Go down

Message Text/Link Scripts

Post by Bully@Wiiplaza on 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

Bully@Wiiplaza
Forumember

Male Posts : 127
Reputation : 4
Language : English

http://www.bullywiihacks.com/

Back to top Go down

Re: Message Text/Link Scripts

Post by DarkGlow on 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
avatar
DarkGlow
Forumember

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

Back to top Go down

Re: Message Text/Link Scripts

Post by Bully@Wiiplaza on 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.

Bully@Wiiplaza
Forumember

Male Posts : 127
Reputation : 4
Language : English

http://www.bullywiihacks.com/

Back to top Go down

Re: Message Text/Link Scripts

Post by Bully@Wiiplaza on 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

Bully@Wiiplaza
Forumember

Male Posts : 127
Reputation : 4
Language : English

http://www.bullywiihacks.com/

Back to top Go down

Back to top


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