Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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
  #232  
Old 04-13-2005, 12:36 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the
nice one, i'll add it, though it should only go around the vBmail thing and not the whole thing
Really? I assumed that the surrounding code added a log of some kind (which wouldn't really be needed if no e-mail was being sent).. What does it do then?
Reply With Quote
  #233  
Old 04-13-2005, 12:40 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it adds the log to the schedule task logs, but it's best to keep that their even if empty, so if it don't work or stops working for some reason you can trace it back
Reply With Quote
  #234  
Old 04-13-2005, 01:19 PM
lebanon lebanon is offline
 
Join Date: Jan 2005
Location: Lebanon
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
<?php

// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// ##################### DEFINE IMPORTANT CONSTANTS #######################
define('CVS_REVISION''$RCSfile: grps_delapp.php,v $ - $Revision: 1.0 $');
define('NO_REGISTER_GLOBALS'1);

// #################### PRE-CACHE TEMPLATES AND DATA ######################
//$phrasegroups = array('thread',    'calendar', 'timezone', 'threadmanage');
$specialtemplates = array();

// ########################## REQUIRE BACK-END ############################
require_once('./global.php');
require_once(
'./includes/functions_databuild.php');

// ############################# LOG ACTION ###############################
log_admin_action(iif(isset($_REQUEST['calendarid']), "calendar id = $_REQUEST[calendarid]"iif(isset($_REQUEST['forumid']), "forum id = $_REQUEST[forumid]")));

// ########################################################################
// ######################### START MAIN SCRIPT ############################
// ########################################################################

print_cp_header('GRPS Group Editor');

// ###################### Start app search form #######################
if ($_REQUEST['do'] == 'del')
{
    
print_form_header('maf_delapp''sure''sure');
    
print_table_header("Delete An Application");
    
print_input_row('Please Enter The Username Of The App You\'d Like To Edit: ''findusername');
    
print_submit_row('DELETE');
    
print_table_footer();
}

// ###################### Start app confirm form #######################
if ($_POST['do'] == 'sure')
{
    
print_form_header('maf_delapp''dodelapp''delapp');
    
print_table_header("Delete An Application");
    
print_label_row('Are You Sure You Want To Delete: ''' $_POST[findusername] . '\'s Application');
    
construct_hidden_code('findusername'$_POST[findusername]);
    
print_submit_row('DELETE APPLICATION');
    
print_table_footer();
}


// ###################### Start process group edit #######################
if ($_POST['do'] == 'dodelapp')
{
//    globalize($_POST, array('grpsaction'));
    
    
$username addslashes($_POST['findusername']);
    
$getuser $DB_site->query_first("
        SELECT *
        FROM " 
TABLE_PREFIX "user AS user
        WHERE username = '" 
$username "'
    "
);

    
$DB_site->query("
        DELETE * 
        FROM maf_application
        WHERE userid = 
$getuser[userid]
    "
);

    
$DB_site->query("
        DELETE *
        FROM maf_ratings
        WHERE userid = 
$getuser[userid]
    "
);

    
define('CP_REDIRECT''maf_delapp.php?do=find');
    
print_stop_message('maf_deleted');
}

print_cp_footer();

/*======================================================================*\
|| ####################################################################
|| # Created: 13:36, Sat December 11th 2004
|| # CVS: $RCSfile: maf_delapp.php,v $ - $Revision: 1.0 $
|| ####################################################################
\*======================================================================*/
?>
Sabe , here is the code of the file in admincp, as i said everything else is working, even this file is openning without a php error or mysql error , its just openning with header and footer, thats all
my vb is 3.0.5 btw , i just need to see whats making it not loading so i can check up MOD apps !
Reply With Quote
  #235  
Old 04-13-2005, 01:24 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you did make the changes specified for the admincp/index.php and modcp/index.php right? as the url to both files is page.php?do=action and unless yo enclude the action, they won't show up.
Reply With Quote
  #236  
Old 04-13-2005, 01:34 PM
lebanon lebanon is offline
 
Join Date: Jan 2005
Location: Lebanon
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the zip ive downloaded i dont see any changes asked to be made!
Since i know basics of php i knew there is more to be done but all what was in ur install file was
---------
right here's the quick and short of it, bung the files in the relevant folders

forums/modapp.php
forums/admincp/maf_delmodapp.php
forums/modcp/maf.. rahdy rar etc

run the installer at www.yoursite.com/forums/install/hack_install.php

and follow the instructions.

and don't forget to set up a cron to run once daily (you will need to configure your cron on line 10, this requires a manual edit of the file before upload)
------------------
I did that but no where is aw instructions, so excuse me if i missed it anywhere, and please tell me where to find them or paste them here
*i feel like dumb but i really searched!*
Reply With Quote
  #237  
Old 04-13-2005, 01:36 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in the hack installer under the file mods, it should say the changes you needed to make.
Reply With Quote
  #238  
Old 04-13-2005, 01:55 PM
lebanon lebanon is offline
 
Join Date: Jan 2005
Location: Lebanon
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi again,
Okey i reopened installation and when finished installing again i saw :
When finished editing the needed files/templates (if any are needed), click here to return to the main page. -->
MAF Installation Edits

I now clicked on MAF edits and i can see the changes you told me about.
I knew there must be ones , on other hacks i usually saw em in seperate files or in install texts , thats why i missed them !
I think you should note it for other pple , maybe i wont endup the only one missing them !
Anyway, THANKS A LOTT i love this hack and yes i clicked install !
Reply With Quote
  #239  
Old 04-13-2005, 01:56 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 lebanon
Hi again,
Okey i reopened installation and when finished installing again i saw :
When finished editing the needed files/templates (if any are needed), click here to return to the main page. -->
MAF Installation Edits

I now clicked on MAF edits and i can see the changes you told me about.
I knew there must be ones , on other hacks i usually saw em in seperate files or in install texts , thats why i missed them !
I think you should note it for other pple , maybe i wont endup the only one missing them !
Anyway, THANKS A LOTT i love this hack and yes i clicked install !
glad you've got it working
Reply With Quote
  #240  
Old 04-17-2005, 04:30 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now including special update
Reply With Quote
  #241  
Old 04-20-2005, 03:40 AM
LEAD_WEIGHT LEAD_WEIGHT is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 369
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Apply for Affiliation or Advertisement

It most likely be like sabret00the MAF
Code:
https://vborg.vbsupport.ru/showthread.php?t=77340&page=16&pp=15&highlight=maf
something simular to this site as well
Code:
http://gothtopic.com/forum/affiliate.php
Modular Request
Code:
https://vborg.vbsupport.ru/showthread.php?p=643281#post643281
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 10:45 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.05034 seconds
  • Memory Usage 2,337KB
  • 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
  • (3)bbcode_code
  • (1)bbcode_php
  • (2)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
  • (2)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