The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
I'm trying to upgrade a mod of my own that I wrote and am having a couple of problems. Hopefully someone here can help me out a bit.
First I have this code located in the postbit_legacy template: Code:
<vb:if condition="is_member_of($vbulletin->userinfo, $vboptions[gm_user_groups_allowed]"> <div id="GuildMate_{vb:raw post.postid}"> <a class="smallfont" href="#">{vb:phrase gm_postbit_text}</a> <script type="text/javascript"> vbmenu_register("GuildMate_{vb:raw post.postid}", true); </script> </div> </vb:if> So for now, I've removed the condition. At this point, when some clicked on the link before, it would activate this code: Code:
<!-- START: Guild Mate {vb:raw post.postid} popup menu --> <div class="vbmenu_popup" id="GuildMate_{vb:raw post.postid}_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead" colspan="3" align="center">{vb:phrase gm_modtitle}: {vb:phrase gm_modheader} $post[username]{vb:phrase gm_modheader2}</td> </tr> {vb:raw gm_char_data} </table> </div> <!-- END: Guild Mate $post[postid] popup menu --> Any help would be appreciated! --------------- Added 26 Dec 2009 at 19:30 --------------- I did want to say that everything appears to be generating as it should. The only problem is when clicking the link, the popup does not appear and it goes to the root level page. Checking the source, the menus are generated as they should be, everything LOOKs like it should work. I would like to add that I have in fact read all of the posts I can find on the popup menus and well.. still can't see what I'm doing wrong. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|