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)

Gio Takahashi 04-25-2005 03:13 PM

Okay now, here's the next problem.

it seems that the thread is created everytime the cron runs...

Gio Takahashi 04-25-2005 03:22 PM

Here's a suggestion, See if its possible this way:

When the cron runs the first time, have it to post the thread, and then update the thread whenever someone new made a new application.

Also...see if you can get the script to post WHO has posted the application?

sabret00the 04-25-2005 03:24 PM

Quote:

Originally Posted by Gio Takahashi
it seems that the thread is created everytime the cron runs...

shouldn't do.

Quote:

Originally Posted by Gio Takahashi
Here's a suggestion, See if its possible this way:

When the cron runs the first time, have it to post the thread, and then update the thread whenever someone new made a new application.

you are aware the cron's suppose to run once a day right? anyway good suggestion though i doubt i'll be the coder of it. this was just something i wanted for myself then decided to share.

Gio Takahashi 04-25-2005 03:32 PM

It is indeed a great thing, and I know that it will be incredibly useful for my forums. That's for sure.

dtzy 04-25-2005 04:28 PM

Quote:

Originally Posted by sabret00the
nope, ignore that, that's not what you need, what you need is when you follow the installer normally the last step before you go back to the admincp shows a huge blue square, just above that click "show file/template mods".


I can't reach there, I got this error:

Code:

Invalid SQL: SELECT varname, text FROM phrase WHERE varname IN () ORDER BY languageid DESC
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 ') ORDER BY languageid DESC' at line 1

while generating the template

sabret00the 04-25-2005 04:33 PM

Quote:

Originally Posted by dtzy
I can't reach there, I got this error:

Code:

Invalid SQL: SELECT varname, text FROM phrase WHERE varname IN () ORDER BY languageid DESC
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 ') ORDER BY languageid DESC' at line 1

while generating the template

you do not need to generate any files, you clicked the wrong thing

goto http://www.yourforums.com/forums/ins...ck_install.php and then click MAF then make sure nothing ticked and then click next.

xellos16 04-25-2005 11:12 PM

I have another question. I know someone posted this already but I don't think that you answered it. Maybe you did and I just don't understand what to do. But here are the errors that I am getting.
PHP Code:

Warninghalt(./includes/functions_log_error.php): failed to open streamNo such file or directory in /home/rpg-game/public_html/vpratice/includes/db_mysql.php on line 389

Warning
halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/local/lib/php'in /home/rpg-game/public_html/vpratice/includes/db_mysql.php on line 389 

Quote:

Database error in vBulletin 3.0.7:

Invalid SQL: SELECT varname, text FROM phrase WHERE varname IN () ORDER BY languageid DESC
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 ') ORDER BY languageid DESC' at line 1

mysql error number: 1064

Date: Monday 25th of April 2005 05:02:21 PM
Script: http://rpg-gamers.net/vpratice/install/hack_install.php
Referer: http://rpg-gamers.net/vpratice/install/hack_install.php
Username: xellos16
IP Address: 207.246.163.43
also, did I do this edit correctly?

PHP Code:

// ## Grabs global.php this grabs vbulletins global.php so we can use the most basic of vBulletins functions ##
chdir('www.rpg-gamers.net/vpratice'); //change to your vbulletin path
chdir("www.rpg-gamers.net/vpratice/"); //change to your vbulletin path 


Gio Takahashi 04-27-2005 12:46 PM

You did not, and I believe I told you how to edit it the right way in AIM.

sabret00the 04-27-2005 01:00 PM

nope you never xellos, it should look something like this.
Quote:

Originally Posted by xellos16
chdir('/home/rpg-gamers/public_html/vpratice'); //change to your vbulletin path


Oblivion Knight 04-27-2005 02:25 PM

Has the new version fixed the non-functional Shortlisted Applicants in the e-mails? :)


All times are GMT. The time now is 07:59 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.01940 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (6)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