Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
MAF: (Moderator Application Form & Application Rating Module) Details »»
MAF: (Moderator Application Form & Application Rating Module)
Version: 1.06, by sabret00the sabret00the is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 03-01-2005 Last Update: 05-09-2005 Installs: 124
DB Changes
 
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 "maf-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 thanks to Link and his magical HIS

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:











So you heard their was an upgrade and you're wondering just what you have to do right?
simply reupload all the files (not including your cron if you wanna be special and then just run the installer, if that gives you trouble just click overrite original settings, all it's gonna do it reinstall the phrases, reinstall the templates and tell you the two file mods to remake.


So you heard their was an upgrade this time around?
simply reupload all the files (if you wanna pretend to be uber 1337 just upload the admincp file and the cron folder file)

latest zip: 10/05/05 16:59

Show Your Support

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

Comments
  #362  
Old 08-25-2005, 10:33 PM
Yukino_AE Yukino_AE is offline
 
Join Date: Jul 2005
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE=djsydeburnz]Would there be a way to send a PM to all moderators rather than having it post to a forum?

Quote:
Originally Posted by sabret00the
yes there would but it requires hacking the hack.
would you be able to tell us how to do this?
Reply With Quote
  #363  
Old 08-25-2005, 10:43 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yukino_AE
no i don't really need that. i'm frequently in the admin cp so i'm always checking.
in that case, comment out the thread creation bit.
Reply With Quote
  #364  
Old 08-26-2005, 02:24 AM
Yukino_AE Yukino_AE is offline
 
Join Date: Jul 2005
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the
in that case, comment out the thread creation bit.
i'm sorry do what exactly?
Reply With Quote
  #365  
Old 08-26-2005, 03:00 AM
djsydeburnz djsydeburnz is offline
 
Join Date: May 2005
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thaks for the response.

is there plans for any of my questions in the future?

PM Mods when new apps are submitted
Automatically change usergroup to Moderator upon completion
Reply With Quote
  #366  
Old 08-26-2005, 08:19 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 Yukino_AE
i'm sorry do what exactly?
in maf_cron.php find
PHP Code:
        // Create thread
        
$poststarttime TIMENOW;
        
$maf_forumid intval($vboptions[maf_forumid]);
        
$DB_site->query("
            INSERT INTO " 
TABLE_PREFIX "thread(title, lastpost, forumid, open, replycount, postusername, postuserid, lastposter, dateline, visible, sticky)
            VALUES ('New Mod Applications To Be Rated',    
$poststarttime,    $maf_forumid, 1,    0,    '" $threadstuff[username] . "',    $threadstuff[userid],    '" $threadstuff[username] . "',    $poststarttime,    1,    0)
        "
);
        
$threadid $DB_site->insert_id();
    
        
// Now add Post to thread
        
$DB_site->query("
            INSERT INTO " 
TABLE_PREFIX "post(threadid, parentid, title, username, userid, dateline, pagetext, allowsmilie, showsignature, ipaddress, iconid, visible, attach)
            VALUES (
$threadid,    0,    'New Mod Applications To Be Rated',    '" $threadstuff[username] . "', $threadstuff[userid],    $poststarttime,    'Their are new moderator applications that need rating, please go and rate them, if need be return here to discuss them further.', 1,    1, '', 0, 1, 0)
        "
);
        
$postid $DB_site->insert_id();

        
// Add to last post on forumhome for that forum
        
$DB_site->query("
            UPDATE " 
TABLE_PREFIX "forum
            SET replycount = replycount + 1, lastpost = " 
TIMENOW ", lastposter = '" addslashes($threadstuff['username']) . "', lastthread = 'New Mod Applications To Be Rated', lastthreadid = $threadid, lasticonid = 0
            WHERE forumid = 
$maf_forumid
        "
); 
and replace with
PHP Code:
/*
        // Create thread
        $poststarttime = TIMENOW;
        $maf_forumid = intval($vboptions[maf_forumid]);
        $DB_site->query("
            INSERT INTO " . TABLE_PREFIX . "thread(title, lastpost, forumid, open, replycount, postusername, postuserid, lastposter, dateline, visible, sticky)
            VALUES ('New Mod Applications To Be Rated',    $poststarttime,    $maf_forumid, 1,    0,    '" . $threadstuff[username] . "',    $threadstuff[userid],    '" . $threadstuff[username] . "',    $poststarttime,    1,    0)
        ");
        $threadid = $DB_site->insert_id();
    
        // Now add Post to thread
        $DB_site->query("
            INSERT INTO " . TABLE_PREFIX . "post(threadid, parentid, title, username, userid, dateline, pagetext, allowsmilie, showsignature, ipaddress, iconid, visible, attach)
            VALUES ($threadid,    0,    'New Mod Applications To Be Rated',    '" . $threadstuff[username] . "', $threadstuff[userid],    $poststarttime,    'Their are new moderator applications that need rating, please go and rate them, if need be return here to discuss them further.', 1,    1, '', 0, 1, 0)
        ");
        $postid = $DB_site->insert_id();

        // Add to last post on forumhome for that forum
        $DB_site->query("
            UPDATE " . TABLE_PREFIX . "forum
            SET replycount = replycount + 1, lastpost = " . TIMENOW . ", lastposter = '" . addslashes($threadstuff['username']) . "', lastthread = 'New Mod Applications To Be Rated', lastthreadid = $threadid, lasticonid = 0
            WHERE forumid = $maf_forumid
        ");
*/ 
Reply With Quote
  #367  
Old 08-26-2005, 08:21 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 djsydeburnz
thaks for the response.

is there plans for any of my questions in the future?

PM Mods when new apps are submitted
Automatically change usergroup to Moderator upon completion
nope not on either, the pm one is the most likely but at the same time unlikely, however i'll be upgrading this hack i a couple weeks so we'll see how i feel then i suppose.
Reply With Quote
  #368  
Old 08-26-2005, 10:16 AM
FatalBreeze FatalBreeze is offline
 
Join Date: Apr 2004
Location: Haifa - Israel
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i installed the hack the problem is that when i ran the cron for the first time it gave me the error:

Code:
Warning: main(): Unable to access ./includes/cron/maf_cron.php.php in /rashy/cronadmin.php on line 56
 
Warning: main(./includes/cron/maf_cron.php.php): failed to open stream: No such file or directory in /rashy/cronadmin.php on line 56
(my admincp dir is called rashy and i set this value in the hack config.)

so i went through the cron and saw this:
PHP Code:
// ## Grabs global.php this grabs vbulletins global.php so we can use the most basic of vBulletins functions ##
chdir('FULL FORUMS PATH HERE'); //change to your vbulletin path
chdir("K:/Network/xampp/htdocs/forums/"); //change to your vbulletin path 
so, what do you mean by full forums path? do you mean
http://www.mysite.com/forums/
or
bin/user/public_html/ ?
i tried the latter by it didn't work...
what to do?

and im sorry for my awful coding skills but why did you wrote two chdir()s
one right after the other?
Reply With Quote
  #369  
Old 08-26-2005, 02:29 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FatalBreeze
bin/user/public_html/
it's the equivalent of that, thought it should be "/home/site/public_html/forums/"

and delete teh line above it, this one "chdir('FULL FORUMS PATH HERE'); //change to your vbulletin path"
Reply With Quote
  #370  
Old 08-26-2005, 08:52 PM
Yukino_AE Yukino_AE is offline
 
Join Date: Jul 2005
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

many thanx! ^_^
Reply With Quote
  #371  
Old 09-02-2005, 11:54 AM
djsydeburnz djsydeburnz is offline
 
Join Date: May 2005
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm . . .

ran the script by calling it directly cuz ive been getting some emails. got this:

Shortlisting Email Sent To eclypz
Shortlisting Email Sent To Bucho

Fatal error: Call to undefined function: log_cron_action() in /home/httpd/vhosts/syde-sho.com/httpdocs/forums/includes/cron/maf_cron.php on line 163

this is what is on line 163:

log_cron_action($logmessage, $nextitem);
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:19 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.05163 seconds
  • Memory Usage 2,346KB
  • 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
  • (1)bbcode_code
  • (3)bbcode_php
  • (6)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
  • (1)pagenav_pagelinkrel
  • (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