Message Text/Link Scripts
2 posters
Page 1 of 1
Message Text/Link Scripts
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>
Re: Message Text/Link Scripts
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
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
DarkGlow- Forumember
- Posts : 629
Reputation : 92
Language : English | Hebrew | Arabic
Location : Israel
Re: Message Text/Link Scripts
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.
Re: Message Text/Link Scripts
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 doneRideem3 wrote:You can't unfortunately.
Similar topics
» A link to a users wall "Visitors Messages" in their Message Profile + A Pop-up Message When a User Posts a Message There! PunBB
» How do I create a link where you hover over the link and it pops up some kinda text?
» Rok needs some help with changing link text color and alternating text links
» How do I replace the "home" text link with a Icon with a home link?
» message link not working right
» How do I create a link where you hover over the link and it pops up some kinda text?
» Rok needs some help with changing link text color and alternating text links
» How do I replace the "home" text link with a Icon with a home link?
» message link not working right
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum