11-14-2013, 01:19 AM
little background:
my users are migrating from a yahoo group to a forum, so they're used to getting notifications of EVERYTHING
So, my users want to get subscribed to all forums, and I'm trying to pull a subscription status and place it on the index page (with icons) so that my users can sub/unsub directly from the index instead of going into each forum directly.
I found a plugin to use, but the host I'm using does not allow plugins to be installed, so I'm trying a workaround. I found where to edit the template (forumbit_depth2_forum) to add an icon.
What I want to do is to pull the subscription status, and display an image and link based on that status.
The normal link from MyBB is
my users are migrating from a yahoo group to a forum, so they're used to getting notifications of EVERYTHING
So, my users want to get subscribed to all forums, and I'm trying to pull a subscription status and place it on the index page (with icons) so that my users can sub/unsub directly from the index instead of going into each forum directly.
I found a plugin to use, but the host I'm using does not allow plugins to be installed, so I'm trying a workaround. I found where to edit the template (forumbit_depth2_forum) to add an icon.
What I want to do is to pull the subscription status, and display an image and link based on that status.
The normal link from MyBB is
Code:
|
and I can see what that's doing, BUT if I just copy/paste that into the template, nothing displays. If I remove the add_remove_subscription_text section, i get a link, but it does nothing, as the add_remove_subscription does not bring the "add" or "remove" text. The {$fid} does not work either, so I replaced that with {$forum['fid']} and it worked.
Is there a similar replacement for the add_remove_subscription and text??