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)

XrayHead 04-13-2005 06:57 AM

Quote:

Originally Posted by briangumble
I was thinking of using this hack as this seems to be exactly what I've been looking for but I've got a few questions.

1. How stable is it?

2. How customizable is it? Can you add/edit/remove form fields?

3. Are there any boards using this hack so I can take a look at it?

Well at present there is no support for it at all mate.
I am still waiting for some help to eather get it going or remove it!!!!!

Xrayhead

:ermm:

sabret00the 04-13-2005 11:14 AM

Quote:

Originally Posted by Oblivion Knight
^ Bump.

Just making sure that you're aware of this issue Sabe.. ;)

i do remember that one, it required a tad of testing i should be able to do today so hopefully i'll get the fix out this afternoon.

sabret00the 04-13-2005 11:17 AM

Quote:

Originally Posted by XrayHead
Dam I am getting the same thing.............
Have uninstalled and reinstalled but same thing.

When I try to uninstall I aslo get this messege.

There is no record of being installed. It cannot be uninstalled.
Hacks Uninstalled!

Click here to view these hacks' modifications - you must do them backwards to finish the install. -->


------------------------------------------------------------
Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /home/lbarrell/public_html/vboard/includes/db_mysql.php on line 389 Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/share/pear') in /home/lbarrell/public_html/vboard/includes/db_mysql.php on line 389
------------------------------------------------------------
Code:

Database error in vBulletin 3.0.3:

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: Saturday 09th of April 2005 01:10:00 PM
Script: http://www.**Masked**.com/vboard/install/hack_install.php?do=install&step=dodatabasequeries&hacks=MAF
Referer:
Username: **Masked**
IP Address: **Masked**

My ISP
PHP Version: 4.3.10
VB 3.6
SQL ver: 3.23.58


Xrayhead

MySQL three doesn't like the MyISAM stuffy-majig. try these queries instead https://vborg.vbsupport.ru/showpost....&postcount=195

sabret00the 04-13-2005 11:18 AM

Quote:

Originally Posted by lebanon
I downloaded this hack and it is very intresting to me
All running fine , application submited
Problem is : forum/modcp/maf_rateapp.php
& forum/admincp/maf_delapp.php
Both return empty files , not blank pages
Just the page with the header; MAF Moderator Application Rating Form
and the jellsoft footer ofcourse
But nothing within which am looking for to delete apps or rate them !
The thread posting is correct and everything else except that those two files doesnt not return what i supposed i should find .. right ?

can you open up one of the two files in notepad and post the contents in php tags please.

sabret00the 04-13-2005 11:21 AM

Quote:

Originally Posted by XrayHead
Warning if the script crashes halfway through then you cannot use the uninstaller to remover the parts it has already completed!!

When I click the bellow

"Click here to view these hacks' modifications - you must do them backwards to finish the install. -->"

I get this messege.

------------------------------------------------------------------
has no hack information and cannot be installed.

No hacks to install!When finished editing the needed files/templates (if any are needed), click here to return to the main page. -->
No readme files found.
------------------------------------------------------------------

This dose not make sence as during the install I get these messeges:

------------------------------------------------------------------
MAF: Added Setting Group - Moderation Application Form
MAF: Added Setting - Forum ID
MAF: Added Setting - Username


MAF: Added/Updated Phrase - maf_mustagree
MAF: Added/Updated Phrase - maf_alreadyapplied
MAF: Added/Updated Phrase - maf_thanks
MAF: Added/Updated Phrase - maf_rated
MAF: Added/Updated Phrase - maf_deleted


MAF: Created/Updated Template - modapp_rules
MAF: Created/Updated Template - MODAPP

Rebuild Style Information
Updating style information for each style

vBulletin 3 ... (Templates) (StyleVars) (CSS) (Replacement Variables) (Controls) Done.

NewSat ... (Templates) (StyleVars) (CSS) (Replacement Variables) (Controls) Done.
------------------------------------------------------------------

Xrayhead....... :ermm: :ermm: :disappointed:


Please
Any chance we can have a list of the changes to uninstall and the tables to drop in SQL so I can remove this hack completly??? Thank you
:rolleyes:

really and truly all i'd be doing is copying and pasting the contents of uninstall.php so you can grab em from there, if you're incapable then let me know and i'll copy and paste into the thread.

sabret00the 04-13-2005 11:23 AM

Quote:

Originally Posted by briangumble
I was thinking of using this hack as this seems to be exactly what I've been looking for but I've got a few questions.

1. How stable is it?

2. How customizable is it? Can you add/edit/remove form fields?

3. Are there any boards using this hack so I can take a look at it?

1/ very stable, the biggest problem seems to be mysql compatibility and a bug in the email.

2/ not very customisable at all i'm afraid.

3/ many including mine, but please do not sign upto my site just to take a look at the hack.

sabret00the 04-13-2005 11:25 AM

Quote:

Originally Posted by XrayHead
Well at present there is no support for it at all mate.
I am still waiting for some help to eather get it going or remove it!!!!!

Xrayhead

:ermm:

forgive me for getting a life for a week, sometimes it happens that i can't put no time into vBulletin as i have to dedicate time to keeping the women in my life happy including my mother and then theirs a small matter of paying bills, however having found a spare moment i do beleive i've caught upto all the problems and lived up to the pledge i made to provide support.

XrayHead 04-13-2005 11:33 AM

Ok sabret00the

Sorry for that was getting a bit stressed. Thank you for the replys on page 15 I will give them a go.

Regards

Xrayhead

Oblivion Knight 04-13-2005 11:36 AM

I've not tested this, but I think you can prevent "pointless" e-mails being sent if you do the following..

Open the includes/cron/maf_cron.php file, find:
Code:

        $logmessage = "Moderation Application Auto Proccessing Complete; \n Declination's: " . $declinationemail . ".\n\n Shortlistings: " . $shorlistemail . ". \n\n New Applications: " . $newapps . ".";

        vbmail($vboptions[webmasteremail],"Moderation Application Auto Proccessing (Proccessing Notification)",$logmessage,"From: \"$vboptions[bbtitle] Mailer\" <$vboptions[webmasteremail]>");

        log_cron_action($logmessage, $nextitem);

Replace it with:
Code:

        if ($declinationemail != 'None' AND $shorlistemail != 'None' AND $newapps != 'None')
        {
                $logmessage = "Moderation Application Auto Proccessing Complete; \n Declination's: " . $declinationemail . ".\n\n Shortlistings: " . $shorlistemail . ". \n\n New Applications: " . $newapps . ".";

                vbmail($vboptions[webmasteremail],"Moderation Application Auto Proccessing (Proccessing Notification)",$logmessage,"From: \"$vboptions[bbtitle] Mailer\" <$vboptions[webmasteremail]>");

                log_cron_action($logmessage, $nextitem);
        }


sabret00the 04-13-2005 12:06 PM

Quote:

Originally Posted by Oblivion Knight
I've not tested this, but I think you can prevent "pointless" e-mails being sent if you do the following..

Open the includes/cron/maf_cron.php file, find:
Code:

        $logmessage = "Moderation Application Auto Proccessing Complete; \n Declination's: " . $declinationemail . ".\n\n Shortlistings: " . $shorlistemail . ". \n\n New Applications: " . $newapps . ".";

        vbmail($vboptions[webmasteremail],"Moderation Application Auto Proccessing (Proccessing Notification)",$logmessage,"From: \"$vboptions[bbtitle] Mailer\" <$vboptions[webmasteremail]>");

        log_cron_action($logmessage, $nextitem);

Replace it with:
Code:

        if ($declinationemail != 'None' AND $shorlistemail != 'None' AND $newapps != 'None')
        {
                $logmessage = "Moderation Application Auto Proccessing Complete; \n Declination's: " . $declinationemail . ".\n\n Shortlistings: " . $shorlistemail . ". \n\n New Applications: " . $newapps . ".";

                vbmail($vboptions[webmasteremail],"Moderation Application Auto Proccessing (Proccessing Notification)",$logmessage,"From: \"$vboptions[bbtitle] Mailer\" <$vboptions[webmasteremail]>");

                log_cron_action($logmessage, $nextitem);
        }


nice one, i'll add it, though it should only go around the vBmail thing and not the whole thing :)


All times are GMT. The time now is 03:21 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.01802 seconds
  • Memory Usage 1,786KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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