The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
LAM - PM Security Notice Details »» | |||||||||||||||||||||||||||||||||||
This product displays a small banner above private messages from certain user groups to inform the user if they are reading a PM from a trusted user group or not.
Installation
Configuration This product supports three different messages; Verified - This is used on my site to show that a PM has come from a moderator, a super moderator or an administrator, and therefore its contents can be trusted.All of the above are triggered by the PM senders group ID, and these are controlled by the following options; You can simply change the settings above to suit your needs. If a particular banner isn't wanted then leave the setting blank. This product is fully phrased so you can change any of the messages as needed. Example Here are some examples of each of the banners. The verified banner; The authorised banner; The untrusted banner; Version History 4.0.6.1 - Fixed problem with vBulletin 4.0.7 (2010/10/20) 4.0.6 - Initial release (2010/10/13) Credits Although I've written this product for vB 4 the original idea came from the PM Security Certificate product written by magnus. Thanks to DS MrSinister for spotting the vBulletin 4.0.7 problem. Download Now
Screenshots
Show Your Support
|
Comments |
#12
|
|||
|
|||
Doesn't work at all for me
I uploaded the images to me images/misc directory & my images/style/misc directory Its been over half an hour now & still nothing showing up. I'm running vb-4.0.7 Thanks Will. |
#13
|
|||
|
|||
Works like a charm for me.. I also tweaked it a little bit. as you can see in the attach image.
Great Job Sir.. |
#14
|
|||
|
|||
Thanks for the update. I've added a note to the installation instructions regarding custom templates.
|
#15
|
|||
|
|||
My sites only on 4.0.6 so I haven't tested 4.0.7 yet, but I am planning on upgrading in the next couple of weeks. I really can't see that being the problem though.
Do either of you run custom templates? If so could you try creating a default vB template and seeing if that works OK. Or do either of you run any other PM enhancement plugins? Either way I will get to the bottom of this! Just please bear with me whilst I get my site up to 4.0.7 first - unless either of you are willing to PM me login details for your site so I can take a look? |
#16
|
|||
|
|||
Yeah
I'm using the Underground theme from CompleteVB i do NOT recommend them, nice themes, crap technical support. I am also using these two which i believe are both PM related https://vborg.vbsupport.ru/showthread.php?t=243405 https://vborg.vbsupport.ru/showthread.php?t=241248 But i am quite happy to let you have a play around in my site if you think you can crack it Thanks Will. |
#17
|
||||
|
||||
Quote:
No custom templates here, running the modpm as well but uninstalled that and still no joy https://vborg.vbsupport.ru/showthread.php?t=241248 |
#18
|
|||
|
|||
Quote:
Quote:
I think the best plan at the moment is for me to upgrade to 4.0.7 as that seems to be the most plausible common factor here. I'll then check out modpm if I still can't identify the problem. If all else fails, LordVader, I'll take you up on your offer to investigate it on your site. :up: |
#19
|
|||
|
|||
Hiya Mawby
No great rush, but it does look like a sweet upgrade & i know my mod's will get a kick out of being all official ... LOL Looking forward to seeing it in action & thanks for taking the time to try & help. And feel free to call me ( Will ) Thanks Will. |
#20
|
|||
|
|||
LordVader*
Try this and see if it fixes your problem. Replace your LAM - PM Security Notice --> postbit_display_complete plugin code with the one below. Code:
global $vbulletin; if (THIS_SCRIPT=='private') { $LAM_PMSecurityNotice_IDs = explode(',', $vbulletin->options['LAM_PMSecurityNotice_Verified']); if (in_array($post[usergroupid], $LAM_PMSecurityNotice_IDs)) { $templater = vB_Template::create('LAM_PMSecurityNotice'); $templater->register('LAM_PMSecurityNotice_Icon', "LAM_PMSecurityNotice_Verified.gif"); $templater->register('LAM_PMSecurityNotice_AltText', $vbphrase['LAM_PMSecurityNotice_Verified_AltText']); $templater->register('LAM_PMSecurityNotice_Title', $vbphrase['LAM_PMSecurityNotice_Verified_Title']); $templater->register('LAM_PMSecurityNotice_Details', $vbphrase['LAM_PMSecurityNotice_Verified_Details']); $templater->register('LAM_PMSecurityNotice_TitleColour', "#339900"); $template_hook[postbit_start] .= $templater->render(); } $LAM_PMSecurityNotice_IDs = explode(',', $vbulletin->options['LAM_PMSecurityNotice_Authorised']); if (in_array($post[usergroupid], $LAM_PMSecurityNotice_IDs)) { $templater = vB_Template::create('LAM_PMSecurityNotice'); $templater->register('LAM_PMSecurityNotice_Icon', "LAM_PMSecurityNotice_Authorised.gif"); $templater->register('LAM_PMSecurityNotice_AltText', $vbphrase['LAM_PMSecurityNotice_Authorised_AltText']); $templater->register('LAM_PMSecurityNotice_Title', $vbphrase['LAM_PMSecurityNotice_Authorised_Title']); $templater->register('LAM_PMSecurityNotice_Details', $vbphrase['LAM_PMSecurityNotice_Authorised_Details']); $templater->register('LAM_PMSecurityNotice_TitleColour', "#339900"); $template_hook[postbit_start] .= $templater->render(); } $LAM_PMSecurityNotice_IDs = explode(',', $vbulletin->options['LAM_PMSecurityNotice_Untrusted']); if (in_array($post[usergroupid], $LAM_PMSecurityNotice_IDs)) { $templater = vB_Template::create('LAM_PMSecurityNotice'); $templater->register('LAM_PMSecurityNotice_Icon', "LAM_PMSecurityNotice_Untrusted.gif"); $templater->register('LAM_PMSecurityNotice_AltText', $vbphrase['LAM_PMSecurityNotice_Untrusted_AltText']); $templater->register('LAM_PMSecurityNotice_Title', $vbphrase['LAM_PMSecurityNotice_Untrusted_Title']); $templater->register('LAM_PMSecurityNotice_Details', $vbphrase['LAM_PMSecurityNotice_Untrusted_Details']); $templater->register('LAM_PMSecurityNotice_TitleColour', "#993300"); $template_hook[postbit_start] .= $templater->render(); } } |
#21
|
|||
|
|||
I am running 4.0.7 with custom templates and no issues, other than the images hick up. I however am not running any other pm mods.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|