![]() |
I've got two scripts:
hack_install.php error_reporting(E_ALL & ~E_NOTICE); $path_to_install = str_replace("hack_install.php", "", $_SERVER['PATH_TRANSLATED']); $install_dir = opendir($path_to_install); while (($file = readdir($install_dir)) !== false) { if (strpos($file, "hack_install_b") !== false) { $versions[] = $file; } } unset($install_dir); unset ($file); asort($versions); foreach ($versions as $version) { $theversion = $version; } unset($version); unset($versions); require_once($theversion); and hack_install_b1.php define('THIS_SCRIPT', 'hack_install'); define('INSTALLER_BUILD_NUMBER', '1'); define('INSTALLER_VERSION', '1.0'); require_once('../includes/config.php'); chdir("../$admincpdir"); require_once('./global.php'); require_once('./includes/adminfunctions_template.php'); require_once('./includes/adminfunctions_language.php'); require_once('./includes/hackfunctions_b1.php'); chdir('./install'); I get the above error with both... |
Quote:
|
Quote:
Code:
require_once('../includes/config.php'); |
it tells me
Fatal error: Call to undefined function: print_cp_header() in /var/www/site/forums/install/hack_install_b1.php on line 33 which is print_cp_header('Hack Installer', '', "<style type=\"text/css\"> |
I also do not have such required file in my includes:
require_once('./includes/hackfunctions_b1.php'); |
just installed and the shoutbox doesnt show on forumhome :( anyone got the code so i can add it to forumhome template :)
|
I got it by doing like you said about config.php and by hardcoding the ../$admindir into ../admincp
|
Everything installed fine, except for templates of shoutbox.php all messed up and a javascript error at line 115, and another one when I click on the quicklinks in navar. Problem is line 115 is just the css. I got a feeling it is coming from the WYSIWYG editor.
Also, can the "shoutbox closed" error message template be changed? It is bringing up the whole header and footer in the forumhome iframe box. |
Quote:
|
Quote:
I'm going to have to check it on forumhome as well, though I thought it was checked there. |
Quote:
anyway, I forgot to thank you... |
Quote:
|
After installation. The shoutbox works perfect.
But Now when I go to the usergroup manager in my admin CP I get this error Parse error: parse error, unexpected $ in /home/xtreme11/public_html/forums/admincp/usergroup.php on line 1361 I've never had this problem untill I installed this hack . Any help would be appriciated. I looked into line 1361 and did not notice anything funny. |
Quote:
|
}
} } print_cp_footer(); /*================================================= =====================*\ || ################################################## ################## || # Downloaded: 21:17, Sat Oct 9th 2004 || # CVS: $RCSfile: usergroup.php,v $ - $Revision: 1.143 $ || ################################################## ################## \*================================================ ======================*/ ?> Line 1361 is the last line according to dreamweaver code editor BTW. If I look at any of the other php files within the admincp folder they all end the same way. Highly confused |
Update. I repaired the error.
Everyone. When your editing your php files PLEASE use a good php editor. Wordpad or notepad . even dreamweaver does not do a good job. Look for a program called Winsyntax2.0 It should be free and you will have a much easier time |
Ok, heres some problems, I would like to disable the font size bb code, but no others
how would i go about doing this? |
Quote:
|
I need someone to test HIS build 2. Preferably if you run into the 4 line error like what is posted on the main page with the current build.
|
Quote:
and my problem is same as some others I dont get any names in the admincp as well my shoutbox wont go back ( it works perfect true shoutbox.php) but when i use the iframe version it looks damaged. example see attachment. |
Link14716, i'll test it.
|
Quote:
I have updated the installer. If you had problems with it before, it should work now. |
Here is winsyntax. It's a small proggy so I don't think there will be a problem uploading.
Peace Edit: I removed your attachment of a program for the reason that we cannot verify that it does not contain a virus. Thanks for understanding |
Quote:
|
I got it free from I belive geekydesigns. There is no licence needed that I see.
P.S I just did a search from google . It say's on a couple of sites that it's a free program . Enjoy |
Quote:
|
Dude. delete it if you want.
What am I am miracle worker. Where in ANY licenses does it say you can. Here read this. Description from the author "Arisesoft Winsyntax - is a free PHP-code editor with a fast syntax highlighting engine and the context PHP-help for professional scripting. Supporting of the line kinds for PC/UNIX and encoding between ANSI-UTF8-KOI8. Integrated File Manager. Multi-document interface. Multiple history of 'Undo-Redo' for the edited documents. Highlighting of syntax for several script languages in one document. Opportunities for customizing of highlighting and the addition of new languages. Now it supports syntax: PHP, HTML, CSS, JavaScript, SQL'92 and extensions for MySQL and PostgreSQL, and Windows INI files. Moving the cursor with ignoring of the line carry - for all width of line. Selection of the text by columns-lines-symbols. Autoindent of the input line by start position of the previous line. History of last ten open documents. Alerts for external change of open documents. Context help for any PHP keyword, when clicked [F1] on cursor position. The code explorer for PHP-scripts - tree of the classes with variables and functions. The search and replacing of the text in external files with different encoding. Other features." It's free . and posted on MANY website. If you don't like the fact that I posted a good program for all people to use then remove it. They can find it on over 100 freeware websites. |
no one can help me with my problem should i do a reinstall as well and i regged at geekydesigns seems kind of dead or is there a hidden section ?
|
Link14716, bad luck.
Code:
Warning: chdir(): No such file or directory (errno 2) in /home/web/public_html/forums/install/hack_install_b2.php on line 30 |
Quote:
|
Quote:
|
Quote:
|
Is there a manual installation procedure as all I keep on getting are sql errors, I have manually removed the queries as the installer says there is no installation but then refuses to install because the keys already exist.
This is the only thing preventing me installing this hack and is the only one I have tried to install that uses HIS, I want the option to install this by hand so that I know exactly what is going on and can see if it is me making an error (if I want to make changes it is easier for me to do it manually), also don't like the fact that we do not have the option between HIS and manual install. Thanks in advance, jdsinclair |
Parse error: parse error, unexpected '\"', expecting ']' in /home/w360/public_html/discuss/includes/adminfunctions_template.php(3055) : eval()'d code on line 257
Recieving this error when trying to do the edits on FORUMHOME. |
Quote:
|
What changes am I supposed to make to this file (I assume you mean adminfunctions_template.php)? I can't find it in the readme nor in the install file. And I edited forumhome correctly.
|
Quote:
|
Quote:
EDIT: I can't reproduce. |
Quote:
|
ok, the problem was that i have changed the default admincp location. now it's installed and working fine.
2 questions. 1. i have my shoutbox at the bottom of the forums, and it kind of blends with the statistics box. id like it to have it's own heading and the ability to minimise it 2. how can i remove shouts? i have all permissins set for the usergroups, but it i don't see any edit or delete buttons. thanks for the great hack. also, how can i change the hight of the shoutbox box on forumhome? i need to decrease it because i have quite compact design and right now it takes way too much space. |
All times are GMT. The time now is 01:57 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|