vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - DownloadsII PM moderation notification Add-On (https://vborg.vbsupport.ru/showthread.php?t=130536)

bc3tech 11-08-2007 03:49 PM

i also do not receive a PM.

RS_Jelle 11-10-2007 09:33 AM

Quote:

Originally Posted by bc3tech (Post 1378490)
i also do not receive a PM.

  1. Are you sure that there are files placed in the moderation queue? You won't receive a noficiation of a file which passes the moderation queue and is added immediately.
  2. Are you in a primary usergroup which has got the "Can Manage Moderation Queue" permission set to "Yes"?
Also make sure you are running the latest version of DownloadsII (version 5.0.6 at this moment).

Black Tiger 11-24-2007 04:56 PM

I just discovered I also don't receive pm's anymore after upgrading to the newest Download II version.
I can also answer both your questions with "yes" and it was working before.

CyberRanger 11-27-2007 07:47 PM

Quote:

Originally Posted by Black Tiger (Post 1388726)
I just discovered I also don't receive pm's anymore after upgrading to the newest Download II version.
I can also answer both your questions with "yes" and it was working before.

I'll try to check this out sometime this week.

CyberRanger 12-14-2007 02:22 PM

Thx Jelle for once again doing almost all of the work!

################################################## ###############
# DownloadsII PM moderation notification Add-On 1.1 Changelog # Dec 14, 2007
################################################## ###############

CyberRanger
- Fixed the missing table prefixes causing a database error when you were using a table prefix for vBulletin

Jelle
- Changed some small things to the vBulletin coding standards
- Added a url, version check url and DownloadsII 5.0.4 dependency to the product XML (requires vBulletin 3.6)

################################################## ###############
# DownloadsII PM moderation notification Add-On 1.0 Changelog #
################################################## ###############

CyberRanger
- Initial Release

Black Tiger 12-15-2007 02:44 PM

Nice work! Does this also fix the pm problem we had?

RS_Jelle 12-15-2007 06:04 PM

Quote:

Originally Posted by Black Tiger (Post 1401575)
Nice work! Does this also fix the pm problem we had?

I tested it on my site (DownloadsII 5.0.6, vBulletin 3.6.8 PL2), but I didn't experienced any problems :confused:
Try uninstalling the add-on (not DownloadsII itself of course :p) and reinstalling it.

Black Tiger 12-15-2007 07:11 PM

Well it was working before the update to 3.6.8 PL1 and before the update to the next download II version.
It also could be it stopped working because of the change I made so only 1 usergroup will get the pm's. Maybe I made a mistake in there? It now says this:
PHP Code:

if ($_POST['purgatory'] == 1)
{

$result $db->query_read("SELECT title, usergroup.usergroupid, username, userid
               FROM " 
TABLE_PREFIX "usergroup, " TABLE_PREFIX "user
                           WHERE ecdownloadpermissions & 1024 AND  usergroup.usergroupid = 6"
); 

Usergroup 6=Administrator, however, I would rather to have it send only a pm to me.

RS_Jelle 12-15-2007 07:35 PM

Quote:

Originally Posted by Black Tiger (Post 1401717)
Well it was working before the update to 3.6.8 PL1 and before the update to the next download II version.
It also could be it stopped working because of the change I made so only 1 usergroup will get the pm's. Maybe I made a mistake in there? It now says this:
PHP Code:

$result $db->query_read("SELECT title, usergroup.usergroupid, username, userid
               FROM " 
TABLE_PREFIX "usergroup, " TABLE_PREFIX "user
                           WHERE ecdownloadpermissions & 1024 AND  usergroup.usergroupid = 6"
); 

Usergroup 6=Administrator,

There's a small mistake in the query. The user and usergroup results aren't linked. This should work:

PHP Code:

$result $db->query_read("SELECT title, " TABLE_PREFIX "usergroup.usergroupid, username, userid
               FROM " 
TABLE_PREFIX "usergroup, " TABLE_PREFIX "user
                           WHERE ecdownloadpermissions & 1024 AND " 
TABLE_PREFIX "usergroup.usergroupid = " TABLE_PREFIX "user.usergroupid AND " TABLE_PREFIX "usergroup.usergroupid = 6"); 

Quote:

Originally Posted by Black Tiger (Post 1401717)
however, I would rather to have it send only a pm to me.

Then you better use this query:

PHP Code:

$result $db->query_read("SELECT username, userid
               FROM " 
TABLE_PREFIX "user
                           WHERE userid = 2
            "
); 


Black Tiger 12-15-2007 07:47 PM

Great I will try the last one then, thanks!


All times are GMT. The time now is 08:00 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.01265 seconds
  • Memory Usage 1,757KB
  • 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
  • (4)bbcode_php_printable
  • (5)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