vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   MAF: (Moderator Application Form & Application Rating Module) (https://vborg.vbsupport.ru/showthread.php?t=77340)

sabret00the 03-01-2005 10:00 PM

MAF: (Moderator Application Form & Application Rating Module)
 
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

nexialys 03-02-2005 03:43 PM

funny how sabret00the can be entertaining in his descriptions, it change from the old ugly and bald HowTos ...

good luck with this great tool sabret00the!
[high]* nexialys will take a look after some users complaints! ;)[/high]

Deaths 03-02-2005 04:50 PM

Haha, indeed, funny :).

[high]* Deaths installs
[/high]
Am I cool now?

BarHopper 03-02-2005 04:53 PM

screenys?

sabret00the 03-02-2005 05:06 PM

oops forgot about them, added :)

Corriewf 03-02-2005 05:09 PM

Can this be changed to banning?

sabret00the 03-02-2005 05:09 PM

Quote:

Originally Posted by corriewf
Can this be changed to banning?

you're gonna have to explain that one to me? people apply to be banned?

sabret00the 03-02-2005 05:10 PM

Quote:

Originally Posted by Deaths
Am I cool now?

no, the coolness is all mine :p
Quote:

Originally Posted by nexialys
good luck with this great tool sabret00the!

thank you, btw you get the blame for not reminding me about the screenies :p

sabret00the 03-02-2005 05:16 PM

if you've already installed this run this query to fix the a problem that may arrise
[sql]ALTER TABLE `maf_ratings` CHANGE `timestamp` `timestamp` INT( 10 ) NOT NULL
ALTER TABLE `maf_application` CHANGE `application_time` `application_time` INT( 10 ) DEFAULT '0' NOT NULL [/sql]

else if not you're fine with the installer.

Oblivion Knight 03-02-2005 05:21 PM

Sounds great.! I'll have a good look at this later tonight.. :)

Corriewf 03-02-2005 05:46 PM

Quote:

Originally Posted by sabret00the
you're gonna have to explain that one to me? people apply to be banned?

No but take part of the code that automates the moderatorship and auto ban a member based on votes and once a member is banned an email is sent out to everyone.A board run by its members.

sabret00the 03-02-2005 05:56 PM

Quote:

Originally Posted by corriewf
No but take part of the code that automates the moderatorship and auto ban a member based on votes and once a member is banned an email is sent out to everyone.A board run by its members.

it doesn't auto moderate them, it just let's em know that they've been shortlisted.

Oblivion Knight 03-02-2005 06:03 PM

Getting this error when clicking "Delete Applicants", bare in mind there are currently no applicants.

Quote:

Parse error: parse error, unexpected T_STRING in /home/gamerseu/public_html/forum/admincp/maf_delapp.php on line 69
Also, I'm sure with the step for modcp/index.php, you don't mean replace..

sabret00the 03-02-2005 06:06 PM

oops left some debug code in, and i'll update the instructions, thanks for the notification

sabret00the 03-02-2005 06:09 PM

ok file changed, i'll make the next official update announcement at midnight, hopefully we find any other oversights before then :)

Oblivion Knight 03-02-2005 06:21 PM

I'd also recommend making a note for people to update the options in the vBulletin Options page. If I didn't look at the code, I'd have posted and asked how the script knew which forum was your "mod" forum.. ;)

Hopefully I'll have some more feedback for you once a few of my members have applied.

Corriewf 03-02-2005 06:22 PM

Quote:

Originally Posted by sabret00the
it doesn't auto moderate them, it just let's em know that they've been shortlisted.

And I thought you were cool........I used to look up to you. :mad:

Kru 03-02-2005 06:53 PM

I really like it. Anyway wondering if there is a way that this application can be see as thread in a special forum after it was filled up and sent away? And that other users can make a vote for it, too?

So forum users can decide if they want an applicant as a moderator or not.

sabret00the 03-02-2005 07:05 PM

Quote:

Originally Posted by Oblivion Knight
I'd also recommend making a note for people to update the options in the vBulletin Options page. If I didn't look at the code, I'd have posted and asked how the script knew which forum was your "mod" forum..

Hopefully I'll have some more feedback for you once a few of my members have applied.

done and thank you


Quote:

Originally Posted by corriewf
And I thought you were cool........I used to look up to you.

it hurts to lose you from the thousands that look upto me, but i'll have to persevere.


Quote:

Originally Posted by Kru
I really like it. Anyway wondering if there is a way that this application can be see as thread in a special forum after it was filled up and sent away? And that other users can make a vote for it, too?

So forum users can decide if they want an applicant as a moderator or not.

this could be done, but on the way it currently works it checks if theirs any mod apps and if their is it makes one thread to announce it, what you would want is a different thread of each, all in all it's just a matter of playing around with the cron script.

eva01_ 03-02-2005 07:08 PM

you know i find this hack to be sexy, may have a use for it in the future

Corriewf 03-02-2005 07:25 PM

Quote:

it hurts to lose you from the thousands that look upto me, but i'll have to persevere.
I know your not saying that with vb version 2.2.9 under your name......That is soooo like yesterday.....no really....the way they keep updating that is like yesterday. :tired:

sabret00the 03-02-2005 07:39 PM

Quote:

Originally Posted by corriewf
I know your not saying that with vb version 2.2.9 under your name......That is soooo like yesterday.....no really....the way they keep updating that is like yesterday. :tired:

ROFL although on a more serious note, wow i never even realised. nice one gotta update that.

Corriewf 03-02-2005 07:49 PM

Oh I see you have installed tomorrows version. :banana:

01001110 01101001 01100011 01100101 00100000 01101000 01100001 01100011 01101011 00100000 01100010 01110101 01100100 00101110 01001001 00100000 01110111 01100001 01110011 00100000 01101010 01110101 01110011 01110100 00100000 01100111 01101001 01110110 01101001 01101110 01100111 00100000 01111001 01101111 01110101 00100000 01100001 00100000 01101000 01100001 01110010 01100100 00100000 01110100 01101001 01101101 01100101 00101110 01010100 01101000 01100001 01101110 01101011 01110011 00100000 01100110 01101111 01110010 00100000 01110100 01101000 01100101 00100000 01101000 01100001 01110010 01100100 00100000 01110111 01101111 01110010 01101011 00100000 01111001 01101111 01110101 00100000 01110000 01110101 01110100 00100000 01101001 01101110 00101110 01001001 00100000 01100011 01101100 01101001 01100011 01101011 01100101 01100100 00100000 01101001 01101110 01110011 01110100 01100001 01101100 01101100 00101110

Kru 03-02-2005 07:58 PM

Quote:

Originally Posted by corriewf
Oh I see you have installed tomorrows version. :banana:

01001110 01101001 01100011 01100101 00100000 01101000 01100001 01100011 01101011 00100000 01100010 01110101 01100100 00101110 01001001 00100000 01110111 01100001 01110011 00100000 01101010 01110101 01110011 01110100 00100000 01100111 01101001 01110110 01101001 01101110 01100111 00100000 01111001 01101111 01110101 00100000 01100001 00100000 01101000 01100001 01110010 01100100 00100000 01110100 01101001 01101101 01100101 00101110 01010100 01101000 01100001 01101110 01101011 01110011 00100000 01100110 01101111 01110010 00100000 01110100 01101000 01100101 00100000 01101000 01100001 01110010 01100100 00100000 01110111 01101111 01110010 01101011 00100000 01111001 01101111 01110101 00100000 01110000 01110101 01110100 00100000 01101001 01101110 00101110 01001001 00100000 01100011 01101100 01101001 01100011 01101011 01100101 01100100 00100000 01101001 01101110 01110011 01110100 01100001 01101100 01101100 00101110

Just thought I should translate your binary code. ;)

Quote:

Nice hack bud. I was just giving you a hard time. Thanks for the hard work you put in. I clicked install.

DeMiNe0 03-02-2005 08:09 PM

Nice hack.

Can there be an option to not send emails out(or can i just not use the cron)

You might want to add an easy way add questions to the application. via admin cp

sabret00the 03-02-2005 08:46 PM

Quote:

Originally Posted by DeMiNe0
Can there be an option to not send emails out(or can i just not use the cron)

which email are you referring too?

Quote:

Originally Posted by DeMiNe0
You might want to add an easy way add questions to the application. via admin cp

maybe for a future version :)

Oblivion Knight 03-02-2005 08:55 PM

Alright, after a few hours of testing; a few issues have arised.. :(

Numero Uno:
The forum id listed for the moderator application notifications to be posted is my Staff Forum, but no notifications are being posted.. Possibly to do with access masks, but more likely to be to do with issue 2.

Numero Dos:
The scheduled task is giving me the following error:
[high]Warning: chdir(): No such file or directory (errno 2) in /includes/cron/maf_cron.php on line 11[/high]


Numero Tres:
The moderator application in the Mod CP - the Email Address and Full Name fields are the wrong way around. The email address is being printed in the full name field, and vice versa.

sabret00the 03-02-2005 09:10 PM

Quote:

Originally Posted by Oblivion Knight
Numero Uno:
The forum id listed for the moderator application notifications to be posted is my Staff Forum, but no notifications are being posted.. Possibly to do with access masks, but more likely to be to do with issue 2.

Numero Dos:
The scheduled task is giving me the following error:
Warning: chdir(): No such file or directory (errno 2) in /includes/cron/maf_cron.php on line 11

Numero Tres:
The moderator application in the Mod CP - the Email Address and Full Name fields are the wrong way around. The email address is being printed in the full name field, and vice versa.

all fixed and the file is now reuploaded.

sabret00the 03-02-2005 09:13 PM

Quote:

Originally Posted by sabret00the
all fixed and the file is now reuploaded.

in order to upgrade just reinstall the files

Guest190829 03-02-2005 09:48 PM

Very nice, I will test this out.
[high]* Guest190829 clicks install ;)[/high]

Polo 03-03-2005 02:08 AM

Nice.. thanks for sharing :)

wwesn1 03-03-2005 03:46 AM

I keep getting....

Code:

Invalid SQL:
                        SELECT maf_application.*, userid.username
                        FROM maf_application
                        LEFT JOIN vb3_user ON (vb3_user.userid = maf_application.userid)
               
mysql error: Unknown table 'userid' in field list


wwesn1 03-03-2005 03:51 AM

and for the settings, like 'Please enter for the forum id of the forum you want the threads to appear in' where do you set them?

WreckRman2 03-03-2005 04:01 AM

Well I found this to be not so great and just FYI the uninstall doesn't work...

Code:

maf: Removed Setting Group - Moderation Application Form
maf: Removed Setting - Forum ID
maf: Removed Setting - Username
maf: Removed Phrase - maf_mustagree
maf: Removed Phrase - maf_alreadyapplied
maf: Removed Phrase - maf_thanks
maf: Removed template - modapp_rules
maf: Removed template - MODAPP

Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /home/rcflying/public_html/forums/includes/db_mysql.php on line 388

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rcflying/public_html/forums/includes/db_mysql.php on line 388

 

There seems to have been a slight problem with the RC Hangout database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.


Database error in vBulletin 3.0.0:

Invalid SQL: DROP `maf_application`
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'maf_application`' at line 1

mysql error number: 1064

Date: Thursday 03rd of March 2005 12:58:40 AM
Script: http://www.rchangout.com/forums/install/hack_install.php?do=uninstall&step=1&hacks=maf
Referer: http://www.rchangout.com/forums/install/hack_install.php?do=uninstall&hacks=maf
Username: WreckRman2
IP Address: 68.251.110.*


computer1 03-03-2005 04:04 AM

I´m new about this but what shuld I put to the cron file????

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)

Slybone 03-03-2005 04:21 AM

Quote:

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)
of which file?

^^ sorry for the noob question...

while trying to install on step "step=dodatabasequeries" i get this error
Code:


Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /var/www/html/includes/db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/includes/db_mysql.php on line 389

Code:

There seems to have been a slight problem with the Outwar Forums database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.


       
Code:

       
Database error in vBulletin 3.0.6:

Invalid 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)
) TYPE=MyISAM;
   
mysql error: You have an error in your SQL syntax near ';
    ' at line 21

mysql error number: 1064

Date: Thursday 03rd of March 2005 12:30:30 AM
Script: http://my domain/install/hack_install.php?do=install&step=dodatabasequeries&hacks=MAF
Referer:
Username: www_Slybone
IP Address: my ip.0.0.0




Oblivion Knight 03-03-2005 06:34 AM

When rating an applicant, there's apparantly a missing phrase..
[high]Could not find phrase 'Applicant Rated Successfully Moderated'.[/high]

Deaths 03-03-2005 06:53 AM

Quote:

Originally Posted by sabret00the
no, the coolness is all mine :p

Aw :(.

sabret00the 03-03-2005 07:04 AM

Quote:

Well I found this to be not so great and just FYI the uninstall doesn't work...
just fixed that, i apologise, to uninstall the tables manually run these queries
[sql]DROP TABLE `maf_application`;
'DROP TABLE `maf_ratings`;[/sql]

Quote:

Originally Posted by wwesn1
and for the settings, like 'Please enter for the forum id of the forum you want the threads to appear in' where do you set them?

within your vBoptions, theirs a group, it should be the bottom one, you set it there.


Quote:

Originally Posted by Oblivion Knight
When rating an applicant, there's apparantly a missing phrase..
Could not find phrase 'Applicant Rated Successfully Moderated'.

thank you i'll get that added.

Quote:

Originally Posted by computer1
I?m new about this but what shuld I put to the cron file????

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)

open the files ROOT/forums/includes/cron/maf_cron.php in a text editor and you should see the line that's in need of configuring.

Oblivion Knight 03-03-2005 08:09 AM

Tried upgrading, but got an error.. :(

Quote:

Warning: main(../upgrade_queries.php): failed to open stream: No such file or directory in /index.php on line 49

Fatal error: main(): Failed opening required '../upgrade_queries.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gamerseu/public_html/forum/install/hacks/MAF/2/index.php on line 49


All times are GMT. The time now is 04:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01573 seconds
  • Memory Usage 1,860KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete