The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#13
|
||||
|
||||
![]()
For the "moderator of", that could be built on the fly in a postbit plugin, by walking through something like the $imodcache[] and building a list of all forums the post.userid is a mod of. That way, you wouldn't have the extra overhead of making sure staff members keep their "moderateor of" field up to date - it would automatically change when their moderator memberships changed.
As for the rest of it, Boof is on the right track, it's postbit hacking. You'd use an is_member_of() conditional in the postbit template to process the sig as a special case for mods and admins (or whatever your staff groups are). [EDIT - just reread your post, realized you are talking about sigs, not postbit ... but there should still should be a hook you could do the same stuff with, and handle staf sigs s a special case. Although in non-forum situations $imodcache might not be there ... but there's always ways round these things!] You should then be able to build a standard sig image by using a CSS style with a backgroud image of the 'blank' business card looking doohicky, then carefully positioning the various text fields to overlay in the right places. The only issue I'd see would be making sure you set the height of the bg image correctly to account for varying number of "Moderator of" lines. It'd also be easier if you included the labels as part of the overlayed text rather than as part of the underlying image, especially if you have the variable height Moderator Of in the middle. Also you won't have to be quite as picky about your text positioning, as you won't have to worry about horizontal alignment of label and text. If nobody else wants to code this up, I might have a go at it. Might make a useful little mod. -- hugh |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|