PDA

View Full Version : How to create a custom sticky thread?


Penicillin
12-02-2008, 10:23 AM
Hello
I'd like to create a custom sticky thread showing in ALL my forums.
When a user clicks on that thread's title, it directs him to a specific html or php page.

Can I do that?
Thanks

Distance
12-02-2008, 10:44 AM
Hey,

If you're an Administrator you could do this by posting a global announcement, as long as you are able to use HTML, you would use the following code;

<a href="URL HERE">Click here if you're not automatically redirected</a>
<meta http-equiv="refresh" content="0;url=URL HERE">

Basically, this displays a link if the users browser is unable to support auto-refresh and the next line automatically redirects the page.

All you need to do is replace the two URL HERE with the link you wish to redirect to. :)

Penicillin
12-02-2008, 11:15 AM
I have many forums, it's hard to post an announcemenet each forum.
Is there an easier solution by editing the style?

Distance
12-03-2008, 07:45 AM
As I said, if you are an Administrator you can create a global announcement.

This is done by going into your Admincp -> Announcements -> Post New Announcement

'All Forums' should already be selected, so no template edits should be necessary. :)

Penicillin
12-03-2008, 12:23 PM
I appreciate your help.
OK, another question: what if I want to place Adsense script so the ad shows in the title of the announcement or thread?

Distance
12-04-2008, 10:32 AM
Why would you want to show adsense in the title of the announcement ? This would distort the page.

Penicillin
12-05-2008, 08:18 PM
Why would you want to show adsense in the title of the announcement ? This would distort the page.
I really appreciate your reply.
No, it doesn't.
Just one sticky thread each forum showing an adsense ad in its title.

ssslippy
12-06-2008, 02:32 AM
Then use the ad header

Penicillin
12-08-2008, 10:32 PM
Then use the ad header
What should I write in the header?