vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Moderator Application System 2.0 (https://vborg.vbsupport.ru/showthread.php?t=102506)

sabret00the 12-07-2005 10:00 PM

Moderator Application System 2.0
 
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 "mas-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, a quick dirty one. no not like that ;)

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:

Wait! ain't this the same as the last one? yes but this one runs on 3.5.x :ninja:

[hr]xxx[/hr]

To Upgrade just run the upgrade script www.yoursite.com/forums/mas_upgrade.php?step=1

To Uninstall just run the upgrade script :? http://www.yoursite.com/forums/mas_u...step=uninstall

What's new? you can now add your own questions and stuff

For real? for real.





Screens: https://vborg.vbsupport.ru/showthread.php?t=77340

sabret00the 12-08-2005 04:36 PM

If you're getting:
Code:

Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_thread_firstpost in /includes/class_dm.php on line 763
You have not set your vBoptions.

EXAMPLE LINK: http://www.yoursite.com/forums/admin..._settingsgroup

Advice-Central 12-08-2005 04:48 PM

Hi,

I'm getting this error message when trying to run mas_installer.php!

Parse error: parse error, unexpected T_STRING in /home/advice/domains/advice-central.com/public_html/mas_installer.php on line 50

sabret00the 12-08-2005 05:01 PM

Quote:

Originally Posted by Advice-Central
Hi,

I'm getting this error message when trying to run mas_installer.php!

Parse error: parse error, unexpected T_STRING in /home/advice/domains/advice-central.com/public_html/mas_installer.php on line 50

redownload, it should all be working now :)

Advice-Central 12-08-2005 05:03 PM

Thanks. It's working fine now.

LEAD_WEIGHT 12-08-2005 05:39 PM

Ah, something that is needed. ;)

Advice-Central 12-08-2005 05:59 PM

I've followed all of the instructions however when I visit /modapp.php the page that appears is blank.

Daniel 12-08-2005 06:17 PM

Very very nice. I'll be installing when I'm at home. :)

mcyates 12-08-2005 06:27 PM

in the instructions.txt it says:
in "includes/cpnav_vbulletin.xml" find:

It should say:

in "includes/xml/cpnav_vbulletin.xml" find:

rb290 12-08-2005 06:43 PM

"includes/cpnav_vbulletin.xml"

im guessing you mean includes/xml/cpnav_vbulletin.xml ?

bashy 12-08-2005 06:44 PM

Hi

I have just installed this to the T and yet when i click on Apply to be a Mod
I get a blank screen looks like modapp.php is blank....

i also get this error at the top of the screen when i go into edit options in profile and theres no options showing......

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/sites/bashys-place.com/public_html/forums/profile.php(2704) : eval()'d code on line 51

Please advise as this is a really neet modification!!

Bashy

Advice-Central 12-08-2005 06:50 PM

When you try to delete the application of a particular member it says that phrase maf_deleted could not be found.

mcyates 12-08-2005 06:56 PM

I get this error:

Code:

Warning: Division by zero in /includes/functions.php(4314) : eval()'d code on line 64

rb290 12-08-2005 06:56 PM

hmm i got a blank screen also when going to /modapp.php

mcyates 12-08-2005 06:57 PM

the amount of errors in this, it really should be in a BETA stage.

question? 12-08-2005 07:04 PM

Quote:

Originally Posted by mcyates
the amount of errors in this, it really should be in a BETA stage.

I agree.

I've been getting a blank page.

sabret00the 12-08-2005 07:09 PM

Quote:

Originally Posted by question?
I agree.

I've been getting a blank page.

how can you agree when different people have different errors and it's working fine on my board?

anyway i'm checking the xml to make sure the templates are there, i'll get back to you soon.

sabret00the 12-08-2005 07:09 PM

Quote:

Originally Posted by mcyates
the amount of errors in this, it really should be in a BETA stage.

are you getting an error?

sabret00the 12-08-2005 07:10 PM

Quote:

Originally Posted by bashy
Hi

I have just installed this to the T and yet when i click on Apply to be a Mod
I get a blank screen looks like modapp.php is blank....

i also get this error at the top of the screen when i go into edit options in profile and theres no options showing......

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/sites/bashys-place.com/public_html/forums/profile.php(2704) : eval()'d code on line 51

Please advise as this is a really neet modification!!

Bashy

this hack doesn't alter the profile or any of the plugins regarding the profile at all.

bashy 12-08-2005 07:11 PM

Ok sabre...

Look forward to the fix :)

Quote:

Originally Posted by sabret00the
anyway i'm checking the xml to make sure the templates are there, i'll get back to you soon.

Bashy

sabret00the 12-08-2005 07:12 PM

Quote:

Originally Posted by Advice-Central
When you try to delete the application of a particular member it says that phrase maf_deleted could not be found.

do you really care about? the reason i ask is because i can add the phrase but i was guessing no one would care.

sabret00the 12-08-2005 07:16 PM

Quote:

Originally Posted by bashy
Ok sabre...

Look forward to the fix :)



Bashy

ok new zip up, turns out i did forget one of the templates.

sabret00the 12-08-2005 07:17 PM

Quote:

Originally Posted by mcyates
I get this error:

Code:

Warning: Division by zero in /includes/functions.php(4314) : eval()'d code on line 64

can anyone confirm this as a bug?

sabret00the 12-08-2005 07:19 PM

Quote:

Originally Posted by bashy
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/sites/bashys-place.com/public_html/forums/profile.php(2704) : eval()'d code on line 51

uninstall, make sure the error is gone, then reinstall. if it returns, post here.

JWalker05 12-08-2005 07:20 PM

getting same error.

Code:

Warning: Division by zero in /includes/functions.php(4314) : eval()'d code on line 64

sabret00the 12-08-2005 07:22 PM

Quote:

Originally Posted by JWalker05
getting same error.

Code:

Warning: Division by zero in /includes/functions.php(4314) : eval()'d code on line 64

what page is giving you that error?

JWalker05 12-08-2005 07:24 PM

When trying to view modapp.php

bashy 12-08-2005 07:26 PM

ok...whats the best way to uninstall this?

Bashy

PS just had one hell of a database error

MySQL Error : Got a packet bigger than 'max_allowed_packet' bytes
Error Number : 1153
Date : Thursday, December 8th 2005 @ 08:46:31 PM
Script : http://www.bashys-place.com/forums/newattachment.php

rb290 12-08-2005 07:32 PM

thanks, it worked now.
i just re-installed the xml product, thats all we had to do right ?

mcyates 12-08-2005 07:35 PM

Quote:

Originally Posted by sabret00the
what page is giving you that error?


It was the modapp.php but its ok now as i've updated the produck xml file.

Great hack!!! :)

sabret00the 12-08-2005 07:36 PM

Quote:

Originally Posted by rb290
thanks, it worked now.
i just re-installed the xml product, thats all we had to do right ?

yup if you already run the installer, you're all set.

sabret00the 12-08-2005 07:37 PM

Quote:

Originally Posted by JWalker05
getting same error.

Code:

Warning: Division by zero in /includes/functions.php(4314) : eval()'d code on line 64

try again with the xml, that fixed michaels problem.

sabret00the 12-08-2005 07:38 PM

Quote:

Originally Posted by bashy
ok...whats the best way to uninstall this?

Bashy

PS just had one hell of a database error

MySQL Error : Got a packet bigger than 'max_allowed_packet' bytes
Error Number : 1153
Date : Thursday, December 8th 2005 @ 08:46:31 PM
Script : http://www.bashys-place.com/forums/newattachment.php

go into the product screen, do uinstall, and that's it :)

mcyates 12-08-2005 07:41 PM

New Error:

Code:

Could not find phrase 'maf_rated'.
After you rate the application

sabret00the 12-08-2005 07:43 PM

Quote:

Originally Posted by mcyates
New Error:

Code:

Could not find phrase 'maf_rated'.
After you rate the application

do you really care for phrase?
if yes i'll add it, if not, i won't bother

bashy 12-08-2005 07:44 PM

1st thing the error is limited to 1 style only.....

OK...Uninstalled Error still there...

Reinstalled and error still there but the application now works..

Perhaps its something else that is causing this error, how can i find out please?

Bashy

rb290 12-08-2005 07:44 PM

Quote:

Originally Posted by mcyates
New Error:

Code:

Could not find phrase 'maf_rated'.
After you rate the application

when it tells you it cant find phrases for hacks, just like the one your seeing it usually still works, so just ignore it.

mcyates 12-08-2005 07:45 PM

I also get this when running the sheduled task

Code:

Database error in vBulletin 3.5.2:

Invalid SQL:

                        INSERT INTO thread(title, lastpost, forumid, open, replycount, postusername, postuserid, lastposter, dateline, visible, sticky)
                        VALUES ('New Mod Applications To Be Rated',        1134078190,        0, 1,        0,        '',        ,        '',        1134078190,        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 '        '',        1134078190,        1,        0)' at line 2
Error Number : 1064
Date        : Thursday, December 8th 2005 @ 04:43:10 PM
Script      : http://www.myfootballforum.com/admincp/cronadmin.php?do=runcron&cronid=30
Referrer    : http://www.myfootballforum.com/admincp/
IP Address  : 86.136.232.70
Username    : boro_boy
Classname    : vb_database


sabret00the 12-08-2005 07:52 PM

Quote:

Originally Posted by mcyates
I also get this when running the sheduled task

Code:

Database error in vBulletin 3.5.2:

Invalid SQL:

                        INSERT INTO thread(title, lastpost, forumid, open, replycount, postusername, postuserid, lastposter, dateline, visible, sticky)
                        VALUES ('New Mod Applications To Be Rated',        1134078190,        0, 1,        0,        '',        ,        '',        1134078190,        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 '        '',        1134078190,        1,        0)' at line 2
Error Number : 1064
Date        : Thursday, December 8th 2005 @ 04:43:10 PM
Script      : http://www.myfootballforum.com/admincp/cronadmin.php?do=runcron&cronid=30
Referrer    : http://www.myfootballforum.com/admincp/
IP Address  : 86.136.232.70
Username    : boro_boy
Classname    : vb_database


did you configure the vBulletin options?

sabret00the 12-08-2005 07:53 PM

Quote:

Originally Posted by bashy
1st thing the error is limited to 1 style only.....

OK...Uninstalled Error still there...

Reinstalled and error still there but the application now works..

Perhaps its something else that is causing this error, how can i find out please?

Bashy

if it's one style only and that's a child style then it's a template mod gone horribly wrong.


All times are GMT. The time now is 05:23 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.01580 seconds
  • Memory Usage 1,837KB
  • 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
  • (11)bbcode_code_printable
  • (19)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