The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||||||
This should work on most vBulletin versions, but tested on 3.8.x.
This is an add-on to the vBguild mod. I am not the author of that mod and this add-on is just something I did for my own forums and I thought I'd share it for those using vBGuild as well. I will continue to support this mod as a separate offering from vBGuild. If you need vBGuild support, please see that mod/author for support for it. This is considered BETA as well. I'm running it on my forums and it works fine though. Also understand I'm pretty new to writing these mods and I know there are things that can be done to improve performance, etc. If you have suggestions, please make them, kindly. ![]() Also, this is fully phrased so you shouldn't have any trouble using the mod for different languages. History: 8-25-09 Version .2 released. * Added in Option to allow all usergroups to use the functionality (Thanks Deyth). * Updated some config phrases to reflect allowing all usergroups to use the mod. * Added in global variables to plugin as it appears some template themes don't carry these over already. (Thanks Deyth) * Updated install instructions as I forgot a template edit prior. This will correct the dropdown with the character data not appearing. Upcoming: * Config option to select whether or not you want to display the header again in the popup or not. * Whatever you guys come up with Installation: There is one template edit, the rest is imported through the product. Edit your Postbit or Postbit Legacy templates FIND: Code:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> Code:
<if condition="is_member_of($vbulletin->userinfo, $gm_user_groups_allowed)"> <div id="GuildMate_$post[postid]"> <a class="smallfont" href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[gm_postbit_text]</a> <script type="text/javascript"> vbmenu_register("GuildMate_$post[postid]", true); </script> </div> </if> Scroll to the bottom of your postbit template and: Add: Code:
<!-- START: Guild Mate $post[postid] popup menu --> <div class="vbmenu_popup" id="GuildMate_$post[postid]_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead" colspan="3" align="center">$vbphrase[gm_modtitle]: $vbphrase[gm_modheader] $post[username]$vbphrase[gm_modheader2]</td> </tr> $gm_char_data </table> </div> <!-- END: Guild Mate $post[postid] popup menu --> Import the product Once that is done, edit the vBulletin Options -> Guild Mate and set the user groups allowed to see the postbit changes. Below are some screenshots from my website to help explain what this does. Download Now
Screenshots
Show Your Support
|
Comments |
#32
|
|||
|
|||
![]()
For verification, mine is working ok in PMs.
|
#33
|
||||
|
||||
![]()
Why do you split up the template edits into different parts of the same template? They would work next to each other too.
|
#34
|
|||
|
|||
![]() Quote:
It makes it more clear when editing the template structure when you don't have all of the popup code right in the middle of your design. Personal preference and my following the direction of the default templates really. |
#35
|
||||
|
||||
![]() Quote:
|
#36
|
|||
|
|||
![]()
I have attempted to use this in the delivered fashion and using Deyth's code. Getting a DB failure when trying to access the forum now.
Nevermind, the issue is I am stupid....I didn't catch that this is an addon for a mod. I will retest this soon. |
#37
|
|||
|
|||
![]()
I would also suggest that you use the full product as I have posted as it includes most of his suggestions as well as bugfixes. If you have problems with that version, let me know.
|
#38
|
||||
|
||||
![]()
Trek, "Game" and "Server" are now phrases. You'll want to update your addon to use those instead of the hardcoded column names. Thanks.
|
#39
|
||||
|
||||
![]()
I tried installing your product xml and everything blew up. Comparing mine to yours I found two things that I had to change and you can see them in the attached xml file. I also added the phrases while I was in there. Now the board loads but there is no view characters dropdown and I'm trying to figure out why.
EDIT: It's something to do with your template edits. As soon as I replace your template stuff with mine it works ok. I don't have time to troubleshoot it now, though. |
#40
|
|||
|
|||
![]()
this is truely the handy feature to have with vbguild. will you be updating this to vb4.0 and working out the remaining bugs?
|
#41
|
||||
|
||||
![]()
If Trek says he won't update it, I will.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|