MyBB Community Forums

Full Version: Code?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can't get this code to work with that code:
<div style="float: right;"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;type=forum&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}" title="RSS"><img src="images/axvis/rss.png" alt="Subscribe to this forum"></a></div>
Someone help Sad
What's the error ?
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 Toungue 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? Confused
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...
Well have you seen http://www.vbulletin.com/forum/forum.php VB it has a RSS button on the front page I would like to add that.
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 Toungue OK but how is this used then I just get a huge page of text Confused <snip>
Sorry, just seen you have hacking content on your forum, we can't support you.