I can't get this code to work with that code:
<div style="float: right;"><a href="usercp2.php?action={$add_remove_subscription}subscription&type=forum&fid={$fid}&my_post_key={$mybb->post_code}" title="RSS"><img src="images/axvis/rss.png" alt="Subscribe to this forum"></a></div>
Someone help
Why did you delete this from the other thread and repost it here??
It would also help if you can actually explain how it isn't working; what can anybody say if we don't know what's wrong??
Oh sorry
Well on my forum I am trying to make a subscribe button sort of like on VB I think... But when I add those codes I get either a Invalid action or some other error. Hope that sort things up a bit?
It depends where you're putting it, if you're putting it in a place where some of those variables aren't defined, it won't work. If you put the default code in the default location, it'll work...
I don't know why you're trying to use that code then as that's code for subscribing to threads, it's nothing to do with RSS. You'll need something more like this:
<a href="{$mybb->settings['bburl']}/syndication.php?fid={$forum['fid']}">RSS</a>
Oh
OK but how is this used then I just get a huge page of text
<snip>
Sorry, just seen you have hacking content on your forum, we can't support you.