vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Social Group and Album Enhancements - Mass PM Social Group Members (https://vborg.vbsupport.ru/showthread.php?t=199865)

KURTZ 03-11-2009 09:43 AM

1 Attachment(s)
we need an improvement about the uncached templates ...

KURTZ 03-17-2009 05:43 AM

i've got a fix for the uncached templates (thanks to Lynne :))

Go in the ACP ---> Plugin & Products ---> Plugin Manager ---> Mass PM Social Group Members - Cache Template (EDIT)

and put the following code at the end ... :) this cache the templates ... however there is another trouble in this hack ... when you select to send a PM to the users the 'Community' Link doesn't work ... :(


PHP Code:

if(THIS_SCRIPT == 'group'

$globaltemplates array_merge($globaltemplates, array( 
'editor_clientscript''editor_css''editor_jsoptions_font''editor_jsoptions_size''editor_toolbar_on''socialgroups_masspm')); 



rainyleaves 03-17-2009 07:39 AM

Quote:

Originally Posted by MoMan (Post 1751610)
I've got a fix for the permissions error. Turned out to be a very sublte flaw in logic.

In the plugin, Find:

PHP Code:

if ($vbulletin->userinfo['userid'] != $groupinfo['creatoruserid'] OR $vbulletin->userinfo['usergroupid'] != 6)
        {
            
print_no_permission();
        } 

Replace:
PHP Code:

if ($vbulletin->userinfo['userid'] != $groupinfo['creatoruserid'] AND $vbulletin->userinfo['usergroupid'] != 6)
        {
            
print_no_permission();
        } 

Enjoy!

Wow!!! Thanks.

Outrack 03-25-2009 01:54 PM

Thanks KURTZ! I was waiting for someone to fix this before installing.

shervin_dvb 03-25-2009 07:35 PM

dont Show Mass Pm like this in the navbar

https://vborg.vbsupport.ru/attachmen...6&d=1230341735

SnowBot 06-03-2009 07:20 PM

This isn't working for me for some reason. After I click on the "Mass PM Group Members" link, I only get the field to enter the title of the message, but the text editor is missing.

Any Ideas? I have tried to uninstall it and do a fresh install but NADA!

john102774 06-21-2009 01:41 AM

This Mod has a lot of potential, unfortunately I had to uninstall due to a lack of support.

bjhuang 06-26-2009 04:05 AM

my fixed version:

Code:

[OPEN]
plugin: Mass PM Social Group Members - Cache Template

[REPLACE ALL]
if (THIS_SCRIPT=='group'&&$_REQUEST['do']=='masspm'&&$vbulletin->options['mass_pm_social_group_members'])
{
        $globaltemplates[] = 'socialgroups_masspm';
        $globaltemplates[] = 'editor_clientscript';
        $globaltemplates[] = 'editor_css';
        $globaltemplates[] = 'editor_jsoptions_font';
        $globaltemplates[] = 'editor_jsoptions_size';
        $globaltemplates[] = 'editor_toolbar_on';
}
[OPEN]
plugin: Mass PM Social Group Members - Mass PM

[FIND (two instances)]
if ($vbulletin->userinfo['userid'] != $groupinfo['creatoruserid'] OR $vbulletin->userinfo['usergroupid'] != 6)

[REPLACE]
if ($vbulletin->userinfo['userid'] != $groupinfo['creatoruserid'] AND $vbulletin->userinfo['usergroupid'] != 6)

[FIND]
                                            AND sgm.userid != " . $vbulletin->userinfo['userid'] . "

[REPLACE]
                                            AND sgm.type = 'member'
[FIND]
if ($_POST['override'])

[REPLACE]
if ($_POST['override'] AND $vbulletin->userinfo['usergroupid'] == 6)

[OPEN]
Mass PM Social Group Members - Insert Link

[FIND]
if ($vbulletin->options['mass_pm_social_group_members'] AND $vbulletin->userinfo['userid'] == $group['creatoruserid'] OR $vbulletin->userinfo['usergroupid'] == 6)

[REPLACE]
if ($vbulletin->options['mass_pm_social_group_members'] AND ($vbulletin->userinfo['userid'] == $group['creatoruserid'] OR $vbulletin->userinfo['usergroupid'] == 6) )


DieselMinded 07-18-2009 11:49 PM

anyone confirm this working?

wmlvb 08-14-2009 05:06 AM

I click mass pm and get blank white page! I would love this mod to work. Thanks


All times are GMT. The time now is 09:27 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.01078 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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