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)
-   -   [HIS] Hack Installer System (Build 3) (https://vborg.vbsupport.ru/showthread.php?t=71542)

trafix 01-13-2005 11:07 PM

OK ... bug report here!

when i auto generate phrase.php the HIS is NOT including email body phrases :(

I did the install for the members choice and it sends out an email to let the member know that he has been nominated and invites to add an acceptance speech ...

however these phrases are not captured by the his....i can only presume that its because the body phrase are broken into many lines .... i added the phrases manually into the hack phrase.php .... and they dont get installed by the his with the others :(

its not so bad for the members choice as there is only 2 email body phrases ... however the vb trader is different ... there are lots of them ;).

Suggestion....

The vb trader also has a substancial faq section that is added to the forum FAQ's ... is it possible to add another step to the installer/auto generator for FAQ information?

Zachery 01-13-2005 11:53 PM

Quote:

Originally Posted by trafix
OK ... bug report here!

when i auto generate phrase.php the HIS is NOT including email body phrases :(

I did the install for the members choice and it sends out an email to let the member know that he has been nominated and invites to add an acceptance speech ...

however these phrases are not captured by the his....i can only presume that its because the body phrase are broken into many lines .... i added the phrases manually into the hack phrase.php .... and they dont get installed by the his with the others :(

its not so bad for the members choice as there is only 2 email body phrases ... however the vb trader is different ... there are lots of them ;).

Suggestion....

The vb trader also has a substancial faq section that is added to the forum FAQ's ... is it possible to add another step to the installer/auto generator for FAQ information?

FAQ entries are just phrases.

trafix 01-14-2005 12:05 AM

Quote:

Originally Posted by Zachery
FAQ entries are just phrases.

yes they are ... but the faq dbtable holds the info for this

Kagen 01-14-2005 03:54 PM

this hack kinda sucks without a readme dont you think? i mean i want to devolop hacks also

Marco van Herwaarden 01-14-2005 10:43 PM

Well you're free not to use it.

This is not something that will learn you how to write a hack. It only helps with providing an easy way for a developer to offer an installer for his hack.

So i don't see how a readme could make any differnce for you being able to write a hack or not?

coldpride 01-22-2005 05:53 PM

I need the readme for this !

Marco van Herwaarden 01-22-2005 10:03 PM

There is no readme, it is ment to be an aid to coders. A coder can quickly figure it out himself.

This is not a standalone tool for an end-user.

noppid 02-06-2005 04:10 AM

Quote:

Originally Posted by MarcoH64
Looking into using HIS for a new hack i am writing, thx for making life a bit easier Link.

Running into 1 problem (well not really problem atm):
If there is a database error during install, the db_mysql.php can't include the './includes/functions_log_error.php' because current directory is different then expected. This will be more a nuisance during testing then when a hack is finished.

That is not the problem I don't think. I get a similar error, but the problem is a query failing and then the template not found error is caused by vB trying to log it I think.

This query in creator..
PHP Code:

                // Grab all the phrases for the settinggroups, then unset the unneeded variable.
                
$teh_settinggroups2 $DB_site->query("SELECT varname, text FROM ".TABLE_PREFIX."phrase WHERE varname IN ($sg_in) ORDER BY languageid DESC"); 

this is the error sent back.

PHP Code:

Invalid SQLSELECT varnametext 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 

$sg_in seems to be empty...

As best I could tell. I was gonna use it for vBGarage, but for the life of me can't gen the files.

If anyone has a heads up on this, please holler.

Thanks.

Zachery 02-06-2005 12:25 PM

If you drop into #geekydesigns in devcore matt might be avaible to help

noppid 02-06-2005 03:31 PM

Quote:

Originally Posted by Zachery
If you drop into #geekydesigns in devcore matt might be avaible to help


I noticed that and will do. However when I posted it was about 7:00 AM Sunday in the UK. I figured I'd wait for a more active time to drop in. I don't need this fixed today. But it sure seems like something I'd like to implement.

Thanks a bunch for the reply.


All times are GMT. The time now is 11:15 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.01084 seconds
  • Memory Usage 1,749KB
  • 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_php_printable
  • (4)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
  • (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