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 - Mass PM Usergroups (NOT via admincp) (https://vborg.vbsupport.ru/showthread.php?t=311208)

mrsupps 12-02-2014 08:56 PM

When I try to send PM I get an error because some of my users have special characters but I see the list of receipents at that point.

I copied the BCC list and removed the bad names (Just 3 so easy to do).

Now when I try to send the PM to that list I just get a blank page.

So this is not technically an issue with the script I don't think.

Any help would be appreciated.

ozzy47 12-02-2014 09:02 PM

Well the error message you are getting would help. As well as the names that are causing the error. :)

yippykiyey 12-18-2014 12:09 AM

Running into an issue using 4.2.2

Parse error: syntax error, unexpected 's' (T_STRING) in /home/yippykiyey/public_html/forums/includes/class_core.php(4715) : eval()'d code on line 185

Any ideas on a solution?

yippykiyey 12-18-2014 01:51 AM

Disregard, fixed.

bounty7565 03-08-2015 09:15 PM

Is it possible to set this up to allow you to message someone regardless to whether their usergroup is primary, or additional usergroup?

Edit: I followed Badhabitz's instructions below, and it appears that I can now PM both primary and secondary groups.

Quote:

Originally Posted by Badhabitz (Post 2498653)
This thing is amazing for my community since we are a multi gaming community and I needed my Guild Leaders to be able to PM members within their usergroups.

However members are in mutiple usergroups since we have a usergroup for each guild. So I modified this to look for if the member is in a secondary user group instead of their primary.

I hope VBNinja doesn't mind me posting how I did this.

Go to
http://www.yourforumname.com/admincp....php?do=modify

find
Product : Mass PM Usergroups
Then click the edit button where it says:
Process PM private_insertpm_process

Find

Code:

$masspm_recipients_q = $vbulletin->db->query_read_slave(
        "SELECT username FROM " .TABLE_PREFIX. "user
        WHERE usergroupid IN (".implode(',', $masspm_recipientugs).")"
    );


And replace with this line


Code:

$masspm_recipients_q = $vbulletin->db->query_read_slave(
        "SELECT username FROM " .TABLE_PREFIX. "user
        WHERE membergroupids LIKE '%".implode(',', $masspm_recipientugs)."%'"
    );

Save and your done.

Hope this helps anyone else looking to send mass pm's based on a secondary usergroup. Thanks VBNinja for a great mod!


EasyEazy 04-17-2015 08:42 PM

Quote:

Originally Posted by bounty7565 (Post 2539907)
Is it possible to set this up to allow you to message someone regardless to whether their usergroup is primary, or additional usergroup?

Edit: I followed Badhabitz's instructions below, and it appears that I can now PM both primary and secondary groups.

Nice update and great mod vbNinja. Working perfectly.

Novablaze 04-30-2015 02:43 PM

Quote:

Originally Posted by blackberry (Post 2501621)
Give blank page :-s

This is what i am getting when i select my Registered users group to send a mass MSG to all other usegroups seem to be working fine just that one is not i have added the code for a secondry usergroup now that it only sends to a few users when i send a msg to registered users if you can think of a fix to this issue it will be a great help.

PS i think it maybe due to the # and others like [ {etc etc so if we can find a fix for that it would be appricated.

blackberry 12-02-2015 10:34 AM

plugin is enabled but options are not showing anymore ??
it seems to be working fine.

blackberry 12-02-2015 10:35 AM

Quote:

Originally Posted by Novablaze (Post 2544578)
This is what i am getting when i select my Registered users group to send a mass MSG to all other usegroups seem to be working fine just that one is not i have added the code for a secondry usergroup now that it only sends to a few users when i send a msg to registered users if you can think of a fix to this issue it will be a great help.

PS i think it maybe due to the # and others like [ {etc etc so if we can find a fix for that it would be appricated.

best is to select few usergroups and send.

Guardian Hope 08-27-2016 03:34 AM

Uninstalled. Worked with vBulletin 4.2.2 but not 4.2.3 or 4.2.5.

Selecting to go to the "full editor" results in a page of the UserCP loaded with a blank spot where the full editor should be.

A shame, it was a useful modification.


All times are GMT. The time now is 11:37 AM.

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.01207 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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