Quote:
Originally Posted by Dave
So when they click on the link, it should submit a form somewhere...?
It's not clear what you exactly want. Might also want to remove "return false;" in the onclick.
|
OK the code above is the code for the Forum Block that has a button for them to click on and it puts them in a usergroup. When they click on it, I want it to redirect them to the roster.php?roster=***** page which is just a list of those people. Right now it places them in the usergroup but does not re-direct them to the roster page. Below is the custom html for the block template. I just want it to be click>>assign to usergroup id >>>> redirect to roster page for that usergroup.
Code:
<vb:if condition="$GLOBALS[forumid] == 50"><li>
<div class="block smaller">
<div class="blocksubhead">
<a class="collapse" id="collapse_block_html_{vb:raw blockinfo.blockid}" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_html_{vb:raw blockinfo.blockid}"/></a>
<span class="blocktitle">{vb:raw blockinfo.title}</span>
</div>
<div class="widget_content blockbody floatcontainer">
<div id="block_html_{vb:raw blockinfo.blockid}" class="blockrow">
{vb:raw content}
</div>
</div>
</div>
<div class="underblock"></div>
</li>
<form action="profile.php" method="post" id="EBA">
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="joingroup" />
<input type="hidden" name="usergroupid" value="197" />
</form>
</vb:if>