MyBB Community Forums

Full Version: How to Create Ladder System in Subscriptions Plugin?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So basically we have the Subscriptions plugin for Newpoints, and have two upgrade ranks. But we do not want the user to be able to purchase the second one until after they have purchased the first one. Any ideas on how to do this?

Also, as you can see in this screenshot, I was wondering how I could change the userbar image on the bottom group while keeping the top one the same? 
[Image: QhaURon.png]

here's the code for the subscriptions row.
<td class="{$bgcolor}" width="40%">{$sub['title']}<br /><span class="smalltext">{$sub['description']}<span></td>
<td class="trow1" width="15%" align="center"><img src=""></td>
<td class="{$bgcolor}" width="15%" align="center">{$sub['period']}</td>
<td class="{$bgcolor}" width="15%" align="center">{$sub['price']}</td>
<td class="{$bgcolor}" width="15%" align="center"><form action="newpoints.php" method="POST" name="subscribe"><input type="hidden" name="action" value="subscribe" /><input type="hidden" name="my_post_key" value="{$mybb->post_code}" /><input type="hidden" name="sid" value="{$sub['sid']}" /><input type="submit" name="submit" value="{$lang->newpoints_subscriptions_subscribe}" /></form></td>

Oh and link to forum upgrade page as well:

Wut okay, I might have worded this a bit wrong or something. lol