vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Super PM (Mass PM) (https://vborg.vbsupport.ru/showthread.php?t=100314)

Stoebi 09-21-2006 04:22 PM

Hi

It has nothing to do with my fix for 3.6.x.

AdminCP -> Users -> Super PM
Delete your assigned users
Assign a new user
Note! No , at the end after the userid.

Example:
1,2,3,4 is correct

1,2,3,4, is false!


Regards, Stoebi


Quote:

Originally Posted by craiovaforum
For me it doesn't work

I get this database error:


Code:

Database error in vBulletin 3.6.1:

Invalid SQL:
SELECT * FROM vb_usergroup
                                                WHERE usergroupid IN (4,6,14,36,8,27,39,38,29,30,34,19,32,35,23,5,18,9,24,22,11,7,25,13,28,17,37,2,31,26,21,15,33,20,16,1,) ORDER BY title;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY title' at line 2
Error Number : 1064
Date        : Thursday, September 21st 2006 @ 08:05:19 PM
Script      : */superpm.php
Referrer    : */private.php?do=newpm
Classname    : vB_Database



craiovaforum 09-22-2006 03:41 PM

I don't know why it adds that , at the end but I removed several usergroups and it works perfectly...

GoNz00 09-22-2006 08:08 PM

woohoo, works for me 2 :)

thanks mate :)

GoNz00 09-22-2006 09:53 PM

arghh, it sends the PM twice, does anyone have an idea what i need to look at to fix this ?

i double checked i havn't screwed up the original code, or the mod to make it 3.6.x compliant

KevNJ 09-22-2006 10:13 PM

Works with my default style, but will not show on my custom style because the css is using an image for the catagories box. is there a way you can relocate where the "send super pm" text shows up ?

KevNJ 09-22-2006 10:24 PM

wahoooo... like the others have said.. works great.... ill just switch style changes to on... switch to default... send out the email and then switch styles to off... not a big deal.. cause this now works and thats what ive wanted.. WAHOOOOOOOOOOO!!!!!! stoebi for member of the month!!! ( do we have a member of the month.. we should )

Stoebi 09-23-2006 02:19 AM

Quote:

Originally Posted by KevNJ
wahoooo... like the others have said.. works great.... ill just switch style changes to on... switch to default... send out the email and then switch styles to off... not a big deal.. cause this now works and thats what ive wanted.. WAHOOOOOOOOOOO!!!!!! stoebi for member of the month!!! ( do we have a member of the month.. we should )

Hi

Thx :)

If you use more than one style with vBulletin, it is necessary to edit these used styles too.

Quote:

################################################## ###########################
############################## TEMPLATE EDITS ###############################
################################################## ###########################

******************************* IN pm_newpm *******************************

FIND

<td class="tcat">$vbphrase[post_new_private_message]</td>

REPLACE WITH


<!-- [START HACK='Super Private Message' AUTHOR='msgotit and WwW.UAEWEB.COM' VERSION='1.0.0' CHANGEID= 1 ] -->
<td class="tcat"><if condition="$bbuserinfo['spmoption']"><a style="float:$stylevar[right]" href="superpm.php">Send Super Private Message</a></if>$vbphrase[post_new_private_message]</td>
<!-- [END HACK='Super Private Message' AUTHOR='msgotit and WwW.UAEWEB.COM' VERSION='1.0.0' CHANGEID= 1 ] -->



Step 6. Enjoy your new hack. And if you haven't already, click install at vBulletin.org.

################################################## ###########################
################################### THE END #################################
################################################## ###########################

Do this for all your installed styles. Have fun.


Kind Regards, Stoebi

GoNz00 09-23-2006 01:01 PM

Quote:

Originally Posted by GoNz00
arghh, it sends the PM twice, does anyone have an idea what i need to look at to fix this ?

i double checked i havn't screwed up the original code, or the mod to make it 3.6.x compliant

bump, help. i looked for things entered twice, and see none :(

KevNJ 09-23-2006 05:25 PM

Okay that worked... But Im having the problem GoNz00 is having double sending. I notice when I sent to myself ( admin ) i get the message twice. Then when I send to myself ( admin ) and mods. I get the message twice again, but the mods gets no message. Then when I send to mods only they get nothing. Each time it says the messages are sent but either I get it twice, or the mods dont get it at all.



Quote:

Originally Posted by Stoebi
Hi

Thx :)

If you use more than one style with vBulletin, it is necessary to edit these used styles too.




Do this for all your installed styles. Have fun.


Kind Regards, Stoebi


GoNz00 09-23-2006 06:02 PM

still fubar then :(

oh well, i wonder if it will play ball when i go from 3.6 to 3.6.1

you still on 3.6 Kev ?


All times are GMT. The time now is 11:59 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.01394 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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