vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Private Messages Enhancements - LAM - PM Security Notice (https://vborg.vbsupport.ru/showthread.php?t=252038)

LordVader 10-16-2010 02:07 AM

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. :)

DS MrSinister 10-16-2010 03:32 AM

1 Attachment(s)
Works like a charm for me.. I also tweaked it a little bit. as you can see in the attach image.

Great Job Sir..

mawby 10-16-2010 07:00 AM

Quote:

Originally Posted by CharlieDelta (Post 2110577)
Update; I got it, moved the images to my style misc directory.

Thanks for the update. I've added a note to the installation instructions regarding custom templates.

mawby 10-16-2010 07:11 AM

Quote:

Originally Posted by hIBEES (Post 2110535)
Now showing for me here :confused:

Settings set... vb 4.0.7

Quote:

Originally Posted by LordVader (Post 2110588)
Doesn't work at all for me
.....
I'm running vb-4.0.7

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. :confused:

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?

LordVader 10-16-2010 07:50 AM

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. :)

Bounce 10-16-2010 10:02 AM

Quote:

Originally Posted by mawby (Post 2110646)
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. :confused:

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?


No custom templates here, running the modpm as well but uninstalled that and still no joy

https://vborg.vbsupport.ru/showthread.php?t=241248

mawby 10-17-2010 07:46 AM

Quote:

Originally Posted by LordVader (Post 2110653)
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

Quote:

Originally Posted by hIBEES (Post 2110674)
No custom templates here, running the modpm as well but uninstalled that and still no joy

Thanks both. :)

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:

LordVader 10-18-2010 10:37 AM

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. :)

DS MrSinister 10-18-2010 08:11 PM

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();
        }
}

Also vb4.0.7 fixed

CharlieDelta 10-19-2010 02:25 AM

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.


All times are GMT. The time now is 01:51 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01189 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete