Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Moderator Application System 2.1 Details »»
Moderator Application System 2.1
Version: 2.1.1, by sabret00the sabret00the is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.8 Rating:
Released: 10-06-2007 Last Update: 10-06-2007 Installs: 231
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

FAQ:
What Does It Do? it enables your members to apply to be a mod, cuts down on all the asking and stuff

That It? basically

What about the cool back end? ooh yeah, so anyway it will email on the 14th day to either let em know they've been shortlisted or to try again at a later date

How will it know? mod ratings innit, if their under 7 their outta there

Anything else? nah i guess it starts a thread in your mod forum to tell your mods to rate em

How does it know what forum and who's the threadster? you tell em via the admincp options (where the rest of the vboptions are) theirs a handy little group for the MAF and i don't mean 2+2

Ok so that's gotta be it now? nope

What else does it do? it logs it all in the admincp schedules tasks and sends you a copy of the email

Damn who taught you all that? various folks, special thanks to Dean, Marco, OBK and Zero Tolerance who helped me on this specific hack though.

Ok so what's the install like? swift the long thing is the upload

Ok rumour is it needs to run a cron, what's a cron? :squint: it's the automated do-dad in the admincp

How do i set it up? it's so straight forward you could close your eyes and do it, the file you're cronning is called "mas-cron.php" and i recommend running it at 12.30 (that means leave the rest as stars)

Ok so if their an installer? there is indeed, a quick dirty one. no not like that

Well now that's sorted can i install it? please do!

How can i help you become cooler? click install and let's see if i can become hack of the month innit

Bye now? yes go :ermm:

Wait! ain't this the same as the last one? yes but this one runs on 3.5.x :ninja:

[hr]xxx[/hr]

To Upgrade just run install the new product.xml please see the upgrade.txt for more details

To Uninstall just remove the product

What's new? you can now add your own questions and stuff

For real? for real.

One more thing? sure.

What's the difference between 2.0 and 2.1? Not a whole lot, just phrased the front end and fixed a long standing db table prefix bug.


Screens: https://vborg.vbsupport.ru/showthread.php?p=1354989 Thanks to yoyoyoyo for making up for my laziness.

Show Your Support

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

Comments
  #92  
Old 11-03-2007, 02:08 PM
anwar.abdullakh anwar.abdullakh is offline
 
Join Date: Oct 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
if ($vbulletin->userinfo['usergroupid'] !== 8)
why 8??

Quote:
Originally Posted by sabret00the View Post
that method works so i'd go with it.

alternatively
PHP Code:
if (in_array($vbulletin->userinfo['usergroupid'], array(6XXXX)) 
i'd really suggest going with your current method though.
Btw tried it and not working...i want the admin and supmods to have the permission to view the comments (usergroup id: 5,6)
Reply With Quote
  #93  
Old 11-03-2007, 10:21 PM
mhackl mhackl is offline
 
Join Date: Aug 2006
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. I get a database error when I enter an incorrect user name to delete an application,

2. How do I change the quoted information listed below? I need to change this to my own confidentiality agreement.

Quote:
Moderator Policy
  • In Order To Apply To Be A Moderator You Must:
  • be a forum regular
  • have been at the forum for over a month
  • have a positive efficacious presence on Home (this will ultimately be reflected in your post count and referrals)
  • be proactive
Moderators should be knowledgeable in the topic they would like to moderate. They should be polite and helpful towards other members and give advice whenever needed and whenever possible. Moderators should visit the forum each day, actively take part in discussions as often as possible, ideally once a day, setting a good example to the other members. They should also take an active part in discussions between Moderators relating to the running of the forum. The Model Hangar Moderators have a responsibility to keep unsuitable content out of the forums as much as possible. Moderators should frequently encourage member participation in their forum, both by posting in existing threads and starting new ones.
Reply With Quote
  #94  
Old 11-03-2007, 11:51 PM
PurpleButterfly's Avatar
PurpleButterfly PurpleButterfly is offline
 
Join Date: Sep 2007
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
bung the files in the relevant folders
Um, I don't understand what "bung the files" means...not sure I want to...lol How do I upload this? In FTP or just import product in the AdminCP?
Reply With Quote
  #95  
Old 11-04-2007, 09:13 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PurpleButterfly View Post
Um, I don't understand what "bung the files" means...not sure I want to...lol How do I upload this? In FTP or just import product in the AdminCP?
both. you have to ftp over the files included in the zip as well as install the plugin.
Reply With Quote
  #96  
Old 11-04-2007, 09:16 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by anwar.abdullakh View Post
Code:
if ($vbulletin->userinfo['usergroupid'] !== 8)
why 8??


Btw tried it and not working...i want the admin and supmods to have the permission to view the comments (usergroup id: 5,6)
in mas_rateapp.php find:
PHP Code:
        if ($vbulletin->userinfo['usergroupid'] == 6)
        {
            
$getratings $db->query("
                SELECT mas_r.appid, mas_r.userid, user.username, mas_r.rating, mas_r.additional_comments, mas_r.timestamp
                FROM " 
TABLE_PREFIX "mas_rating mas_r
                LEFT JOIN " 
TABLE_PREFIX "user AS user ON (user.userid = mas_r.userid)
                WHERE appid = 
$appid AND timestamp > " $rateapp['application_time'] . "
            "
);

            while (
$viewrating $db->fetch_array($getratings))
            {
                
$rated_ago ceil((TIMENOW $viewrating['timestamp']) / 86400);
                
print_description_row('' .$viewrating['username'] . '\'s Rating Of This Application'02'tcat');
                
print_label_row('<b> Application Rating: </b>', (stripslashes($viewrating['rating'])));
                
print_label_row('<b> Additional Comments On The Application:', (stripslashes($viewrating['additional_comments'])));
                
print_label_row('<b> This Application Was Rated: </b>''' $rated_ago ' days ago');
            }
        } 
and replace with
PHP Code:
        if (in_array($vbulletin->userinfo['usergroupid'], array(5,6)))
        {
            
$getratings $db->query("
                SELECT mas_r.appid, mas_r.userid, user.username, mas_r.rating, mas_r.additional_comments, mas_r.timestamp
                FROM " 
TABLE_PREFIX "mas_rating mas_r
                LEFT JOIN " 
TABLE_PREFIX "user AS user ON (user.userid = mas_r.userid)
                WHERE appid = 
$appid AND timestamp > " $rateapp['application_time'] . "
            "
);

            while (
$viewrating $db->fetch_array($getratings))
            {
                
$rated_ago ceil((TIMENOW $viewrating['timestamp']) / 86400);
                
print_description_row('' .$viewrating['username'] . '\'s Rating Of This Application'02'tcat');
                
print_label_row('<b> Application Rating: </b>', (stripslashes($viewrating['rating'])));
                
print_label_row('<b> Additional Comments On The Application:', (stripslashes($viewrating['additional_comments'])));
                
print_label_row('<b> This Application Was Rated: </b>''' $rated_ago ' days ago');
            }
        } 
and you should be good to go.
Reply With Quote
  #97  
Old 11-04-2007, 09:20 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mhackl View Post
1. I get a database error when I enter an incorrect user name to delete an application,

2. How do I change the quoted information listed below? I need to change this to my own confidentiality agreement.
edit the phrase mas_moderator_policy
Reply With Quote
  #98  
Old 11-04-2007, 11:16 AM
anwar.abdullakh anwar.abdullakh is offline
 
Join Date: Oct 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the View Post
in mas_rateapp.php find:
PHP Code:
        if ($vbulletin->userinfo['usergroupid'] == 6)
        {
            
$getratings $db->query("
                SELECT mas_r.appid, mas_r.userid, user.username, mas_r.rating, mas_r.additional_comments, mas_r.timestamp
                FROM " 
TABLE_PREFIX "mas_rating mas_r
                LEFT JOIN " 
TABLE_PREFIX "user AS user ON (user.userid = mas_r.userid)
                WHERE appid = 
$appid AND timestamp > " $rateapp['application_time'] . "
            "
);

            while (
$viewrating $db->fetch_array($getratings))
            {
                
$rated_ago ceil((TIMENOW $viewrating['timestamp']) / 86400);
                
print_description_row('' .$viewrating['username'] . '\'s Rating Of This Application'02'tcat');
                
print_label_row('<b> Application Rating: </b>', (stripslashes($viewrating['rating'])));
                
print_label_row('<b> Additional Comments On The Application:', (stripslashes($viewrating['additional_comments'])));
                
print_label_row('<b> This Application Was Rated: </b>''' $rated_ago ' days ago');
            }
        } 
and replace with
PHP Code:
        if (in_array($vbulletin->userinfo['usergroupid'], array(5,6)))
        {
            
$getratings $db->query("
                SELECT mas_r.appid, mas_r.userid, user.username, mas_r.rating, mas_r.additional_comments, mas_r.timestamp
                FROM " 
TABLE_PREFIX "mas_rating mas_r
                LEFT JOIN " 
TABLE_PREFIX "user AS user ON (user.userid = mas_r.userid)
                WHERE appid = 
$appid AND timestamp > " $rateapp['application_time'] . "
            "
);

            while (
$viewrating $db->fetch_array($getratings))
            {
                
$rated_ago ceil((TIMENOW $viewrating['timestamp']) / 86400);
                
print_description_row('' .$viewrating['username'] . '\'s Rating Of This Application'02'tcat');
                
print_label_row('<b> Application Rating: </b>', (stripslashes($viewrating['rating'])));
                
print_label_row('<b> Additional Comments On The Application:', (stripslashes($viewrating['additional_comments'])));
                
print_label_row('<b> This Application Was Rated: </b>''' $rated_ago ' days ago');
            }
        } 
and you should be good to go.
worked like a charm!! thx a lot...good modification, nominated!!
Reply With Quote
  #99  
Old 11-04-2007, 12:58 PM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when viewing whosonline...why does it come up Unknown Location when people are filling the application? Shouldn't it come up Viewing Moderator application or something instead of Unknown Location?
Reply With Quote
  #100  
Old 11-04-2007, 03:14 PM
Jason Black Jason Black is offline
 
Join Date: Aug 2007
Location: New York
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So how do users get to apply? since it's not on the navbar or anywhere on the site
Reply With Quote
  #101  
Old 11-04-2007, 03:15 PM
Jason Black Jason Black is offline
 
Join Date: Aug 2007
Location: New York
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't see it anywhere on the forum
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 01:11 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.11964 seconds
  • Memory Usage 2,408KB
  • 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
  • (2)bbcode_code
  • (5)bbcode_php
  • (7)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
  • (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