Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: conditionals with is_forum()

@iftomkins

Participant

thanks guys, just what I needed. I’m creating RSS-driven email lists through mailchimp, so those unfamiliar with RSS can subscribe easily to each forum topic they choose.

Then using CK’s code to get the forum ID, showing the proper email signup form for each forum page that corresponds with that forums’ RSS-driven campaign on mailchimp.

<?php global $topic;
$current_topic = $topic->forum_id;
echo $current_topic;
if ($current_topic==2) {
include('mailchimp/getting-started.php');
}
?>

Maybe someone else will find useful? It’s a bit labor intensive to set up, but I couldn’t figure out a better way to let people subscribe to individual forums.

Skip to toolbar