Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
DownloadsII PM moderation notification Add-On Details »»
DownloadsII PM moderation notification Add-On
Version: 1.1, by CyberRanger CyberRanger is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 10-31-2006 Last Update: 12-13-2007 Installs: 145
Uses Plugins
 
No support by the author.

DownloadsII PM moderation notification Add-On, is not a stand-alone mod. It requires DownloadsII 5.0.4 or higher.

You can find it here: DownloadsII (free)

What does it do?
When a user uploads a file via DownloadsII and that file is placed in moderation, all users that have the primary usergroup permission "Can Manage Moderation Queue" set to "Yes" will receive a PM notifying them about the file.

Installation
1. From the admincp, import the product file product-download2_pm.xml
2. Done!

Upgrade

1. From the AdminCP, import the product file product-download2_pm.xml with "Allow overwrite" set to yes
2. Done!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 11-08-2007, 03:49 PM
bc3tech bc3tech is offline
 
Join Date: Mar 2007
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i also do not receive a PM.
Reply With Quote
  #33  
Old 11-10-2007, 09:33 AM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bc3tech View Post
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).
Reply With Quote
  #34  
Old 11-24-2007, 04:56 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #35  
Old 11-27-2007, 07:47 PM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Black Tiger View Post
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.
Reply With Quote
  #36  
Old 12-14-2007, 02:22 PM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #37  
Old 12-15-2007, 02:44 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work! Does this also fix the pm problem we had?
Reply With Quote
  #38  
Old 12-15-2007, 06:04 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Black Tiger View Post
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
Try uninstalling the add-on (not DownloadsII itself of course ) and reinstalling it.
Reply With Quote
  #39  
Old 12-15-2007, 07:11 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #40  
Old 12-15-2007, 07:35 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Black Tiger View Post
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 View Post
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
            "
); 
Reply With Quote
  #41  
Old 12-15-2007, 07:47 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great I will try the last one then, thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:39 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07500 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete