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)

Lizard King 03-04-2005 01:04 PM

Sabre , I have a question ,
I modified the templates and I removed the timezone from modapp template and the input space for that. Now when I go to rate the application the last line I see is timezone and the other inormation is missing (checked the attached screenshot please) . Now I'm not sure if this is my mistake or not :) How can I figure this out ?

sabret00the 03-04-2005 01:07 PM

i don't know what happened there but i would suggest modding the modcp file to remove this line

PHP Code:

    print_label_row('<b> Timezone </b>', (stripslashes($rateapp[timezone]))); 

let me know if that fixes it for ya :)

Lizard King 03-04-2005 01:09 PM

Quote:

Originally Posted by sabret00the
replace the admincp file and this should be fixed now :)

I still got the same error

sabret00the 03-04-2005 01:10 PM

Quote:

Originally Posted by Lizard King
Reply With Quote

that's gotta be a sql version error as it's working for me :(

nevermind, i updated one occurance and forgot the other oops :(

sometimes it's easier just to edit the live files instead of 2 edits per chance (localhost and release)

Lizard King 03-04-2005 01:13 PM

Quote:

Originally Posted by sabret00the
i don't know what happened there but i would suggest modding the modcp file to remove this line

PHP Code:

    print_label_row('<b> Timezone </b>', (stripslashes($rateapp[timezone]))); 

let me know if that fixes it for ya :)

That worked out thank you :)

sabret00the 03-04-2005 01:13 PM

Quote:

Originally Posted by Lizard King
I still got the same error

fixed redownload

:)

The Realist 03-04-2005 01:14 PM

Re downloaded files and uploaded your new file to admin and still the error is there?

Quote:

Originally Posted by sabret00the
replace the admincp file and this should be fixed now :)


sabret00the 03-04-2005 01:15 PM

Quote:

Originally Posted by The Realist
Re downloaded files and uploaded your new file to admin and still the error is there?

when i just changed that file again two minutes ago

sorry about that.

The Realist 03-04-2005 01:19 PM

Downloaded it again still getting the same error?

Quote:

Originally Posted by sabret00the
when i just changed that file again two minutes ago

sorry about that.


Lizard King 03-04-2005 01:23 PM

Quote:

Originally Posted by sabret00the
when i just changed that file again two minutes ago

sorry about that.

Still not working

sabret00the 03-04-2005 01:44 PM

ok can you two do me a favour and find (in admincp/maf_delapp.php)
PHP Code:

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

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

and replace it with
PHP Code:

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

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

and let me know if that works :(

Lizard King 03-04-2005 01:53 PM

yes that worked out :)

thanks for the quick response sabre :)

The Realist 03-04-2005 02:07 PM

Yes worked 100%

Thanks M8 :)

sabret00the 03-04-2005 02:07 PM

glad i got you both sorted

what version's of php and mysql are you both running?

Lizard King 03-04-2005 02:41 PM

Quote:

Originally Posted by sabret00the
glad i got you both sorted

what version's of php and mysql are you both running?

sabre , when the new thread will be open is it possible to have applicants name and a link to rate this application ?
If it is where do i have to edit ? cause i want to see who are the applicants inside the thread.

PHP version 4.3.10
MySQL version 4.0.23-standard

The Realist 03-04-2005 04:32 PM

PHP 4.3.10
MySql 3.23.49


Laters

Quote:

Originally Posted by sabret00the
glad i got you both sorted

what version's of php and mysql are you both running?


The Realist 03-04-2005 04:47 PM

So can you confirm this for me.

This hack allows members to apply as a mod on a forum. Once the application goes in its there for staff to rate and comment on for 14 days, if the applying member gets more that 7 as an average his application is approved.

So what happends to there application after 7 days if they get over the average of 7 and what happends to it if they dont get to the 7?

Laters

sabret00the 03-04-2005 06:36 PM

Quote:

Originally Posted by The Realist
This hack allows members to apply as a mod on a forum. Once the application goes in its there for staff to rate and comment on for 14 days, if the applying member gets more that 7 as an average his application

shortlisted, left where it is, nothing happens, it's upto you to deal with it, talk it over with your super mods and decide if you have time and space for them. this will not change their usergroup or anything near that.

if however they score less than an average of 7 the application is deleted.

The Realist 03-04-2005 07:33 PM

Does the hack automatically inform the member thats applying there application has been deleted. Could there be an option for staff to stop a member that has already applied and failed for a set number of days, weeks etc otherwise once there application is removed they can just apply again.

Laters

Quote:

Originally Posted by sabret00the
shortlisted, left where it is, nothing happens, it's upto you to deal with it, talk it over with your super mods and decide if you have time and space for them. this will not change their usergroup or anything near that.

if however they score less than an average of 7 the application is deleted.


Blootix 03-04-2005 10:51 PM

Quote:

Originally Posted by Lizard King
sabre , when the new thread will be open is it possible to have applicants name and a link to rate this application ?
If it is where do i have to edit ? cause i want to see who are the applicants inside the thread.

PHP version 4.3.10
MySQL version 4.0.23-standard

Okay, the ModCP thing is figured out. However, it doesn't automatically start threads in the specified forum.

wwesn1 03-05-2005 02:04 AM

and why does it keep emailing me....

Quote:

Moderation Application Auto Proccessing Complete;
Declination's: None.

Shortlistings: None.

New Applications: None.
Over and over?

Slybone 03-05-2005 06:08 AM

Once again...

Quote:

you know...i recommend that you allow us to add/delete "Questions" in the modd app via admincp, because im sure everyone has different questions they want to ask and what not

aswell as changing the "terms to be a mod"

sabret00the 03-05-2005 06:15 AM

Quote:

Originally Posted by wwesn1
and why does it keep emailing me....



Over and over?

if it's doing that you've set the cron wrong.

Quote:

Originally Posted by Blootix
Okay, the ModCP thing is figured out. However, it doesn't automatically start threads in the specified forum.

have you configured and set the cron?

Quote:

Originally Posted by Slybone
Once again...

my apologies thought i answered that the first time around, guess i got sidetracked making sure it'd work properly for everyone :(

regarding the word "mod" that's down to my limitation in regards to patience and getting the installer to work, as it is, it's a simple template change which is just as much effort as changing the phrase, so unfortunately i can't see this being changed till atleast the next release of the HIS and then i may fully phrase it.

regarding the ability to change question, this may see the light of day in future versions though it all depends on how busy i am and if i have the time to write the code changes and add the extra scripting. either way i can't see it being done by me for now.

again sorry it took me so long to reply to you, it wasn't intentional.

Neutral Singh 03-05-2005 09:53 AM

Quote:

Database error in vBulletin 3.0.7:

Invalid SQL:
INSERT INTO thread(title, lastpost, forumid, open, replycount, postusername, postuserid, lastposter, dateline, visible, sticky)
VALUES ('New Mod Applications To Be Rated', 1110023060, 0, 1, 0, '', , '', 1110023060, 1, 0)

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 ' '', 1110023060, 1, 0)' at line 2

mysql error number: 1064

Date: Saturday 05th of March 2005 06:44:20 AM
Hi

I am getting the above error, whenever i try to run the crop job manually. Its once posted a thread informing me that there are some applications for moderation but i could find from where to look for that application ?

sabret00the 03-05-2005 10:02 AM

Quote:

Originally Posted by amanpartaps
Hi

I am getting the above error, whenever i try to run the crop job manually. Its once posted a thread informing me that there are some applications for moderation but i could find from where to look for that application ?

did you set your vbulletion options regarding MAF?

Oblivion Knight 03-05-2005 10:03 AM

Yup, I was right.. Applicants are being repeated in the notifications.

3/03/2005 12:32:49 +0000 - New Applications: Rob , Walter Sullivan , Reno , AlienLX , MourningDove , kabniel .
3/04/2005 12:32:28 +0000 - New Applications: Rob , Walter Sullivan , Reno , AlienLX , MourningDove , kabniel .

Surely, this should only list applicants that have signed up since the previous notification? This same issue occurs with the new thread notifications in the staff forum.

sabret00the 03-05-2005 10:27 AM

Quote:

Originally Posted by Oblivion Knight
Yup, I was right.. Applicants are being repeated in the notifications.

3/03/2005 12:32:49 +0000 - New Applications: Rob , Walter Sullivan , Reno , AlienLX , MourningDove , kabniel .
3/04/2005 12:32:28 +0000 - New Applications: Rob , Walter Sullivan , Reno , AlienLX , MourningDove , kabniel .

Surely, this should only list applicants that have signed up since the previous notification? This same issue occurs with the new thread notifications in the staff forum.

in your maf_cron.php change this
PHP Code:

        // Email users who have not activated after 8 days.
        
if ($day 2)
        {

            
$newapps .= ""$user[username]." ";

            if (
$newapps)
            {
                
$newapps .= ", ";
            }
        } 

to

PHP Code:

        // Email users who have not activated after 8 days.
        
if ($day == 1)
        {

            
$newapps .= ""$user[username]." ";

            if (
$newapps)
            {
                
$newapps .= ", ";
            }
        } 

that should fix it.

Oblivion Knight 03-05-2005 10:36 AM

While doing that, I noticed a typo in the cron..

Find:
Quote:

Thank you for your application for the above post of moderator, congratulations you were unsuccessfully shortlisted for the role of moderator.
Replace with:
Quote:

Thank you for your application for the above post of moderator, congratulations you were successfully shortlisted for the role of moderator.
Unsuccessfully shortlisted for the role of moderator.. That's a new one on me! ;)

Marco van Herwaarden 03-05-2005 02:08 PM

Lol and even congratulate with being unsuccessfull :D

StevenIsProek 03-05-2005 09:06 PM

I tested it with myself and I could not delete my application. It did not show it. Maybe it shows the application in the delete applications when it's someone else?

Also the hack maker said to set to 12:00. Where do we set that add?I added my forum path where do I set the cron time?

Oblivion Knight 03-05-2005 09:09 PM

Quote:

Originally Posted by StevenIsProek
Also the hack maker said to set to 12:00. Where do we set that add?I added my forum path where do I set the cron time?

That is set in the "Scheduled Tasks" part of the Admin CP.

StevenIsProek 03-05-2005 09:45 PM

ok thanks^did that
but when I run it I only get the name of the schedule task that I named it 2
I dont get the: Done

This is what I added for the path directory /home/jthawast/public_html/forum/
is that corrent?

Oblivion Knight 03-05-2005 10:56 PM

Quote:

Originally Posted by StevenIsProek
but when I run it I only get the name of the schedule task that I named it 2
I dont get the: Done

That's all I get too.. I just assumed it was the design of this particular cron file.

It runs automatically on my forum ok anyway, so I'm not overly concerned.. :)

StevenIsProek 03-05-2005 11:00 PM

yea true^nice hack btw
Dont really care about the rating system. I just like the application form and being abble to view it and the judge it, thanks!
*installs*

shadiguy1 03-07-2005 09:41 PM

anyway you can add so this can be turned on and off via AdminCP so we can have a message like we are not taking applications at the current time Administration Will Reopen the application when moderators are needed.

sabret00the 03-14-2005 08:14 AM

this got updated last night but i forgot to post

sabret00the 03-14-2005 08:14 AM

Quote:

Originally Posted by shadiguy1
anyway you can add so this can be turned on and off via AdminCP so we can have a message like we are not taking applications at the current time Administration Will Reopen the application when moderators are needed.

it could be, i'll add it next update :)

shadiguy1 03-14-2005 10:39 AM

thanks man

Dragon_Z 03-15-2005 11:56 PM

I am getting this
Quote:

Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in c:\hosting\webhost4life\member\rmr1154\zforum\incl udes\db_mysql.php on line 405

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost4life\member\rmr1154\zforum\incl udes\db_mysql.php on line 405
Code:

Database error in vBulletin 3.0.7:

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: Table 'maf_application' already exists

mysql error number: 1050

Date: Tuesday 15th of March 2005 05:56:46 PM
Script: http://www.micro-logix.com/zforum/install/hack_install.php?do=install&step=dodatabasequeries&hacks=MAF|||Members%20Choice
Referer: http://www.micro-logix.com/zforum/install/hack_install.php?do=install&step=dotemplates&hacks=MAF|||Members%20Choice
Username: Dragon_Z
IP Address: 69.92.177.171


sabret00the 03-16-2005 07:07 AM

try uninstalling and then reinstalling dragon


All times are GMT. The time now is 08:45 AM.

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.02825 seconds
  • Memory Usage 1,862KB
  • 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
  • (1)bbcode_code_printable
  • (6)bbcode_php_printable
  • (27)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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