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
  #192  
Old 03-29-2005, 09:06 PM
Dave-ahfb Dave-ahfb is offline
 
Join Date: Mar 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oops, I meant to say /install/
Reply With Quote
  #193  
Old 03-29-2005, 11:20 PM
red_baron2000's Avatar
red_baron2000 red_baron2000 is offline
 
Join Date: Jul 2002
Location: EU
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2 things :

1) there is a small typo " their" should be"there" see attached picture.

2) i have set the cron as stated above and scheduled task to run 1 time per day however it still send the same applicant form to moderators forum non stop any idea how to fix this?

thank you.
Reply With Quote
  #194  
Old 03-30-2005, 04:05 PM
Mla7a6 Mla7a6 is offline
 
Join Date: Apr 2004
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not sure, but it seems to me the problem with the installation of HIS is associated with MySQL version 3.23 while it didn't affect version 4 and above.. ( I tested it on another site and it ran smoothly like a charm)..

Can you confirm it MarcoH64
Reply With Quote
  #195  
Old 03-30-2005, 04:06 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yup theirs a problem with HIS or atleast my implemation and pre-4.0.0
Reply With Quote
  #196  
Old 03-30-2005, 05:32 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try running the following queries, insert table prefix if needed:
[sql]CREATE TABLE maf_application (
appid int(10) NOT NULL auto_increment,
userid int(10) NOT NULL default 0,
email varchar(250) NOT NULL default '',
fullname varchar(250) NOT NULL default '',
age tinyint(4) NOT NULL default 0,
location varchar(250) NOT NULL default '',
timezone varchar(25) NOT NULL default '',
position varchar(250) NOT NULL default '',
why_them mediumtext NOT NULL,
what_they_bring mediumtext NOT NULL,
pactivity mediumtext NOT NULL,
globally_pactivity mediumtext NOT NULL,
plus_site mediumtext NOT NULL,
neg_site mediumtext NOT NULL,
better_than_rest mediumtext NOT NULL,
more mediumtext NOT NULL,
application_time int(10) NOT NULL default 0,
auto_mailed tinyint(4) default NULL,
PRIMARY KEY (appid)
);[/sql]
[sql]CREATE TABLE maf_ratings (
ratingid int(10) NOT NULL auto_increment,
appid int(10) NOT NULL default 0,
userid int(10) NOT NULL default 0,
rating tinyint(4) NOT NULL default 0,
additional_comments mediumtext NOT NULL,
timestamp int(10) NOT NULL default 0,
PRIMARY KEY (ratingid),
KEY appid (appid),
KEY appid_2 (appid)
);[/sql]

@sabre
Why are you not using TABLE_PREFIX? and why the same KEY twice on the second table?
Reply With Quote
  #197  
Old 03-30-2005, 05:33 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the
yup theirs a problem with HIS or atleast my implemation and pre-4.0.0
The database errors are not caused by HIS, but by the SQL statements themself. The problem with the current HIS version is that it doesn't show the database error correct.
Reply With Quote
  #198  
Old 03-30-2005, 09:24 PM
Mla7a6 Mla7a6 is offline
 
Join Date: Apr 2004
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I ran the SQL query from "phpMyAdmin 2.4.0" as instructed, but there was an error after each query:

after the 1st query
Code:
Error

SQL-query :  

CREATE TABLE maf_application(

appid int( 10 ) NOT NULL auto_increment,
userid int( 10 ) NOT NULL default0,
email varchar( 250 ) NOT NULL default '',
fullname varchar( 250 ) NOT NULL default '',
age tinyint( 4 ) NOT NULL default0,
location varchar( 250 ) NOT NULL default '',
timezone varchar( 25 ) NOT NULL default '',
position varchar( 250 ) NOT NULL default '',
why_them mediumtext NOT NULL ,
what_they_bring mediumtext NOT NULL ,
pactivity mediumtext NOT NULL ,
globally_pactivity mediumtext NOT NULL ,
plus_site mediumtext NOT NULL ,
neg_site mediumtext NOT NULL ,
better_than_rest mediumtext NOT NULL ,
more mediumtext NOT NULL ,
application_time int( 10 ) NOT NULL default0,
auto_mailed tinyint( 4 ) default NULL ,
PRIMARY KEY ( appid ) 
) 

MySQL said: 


You have an error in your SQL syntax near 'default0, email varchar( 250  )  NOT  NULL default  '', fullname varchar( 250  )' at line 1
and then after the 2nd query:

Code:
Error

SQL-query :  

CREATE TABLE maf_ratings(

ratingid int( 10 ) NOT NULL auto_increment,
appid int( 10 ) NOT NULL default0,
userid int( 10 ) NOT NULL default0,
rating tinyint( 4 ) NOT NULL default0,
additional_comments mediumtext NOT NULL ,
timestamp int( 10 ) NOT NULL default0,
PRIMARY KEY ( ratingid ) ,
KEY appid( appid ) ,
KEY appid_2( appid ) 
) 

MySQL said: 

You have an error in your SQL syntax near 'default0, userid int( 10  )  NOT  NULL default0, rating tinyint
Any ideas MarchH64 ?
Reply With Quote
  #199  
Old 03-31-2005, 12:46 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well something went wrong with the copy&paste. If you look at the query i posted on the previous page you will see a space between every 'default 0', this turns into 'default0' at your post.

Try again, but insert a space in every 'default0'.
Reply With Quote
  #200  
Old 03-31-2005, 12:58 PM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Modification sabretooth.. I will give this a try

Regards,
Reply With Quote
  #201  
Old 03-31-2005, 09:42 PM
Mla7a6 Mla7a6 is offline
 
Join Date: Apr 2004
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarcoH64
Well something went wrong with the copy&paste. If you look at the query i posted on the previous page you will see a space between every 'default 0', this turns into 'default0' at your post.

Try again, but insert a space in every 'default0'.
I tried to copy&paster several times, and even added extra spaces, but phpMyAdmin didn't get it right.. so I tried something else..

I inserted the tables manually, and the script worked 80% except for the automatic thread creation.. I think the reason was that I didn't know how to run the following command manually: ( I am still novice @ MySQL quries )
Code:
KEY appid( appid ) ,
KEY appid_2( appid )
if thats the reason, can you help me.. I know that I bugged you very much.. but I liked the script and will do anything to install it..
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:15 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.05359 seconds
  • Memory Usage 2,321KB
  • 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
  • (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