Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
FractalizeR: Show items, awaiting moderation in notifications area Details »»
FractalizeR: Show items, awaiting moderation in notifications area
Version: 4.04, by FractalizeR FractalizeR is offline
Developer Last Online: Nov 2014 Show Printable Version Email this Page

Category: Moderators Functions - Version: 4.0.x Rating:
Released: 04-25-2010 Last Update: 11-05-2014 Installs: 336
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

What does it do?
This hack shows all items, that require moderation in a notifications area. Items are grouped by type:
  • Threads
  • Posts
  • Group messages
  • Visitor messages
  • Picture comments
  • Album pictures
  • Users
  • Calendar events

Clicking on a group redirects you to a moderation panel for that type of items.

You can also restrict, what usergroups can see notifications and what items you want to appear in notifications

Russian localization included.

How to install?

1. Install *.xml file via Admin Control Panel (Product management)

Files description:
  • product-fr_notifymoditems.xml - main product XML. English localization included.
  • vbulletin-language-ru.xml - russian localization. Import as a language overwritting russian.

Version history:
Code:
06-11-2014)
  • Attached a version by AUGI Web Team that fixes notification count for moderators with limited permissions.
11-05-2011)
  • Attached a version by A825F933D42B with attachments moderation support.
4.02 (28-04-2010)
  • Non-working option to show zero values removed due to 4.x incompatibility
  • Russian translation fixed
4.01 (28-04-2010)
  • Critical bug fixed that prevented notifications from being displayed
  • Forums with custom admincp and modcp paths are now supported.
4.0 (26-04-2010)
  • VBulletin 4.x release
1.1.3 (07-08-2008)
  • VBDynamics (and several other addons) compatibility ensured (aproape)
  • Non-standard admincp and modcp directories are now respected (aproape)
1.1.2 (07-08-2008)
  • Links bug fixed in new features
1.1.1 (07-08-2008)
  • Path bug fixed.
1.1 (06-08-2008)
  • Added moderation items for calendar events, users and album pictures. Each item requires one (but very quick) additional query
  • Added an option to show/hide empty notifications (with 0 items).
  • Added an option to show only selected notifications

Download Now

File Type: xml product-fr_notifymoditems.xml (11.0 KB, 865 views)
File Type: xml vbulletin-language-ru.xml (3.9 KB, 105 views)
File Type: xml product-fr_notifymoditems (A825F933D42B).xml (11.8 KB, 476 views)
File Type: xml product-fr_notifymoditems-4_0_3_by_AUGI.xml (13.8 KB, 157 views)

Screenshots

File Type: jpg frmoditems-settings.jpg (52.8 KB, 0 views)
File Type: png moditems_screenshot.png (9.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
mokujin, Teascu Dorin

Comments
  #142  
Old 10-22-2016, 03:41 PM
gsk8's Avatar
gsk8 gsk8 is offline
 
Join Date: Jun 2003
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So when this is "enabled", I'm unable to log in. I get this error:

PHP Warning: implode(): Invalid arguments passed in ..../includes/class_bootstrap.php(1230) : eval()'d code on line 37

Love this mod but what can I do to fix?
Reply With Quote
  #143  
Old 11-30-2016, 09:28 AM
taravasya taravasya is offline
 
Join Date: Apr 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gsk8 you admin on your forum? You have at least one forum section there you assigned as moderator?
Reply With Quote
  #144  
Old 12-01-2016, 12:00 PM
gsk8's Avatar
gsk8 gsk8 is offline
 
Join Date: Jun 2003
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I'm admin.
Reply With Quote
  #145  
Old 12-01-2016, 01:32 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and the second part of his question, which you did not answer ?

Quote:
.... You have at least one forum section there you assigned as moderator?
Reply With Quote
  #146  
Old 12-02-2016, 01:32 PM
gsk8's Avatar
gsk8 gsk8 is offline
 
Join Date: Jun 2003
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi and thanks for responding/helping Tara and Paul!

I selected admin and moderators as usergroups which can view the notifications. Is there something else I was supposed to do?
Reply With Quote
Благодарность от:
MarkFL
  #147  
Old 12-02-2016, 03:10 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gsk8 View Post
Hi and thanks for responding/helping Tara and Paul!

I selected admin and moderators as usergroups which can view the notifications. Is there something else I was supposed to do?
What do you have for "Items to track?"
Reply With Quote
  #148  
Old 01-03-2018, 04:09 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
What do you have for "Items to track?"
I have same problem, I changed this line
if(!isSuperMod($vbulletin)){

I have
Items to track: Posts and threads.


I do not understand the code above
//visitormessage, groupmessage, picturecomment
and
//reply - post


Do we must do something with that to?
Thanks
Reply With Quote
  #149  
Old 02-28-2018, 09:15 PM
taravasya taravasya is offline
 
Join Date: Apr 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stratis its in module: "Showing notifications" of FractalizeR product.
At this time:
//reply - post
its begin of first if statement after comment:
//#################### Acquiring ####################

and....

//visitormessage, groupmessage, picturecomment
its begin of second if statement after comment:
//#################### Acquiring ####################

And all together looks like this:

PHP Code:
    //#################### Acquiring ####################  
    //reply - post  
    
if(in_array('reply'$fr_itemsToTrack)) {  
        
$query "SELECT COUNT(*) AS num  
                  FROM " 
TABLE_PREFIX "moderation AS moderation  
                  INNER JOIN " 
TABLE_PREFIX "post AS post ON (moderation.primaryid = post.postid)  
                  INNER JOIN " 
TABLE_PREFIX "thread AS thread ON (post.threadid = thread.threadid)  
                  WHERE type = 'reply' "
$m_forums;  
        
$fr_result $vbulletin->db->query_first($query);  
        
$fr_modItems['reply'] ['total'] = $fr_result['num'];  
    } 

    
//visitormessage, groupmessage, picturecomment  
    
if(count(array_intersect($fr_itemsToTrack, array('visitormessage''groupmessage''picturecomment')))>0) {  
        
$query "SELECT COUNT(type) AS total, type  
                  FROM "
TABLE_PREFIX ."moderation  
                  GROUP BY type"
;  
        
$fr_result $vbulletin->db->query_read($query);  
        while(
$fr_entry $vbulletin->db->fetch_array($fr_result)) {  
            
$fr_modItems[$fr_entry['type']] ['total'] = $fr_entry['total'];  
        }  
    } 

For correct processing of rights of moderation with this product you need to rearrange this two if statement upward. Like this:

PHP Code:
    //#################### Acquiring ####################  
    //visitormessage, groupmessage, picturecomment  
    
if(count(array_intersect($fr_itemsToTrack, array('visitormessage''groupmessage''picturecomment')))>0) {  
        
$query "SELECT COUNT(type) AS total, type  
                  FROM "
TABLE_PREFIX ."moderation  
                  GROUP BY type"
;  
        
$fr_result $vbulletin->db->query_read($query);  
        while(
$fr_entry $vbulletin->db->fetch_array($fr_result)) {  
            
$fr_modItems[$fr_entry['type']] ['total'] = $fr_entry['total'];  
        }  
    }    

    
//reply - post  
    
if(in_array('reply'$fr_itemsToTrack)) {  
        
$query "SELECT COUNT(*) AS num  
                  FROM " 
TABLE_PREFIX "moderation AS moderation  
                  INNER JOIN " 
TABLE_PREFIX "post AS post ON (moderation.primaryid = post.postid)  
                  INNER JOIN " 
TABLE_PREFIX "thread AS thread ON (post.threadid = thread.threadid)  
                  WHERE type = 'reply' "
$m_forums;  
        
$fr_result $vbulletin->db->query_first($query);  
        
$fr_modItems['reply'] ['total'] = $fr_result['num'];  
    } 
Sorry for my english.... :erm:
Reply With Quote
  #150  
Old 08-14-2019, 06:24 PM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm... seems like this one has some edits to be made... does anyone have it working on vb 4.2.5 & php 7.0?
Reply With Quote
  #151  
Old 08-14-2019, 07:46 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 4.0.3 AUGI is working on vB 4.2.5 and PHP 7.1.31 for me:

product-fr_notifymoditems-4_0_3_by_AUGI.xml
Reply With Quote
Reply

Thread Tools

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 01:13 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.05499 seconds
  • Memory Usage 2,377KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete