PDA

View Full Version : [HTL] Hack Tracking Log


Pages : [1] 2

KuraFire
01-24-2004, 10:00 PM
https://vborg.vbsupport.ru/external/2004/05/2.gif (http://everythingvb.com/licenses/fa-ld-lt/1.0/)
This Hack is released under an EverythingvB.com
FullAttribution-LimitedDerivs-LimitedTranslation License (http://everythingvb.com/licenses/fa-ld-lt/1.0/)


Hack Tracking Log
Version: 1.00 Gold
vB-version: 3.0.0 RC 3
Developer: KuraFire
Install-difficulty: Easy
File-edits: 3
Template-edits: 0


Official Hack Tracking Log Product page:
www.everythingvb.com/products/htl/ (http://www.everythingvb.com/products/htl/)



Brief Description of the Hack:
The Hack Tracking Log is an advanced system for maintaining all your vBulletin hacks. You use it to install and / or create hacks, and it will automate many processes for the Admin.

Last update: Tuesday, January 27 (03:33 am CET)
The earlier bug fix caused a new bug to arise. Yes, you may smack me with the cluebat. I f00ked up in my bugfix. *slaps self*
Anyhoo, to patch your install, just overwrite your admincp/hackadmin.php with the new version found in the NEW ZIPFILE, attached below.
I've improved the entire

Former update: Monday, January 26 (2:42 PM CET)
BUG FOUND! A minor, harmless bug was found in the Make vB.org Post section of /admincp/hackadmin.php - to upgrade, re-download the zipfile (clear your cache first!) and overwrite hackadmin.php on your server with the new one. If you haven't yet installed the HTL, make sure to get the latest download and you should be fine. Thanks Rein for the report ^_^


Information on the HTL:
The Hack Tracking Log is an advanced utility for vBulletin administrators (in particular). It allows you to create, manage, install and track vBulletin hacks in detail. For a full features overview, please see the HTL Features Overview (http://www.everythingvb.com/faq.php?faq=doc_htl_details#faq_doc_htl_details_fe atures) on EverythingvB.com That place also holds the full official HTL Documentation, including a F.A.Q. (http://www.everythingvb.com/faq.php?faq=doc_htl_usage#faq_doc_htl_usage_faq) and a Step by Step guide to making a new Hack (http://www.everythingvb.com/faq.php?faq=doc_htl_usage#faq_doc_htl_usage_stepby step).


For GENERAL QUESTIONS:
https://vborg.vbsupport.ru/showthread.php?t=60582


For BUGS and OTHER SUPPORT:
http://www.everythingvb.com/forumdisplay.php?f=4


IMPORTANT and/or USEFUL READS!
Advantages to using the HTL (http://everythingvb.com/faq.php?faq=doc_htl_details#faq_doc_htl_details_ad vantages)
How to Support the HTL (http://everythingvb.com/faq.php?faq=doc_htl_general#faq_doc_htl_support)
Why should I make HTL-only hacks? (http://everythingvb.com/faq.php?faq=doc_htl_usage_faq#faq_doc_htl_usage_fa q_whyhtlonly)


HACK INSTALLATION DETAILS:
New files for this Hack:
/admincp/hackadmin.php
/cpstyles/vBulletin_3_Default/hacklog.gif
/cpstyles/vBulletin_3_Silver/hacklog.gif
/includes/adminfunctions_hacklog.php
/includes/adminfunctions_installroutine.php
/includes/config_htl.php
/hacklog.php

Files modified for this Hack:
/admincp/index.php
/includes/adminfunctions_navpanel.php
/includes/adminfunctions_template.php

New templates for this Hack:
HACKLOG
hacklog_overviewbit
hacklog_hack

New DB tables for this Hack:
hack
hacklog


Tutorial:
How to easily Upgrade your vBulletin using the Hack Tracking Log (https://vborg.vbsupport.ru/showthread.php?t=60760)


PLANNED FOR 1.1:
- Uninstallation of Hacks (section is unfinished atm);
- Text file generators (for vB.org's policy);
- A more flexible List All Modifications page;
- More sensible template insertion (all styles at once)
- Select All link above File/template edit fields for easy selecting (src (http://www.dynamicdrive.com/dynamicindex11/selectform.htm))
- new vBoption: Restrict hack access to the Allowed Userid's field (yes/no).
Things from these two threads:
http://everythingvb.com/showthread.php?t=27
http://everythingvb.com/showthread.php?t=33


Version 1.1 will come fairly soon, so make sure to Install this hack so that you will receive the update when it comes :)

Statistics:
- 4702 lines of code
- 616 lines of XML (phrases, templates, settings)
- 229 Kb worth of Hack data

Have fun :)


COMMON PITFALLS DURING INSTALL:
If you have problems, see the Help section of the Documentation (http://www.everythingvb.com/faq.php?faq=doc_htl_help)


This post was generated by the Hack Tracking Log

Mr. HillBilly
01-25-2004, 09:13 PM
First installed :P

Apoco
01-25-2004, 09:14 PM
W00T! Thanks Kura!

13th_Disciple
01-25-2004, 09:26 PM
thanks Kura.. will DL now and stay updated.. not gonna install til next weekend.. but gonna go ahead and click install because i know it will be the very first thing i do after upgrading the forums..

/me clicks install

M1th
01-25-2004, 09:29 PM
w00t! Thanks bro.

NTLDR
01-25-2004, 09:36 PM
Good too see it finally released Kura :D

StarBuG
01-25-2004, 09:40 PM
Thx for this one!

I hope this will make upgrading to vB Gold much easier!

*install

StarBuG

TheAnt
01-25-2004, 09:45 PM
I've been playin with this since Beta Testing. I LOVE IT. All my mods are gonna be in HTL format.

C.Birch
01-25-2004, 09:47 PM
installed and working

Dan
01-25-2004, 09:48 PM
Upgrading from RC :D

Thanks Kura

* Dan clicks install

KuraFire
01-25-2004, 09:51 PM
Upgrading from RC :D

Thanks Kura

* Dan clicks install
You're all very welcome :)

Do let me know what you think of it ^_^

VampireMan
01-25-2004, 09:54 PM
* VampireMan clicks install

I like this .. i might eventually figure out how to make my own hacks .. one day ;)

NTLDR
01-25-2004, 10:05 PM
I've one suggestion for the hack after installing it on one of my real boards and thats for it to have support for mutiple extenstions. None of my sites use .php and it would be nice if only in the code/templates to add edit if the extension was correct. Other than that installed with no real problems :)

13th_Disciple
01-25-2004, 10:05 PM
sorry to repost.. but i am now wondering how many of the current hacks may be converted over to the HTL format of installation..

have many of the current hacks for vB3 and their creators decided to go with this? mainly i am concerned with hacks like vbadvanced, vbindex, vbwar.. the smaller hax i am not too worried about that.. maybe NTLDR, Tigga and Dark Wizard, as well as other major and not so major hack contributors could let some of us know in their respective threads..

sorry to go way OT with the post, but i wanna be sure i don't, this time around, install something that either i don't need, or no one will use the functionality of.. and although i think this thing is great, i would hate to see it go to waste if several of the hack providers don't consider the idea at all..

sorry for the post in this thread, kura.. just thought i might ask since this is the thread that will gain the major attention of the HTL threads..

KuraFire
01-25-2004, 10:06 PM
* VampireMan clicks install

I like this .. i might eventually figure out how to make my own hacks .. one day ;)
It'll help you with making hacks and understanding vB3, at least some.

If you look through the code of the HTL, you will learn how easy it is to hack vB3, but also how large the scale of it all is (so be prepared to be overwhelmed!)


I've added the EvB Hack License to the first post. ^_^

KuraFire
01-25-2004, 10:11 PM
sorry to repost.. but i am now wondering how many of the current hacks may be converted over to the HTL format of installation..

have many of the current hacks for vB3 and their creators decided to go with this? mainly i am concerned with hacks like vbadvanced, vbindex, vbwar.. the smaller hax i am not too worried about that.. maybe NTLDR, Tigga and Dark Wizard, as well as other major and not so major hack contributors could let some of us know in their respective threads..

sorry to go way OT with the post, but i wanna be sure i don't, this time around, install something that either i don't need, or no one will use the functionality of.. and although i think this thing is great, i would hate to see it go to waste if several of the hack providers don't consider the idea at all..

sorry for the post in this thread, kura.. just thought i might ask since this is the thread that will gain the major attention of the HTL threads..
No worries! It's a very good and valid question!

So far, many Hack authors who were introduced to the HTL have said that they would make their hacks either HTL-exclusive, or also HTL-compatible (but I have a feeling that they will go HTL-exclusive either way, cos it's just so much less work!)

All of the current hacks released for vB3 can be changed to HTL-compatible hacks easily, and I hope that most people will start doing so right away. It's not much work, and it's infinitely easier to release hacks with the Hack Tracking Log.

I haven't kept a list of all hackers that promised me to make their hacks HTL-compatible / -exclusive, but it's over 20 already, I can tell you that.

I suggest, wait a bit and see how much everyone likes it. So far, every person that has tried it has loved it. :)

KuraFire
01-25-2004, 10:13 PM
I've one suggestion for the hack after installing it on one of my real boards and thats for it to have support for mutiple extenstions. None of my sites use .php and it would be nice if only in the code/templates to add edit if the extension was correct. Other than that installed with no real problems :)
hmm, I think you're one of the very few exceptions, and i'm not sure what the added value is to have a flexible extension - I use a lot of vB3's own functions that have .php hardcoded in them, and I don't want to add a lot of file edits to my easy-to-install hack just for you and maybe one-or-two other people. Sorry, but i just don't see how that's worth the trouble... :ermm:

Natch
01-25-2004, 10:16 PM
No worries! It's a very good and valid question!

So far, many Hack authors who were introduced to the HTL have said that they would make their hacks either HTL-exclusive, or also HTL-compatible (but I have a feeling that they will go HTL-exclusive either way, cos it's just so much less work!)

All of the current hacks released for vB3 can be changed to HTL-compatible hacks easily, and I hope that most people will start doing so right away. It's not much work, and it's infinitely easier to release hacks with the Hack Tracking Log.

I haven't kept a list of all hackers that promised me to make their hacks HTL-compatible / -exclusive, but it's over 20 already, I can tell you that.

I suggest, wait a bit and see how much everyone likes it. So far, every person that has tried it has loved it. :)
I'm only a very-junior coder, but I think it would take no time at all to make my addon HTL compatible :)

* Natch clicks install, and goes to make a HTL compatible hack :)

Princeton
01-25-2004, 10:36 PM
just downloaded and installed and everything looks good.:up:
I'm looking forward to creating a hack with this thing. :)

Dan
01-25-2004, 10:44 PM
You're all very welcome :)

Do let me know what you think of it ^_^
I love it Kura :D And as you can see I already update my only hack to be compatible and I'll only update it from now on with HTL

TheComputerGuy
01-25-2004, 10:46 PM
I love it Kura :D And as you can see I already update my only hack to be compatible and I'll only update it from now on with HTL
This is awesome. I just installed it! Great job!

Kentaurus
01-25-2004, 10:55 PM
Hack Tracking Log
Version: 1.00 Gold
vB-version: 3.0.0 RC 3
Developer: KuraFire
Install-difficulty: Easy
File-edits: 3
Template-edits: 0I am having trouble installing it, I uploaded all the files and when I run the php file it redirects me to
[..] admincp/index.php?loc=install_htl.php?inside=1 (http://localhost/vbtest/admincp/index.php?loc=install_htl.php?inside=1)

then I get an Invalid or empty Hack Tracking Log Installer file specified error

KuraFire
01-25-2004, 11:00 PM
I am having trouble installing it, I uploaded all the files and when I run the php file it redirects me to
[..] admincp/index.php?loc=install_htl.php?inside=1 (http://localhost/vbtest/admincp/index.php?loc=install_htl.php?inside=1)

then I get an Invalid or empty Hack Tracking Log Installer file specified error

I am running under windows if that is of any help
Answer is found in the Documentation -> Help section:
http://www.everythingvb.com/faq.php?faq=doc_htl_help

Question: I get "Invalid or empty Hack Tracking Log Installer file specified" when I try to install.
Answer: Make sure that your FTP client uploads the file "htlfiles/Hack_Tracking_Log.htl" as a binary file. If you get this message, your FTP client probably uploaded it as an ASCII file, but that will not work.

MindTrix
01-25-2004, 11:02 PM
I thought i was seeing things when i saw this on the front page :) Well done KuraFire im about to install now. Hope the buzz was worth it :)

Kentaurus
01-25-2004, 11:04 PM
Answer is found in the Documentation -> Help section:
http://www.everythingvb.com/faq.php?faq=doc_htl_help

Question: I get "Invalid or empty Hack Tracking Log Installer file specified" when I try to install.
Answer: Make sure that your FTP client uploads the file "htlfiles/Hack_Tracking_Log.htl" as a binary file. If you get this message, your FTP client probably uploaded it as an ASCII file, but that will not work.How exactly do I upload them as binary? I didn't even upload them anywhere.. I just downloaded them, unzipped, copied then tried to install. I am on the server.

KuraFire
01-25-2004, 11:08 PM
How exactly do I upload them as binary? I don't even uploaded them anywhere.. I just downloaded them, unzipped, copied then tried to install. I am on the server.
Hmm, i've not had the chance to do that...

Well.. *hrm* The thing is, the .htl needs to be treated as a binary file, otherwise the newlines in there will break the unserialize() function. See if you can make it be a binary file on your server...

eXtremeTim
01-25-2004, 11:10 PM
I will be installing in a second and then moving all my vb3 hacks into it then working on moving my custom file changes. So I will proble release a few more hacks tonight out of my private code so far. :)

Kentaurus
01-25-2004, 11:13 PM
Hmm, i've not had the chance to do that...

Well.. *hrm* The thing is, the .htl needs to be treated as a binary file, otherwise the newlines in there will break the unserialize() function. See if you can make it be a binary file on your server...
Just uploaded them to my own server (that made no sense btw) as a binary file. No luck. It stills give me the same error.
If the newlines are the problem can I just get rid of them?

eXtremeTim
01-25-2004, 11:15 PM
If any hackers want any of there vb3 files converted to this format please pm me tonight and ill see about doing it. I really want to help get this hack pushed harder then any hacker ever was before. I hope to see all hacks from here on out released in this format.

KuraFire
01-25-2004, 11:18 PM
Just uploaded them to my own server (that made no sense btw) as a binary file. No luck. It stills give me the same error.
If the newlines are the problem can I just get rid of them? ok, here's what you should do:

try using the dos2unix or the fromdos command on your server.


The problem is indeed the newlines that are different between Windows and *nix, and that's causing a problem. Usually, if the files are unzipped on windows and the .htl file uploaded as a binary file, it won't matter cos that works right away. But in this case, you're not doing any binary file transfers, so you're stuck with windows newlines on a unix system. The fromdos or dos2unix utilities can be the solution for you, though. Please try those :)


and if those are no good, try removing all \r\n to \n on your .htl file :)

Kentaurus
01-25-2004, 11:23 PM
ok, here's what you should do:

try using the dos2unix or the fromdos command on your server.

The problem is indeed the newlines that are different between Windows and *nix, and that's causing a problem. Usually, if the files are unzipped on windows and the .htl file uploaded as a binary file, it won't matter cos that works right away. But in this case, you're not doing any binary file transfers, so you're stuck with windows newlines on a unix system. The fromdos or dos2unix utilities can be the solution for you, though. Please try those :)I have no dos2unix or fromdos command, I am on a windows server, not a unix/linux one. However, I found a way to solve it.

In the adminfunctions_hacklog.php, this line
$handle = fopen($file, "r");
I changed it to:
$handle = fopen($file, "rb");

to force the file to be open as a binary file. Then the install routine started working :) That seems to be an issue for windows servers only.

Zachery
01-25-2004, 11:39 PM
Very nice work Kura :)

KuraFire
01-25-2004, 11:50 PM
I have no dos2unix or fromdos command, I am on a windows server, not a unix/linux one. However, I found a way to solve it.

In the adminfunctions_hacklog.php, this line
$handle = fopen($file, "r");
I changed it to:
$handle = fopen($file, "rb");

to force the file to be open as a binary file. Then the install routine started working :) That seems to be an issue for windows servers only.

Aha, so that's why! A windows server.... ah, yes....

Thanks for helping me resolve this. I've added the binary flag to that function in the zipfile in the first post's attachment, so that this shouldn't happen in the future anymore. :)

MGM
01-25-2004, 11:56 PM
great job Kura! Glad to finally see this man, and I'm glad to be helpful somewhat with my questions :p

* MGM clicks Install

MGM out

eXtremeTim
01-26-2004, 12:14 AM
Okay now how to i get a hack in the database like say the nowplaying hack which i already have installed. I cannot install this hack again either becuase of the db change. :-/

KuraFire
01-26-2004, 12:21 AM
Okay now how to i get a hack in the database like say the nowplaying hack which i already have installed. I cannot install this hack again either becuase of the db change. :-/
Dan is going to release his Nowplaying hack as a .htl installer (I think he already updated his first post, even!). You can put that in your htlfiles/ directory and then go to Install Hack. Instead of choosing Real install, choose the option Import to Database. That way, you'll have it in your HTL system without having to uninstall dan's hack first. :)

KuraFire
01-26-2004, 12:22 AM
And on that note, i'm gonna sleep !

been up for 80% of the entire week, seriously unhealthy :\
I'll be back tomorrow morning with more support, guys ;)

squawell
01-26-2004, 12:25 AM
Kura this a great hack BUT i still got this problem

Invalid or empty Hack Tracking Log Installer file specified

this is my ftp up log(about the Hack_Tracking_Log.htl)

200 PORT Command successful.
STOR Hack_Tracking_Log.htl
150 Opening BINARY mode data connection for Hack_Tracking_Log.htl.
226 Transfer complete.
Transferred: Hack_Tracking_Log.htl 17,703 bytes in 1.16 (14.88 KBps)


and my server is WIN2K,any idea??thankz....

eXtremeTim
01-26-2004, 12:29 AM
My servers windows 2k adv server and it works great even tho i have local access to it i ftped in with cute ftp pro and sent file as binary.

eXtremeTim
01-26-2004, 12:34 AM
Dan is going to release his Nowplaying hack as a .htl installer (I think he already updated his first post, even!). You can put that in your htlfiles/ directory and then go to Install Hack. Instead of choosing Real install, choose the option Import to Database. That way, you'll have it in your HTL system without having to uninstall dan's hack first. :)
Thats the problem. I get a database error becuase of the db change so im asking how i get it in the system.

13th_Disciple
01-26-2004, 12:53 AM
you will import it to the HTL DB tables.. not re-adding the hack to your vB db, per se..

eXtremeTim
01-26-2004, 01:09 AM
Not seing an import option. :-/

SnowBot
01-26-2004, 02:40 AM
well you know i have to try this out :) great work fella and i know you have put alot of time and effort into this :)

Boofo
01-26-2004, 03:00 AM
Just in time for my birthday. ;)

I'll give it a shot, buddy. I'm sure it is every bit as good as advertised. Your hacks usually are. ;)

Nam
01-26-2004, 04:31 AM
great hack Kura, quick question, does vbadvanced HTL compatible?

and OT, when will the journal release? so excited to see it coming out :).

Zachery
01-26-2004, 04:34 AM
great hack Kura, quick question, does vbadvanced HTL compatible?

and OT, when will the journal release? so excited to see it coming out :).
at this time vBadvanced doest use the HTL installer system, however it may in the future depending on Tigga decideds.

The installer for vBadvanced covers everything.

Me personaly. vBXirc will always be ofered in two forms HTL and Installer.

as i personally will never force a user to choose to have to install a hack. while i dont see it happening with HTL it may die over time like vBhacker

eXtremeTim
01-26-2004, 04:53 AM
I dont believe this will die like vbhacker. First off most people hated vb hacker becuase it did the work for you. This hack is alot better then vbhacker ever was. This hack allows admins to easily track what they are using and keep track of any file changes/ template changes they make on there own. It does all this and provides it all in a nice user friendly control center. Plus it make it easier on the end user becuase there is one more standard format now that most people will be using hopefully. This also takes care of the problems for people not having the time or interested in making an installer. Plus this make it faster to install small hacks that might have a few phrases and new templates. I am currently pushing this hard and will continue to push this hack very hard. I love this idea and everything behind it. I hope we can see almost 99% of hacks in the format for htl.

Zachery
01-26-2004, 04:55 AM
I dont believe this will die like vbhacker. First off most people hated vb hacker becuase it did the work for you. This hack is alot better then vbhacker ever was. This hack allows admins to easily track what they are using and keep track of any file changes/ template changes they make on there own. It does all this and provides it all in a nice user friendly control center. Plus it make it easier on the end user becuase there is one more standard format now that most people will be using hopefully. This also takes care of the problems for people not having the time or interested in making an installer. Plus this make it faster to install small hacks that might have a few phrases and new templates. I am currently pushing this hard and will continue to push this hack very hard. I love this idea and everything behind it. I hope we can see almost 99% of hacks in the format for htl.
i didnt say it would, im just planning for the worse you understand?

why will i always use both?

i dont ever wish to push somthing on someone. maybe a user only needs one hack. no sense to make them install the HTL and somting else for one hack.

im all for supporting it but i dont wish to inconvenice any users either

Mephisteus
01-26-2004, 04:58 AM
w00t w00t w00t!
GREAT!

eXtremeTim
01-26-2004, 05:13 AM
Thats the way i feel but with some of the new changes in some of the hacks that im able to do with this easy using the htl like the settings im not sure if i will have two versions for all my hacks. Time was the reason i never made talkerbot 2.0.3 which now that this is here and making it alot less time consuming for me to add and distibute the settings changes and stuff for it I am now making version 2.0.3

Zachery
01-26-2004, 05:19 AM
Thats the way i feel but with some of the new changes in some of the hacks that im able to do with this easy using the htl like the settings im not sure if i will have two versions for all my hacks. Time was the reason i never made talkerbot 2.0.3 which now that this is here and making it alot less time consuming for me to add and distibute the settings changes and stuff for it I am now making version 2.0.3
once you make one installer for vB3 its not hard to make another, i use the same one again and again :)

it inserts phrases / settings / templates

for each hack i come out with its just a matter of filling in the right stuff

gmarik
01-26-2004, 05:31 AM
gotta see what it is

eXtremeTim
01-26-2004, 05:51 AM
I dont have time to make an installer. :-/

KuraFire
01-26-2004, 07:51 AM
Kura this a great hack BUT i still got this problem

Invalid or empty Hack Tracking Log Installer file specified

this is my ftp up log(about the Hack_Tracking_Log.htl)

200 PORT Command successful.
STOR Hack_Tracking_Log.htl
150 Opening BINARY mode data connection for Hack_Tracking_Log.htl.
226 Transfer complete.
Transferred: Hack_Tracking_Log.htl 17,703 bytes in 1.16 (14.88 KBps)


and my server is WIN2K,any idea??thankz.... Follow these simple steps and let me know if that helps:


Clear your cache;
Re-download the zipfile from the first post;
open it up, and verify in upload/includes/adminfunctions_hacklog.php around line 565 that the line reads like this:
$handle = fopen($file, "rb");
and NOT without the "b" in there (the former version had only "r", the new has "rb")
If it doesn't, manually add the b there. If/once it does, upload those files to your server and overwrite the existing ones.
Try again.
The problem with that is that Windows servers using a certain version of PHP (or any version lower than a certain version) will not treat the file properly, so the binary flag (the "b") has to be specified for those people. I've updated that in the zipfile so any downloads from now on SHOULD be fine...

KuraFire
01-26-2004, 07:59 AM
Not seing an import option. :-/

Upload the .htl file to your htlfiles/ directory, then go to Install Hack, choose the Nowplaying hack that should now be there, hit Install, and on the next screen, you will have 4 radio buttons at the bottom:

Import into database only - no changes
Do a complete, Real Install
Do a test run (shows file- and template edits)
Do a verbose test run (shows exact contents of each step)

Choose the first one (Import into database only) and it will add it to your database

FlyingDutchman
01-26-2004, 07:59 AM
whoa, interesting

gonna install this afternoon

squawell
01-26-2004, 08:24 AM
Follow these simple steps and let me know if that helps:


Clear your cache;
Re-download the zipfile from the first post;
open it up, and verify in upload/includes/adminfunctions_hacklog.php around line 565 that the line reads like this:
$handle = fopen($file, "rb");
and NOT without the "b" in there (the former version had only "r", the new has "rb")
If it doesn't, manually add the b there. If/once it does, upload those files to your server and overwrite the existing ones.
Try again.
The problem with that is that Windows servers using a certain version of PHP (or any version lower than a certain version) will not treat the file properly, so the binary flag (the "b") has to be specified for those people. I've updated that in the zipfile so any downloads from now on SHOULD be fine...
hello Kura.i redownload the zip and follow the step like u say,BUT it still cant work

for me,any idea?thankz

KuraFire
01-26-2004, 08:41 AM
hello Kura.i redownload the zip and follow the step like u say,BUT it still cant work

for me,any idea?thankz
Are you sure that the line now says "rb" ?

sabret00the
01-26-2004, 10:08 AM
great work on getting this out :)

KuraFire
01-26-2004, 10:10 AM
great work on getting this out :)
Thanks Sabe! :)

Rein Masamuri
01-26-2004, 10:14 AM
w00t, finally this is out!
I'm going to make my "Who Downloaded" hack for this now!
/me shamelessly makes it HTL compatible for more installs

squawell
01-26-2004, 10:26 AM
Are you sure that the line now says "rb" ?
yes,Kura.im sure the line say rb..so do u have any idea cause this problem?

thankz..

KuraFire
01-26-2004, 10:39 AM
w00t, finally this is out!
I'm going to make my "Who Downloaded" hack for this now! Excellent! :)

The more people who convert their existing hacks to HTL format, the better :)
And here's why:

Advantages to using the HTL (http://everythingvb.com/faq.php?faq=doc_htl_details#faq_doc_htl_details_ad vantages)
How to Support the HTL (http://everythingvb.com/faq.php?faq=doc_htl_general#faq_doc_htl_support)
Why should I make HTL-only hacks? (http://everythingvb.com/faq.php?faq=doc_htl_usage_faq#faq_doc_htl_usage_fa q_whyhtlonly)

KuraFire
01-26-2004, 10:42 AM
yes,Kura.im sure the line say rb..so do u have any idea cause this problem?

thankz..
What version of PHP are you running on that Windows server?

Try actually uploading the .htl file as an ascii file, for a change. It shouldn't work, but with those unpredictable windows servers (*sigh*) it might just work...

Zachery
01-26-2004, 10:58 AM
What version of PHP are you running on that Windows server?

Try actually uploading the .htl file as an ascii file, for a change. It shouldn't work, but with those unpredictable windows servers (*sigh*) it might just work...
i resent that kura :P

KuraFire
01-26-2004, 11:10 AM
i resent that kura :P
Why? Windows servers are crap for PHP/apache/mysql combination products. Just doesn't work as well at all.

Zachery
01-26-2004, 11:16 AM
windows 2k3 runs apache with php/mysql just fine :)

Rein Masamuri
01-26-2004, 11:47 AM
Updated my hack.
Damn kura, this is gonna be bigger than Firefly's vBhacker ^_^

KuraFire
01-26-2004, 11:52 AM
Updated my hack.
Damn kura, this is gonna be bigger than Firefly's vBhacker ^_^
Gonna be? as far as the hack itself goes, it's already much bigger ;)


Faranth: I wouldn't call it "just fine" when we're forced to use workarounds for some issues. Just like how you shouldn't call the way IE renders pages "just fine". :p

squawell
01-26-2004, 11:55 AM
What version of PHP are you running on that Windows server?

Try actually uploading the .htl file as an ascii file, for a change. It shouldn't work, but with those unpredictable windows servers (*sigh*) it might just work...
im running 4.32 on that server.tomorrow ill use another computer to test this

if have any result ill post it here let u know!! thankz..

Rein Masamuri
01-26-2004, 12:04 PM
Gonna be? as far as the hack itself goes, it's already much bigger ;)


Faranth: I wouldn't call it "just fine" when we're forced to use workarounds for some issues. Just like how you shouldn't call the way IE renders pages "just fine". :p
Fine then, if you want to be literal:
1) Its a bigger hack both by both code size, and scope
2) The code is more efficient (partially from vB3's optimizations now)
3) It makes more sense than vBHacker
4) Can you say Joygasm?

KuraFire
01-26-2004, 12:10 PM
...
4) Can you say Joygasm?
ROFL! https://vborg.vbsupport.ru/external/2004/01/3.gif


im running 4.32 on that server.tomorrow ill use another computer to test this

if have any result ill post it here let u know!! thankz..
Thanks... I don't really know what's going wrong, but I'm guessing it's a newlines issue on the .htl file on your server.. Either that, or your PHP 4.3.2 is giving problems on Windows, and you may want to upgrade that...

Mephisteus
01-26-2004, 01:09 PM
almost 1000 posts btw Kura :) Let me be the first to congratulate with you

PS
Hackers, make use of this :)

Princeton
01-26-2004, 01:28 PM
here are some issues relating to the htl:
In the EXPORT YOUR SETTINGS TO XML page...
Upon clicking CREATE XML FILE, the sites' style is switched to the first option on the STYLE dropdown (which in my case is not the default style).

On the file edit section, there should exist an option to order the edits. For example, if a permissions based hack is being created the first step introduced should be init.php. This will produce a visual flow to the edits.

I would also recommend ...
Adding a dropdown with a predefined "Difficulty rating to install this Hack".

An alternative to allow hackers to create a non-htl installer (a standalone) - for users who prefer not to save this type of data in the database; and, for users who prefer not to install/use the htl. Yes, there will be people that will not want to use the htl - for some people the htl will be to complicated. Never assume anything.

Other than the above, the HTML is a nice piece of software.:up:

Princeton
01-26-2004, 01:37 PM
one more thing that I forgot to mention ...
the ability to view XML FILES before installing (within the installer). This will allow users to visually confirm that there is nothing harmful in phrases/templates/etc.

I like to view all files before adding/installing into my site.

KuraFire
01-26-2004, 02:31 PM
here are some issues relating to the htl:
In the EXPORT YOUR SETTINGS TO XML page...
Upon clicking CREATE XML FILE, the sites' style is switched to the first option on the STYLE dropdown (which in my case is not the default style).
I'm not sure what exactly you mean... Do you mean that it somehow changed the style setting for you when you went to create an XML file?

On the file edit section, there should exist an option to order the edits. For example, if a permissions based hack is being created the first step introduced should be init.php. This will produce a visual flow to the edits.
File edits are currently ordered alphabetically from root perspective, and then linenumber. Adding a display order for file edits is possible, but unlikely to appear in the 1.1 version (because all 1.0 HTL hacks might become incompatible with that, then).
I think alphabetical makes the most sense, too. Changeid's are relevant, that way, and they can help you search out file edits for hacks. :)

I would also recommend ...
Adding a dropdown with a predefined "Difficulty rating to install this Hack".

An alternative to allow hackers to create a non-htl installer (a standalone) - for users who prefer not to save this type of data in the database; and, for users who prefer not to install/use the htl. Yes, there will be people that will not want to use the htl - for some people the htl will be to complicated. Never assume anything.
A drop-down was considered, but I decided against it because I'd have to cater to too many variations. Plus, I figured that sometimes people would want to make some mini-comment in there, like "Easiest ever!" or "well, good luck!". This gives them the freedom for that.

A non-HTL installer would defeat half the purpose of the HTL, so there will never be one. Installing non-HTL hacks will make upgrading your vBulletin difficult; using HTL-hacks only will ensure that you won't have any problems upgrading to the next version of vB.
The HTL was made to bring order in the chaos of installer textfiles. Having an option to make those would be extremely counterproductive.

People who don't want to use the HTL, for whatever purposes, will just be at a loss with all of my hacks. But so far, nobody has found the HTL complicated, in fact, I've been surprised at how userfriendly people have found it. During development, I often figured that "oh damn I'll be answering a lot of questions about this part..." but so far, none of that! On top of that, there is not a single good reason not to use the HTL, and there are dozens of reasons why it's much better to use the HTL exclusively.


Other than the above, the HTML is a nice piece of software.:up: psst, HTL :D



The ability to view XML files is one that I'll have to look into. It would require the writing of a `stripped-down` XML parser for each of the XML types...
I'll think about it :)

Zachery
01-26-2004, 02:36 PM
I'm not sure what exactly you mean... Do you mean that it somehow changed the style setting for you when you went to create an XML file?


File edits are currently ordered alphabetically from root perspective, and then linenumber. Adding a display order for file edits is possible, but unlikely to appear in the 1.1 version (because all 1.0 HTL hacks might become incompatible with that, then).
I think alphabetical makes the most sense, too. Changeid's are relevant, that way, and they can help you search out file edits for hacks. :)


A drop-down was considered, but I decided against it because I'd have to cater to too many variations. Plus, I figured that sometimes people would want to make some mini-comment in there, like "Easiest ever!" or "well, good luck!". This gives them the freedom for that.

A non-HTL installer would defeat half the purpose of the HTL, so there will never be one. Installing non-HTL hacks will make upgrading your vBulletin difficult; using HTL-hacks only will ensure that you won't have any problems upgrading to the next version of vB.
The HTL was made to bring order in the chaos of installer textfiles. Having an option to make those would be extremely counterproductive.

People who don't want to use the HTL, for whatever purposes, will just be at a loss with all of my hacks. But so far, nobody has found the HTL complicated, in fact, I've been surprised at how userfriendly people have found it. During development, I often figured that "oh damn I'll be answering a lot of questions about this part..." but so far, none of that! On top of that, there is not a single good reason not to use the HTL, and there are dozens of reasons why it's much better to use the HTL exclusively.


psst, HTL :D



The ability to view XML files is one that I'll have to look into. It would require the writing of a `stripped-down` XML parser for each of the XML types...
I'll think about it :)
while i belive it makes it slightly more diffucult i dont belive it makes it so much harder

to update my hack vBXirc all that was needed to do was run the upgrade process in the file it self which was 2 clicks :P

KuraFire
01-26-2004, 02:42 PM
while i belive it makes it slightly more diffucult i dont belive it makes it so much harder

to update my hack vBXirc all that was needed to do was run the upgrade process in the file it self which was 2 clicks :P
So your vBXirc hack does not have any file- or template edits, then?

Princeton
01-26-2004, 03:10 PM
yes, it actually changed my style settings. Upon logging-out, it reverts back to the default.

about the dropdown ... that was my point you don't want people to put anything in there; if you want to allow people to include an optional note then you should include an additional option (input). It is easier to view EASY/MEDIUM/HARD.

yea, I didn't think you would make an option for a standalone installer. The question now is would a hacker create two versions of their hacks - a non-htl and a htl version. If a hacker wishes for their hack to be installed by as many users they would be smart to create a non-htl version. Not everyone will install the HTL especially if it's not needed.

Anyway, I do agree with Faranth. the htl would make it more diffucult (more work) for some hacks.

Zachery
01-26-2004, 04:22 PM
So your vBXirc hack does not have any file- or template edits, then?
it has 1 if not 2 file edits and no template edits :) all my templates are stand alone

KuraFire
01-26-2004, 04:38 PM
yes, it actually changed my style settings. Upon logging-out, it reverts back to the default.
Hmmm... that might be due to the HTL using 'styleid' as the varname, and that that somehow changes a setting.... weird though, shouldn't happen in the Admin CP..
I'll look into it.

about the dropdown ... that was my point you don't want people to put anything in there; if you want to allow people to include an optional note then you should include an additional option (input). It is easier to view EASY/MEDIUM/HARD.
Maybe. If I were to implement that change now, I'd have to make HTL 1.1 be compatible with 2 versions of .htl files.... :|

yea, I didn't think you would make an option for a standalone installer. The question now is would a hacker create two versions of their hacks - a non-htl and a htl version. If a hacker wishes for their hack to be installed by as many users they would be smart to create a non-htl version. Not everyone will install the HTL especially if it's not needed.
Everyone, -everyone-, is better off using HTL-hacks only. There is no reason for people who want to hack up their vBulletin to not install the HTL. Even for the tiniest hack, it makes things easier. To create, but also to use the hack.

The HTL was made and designed to make things easier, and it works perfectly for that. Creating a non-HTL installer would not only defeat the purpose, but also mean a lot of needless work for the Hack creator.

There is no real harm in making people install the HTL, it's only a few clicks and 3 simple file edits away. And then, once they've done that, a whole new world will open up for them. If people go release HTL-hacks only for a while, now, pretty soon there will be no need for this entire discussion anymore, and suddenly we'll have much more hacks because everyone has to spend far less time on each hack, and thus has more time to spare for new / other hacks :)

Anyway, I do agree with Faranth. the htl would make it more diffucult (more work) for some hacks.
I disagree. For the simplest, tiniest hack, the HTL is a better choice. For the huge, highly intricate hacks, the HTL is a better choice. For everything in-between, the HTL is still a better choice.

No matter the size of the hack, using the HTL for it is easier and faster.

Zachery
01-26-2004, 04:40 PM
Hmmm... that might be due to the HTL using 'styleid' as the varname, and that that somehow changes a setting.... weird though, shouldn't happen in the Admin CP..
I'll look into it.


Maybe. If I were to implement that change now, I'd have to make HTL 1.1 be compatible with 2 versions of .htl files.... :|


Everyone, -everyone-, is better off using HTL-hacks only. There is no reason for people who want to hack up their vBulletin to not install the HTL. Even for the tiniest hack, it makes things easier. To create, but also to use the hack.

The HTL was made and designed to make things easier, and it works perfectly for that. Creating a non-HTL installer would not only defeat the purpose, but also mean a lot of needless work for the Hack creator.

There is no real harm in making people install the HTL, it's only a few clicks and 3 simple file edits away. And then, once they've done that, a whole new world will open up for them. If people go release HTL-hacks only for a while, now, pretty soon there will be no need for this entire discussion anymore, and suddenly we'll have much more hacks because everyone has to spend far less time on each hack, and thus has more time to spare for new / other hacks :)


I disagree. For the simplest, tiniest hack, the HTL is a better choice. For the huge, highly intricate hacks, the HTL is a better choice. For everything in-between, the HTL is still a better choice.

No matter the size of the hack, using the HTL for it is easier and faster.
unless you only want to install one hack :P

KuraFire
01-26-2004, 04:40 PM
it has 1 if not 2 file edits and no template edits :) all my templates are stand alone
Then it could still be done easier with the HTL :)

right now it may be slightly tricky, but I'm looking into ways for HTL 1.1 so that you can just install a new version of an already installed hack right on top of the existing one. So that would be easiest of all ways... sadly that's not in HTL 1.0 yet though, but hey, 1.1 won't be too long.. ^_^

KuraFire
01-26-2004, 04:42 PM
unless you only want to install one hack :P
Really, how many people in this community install only one tiny simple hack, and never touch any other hack?

That percentage is minimal, and certainly negligable if you ask me. Even for them it would be easier, cos the HTL, no matter how you look at it, is the easiest way to upgrade your vBulletin and instantly re-apply your hacks. Whether it's one hack or one hundred.

Zachery
01-26-2004, 04:44 PM
Then it could still be done easier with the HTL :)

right now it may be slightly tricky, but I'm looking into ways for HTL 1.1 so that you can just install a new version of an already installed hack right on top of the existing one. So that would be easiest of all ways... sadly that's not in HTL 1.0 yet though, but hey, 1.1 won't be too long.. ^_^not really, im my installer is ezier for this one alone but like ive stated it will be released for both.

all you need to do , upload files, run install, click button 2-3 times and your done :)

also only one file edit is truely nessary and thats only if you use CSS as a file

eXtremeTim
01-26-2004, 04:45 PM
Upload the .htl file to your htlfiles/ directory, then go to Install Hack, choose the Nowplaying hack that should now be there, hit Install, and on the next screen, you will have 4 radio buttons at the bottom:

Import into database only - no changes
Do a complete, Real Install
Do a test run (shows file- and template edits)
Do a verbose test run (shows exact contents of each step)

Choose the first one (Import into database only) and it will add it to your database
Thats no good tho. It just shows me that i have a hack waiting to install. I cant edit any of the hacks stuff or anything. Like say that its installed on the hacklog.php page or anything. I got around the problems by just skipping over step 5, but not everybody is going to think about that. And with some hacks there might be new queries and stuff.

KuraFire
01-26-2004, 04:51 PM
Thats no good tho. It just shows me that i have a hack waiting to install. I cant edit any of the hacks stuff or anything. Like say that its installed on the hacklog.php page or anything. I got around the problems by just skipping over step 5, but not everybody is going to think about that. And with some hacks there might be new queries and stuff.
That's probably residue from you doing an incomplete installation.

Try manually removing the hack from your database, table hack. Look at what hackid it has and then remove all rows in table hacklog that belong to that hackid.

Then try to import again.

KuraFire
01-26-2004, 04:52 PM
not really, im my installer is ezier for this one alone but like ive stated it will be released for both.

all you need to do , upload files, run install, click button 2-3 times and your done :)

also only one file edit is truely nessary and thats only if you use CSS as a file
That's because you've already had your installer. That isn't the case for 95% of the rest, they would still have to handcraft an installer on their own, first. But not if they choose to go the HTL-way.

eXtremeTim
01-26-2004, 04:58 PM
That's probably residue from you doing an incomplete installation.

Try manually removing the hack from your database, table hack. Look at what hackid it has and then remove all rows in table hacklog that belong to that hackid.

Then try to import again.
No see the problem is that i have already installed the hack before the htl and alot of other people have installed hack before the htl. So there will be problems bringing hacks into the htl at first for poeple. There will also be problems with upgrades up hack from what i can tell. Your hack appears to not compare the new version with the old version and detect what to run and not run. If you could manage to add that in this hack would be god.

buro9
01-26-2004, 05:42 PM
Loads of hype to be sure... but are there screenshots?

I personally am from the camp that I don't trust anything like this to manage my hacks... and I wonder how it will keep track of all the hacks I make to my own code that I don't release.

To this end, amid the cries of "lovely UI", is possible to have a series of screen shots showing how this all looks and as an overview for how it hangs together.

The killer thing that I'm waiting for is not the management of file changes, but the management of template changes (diff tool for updated templates compared to customised templates for example... phrase manager to show the non-default phrases and and the customised values after upgradem, etc).

As such... as overwhelming as the docs and this thread is... put me in the skeptical camp until I've seen convincing screenies and believe that this will manage my own private hacks too.

Awaiting the gif's or links ;)

Cheers

David K

PS: Don't flame me for being a cynic... I really want this to work... it sounds dreamy... but I'm elderly (30) and have grown far too cynical to just install a big hack and hope that it fills my dreams so easily ;)

Zachery
01-26-2004, 05:48 PM
im currently taking some screens :)

Zachery
01-26-2004, 05:54 PM
ok now i have a problem,

the templates only got installed to a single style not all of my styles >.> i see this as a problem in the long run

eXtremeTim
01-26-2004, 06:03 PM
I agree that could be a problem but should also be fairly easy to fix.

Sufian
01-26-2004, 06:28 PM
Great Hack! I just installed it :)

KuraFire
01-26-2004, 06:56 PM
buro9, I can't blame you for being skeptical, it's a good attitude to have on Hacks! :)

As for screenshots, I wanted to do those today but I didn't get round to them.

As for the Templates issue Faranth mentioned, it will most likely be fixed in HTL 1.1

Back to what the HTL can do: it doesn't scout through files or templates to see what changes have 'magically' been made. What it does is provide you an easy to use interface so you can log your changes, each and every one, so that they are stored separately, in a nice organized manner. 'coincidentally' this manner can be utilized to create HTL Installer files that you can use to release your hack to the public - but you don't have to do that.

Zelda-King
01-26-2004, 07:40 PM
I've installed it smoothly. Just one thing;

I get this error when I opt to 'show all modifications':
Currently listing all Hacks at once
--------------------------------------------------------------------------------

Current hack:

Warning: in_array(): Wrong datatype for second argument in /domainurl/admincp/hackadmin.php on line 2183

You don't have permission to see the File- or Template edits for this Hack!

Warning: in_array(): Wrong datatype for second argument in /domainurl/admincp/hackadmin.php on line 2183 in spite of my userid being 1.

KuraFire
01-26-2004, 07:50 PM
I've installed it smoothly. Just one thing;

I get this error when I opt to 'show all modifications':
in spite of my userid being 1.
interesting....

are you sure that the HTL installation was finished entirely, properly?

Zelda-King
01-26-2004, 08:15 PM
Yes, it certainly looked smooth. I should mention that I manually added the previously installed hacks without bothering to list mods and so on. Just the required fields and a few options. They all have the default allowed userid of 1 anyway.

If I go to the list at the bottom though (of hacks run through the installer), those links work fine.

ie, 1) Hack Tracking Log

KuraFire
01-26-2004, 08:22 PM
Yes, it certainly looked smooth. I should mention that I manually added the previously installed hacks without bothering to list mods and so on. Just the required fields and a few options. They all have the default allowed userid of 1 though.

If I go to the list at the bottom though (of hacks run through the installer), those links work fine.

ie,
Very weird...

So, let me get this straight:

If you go to List All Modifications, you first get that error warning, then you get normal File/Template modifications, and then you get the PROPER list of hacks that you can click?
Or do you not get any file/template modifications in the middle either?

Zelda-King
01-26-2004, 08:25 PM
I get the error on the 'list all modifications'. At the bottom of that page is the list of installed hacks that you can click on individually. If I click on those (though I only have one at the moment run through this installer) THOSE mods show up fine. Watch this space for a screenshot.

KuraFire
01-26-2004, 08:33 PM
I get the error on the 'list all modifications'. At the bottom of that page is the list of installed hacks that you can click on individually. If I click on those (though I only have one at the moment run through this installer) THOSE mods show up fine. Watch this space for a screenshot.
*waits for a screenshot*

I don't really get why you're having an error there, by all means it should work fine :/

What is your line 2183 ?

Zelda-King
01-26-2004, 08:41 PM
Here! You know, I think it has something to do with the fact I haven't archived the file-template edits for the old hacks.

Zelda-King
01-26-2004, 08:44 PM
Line 2183: if (!in_array($bbuserinfo['userid'], $hack['allowedusers']))
That being the case though (what I said in my last post) I'm wondering why the error only shows three times when I have like 14 old hacks.

KuraFire
01-26-2004, 08:50 PM
Line 2183: if (!in_array($bbuserinfo['userid'], $hack['allowedusers']))
That being the case though (what I said in my last post) I'm wondering why the error only shows three times when I have like 14 old hacks.
weird, weird, weird...

ok, try something for me, please. Try going to Manage Hacks -> Edit Hack Details (for the Hack Tracking Log), Allowed Userids field: enter 1 2 3 4

so, enter the first four possible userids, separated by spaced. Hit save. If you want, you can go edit it again and remove all but your userid from the list. It's just important that that field is recreated...

Then try again, please, and tell me what you get...

Link14716
01-26-2004, 08:52 PM
I'm wondering: what is the deal with the "Temporary Phrase File"? I can see it being useful and all, but why is it required?

KuraFire
01-26-2004, 08:55 PM
I'm wondering: what is the deal with the "Temporary Phrase File"? I can see it being useful and all, but why is it required?
It's not entirely required, as such, but it _is_ necessary if you want to generate the XML file with your phrases.

The use of a Temporary Phrases File will make things easier during development (you don't have to do any phrases inserting or phrase group creating or anything during creation of your hack), and then once the hack is done, it will allow you to instantly have an XML file with those phrases, ready to be imported.

It's possible that you do it the old, conventional way, but that way is much slower and thus not recommended at all!

Zelda-King
01-26-2004, 09:00 PM
weird, weird, weird...

ok, try something for me, please. Try going to Manage Hacks -> Edit Hack Details (for the Hack Tracking Log), Allowed Userids field: enter 1 2 3 4

so, enter the first four possible userids, separated by spaced. Hit save. If you want, you can go edit it again and remove all but your userid from the list. It's just important that that field is recreated...

Then try again, please, and tell me what you get...OK I did that. No joy. Here I'll PM you some admin login info. I'm sure you want to see for yourself. :)

Link14716
01-26-2004, 09:13 PM
It's not entirely required, as such, but it _is_ necessary if you want to generate the XML file with your phrases.

The use of a Temporary Phrases File will make things easier during development (you don't have to do any phrases inserting or phrase group creating or anything during creation of your hack), and then once the hack is done, it will allow you to instantly have an XML file with those phrases, ready to be imported.

It's possible that you do it the old, conventional way, but that way is much slower and thus not recommended at all!
I just read in the 'Help and Tips' about the existing phrasegroups. Gah, now I have to rename a lot of my phrases.... well, it's for the better I suppose.

Nice hack, Kura, now I just hope I'll get this working right for my shoutbox...

KuraFire
01-26-2004, 09:16 PM
OK I did that. No joy. Here I'll PM you some admin login info. I'm sure you want to see for yourself. :)
Thanks, I'll see what I can figure out... though it's boggling me quite a bit :|

Link: yeah, that's the downside of people converting their existing hacks to HTL, they haven't been warned in advanced that there are certain 'outlines' for making the hack in the most optimal way... :(

's why I wanted to rush the release of this thing so much, the longer I waited the more people would have your problem :(

Zelda-King
01-26-2004, 10:21 PM
KuraFire: Your instructions did the trick. Many thanks! I thought I'd better say that in this thread so people know it wasn't a fault with the hack script at all. Very impressive support!

KuraFire
01-26-2004, 10:47 PM
KuraFire: Your instructions did the trick. Many thanks! I thought I'd better say that in this thread so people know it wasn't a fault with the hack script at all. Very impressive support!
Hey, it's just cos I know my script inside out ;)

I'm glad it did the trick, I would've been in trouble if that hadn't been the problem :D

^_^ And I'm glad you like the HTL! :)

squawell
01-26-2004, 11:08 PM
hello Kura..i already test it on my another computer and it work now BUT when i refrash my admin cp i got below error message:

Fatal error: Call to undefined function: construct_nav_option2() in C:\Apache Group\Apache2\htdocs\forum\admincp\index.php on line 450

the line 450 is

construct_nav_option2($vbphrase['htl_cphome_refresh_current_menu'], 'index.php?do=nav' . iif($thisnav!='vb' AND $vboptions['htl_use_dual_nav'], '&amp;hacksnav=1'), '<br />');

any idea?

PS:im use ur new update zip file.

Link14716
01-26-2004, 11:12 PM
Did you edit includes/adminfunctions_navpanel.php?

madhouse
01-26-2004, 11:15 PM
Got the same error messege , well on the same lines kinda....

Fatal error: Call to undefined function: construct_nav_option2() in /home/madhouse/public_html/forum/admincp/index.php on line 500

And yes I have edited the includes/adminfunctions_navpanel.php

KuraFire
01-26-2004, 11:31 PM
IF YOU HAVE THIS PROBLEM:

Call to undefined function: construct_nav_option2()

You PROBABLY mis-placed the file edit in adminfunctions_navpanel.php!

The file edit in adminfunctions_navpanel.php has to go BELOW this:
</script>
<?php

echo $controls . $_NAV . $_controls;

}

Pay close attention to the closing bracket:
}

it all has to go BELOW that!


This is *most likely* what you did wrong - paste the new code 2 lines too high. :)

Link14716
01-26-2004, 11:35 PM
I personally still have a "Make vB.org Post" error with the text for the modified stuff:
https://vborg.vbsupport.ru/showthread.php?p=469032

I redownloaded the zip and uploaded the new hackadmin.php and even tried modifying it to work myself with little luck.

madhouse
01-26-2004, 11:36 PM
Sorry KuraFire ,

I have it exactly like you said

</script>
<?php

echo $controls . $_NAV . $_controls;

} <<<<<<<-----------\

right after the bracket

Link14716
01-26-2004, 11:41 PM
Personally, I dropped it under this code:// ###################### Start makenavoption #######################
function construct_nav_option($title, $url, $extra = '')
{
// creates an <option> or <a href for the left-panel of index.php
// (depending on value of $cpnavjs)
// NOTE: '&$session[sessionurl]' will be AUTOMATICALLY added to the URL - do not add to your link!
global $session, $options;
static $sessionlink, $bubblefix;

if (!isset($options))
{
$options = array();

if ($session['sessionurl'] == '')
{
$sessionlink = '';
}
else
{
$sessionlink = "&amp;s=$session[sessionhash]";
}

// only include the bubble-fix for IE - ignore when encountering the Konqueror/Safari event model
if (is_browser('ie'))
{
$bubblefix = ' onclick="nobub()"';
}
else
{
$bubblefix = '';
}
}

$options[] = "\t\t<div class=\"navlink-normal\" onclick=\"nav_goto('$url$sessionlink');\" onmouseover=\"this.className='navlink-hover';\" onmouseout=\"this.className='navlink-normal'\"><a href=\"$url$sessionlink\"$bubblefix>$title</a>$_extra</div>\n";
} and it works perfectly.

madhouse
01-27-2004, 12:02 AM
Tried it that way too link and still same error in the admin panel nav.

Its calling the error on the index.php , which keeps talking about the
construct_nav_option2()

For some reason it just does not like this at all...

KuraFire
01-27-2004, 12:03 AM
I personally still have a "Make vB.org Post" error with the text for the modified stuff:
https://vborg.vbsupport.ru/showthread.php?p=469032

I redownloaded the zip and uploaded the new hackadmin.php and even tried modifying it to work myself with little luck.
oh christ, don't tell me I made a typo in the updated zip's hackadmin.php.....


... ++++! I did... :(

*sighs and updates again*

madhouse
01-27-2004, 12:04 AM
And Kura , not to be an arse , but your instructions for the last file were pretty point blank....

At the end of the php file

after the last }

place this below

{CODE}


ya know what I mean :)

squawell
01-27-2004, 12:10 AM
IF YOU HAVE THIS PROBLEM:

Call to undefined function: construct_nav_option2()

You PROBABLY mis-placed the file edit in adminfunctions_navpanel.php!

The file edit in adminfunctions_navpanel.php has to go BELOW this:
</script>
<?php

echo $controls . $_NAV . $_controls;

}

Pay close attention to the closing bracket:
}

it all has to go BELOW that!


This is *most likely* what you did wrong - paste the new code 2 lines too high. :)
thankz point that now everything looks great....AND i find why i cant install last night?

Kura in ur readme file u say this:

EXAMPLE:
If your forum is at www.site.com/forum/ and you want to place
your htlfiles directory one level below the WEBroot, your
config_htl.php should show this:

$htlfilesdir = '../../htlfiles';

AND early i change the path to

$htlfilesdir = './htlfiles';

and thats work for me!!

PS:my address same as ur examplewww.site.com/forum/.

KuraFire
01-27-2004, 12:14 AM
Sorry KuraFire ,

I have it exactly like you said

</script>
<?php

echo $controls . $_NAV . $_controls;

} <<<<<<<-----------\

right after the bracket

What happens if you open www.yoursite.com/forum/includes/adminfunctions_navpanel.php in your browser? I'm betting you have a parse error....

madhouse
01-27-2004, 12:20 AM
ITs a blank page

KuraFire
01-27-2004, 12:42 AM
ITs a blank page
weird, I can't place the cause of this at all...

If the file on the server really has the code placed after the } then it should work fine...
I am gonna sleep now, so I'll get back to you on this tomorrow.


On ANOTHER note, I just sent out an update on the HTL and updated the first post. A bug was found again and fixed again, this time it should be fixed PROPERLY! (I caused this problem with my earlier bug fix... *shame*)

Please update ASAP everyone :)

Link14716
01-27-2004, 12:42 AM
oh christ, don't tell me I made a typo in the updated zip's hackadmin.php.....


... ++++! I did... :(

*sighs and updates again*
Works for me now. Thanks Kura. :)

My shoutbox will be HTL exclusive tommorow probably.

Nice job again, Kura. :)

madhouse
01-27-2004, 01:12 AM
weird, I can't place the cause of this at all...

If the file on the server really has the code placed after the } then it should work fine...
I am gonna sleep now, so I'll get back to you on this tomorrow.




Its ok man I just went ahead and uninstalled it...well just uploaded the back up files of the modified file.

I did notice though the error seems like its coming from admin/index.php

Link14716
01-27-2004, 01:14 AM
That's because it can't find the function in includes/adminfunctions_navpanel.php. You obviously did something wrong with that file.

madhouse
01-27-2004, 01:31 AM
Link , I have repeated this hack 5 times over , and still the same issue .. I have checked and rechecked it..

The same error still arises over and over again....

The steps he gave are not hard to follow, so I would have to disagree with you that I did something wrong with that file.

Wierd thing is I can access the Hack log by going directly to the admin file hackadmin.php,
with no problems and it will do all functions.

One question for you Kura , I am running RC2 , and I have notice that the hack was for 3.0.0 RC 3 , I do not know if there was that big of a differnce betweent the 3 files that you had added the extra code to.

squawell
01-27-2004, 01:48 AM
hello Kura i found another problem when i click the style manger on the top of that page i got this error message

Parse error: parse error, unexpected T_IF, expecting ')' in C:\Apache Group\Apache2\htdocs\forum\includes\adminfunctions _template.php on line 3080

the line 3080 is

if ($_SERVER['PHP_SELF'] == "/$admincpdir/template.php")


AND when click the expand button i got this error

Warning: implode(): Bad arguments. in C:\Apache Group\Apache2\htdocs\forum\includes\adminfunctions _template.php on line 1147

the line 1147 is

#AND title NOT IN('" . implode("', '", $_query_special_templates) . "')

u can take look the attach pic
any idea?thankz~

Link14716
01-27-2004, 03:52 AM
You are supposed to add the code in ncludes/adminfunctions_template.php UNDER the );

neocorteqz
01-27-2004, 04:03 AM
Damn fine Job. :)

This should ake my life alot easier now.

eger
01-27-2004, 04:23 AM
something i am not clear on.

will this hack support hacks that i have already installed?

or should i uninstall those hacks (if possible) and then install this hack so it recognizes them?

i am unclear on that part. anyone have some info for me?

squawell
01-27-2004, 04:36 AM
You are supposed to add the code in ncludes/adminfunctions_template.php UNDER the );
thankz Link:Dnow everything work great!!

KuraFire
01-27-2004, 08:09 AM
something i am not clear on.

will this hack support hacks that i have already installed?

or should i uninstall those hacks (if possible) and then install this hack so it recognizes them?

i am unclear on that part. anyone have some info for me?
Your questions are answered here:
http://everythingvb.com/faq.php?faq=doc_htl_usage#faq_doc_htl_usage_faq

:)

KuraFire
01-27-2004, 08:10 AM
Madhouse and Squawel: I think you both mis-placed a file edit, or have any existing hacks that mess up, OR have pasted the file edits in the right place but incompletely.... Only reason I can come up with why it won't work...

Kohhal
01-27-2004, 10:22 AM
This is a great hack, I just have one question, for now :p

Apart from it's normal function, is there a way of using the HTL on my test forum so that when I update my live site with vB3 I could have someway of using it to update/reinstall any template changes/hacks etc. that I might have installed on my test forum to make the upgrade on the live site easier.

This is hard to explain, but say I work on my test forum, installing hacks, making template and style changes etc. that I want on my live site eventually, would it then be possible to export these mofications with the HTL somehow and on upgrading my live site, install the HTL hack and then somehow import these changes or at least a log or something of the changes I had made to make the upgrade quicker?

Hope that makes sense, again, great hack, it'll be the first one I install !!

G :D

KuraFire
01-27-2004, 10:31 AM
This is a great hack, I just have one question, for now :p

[ ... some slightly confusing question(s) ... ]

G :D
Ummmm.....

What you CAN do, for instance:

1. develop all hacks and install all hacks on your test board using the HTL
2. install the HTL on the live board (very simple and light-weight) and install all of the hacks using the HTL Installers on your live board
3. this works for both file AND template edits that you've tracked using the HTL. If you make any changes of your own without logging them into the HTL then you'll have to look them up on your own, too.

Alternatively, you can copy-overwrite all of your live site's files with the ones from your test board, instead of doing all of the file edits all over again. :)

Bro_Joey_Gowdy
01-27-2004, 12:43 PM
Ive been waiting for this, thanks KuraFire, clicks install.

VeoMorphine
01-27-2004, 01:37 PM
so this is like a vbhacker on crack? I like it. i'll install it when i get home. This would make a great satandard for vb hacking. Since it will make installs so much easier.

KuraFire
01-27-2004, 01:55 PM
so this is like a vbhacker on crack? I like it. i'll install it when i get home. This would make a great satandard for vb hacking. Since it will make installs so much easier.
Yup, except this does _not_ do automatic file edits, you still have to edit your files BY HAND!

most people prefer it that way, anyway :)

Kohhal
01-27-2004, 02:13 PM
Ummmm.....

What you CAN do, for instance:

1. develop all hacks and install all hacks on your test board using the HTL
2. install the HTL on the live board (very simple and light-weight) and install all of the hacks using the HTL Installers on your live board
3. this works for both file AND template edits that you've tracked using the HTL. If you make any changes of your own without logging them into the HTL then you'll have to look them up on your own, too...
Nice one, will do :D

Link14716
01-27-2004, 07:05 PM
Yeah, vbHacker on crack, except this puts the hack in the database and files, and is generally a whole lot better. None of my vB2 hacks were made for vbHacker, though all of my hacks will have HTL compatible versions.

KuraFire
01-27-2004, 07:11 PM
Yeah, vbHacker on crack, except this puts the hack in the database and files, and is generally a whole lot better. None of my vB2 hacks were made for vbHacker, though all of my hacks will have HTL compatible versions.
Always nice to see people be happy with my work :)

KuraFire
01-27-2004, 07:22 PM
I'm writing HTL 1.05 at the moment, and adding some of the features planned for HTL 1.1 already.

If there's anything you'd like to see in the HTL real soon, tell me now please. :)

Link14716
01-27-2004, 07:26 PM
Upgrade scripts - they require that the hack that it upgrades has been imported (at least) and the upgrade .htl just updates whatever needs to be updated in the hack information and runs its own set of steps. I don't know if this can be done already, but if it cannot, it would be something that is needed. :)

KuraFire
01-27-2004, 08:31 PM
Upgrade scripts - they require that the hack that it upgrades has been imported (at least) and the upgrade .htl just updates whatever needs to be updated in the hack information and runs its own set of steps. I don't know if this can be done already, but if it cannot, it would be something that is needed. :)
I'm looking into ways how I can do this.

What I'm CURRENTLY thinking of:


Adding an extra option for each hack (along with Show on front-end, is finished, is installed, etc. etc.) that says: Is Upgrade Script.

Then, if people run that 'hack' (which is labelled Is Upgrade Script) and attempt to install it (thus, attempt to upgrade their existing hack), the HTL will do:

1) a check on the system to see if the hack exists, if not it will STOP THE UPGRADE with an error page.
2) if the hack DOES exist but the version of the existing one is higher or equal to the one from the Upgrade, it will STOP THE UPGRADE with an error page.
3) if the hack exists and is a lower version, then it will first see if the existing hack has any phrases (by checking the `phrasevarnames` column of the hack in the database - this column already holds ALL varnames of ALL imported phrases for each hack). Also, it will check to see if this upgrade has the IMPORT PHRASES step as part of the upgrade. If so, and if the hack has existing phrases, it will remove all phrases and the database columns / rows made for those phrases, rebuild all languages, and then during the IMPORT PHRASES step it will import all phrases again, in an orderly fashion as usual.
4) next, the same for templates. If the upgrade .htl has the import templates step, it will check for the existance of templates for the old version of the hack, and if they exist, remove them first and then reimport the new ones.
5) same for settings;
6) now, we are still actually _before_ step 1 of the HTL install routine at this point, the only thing we may have had happen is that things were removed in preparation of being re-added later on in the 'install' (upgrade) of this hack. So at this point, we will do a REPLACE INTO query on the hack table to update our hack with the newest version. THEN we will continue with the rest of the installation, and if there is nothing else to do, we just forward straight away to the Upgrade Complete page. :)


Does that sound good, people?

Link14716
01-27-2004, 08:35 PM
Sounds good to me. One more suggestion: it seems all new templates go to styleid 1 (or maybe the default style), correct? Can you make that an option? I want all new templates to go to styleid 2, which is a fake "Global Style" and is not user selectable (so isn't the default).

Natch
01-27-2004, 08:41 PM
KuraFire - can u check out my HTL compatible hacka nd tell me why my one of installers (not I tho) is getting an SQL error?

https://vborg.vbsupport.ru/showpost.php?p=469609&postcount=11
mysql error: Unknown column 'changetype' in 'field list'

mysql error number: 1054

KuraFire
01-27-2004, 08:41 PM
Sounds good to me. One more suggestion: it seems all new templates go to styleid 1 (or maybe the default style), correct? Can you make that an option? I want all new templates to go to styleid 2, which is a fake "Global Style" and is not user selectable (so isn't the default).
That's currently an issue with the HTL, yes. It will insert them into your default style.

I'm looking into ways to improve this situation. For instance, not everyone will want the templates added to EVERY style, yet some people do. However, I can't just have them be imported into the MASTER style unless people are okay with having to manually re-import all templates for Each hack after every vBulletin upgrade they do (vb upgrades delete the master style first and then recreate it).

Maybe I should hold a poll about that.... and see if I can create some sort of feature (like List All Modifications) that reiterates over step 3 for ALL the hacks in one single sitting (ie. it will do the Import Templates step for every hack that has templates to import).

If I can make the latter, and import templates into the master style.... the only thing people would no longer have is having their templates appear in red (== non-default template) in the Style Manager.

*sigh* choices choices...

Anyhoo, as you can see, I'm going over many various possibilities to solve that...

KuraFire
01-27-2004, 08:44 PM
KuraFire - can u check out my HTL compatible hacka nd tell me why my one of installers (not I tho) is getting an SQL error?

https://vborg.vbsupport.ru/showpost.php?p=469609&postcount=11
mysql error: Unknown column 'changetype' in 'field list'

mysql error number: 1054

very weird, I'll check it out...

Link14716
01-28-2004, 03:49 AM
Heh, I've upgraded all 3 of my released vB3 hacks to have an HTL install file (and the shoutbox is HTL exclusive). It's probably a little overkill to put a 1 file edit hack into the HTL, but that's what it was made for, right? ;)

Once again, great job, KuraFire. :)

PiotrasG
01-28-2004, 06:34 AM
i get this error when trying to install it, any ideas


Database error in vBulletin 3.0.0 Release Candidate 3:

Invalid SQL: SELECT * FROM hacklog WHERE hackid=1
mysql error: Table 'ad.hacklog' doesn't exist

mysql error number: 1146

Date: Wednesday 28th of January 2004 02:43:59 AM
Script: http://ad.com/admincp/install_htl.php?hackid=&installtype=1&filename=Hack_Tracking_Log.htl&do=installstart&create_hack=3&create_hacklog=1&inside=1
Referer: http:/ad.com/admincp/install_htl.php?inside=1

PranK
01-28-2004, 07:34 AM
/me clicks install.

SWEET! this'll be great! Thanks Kura!

Christian

KuraFire
01-28-2004, 10:18 AM
i get this error when trying to install it, any ideas


Database error in vBulletin 3.0.0 Release Candidate 3:

Invalid SQL: SELECT * FROM hacklog WHERE hackid=1
mysql error: Table 'ad.hacklog' doesn't exist

mysql error number: 1146

Date: Wednesday 28th of January 2004 02:43:59 AM
Script: http://ad.com/admincp/install_htl.php?hackid=&installtype=1&filename=Hack_Tracking_Log.htl&do=installstart&create_hack=3&create_hacklog=1&inside=1
Referer: http:/ad.com/admincp/install_htl.php?inside=1
did you have an existing table `hack` on your database? o.O

KuraFire
01-28-2004, 10:23 AM
Additional locations where some very good suggestions for HTL 1.1 are being made:


http://everythingvb.com/showthread.php?t=27
http://everythingvb.com/showthread.php?t=33

If anyone has anything to add to those, please add them ASAP :)

Slappy Nutz
01-28-2004, 11:35 AM
Yeaaa, Every thing went fine untill I went to the admincp, there is no nav for manage hacks or anything like that?!?! if I go to www.mysite.com/forums/admincp/hackadmin.php it works fine and I get no errors, if I go to www.mysite.com/forums/hacklog.php it shows that HTL is installed and thats all, but still no errors. Any idea on why it dosent show up in the admincp/index?

KuraFire
01-28-2004, 12:21 PM
Yeaaa, Every thing went fine untill I went to the admincp, there is no nav for manage hacks or anything like that?!?! if I go to www.mysite.com/forums/admincp/hackadmin.php it works fine and I get no errors, if I go to www.mysite.com/forums/hacklog.php it shows that HTL is installed and thats all, but still no errors. Any idea on why it dosent show up in the admincp/index?
- try refreshing your admin navpanel frame;
- did you apply the file edits to admincp/index.php ?

PiotrasG
01-28-2004, 02:29 PM
no i dont, its the first time im trying to install it

KuraFire
01-28-2004, 03:52 PM
no i dont, its the first time im trying to install it
Whe?

PiotrasG
01-28-2004, 04:05 PM
Whe?


yea, i dont know why it does it :tired:
i checked the db and there is no tables, for some reason it cant insert them :ermm:

KuraFire
01-28-2004, 04:12 PM
yea, i dont know why it does it :tired:
i checked the db and there is no tables, for some reason it cant insert them :ermm:
OK, so even during installation, when you try to install the Hack Tracking Log, you can't get the tables created?

Do you have a table prefix?

PiotrasG
01-28-2004, 04:27 PM
i get this in step 1 of 5 when i go to install it.

KuraFire
01-28-2004, 04:56 PM
i get this in step 1 of 5 when i go to install it.
*clueless*

I'll try and look into it tonight or tomorrow, seems real strange though... :/

Zelda-King
01-28-2004, 05:10 PM
EDITED: I got a scare for a moment. The new templates were only added to the default of my 8 styles so I was seeing a blank page for hacklog.php. :D

Nikidala
01-28-2004, 05:12 PM
That's currently an issue with the HTL, yes. It will insert them into your default style.

I'm looking into ways to improve this situation. For instance, not everyone will want the templates added to EVERY style, yet some people do. However, I can't just have them be imported into the MASTER style unless people are okay with having to manually re-import all templates for Each hack after every vBulletin upgrade they do (vb upgrades delete the master style first and then recreate it).

Maybe I should hold a poll about that.... and see if I can create some sort of feature (like List All Modifications) that reiterates over step 3 for ALL the hacks in one single sitting (ie. it will do the Import Templates step for every hack that has templates to import).

If I can make the latter, and import templates into the master style.... the only thing people would no longer have is having their templates appear in red (== non-default template) in the Style Manager.

*sigh* choices choices...

Anyhoo, as you can see, I'm going over many various possibilities to solve that...


The only ideas I can think of are:
1) This may be a pain in the butt (especialy for those with it already installed), but have the HTL, upon installation:
- create a non-visible to users global "HTL Global Templates (do not remove)" style
- iterate through all available styles and make "upper level" templates (i.e. - no parents) have the parent of the "HTL Global Templates" style

Then, each "install" would apply the new templates to the "HTL Global Templates" style and all style underneath would have the new templates available to them. Since changed templates are done "by hand", the admin / installer person could choose to either apply the template changes to the "HTL Global Templates" for every template to inherit (except ones that have those templates already changed) and / or specific templates only.


2) Have the importing of new templates display a page with all styles (user selectable and not) list like:

Parent Style 1

Sub 1 Style 1
Sub 1 Style 2

Parent Style 2

Sub 2 Style 1

etc.


Each style (whether user selectable or not, or parent or sub) would have a checkbox where the admin / installer person would select as many (or few) styles to apply the new templates to. On second thought, maybe just have the parent styles with checkboxes (but still show sub styles), since the code would probably error out if the new templates weren't available.


3) Automatically apply the new templates to all parent (or all styles, although that may be overkill).


4) Apply all new templates to built-in master style and provide a utility to reapply all new templates from all hacks marked as installed.


The problem that I see with option 2 and option 3, is if a new "parent" style is created. There would need to be a way to apply each hacks new templates to new parent styles, or else users could run into problems and not realize what the issue really is.


The only time "new" templates would ever come into play is when a file specifically loads and either it "calls" the template, or one of the modified, already existing templates "calls" the template. If a file is having to load the template, then it should be available in every style that a user can choose (by either applying it to one master parent style, each parent style, or each style period).


Personally, my fav is option 1 (probably why it is 1 ;)). The only thing that would make that cooler, is to have the functionality of "disappearing" (like the "master style") when the forum is not in debug mode. That would be good for the non-technical admins, so they don't get confused, but it could be bad for applying hacks (so maybe not). Reasoning for not would be that logically if one wanted to truely make a hack "global" then, rather than creating another "global" style, the changed templates should be changed in the "HTL Global Templates" style. Then all new and all changed tempaltes are available to child styles (i.e. - all styles), except in the case of the actual template being customized in the child style.


Actually, makes me think of another idea (don't you hate me yet ;))... No matter what option you choose, a good tool for the HTL would be a child "checker" for changed templates. The "checker" would go through each "parent" and their children and make sure that "customized" templates in the parent aren't being overriden in the child (or maybe just on a per hack basis, and just go through the "changed templates" list). That way, if you have say 20 children and you had to customize a certain template on maybe one or two of them, but the new hack you installed changed that template (which would have been applied to the parent), then you could get a list of the children that may also need to be "hacked" as well (rather than just hoping you didn't miss one)...

Zelda-King
01-28-2004, 10:03 PM
I found some other issues. :D

1) This could be just me. Probably is, but in spite of selecting 'yes' for 'show hack on front-end' I'm not seeing the hacks listed in hacklog.php (see 1st attachment. There should be 15 hacks showing). I can view the hack in the admin CP but is more supposed to show than what I'm seeing (see 2nd attachment)?

2) You have an extra query for uncached templates. I'll try and locate it in a while. Note: I can see you've cached your custom templates. Excuse me while I try some debugging...

3) You don't have hacklog.php accounted for in Who's Online, resulting in the Unknown Location Syndrome.

Zelda-King
01-28-2004, 10:20 PM
OK, these are the templates involved. Not all of them are 'actual' templates of course...;

headinclude, header, spacer_open, navbar, navbar_link, gobutton, footer, spacer_close, option.

EDIT: Hmph! I'm still getting the extra query. But I checked EVERY occurance of BEGIN TEMPLATE and END TEMPLATE. Weird...

KuraFire
01-28-2004, 11:25 PM
I found some other issues. :D

1) This could be just me. Probably is, but in spite of selecting 'yes' for 'show hack on front-end' I'm not seeing the hacks listed in hacklog.php (see 1st attachment. There should be 15 hacks showing). I can view the hack in the admin CP but is more supposed to show than what I'm seeing (see 2nd attachment)?

2) You have an extra query for uncached templates. I'll try and locate it in a while. Note: I can see you've cached your custom templates. Excuse me while I try some debugging...

3) You don't have hacklog.php accounted for in Who's Online, resulting in the Unknown Location Syndrome.
1) then something went wrong for you, possibly during install or elsewhere. I don't know why, but others aren't having a problem. Did you check to see that the sub-templates (ie. hacklog_hack and hacklog_overviewbit) are added to all of the styles as well?

2) I think issue number 2 will disappear once you've discovered that, yes, two templates ARE indeed not added to the style you're viewing it in. That's why it gives an uncached template query - if it can't find the template in the cache (caused by it not existing for this style), it will do a query for it in the database (but it won't find it there either cos it doesn't exist for this style).

3) That's on purpose. I'm building an advanced Add Who's Online Locations hack that allows you to add WOL locations from the Admin CP. Instead of forcing people to do 2 additional file modifications for the HTL, I chose to let people wait for this new hack. Also, I made this choice because not everyone will want/use the front-end, and only the front-end will be relevant for the WOL issue.

KuraFire
01-28-2004, 11:27 PM
4) Apply all new templates to built-in master style and provide a utility to reapply all new templates from all hacks marked as installed.
Unless vB3 proves to have a Styleid=0 option that I can use as that "HTL Global Templates" style, in effect, I will probably be going for option 4. It's the easiest to implement and will take the least time to write. It's also the most userfriendly option, imo.

Styleid=0 would, btw, mean that it's effectively another MASTER STYLE but one that doesn't get deleted. If I recall correctly, the vB3 language system has a languageid=0 that works -somewhat- the same...

Link14716
01-28-2004, 11:34 PM
Yes, languageid=0 is a custom master language where phrases are inherited by all the languages but do not get deleted when you upgrade. The same, however, cannot be said about styleid=0 IIRC.

KuraFire
01-29-2004, 12:29 AM
Yes, languageid=0 is a custom master language where phrases are inherited by all the languages but do not get deleted when you upgrade. The same, however, cannot be said about styleid=0 IIRC.
Yeah I didn't think so either, but that was memory from the Beta 7 'era', so I was gonna look into it again now with RC3...

Zelda-King
01-29-2004, 05:49 AM
1) then something went wrong for you, possibly during install or elsewhere. I don't know why, but others aren't having a problem. Did you check to see that the sub-templates (ie. hacklog_hack and hacklog_overviewbit) are added to all of the styles as well?Actually I had to add the templates to the non-default style manually. I'd already done this. However, your statement led me to recheck them and I'd left two templates out of one style. My fault. :/ My debugging had already shown me that it wasn't the caching that was to blame.

Incidentally, fixing that DOES remove the uncached template problem, thanks!

And with that last matter fixed I can say that the HTL is working flawlessly.

KuraFire
01-29-2004, 12:13 PM
Actually I had to add the templates to the non-default style manually. I'd already done this. However, your statement led me to recheck them and I'd left two templates out of one style. My fault. :/ My debugging had already shown me that it wasn't the caching that was to blame.

Incidentally, fixing that DOES remove the uncached template problem, thanks!

And with that last matter fixed I can say that the HTL is working flawlessly.
Yeah, I thought that was the case. I know vB3's template caching mechanisms by head, pretty much, and any "uncached template queries" alert me to be an inexistance of those templates in that style. ^_^

xug
01-29-2004, 02:55 PM
Great work Kurafire [Hits Installed] :thumbs up:

Runs smooth :D

Hope to see the WOL Hack soon ;)

scottct1
01-29-2004, 06:40 PM
I just installed.

Getting the following sql error....

Invalid SQL: SELECT menubits FROM hack WHERE (options & HTLSETTING_SHOWMENU) AND atstep=-1
mysql error: Unknown column 'HTLSETTING_SHOWMENU' in 'where clause'

Any ideas?

sjau
01-29-2004, 08:15 PM
I'm trying to install it on RC3 but I get only to step 2/5... after that I get on the next page but no submit button is there:

Installing: Hack Tracking Log (version: 1.00 Gold)
Hack Tracking Log Installer System

Insert Hack Phrases (Step 2 of 5)

Current Step: Insert Hack Phrases
This step inserts all the new phrases for the Hack Tracking Log. It creates one new phrase group on the language table, phrasegroup_hacklog, and inserts a selection of phrases into existing vBulletin Phrase Groups (such as error phrases, etc).

Hack Tracking Log ©2003 KuraFire Network.

KuraFire
01-29-2004, 08:28 PM
scottct1: ehm... I've no idea what the hell you did, but either you removed some quotes (") or you did a file edit really oddly...

sjau: I've no clue, are you sure you're following the instructions properly??

Natch
01-29-2004, 10:29 PM
sjau: did u upload the xml files to the htlfiles folder ?

scottct1
01-29-2004, 11:51 PM
I'm trying to install it on RC3 but I get only to step 2/5... after that I get on the next page but no submit button is there:
I am having this problem as well. No submit button on step 2 of 5

Is there any manual query I can do to get step 2 installed?

Thanks

sinclac
01-29-2004, 11:53 PM
I keep getting this error trying to install it on RC3

Database error in vBulletin 3.0.0 Release Candidate 3:

Invalid SQL: ALTER TABLE hack ADD `options` SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL AFTER `atstep`, ADD `menubits` TEXT AFTER `options`
mysql error: Duplicate column name 'options'

mysql error number: 1060

I don't know what it is talking about since i have made sure there is nothing in the database.

KuraFire
01-30-2004, 08:11 AM
I keep getting this error trying to install it on RC3

Database error in vBulletin 3.0.0 Release Candidate 3:

Invalid SQL: ALTER TABLE hack ADD `options` SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL AFTER `atstep`, ADD `menubits` TEXT AFTER `options`
mysql error: Duplicate column name 'options'

mysql error number: 1060


I don't know what it is talking about since i have made sure there is nothing in the database.


Try going to:

www.yoursite.com/forum/admincp/install_htl.php?inside=1&installtype=1&filename=Hack_Tracking_Log.htl&do=installstart&create_hack=1&create_hacklog=1

(that goes for all three of you :))

Slappy Nutz
01-30-2004, 09:42 AM
Every time I get to adding phrases, it stops there, I get no next button

scottct1
01-30-2004, 11:58 AM
I tried the command line you gave above (http://www.yoursite.com/forum/admincp/install_htl.php?inside=1&installtype=1&filename=Hack_Tracking_Log.htl&do=installstart&create_hack=1&create_hacklog=1) and still got no continue button on step 2.

Here is a screen shot.

sinclac
01-30-2004, 02:00 PM
Try going to:

www.yoursite.com/forum/admincp/install_htl.php?inside=1&installtype=1&filename=Hack_Tracking_Log.htl&do=installstart&create_hack=1&create_hacklog=1

(that goes for all three of you :))

Ok that got me past that now i don't have a next button for the next step
Insert Hack Phrases (Step 2 of 5) <------- no button

KuraFire
01-30-2004, 03:01 PM
Everyone who is not getting a Proceed button, please PM me the following:

Your version of vBulletin;
Your version of PHP;
Whether you're running this on a Windows or a UNIX server;

And please make sure that you've uploaded ALL .xml FILES!

Thanatos
01-30-2004, 03:06 PM
Everyone who is not getting a Proceed button, please PM me the following:

Your version of vBulletin;
Your version of PHP;
Whether you're running this on a Windows or a UNIX server;


And please make sure that you've uploaded ALL .xml FILES!

VB RC3
Windows
Not sure of php version, will have to fill that in tonight

I found if I ever put html code in any of the description boxes...or instructions boxes or any boxes or even the notes boxes (where you do the copy/paste for file and template edits) it never gives me a proceed button...but if I pull the code out or substitute {} it all works again without a hitch.

scottct1
01-30-2004, 05:53 PM
Kura I pmed you my info this morning.

Thanks.

sjau
01-30-2004, 06:04 PM
I just completely reinstalled vB and the install worked now, however it's not showing up the HTL menu point. Any ideas?

scottct1
01-30-2004, 06:19 PM
I can't reinstall VB from scratch. The only hack I have installed is the Arcade Hack.

I would sure love to have this hack working. But I am glad the VB.ORG is making people release their hacks in both text and HTL format just incase I can't get it to run.

But I have faith in KuraFire. :)

KuraFire
01-30-2004, 06:54 PM
VB RC3
Windows
Not sure of php version, will have to fill that in tonight

I found if I ever put html code in any of the description boxes...or instructions boxes or any boxes or even the notes boxes (where you do the copy/paste for file and template edits) it never gives me a proceed button...but if I pull the code out or substitute {} it all works again without a hitch.
Interesting... it might be that I so totally messed up on some part of the HTL, thinking "I have to add so-and-so to those segments" and a day later went "ok, I added so-and-so to those segments last night, what's next?" ...

I'll look into it all for HTL 1.1, but for now I don't really know what causes it and I don't have the time right now to really look into it either. My apologies for that. I will try to get this sorted out over the weekend :)

KuraFire
01-30-2004, 07:56 PM
So far no dice yet, guys. I've tried figuring out the cause of the problem, but I'm only at the final error-location so far. There's a dozens of locations where it can go wrong before here, but since nobody else seemed to have had a problem with them I don't know why it's happening now, or what's triggering it... :(

Thanatos
01-30-2004, 08:58 PM
So far no dice yet, guys. I've tried figuring out the cause of the problem, but I'm only at the final error-location so far. There's a dozens of locations where it can go wrong before here, but since nobody else seemed to have had a problem with them I don't know why it's happening now, or what's triggering it... :(
its no big deal to me Kura..just wanted to let you know what caused *me* to lose the proceed button...but as long as I don't put HTML code anywhere except the cut and paste file/template boxes, it all works fine. :)

KuraFire
01-30-2004, 09:25 PM
its no big deal to me Kura..just wanted to let you know what caused *me* to lose the proceed button...but as long as I don't put HTML code anywhere except the cut and paste file/template boxes, it all works fine. :)
Yes, well, it's not as much a security risk really, as it's within the Admin CP, but it's a major inconvenience of course...

However, that shouldn't have any effect on the HTL installation itself... cos that's _before_ people start filling in stuff themselves....

Thanatos
01-30-2004, 09:43 PM
Yes, well, it's not as much a security risk really, as it's within the Admin CP, but it's a major inconvenience of course...

However, that shouldn't have any effect on the HTL installation itself... cos that's _before_ people start filling in stuff themselves....
okay, I appreciate you elucidating on that...it had crossed my mind as to whether or not it would be a problem.

KuraFire
02-02-2004, 09:32 AM
*nods*

For more HTL 1.1 suggestions and suggested ideas and the discussions about those, see The official HTL Suggestions Thread (http://everythingvb.com/showthread.php?t=39) (on EvB) :)

NuclioN
02-02-2004, 03:53 PM
It won't re-install :( It worked ok untill i wanted to upgrade the shoutbox. That produces an error and wierd behavior of this hack so i've uninstalled it to do a second attempt on the shoutbox upgrade. It stops by the phrase --next step 2/5--.

gmarik
02-02-2004, 04:01 PM
brr...

Doing a tiny maintenance job, we'll be back in about 10 minutes :)

KuraFire
02-02-2004, 08:05 PM
brr...
But we're back now :)

*sighs* I really don't get what is causing the missing proceed button on step 2 :(

Jadelit
02-03-2004, 03:01 PM
How do you uninstall this hack?

I have nothing against it, I just want to know how to uninstall it.

KuraFire
02-03-2004, 03:09 PM
There is no automatic uninstall, but here's how to:


1. Go to Manage Hacks -> Hack Tracking Log -> Run Install Sequence -> Run VERBOSE TEST installation -> continue to the File Modifications step. Now keep this page open in a separate window until step 8!
2. remove the three templates
3. run in debug mode
4. go to Manage Hacks
5. go to the Controls drop-down for the Hack Tracking Log, choose Remove Phrases
6. Confirm to remove all HTL phrases
7. drop the tables `hack` and `hacklog`
8. remove the file modifications (from the browser window from step 1)
9. remove all HTL files (see first post)


That would uninstall it :)

NuclioN
02-03-2004, 04:14 PM
Invalid SQL: ALTER TABLE vb3_language ADD phrasegroup_hacklog MEDIUMTEXT NOT NULL
mysql error: Duplicate column name 'phrasegroup_hacklog'

--edit--

deleted in phpmyadmin the phrasegroup_hacklog and now it installs. :)

KuraFire
02-03-2004, 04:37 PM
Invalid SQL: ALTER TABLE vb3_language ADD phrasegroup_hacklog MEDIUMTEXT NOT NULL
mysql error: Duplicate column name 'phrasegroup_hacklog'

--edit--

deleted in phpmyadmin the phrasegroup_hacklog and now it installs. :)
Ah, of course...

There we go :)

MaceNL
02-04-2004, 12:21 PM
Thanks allot for this hack installing as we speak ;)

KuraFire
02-04-2004, 09:04 PM
Hey, good to see another dutchie! *waves to MaceNL* :)

Black Vivi
02-05-2004, 03:15 PM
i was hoping to use this for my shoutbox, but i can't
you can only add one phrase type, i need one for the admin cp script i made to :(

still, this is a very good and useful hack, thanks for releasing it

KuraFire
02-05-2004, 03:31 PM
i was hoping to use this for my shoutbox, but i can't
you can only add one phrase type, i need one for the admin cp script i made to :(
You can add multiple phrasetypes if you wish, in several ways:

- make your admin-end a separate hack (kinda lame but it works fine);
- use the Custom PHP Code section to make a custom mini-script that inserts phrases into your admin cp (or perhaps moves them after they have been inserted into the front-end group);

However, keep in mind that a hack that uses its own phrases gets its own language table column, and too many of those will eventually start slowing down page loads (not for a while yet, though). A good solution is to just merge both phrase groups into one for your hack, unless they are both really huge. For the HTL itself, for instance, the front-end uses like, what, 15 phrases? Those just went into the hacklog phrasegroup along with the 240~245 admin-end phrases. :)

sajjid
02-05-2004, 05:04 PM
it would be great if someone can make uninstaller scrpit because i installed it on friends board and it seems like twlight zone its not not installed.
first it went to step 5 and my browser crashed nothing to do with the hack but now i try reinstalling it it only goes to step 2 next step i dont seei tried deleting the hack, hacklog and 'phrasegroup_hacklog'tables through phpMyAdmin but still no joy.
can someone help me get me out of this problem

KuraFire
02-05-2004, 09:51 PM
it would be great if someone can make uninstaller scrpit because i installed it on friends board and it seems like twlight zone its not not installed.
first it went to step 5 and my browser crashed nothing to do with the hack but now i try reinstalling it it only goes to step 2 next step i dont seei tried deleting the hack, hacklog and 'phrasegroup_hacklog'tables through phpMyAdmin but still no joy.
can someone help me get me out of this problem
If you went to step 5, you could've just started to use the HTL without a problem and then just use the admin-end to do the last step...

Trying your own uninstall stuff will undoubtedly have made matters much more complicated.

If you want, you can create an admin account for me (with sql rights) on your site so that I could check some things and fix your setup and install the HTL for you. If you prefer not giving me access, you'll have to PM me and then we'll try to resolve this in private :)

sajjid
02-06-2004, 09:26 AM
pm sent with access info many thanks

StonedStoopid
02-06-2004, 11:04 PM
Is it safe to install this in rc4? It just came out.

KuraFire
02-06-2004, 11:35 PM
Is it safe to install this in rc4? It just came out.
Yup, I heard from dan that it works fine on RC4, and Kier told me a while ago that he couldn't think of any reason why it wouldn't work fine on RC4, too. :)

Dan
02-06-2004, 11:54 PM
Yup, I heard from dan that it works fine on RC4, and Kier told me a while ago that he couldn't think of any reason why it wouldn't work fine on RC4, too. :)
Yes I am correct I have yet to find anything that will make it not work with RC4

riyatch
02-07-2004, 03:28 AM
i just tried to install this hack and it seems to be working fine except that it does not show up in the admincp menus on the left side. the only way i can get to it is to go to .../admincp/hackadmin.php
any input would be appreciated.

mcncyo
02-07-2004, 05:14 AM
how do we upgrade with your hack install for vb3 to vb4?

KuraFire
02-07-2004, 08:44 AM
Riyatch, you have to make a few file modifications, one to ./admincp/index.php and one to ./includes/adminfunctions_navpanel.php

Then, you have to refresh your navpanel for it to start showing up :)


Cyo: look at the first post in this thread, there's a big link:

Tutorial
How to upgrade your vBulletin using the Hack Tracking Log

That'll guide you through the upgrade process in only 4 simple steps :)

Natch
02-07-2004, 09:16 AM
Works fine for me :) :)

<-- running RC4

Zelda-King
02-07-2004, 09:24 AM
I have it running fine on RC4. If you're upgrading (overwriting your hacked files) AFTER having installed the HTL you need to redo all the PHP and of course, you can't go to the hack menu from admincp/index.php to do it. Either go direct to admincp/hackadmin.php or make a note of all the PHP edits before upgrading.

KuraFire
02-07-2004, 09:52 AM
I have it running fine on RC4. If you're upgrading (overwriting your hacked files) AFTER having installed the HTL you need to redo all the PHP and of course, you can't go to the hack menu from admincp/index.php to do it. Either go direct to admincp/hackadmin.php or make a note of all the PHP edits before upgrading. The HTL provides a method for that :)

The HTL helps you upgrade your vBulletin:

https://vborg.vbsupport.ru/showthread.php?t=60760 <-- there's how to do it VERY EASILY! :)

riyatch
02-07-2004, 01:30 PM
Riyatch, you have to make a few file modifications, one to ./admincp/index.php and one to ./includes/adminfunctions_navpanel.php

Then, you have to refresh your navpanel for it to start showing up :)


Cyo: look at the first post in this thread, there's a big link:

Tutorial
How to upgrade your vBulletin using the Hack Tracking Log

That'll guide you through the upgrade process in only 4 simple steps :)


KuraFire, thanks for the response.
what modifications to those files do i have to make??
sorry for the lame question, just starting to learn this stuff.

SloppyGoat
02-08-2004, 01:57 AM
Great!!! Does this mean that the Miserable Users hack will be re-released for HTL soon?

PiotrasG
02-08-2004, 02:02 AM
finally got it installed great hack, makes life lots easier.

riyatch
02-08-2004, 02:41 AM
KuraFire, thanks for the response.
what modifications to those files do i have to make??
sorry for the lame question, just starting to learn this stuff.

kura, please disregard my last question. i got it working and its a great mod!!!!!!! thanks

KuraFire
02-08-2004, 09:51 AM
Glad you got it working :)

SloppyGoat: Yeah, I'll release the HTL version of the Miserable Users for vB3 soon :)

Kalakov
02-08-2004, 09:59 PM
just installed on rc4 its pretty easy :)

SloppyGoat
02-08-2004, 11:29 PM
Cool! Nice work!

Kohhal
02-12-2004, 09:59 AM
Quick question : when running the install sequence, if the install doesn't finish for whatever reason then it's listed as unfinished. You then have 2 options, delete or continue - but how do you edit the hack if there was a mistake in it? ie. set it back to it's pre-installed status? Maybe deleting it from here would do it but I don't want to risk it right now...

NuclioN
02-12-2004, 10:58 AM
Altough this hack has a great potential there are some issues with it also. I've installed the shoutbox hack and it does not remove pre-installed tables properly so the install stops and it leaves an unfinished hack. Removing the tables by hand in the database is to difficult, it installs tables all over the place. When an author does not write a text install/remove instruction your database is full of useless tables or you must have a backup with all tricky consequences eventualy when you want to dump this. I hope this incident with the shoutbox is a single event and i hope all HTL hacks will have a uninstaller/install textfile also.

KuraFire
02-12-2004, 09:10 PM
@ TheMasterG:
Nominally, a hack should not be installed when there's a mistake in it. There are various ways of going around the 'safety measures'. The easiest would just be to manually update the hack's status in your database. To do so, verify what hackid it has, then run this query:
UPDATE hack SET atstep=-1 WHERE hackid=THATHACKID
Note 1) keep in mind that if you're using a table prefix, you have to add that before "hack";
Note 2) replace THATHACKID with the hackid, of course :)

Other ways are, for example, to just delete it, upload the new .htl file (the one that isn't faulty), import that to the database (NO real install!), then edit that hack and disable all steps that you've already done, and then save & do a real install for that hack, thus continuing where you left off.

@ NuclioN:
I don't really get what you mean... :(

Link14716
02-12-2004, 09:23 PM
I found a bug in the generation of phrase XML files.

When you have a set of phrases that use the hack prefix and the phrasetype prefix of your custom prefix, along with a group that only have your hack prefix (i.e. are meant to go into the custom grou), two sets of <phrasetype name="xxx"> would appear, and only the second group would be imported - thus meaning that a lot of phrases aren't installed properly.

Andreas
02-13-2004, 07:11 AM
@KuraFire
Have you thought about adding check if a phrasegroup does already exist before trying to create it?
That might be useful for hack-updates.

KuraFire
02-13-2004, 07:46 AM
@KuraFire
Have you thought about adding check if a phrasegroup does already exist before trying to create it?
That might be useful for hack-updates. For suggestions, please use the Hack Tracking Log Suggestions (http://everythingvb.com/showthread.php?t=39) thread - more organized (and a much greater chance that it will be in HTL 1.1)

most likely the new HTL with its improved features and checking for upgrades will have this, yes :)

KuraFire
02-13-2004, 07:47 AM
I found a bug in the generation of phrase XML files.

When you have a set of phrases that use the hack prefix and the phrasetype prefix of your custom prefix, along with a group that only have your hack prefix (i.e. are meant to go into the custom grou), two sets of <phrasetype name="xxx"> would appear, and only the second group would be imported - thus meaning that a lot of phrases aren't installed properly.
Can you please give an example??

Link14716
02-13-2004, 02:26 PM
phrasetype name="Shoutbox Hack">
<phrase name="shoutbox_add_new_shout">SHOUT! Add a New Shout!</phrase>
<phrase name="shoutbox_are_you_sure_you_want_to_x_this_message">Are you sure you want to {1} this message? {2}</phrase>
-
<phrase name="shoutbox_copyright">
<b>Shoutbox {1} by <a href="https://vborg.vbsupport.ru/member.php?s=&action=getinfo&userid=15527">squall14716</a> for <a href="http://www.vggmn.com">VGGM</a>.<br>Templates (mostly) by <a href="http://www.movieforums.net/index.php?">TWTCommish</a> for the <a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=38698">vB2 Shoutbox 1.0</a>.</b>
</phrase>
<phrase name="shoutbox_delete">delete</phrase>
<phrase name="shoutbox_delete_a_shout">Delete a Shout</phrase>
-
<phrase name="shoutbox_deleted_successfully">
<br>The shout has been deleted. You may still restore it, though...
</phrase>
<phrase name="shoutbox_disabled">Disabled</phrase>
<phrase name="shoutbox_edit_a_shout">Edit a Shout</phrase>
<phrase name="shoutbox_edited_successfully"><br>The shout has been edited...</phrase>
<phrase name="shoutbox_enabled">Enabled</phrase>
<phrase name="shoutbox_exclude_shouts_by_user">Exclude shouts by user:</phrase>
<phrase name="shoutbox_excluding">Excluding</phrase>
<phrase name="shoutbox_forumhome_last">Last</phrase>
<phrase name="shoutbox_forumhome_latest">Latest</phrase>
<phrase name="shoutbox_forumhome_shout">Shout</phrase>
<phrase name="shoutbox_forumhome_shoutbit">Posted {1} {2} by</phrase>
<phrase name="shoutbox_forumhome_shouts">Shouts</phrase>
<phrase name="shoutbox_forumhome_x_y_z">Shoutbox - {1} {2} {3}</phrase>
<phrase name="shoutbox_go">Go!</phrase>
<phrase name="shoutbox_hdelete">hard delete</phrase>
<phrase name="shoutbox_hdelete_a_shout">Hard Delete a Shout</phrase> and it continues down to <phrase name="shoutbox_shoutbit_edit">(edit)</phrase>
<phrase name="shoutbox_shoutbit_hdelete">(hard delete)</phrase>
<phrase name="shoutbox_shoutbit_ignored">This user is on your ignore list.</phrase>
<phrase name="shoutbox_shoutbit_incoventry">This user is in coventry...</phrase>
<phrase name="shoutbox_shoutbit_restore">(restore)</phrase>
<phrase name="shoutbox_shoutbox">Shoutbox</phrase>
<phrase name="shoutbox_shouted_in_the_last_x_days">Shouted in the last {1} days</phrase>
<phrase name="shoutbox_shouts">shouts</phrase>
<phrase name="shoutbox_shouts_by_user">Shouts by user:</phrase>
<phrase name="shoutbox_shouts_per_page">Shouts per page:</phrase>
<phrase name="shoutbox_smilies_enabled_disabled">{1} Smilies {2} {3}</phrase>
<phrase name="shoutbox_the_shoutbox_at">The Shoutbox @</phrase>
<phrase name="shoutbox_vbcode_enabled_disabled">{1} vB Code {2} {3}</phrase>
</phrasetype>

Then, later into the XML file, you see this lovely block...<phrasetype name="Shoutbox Hack">
<phrase name="shoutbox_shoutbox_leaderboard">Shoutbox Leaderboard</phrase>
<phrase name="shoutbox_shoutbox_options">Shoutbox Options</phrase>
<phrase name="shoutbox_shoutbox_stats">Shoutbox Stats</phrase>
<phrase name="shoutbox_shoutbox_stats_last_24_hours">Last 24 Hours</phrase>
<phrase name="shoutbox_shoutbox_stats_shouts_today">Shouts Today</phrase>
<phrase name="shoutbox_shoutbox_stats_total_shouts">Total Shouts</phrase>
<phrase name="shoutbox_shoutbox_stats_your_shouts">Your Shouts</phrase>
</phrasetype>

When ran through the installer, only the second, smaller block is actually inserted, leaving important phrases untouched. I've had to manually edit the XML file to put them all into one group. The prefix is shoutbox and the fieldname for the group I added is also shoutbox.

KuraFire
02-13-2004, 03:14 PM
Can you send me your temporary phrases file, perhaps?

either by PM or by just emailing it to me, you can ask for my address on irc :) (i'd rather not put it public)

Link14716
02-13-2004, 03:16 PM
Can you send me your temporary phrases file, perhaps?

either by PM or by just emailing it to me, you can ask for my address on irc :) (i'd rather not put it public)

I'll just attach it here.

KuraFire
02-13-2004, 03:28 PM
Yeah, okay, it's as I thought..

you're using varnames that start off with: shoutbox_shoutbox_... and that confuses the system, as there shouldn't actually yet BE a phrasetype "shoutbox".

I'll try and improve the code so that it checks only for vBulletin's own phrasetypes, and then matches on those, instead of checking for all EXISTING phrasetypes.

adusei
02-13-2004, 08:07 PM
INSTALLATION TROUBLE--->

I always stuck in step 2/5.
What can I do?
I use vB3 RC4.
Files are surely uploaded in binary mode.
Don't know what to do now. :disappointed:
Please help.

TIA and regards,

adusei

KuraFire
02-13-2004, 10:56 PM
INSTALLATION TROUBLE--->

I always stuck in step 2/5.
What can I do?
I use vB3 RC4.
Files are surely uploaded in binary mode.
Don't know what to do now. :disappointed:
Please help.

TIA and regards,

adusei
If you don't get a Proceed button in step 2/5, go to your database and delete the column phrasegroup_hacklog on the language table.

adusei
02-14-2004, 07:35 AM
If you don't get a Proceed button in step 2/5, go to your database and delete the column phrasegroup_hacklog on the language table.

Hello KuraFire,
first of all thanks a lot for your reply!
Hope, I did understand you proper (since I'm a bloody beginner with dbs and vB...).
I tried to delete the tbls "hack" and "hacklog" to start the installation again. When I do the query:

ALTER TABLE post DROP hack;

I will get an error msg:

________________________________________________
An error occured while attempting to execute your query. The following information was returned.
error number: 1091
error desc: Can't DROP 'hack'. Check that column/key exists
________________________________________________

And now I stuck again. What is my mistake?

Regards,

adusei

adusei
02-14-2004, 07:43 AM
...ok, I guess I don't have to delete this tbls, but to drop only that column in tbl "language".
How do I do it, what must I type in the qry?

But btw: Why I can'tdrop that tbls "hack" and "hacklog"?

Regards,

adusei

adusei
02-14-2004, 08:19 AM
...ok now, I did the following qry:

ALTER TABLE language DROP COLUMN phrasegroup_hacklog

First time it give me back the msg, that two rows are affected...

Then I tried to install again. Same problem, no proceed-button in step 2.

After that I tried to do the qry again. No chance now, I get the error msg (see in my post above).

???

adusei

KuraFire
02-14-2004, 10:18 AM
Hmmm...

Did you do any file edits yet?

adusei
02-14-2004, 10:51 AM
Hmmm...

Did you do any file edits yet?

...actually: The first thing I did because I was confused and didn't understood your posting correct was to delete some of the phrases - but that I guess can't bring out this results...

Any other idea of what to do?

Regards,

adusei

adusei
02-14-2004, 12:27 PM
Something is going wrong with that thing.

Now I used PHPmyadmin to access my db. First I tried to find column "phrasegroup_hacklog", which doesn't exist.
Secondly I deleted the tbls "hack" and "hacklog".
Ten I tried to install "Hack Tracking" again. No chance, every time on step 2 there is no proceed-button and I stuck.

But since that thing is a good addon for vB, I really want to get it. But it seems that it doen't like to come to me...

Anyway, some ideas about it?

By the way: My code above to drop the column is not correct! It has to be:

ALTER TABLE yourtbl DROP yourline; :ermm:

Regards,

adusei

Oblivion Knight
02-14-2004, 06:23 PM
The "Uninstall Hack" control (on the drop down menu of an installed HTL hack) produces a java error for me, and it won't uninstall the hack.. :(

I noticed this when trying to uninstall EvB liteStats..

KuraFire
02-15-2004, 09:39 AM
Adusei, try looking at the table phrasetype and see if there's a row (probably with id 151) called hacklog (as the fieldname) ?

If so, delete that one as well (along with language.phrasegroup_hacklog if it exists again, and tables hack and hacklog).

KuraFire
02-15-2004, 09:40 AM
The "Uninstall Hack" control (on the drop down menu of an installed HTL hack) produces a java error for me, and it won't uninstall the hack.. :(

I noticed this when trying to uninstall EvB liteStats..
what browser are you using?

and it's not a java error, but a javascript error, and I don't know what could cause it, really... :/

Oblivion Knight
02-15-2004, 11:13 AM
Internet Explorer 6
I checked through the code of hackadmin.php and there doesn't appear to be anything associated with the uninstall function. There's remove (kill), but that just deletes the mod from the hacklog tables and such in the database I think.. There's nothing that uninstalls an installed HTL mod's phrases and tables.. Or at least, there doesn't appear to be.


There's this in the $hackoptions = array(

'uninstall' => $vbphrase['htl_uninstall_hack'],
But nothing associated with uninstall where you've set the cases in switch (action).

KuraFire
02-15-2004, 04:24 PM
Internet Explorer 6
I checked through the code of hackadmin.php and there doesn't appear to be anything associated with the uninstall function. There's remove (kill), but that just deletes the mod from the hacklog tables and such in the database I think.. There's nothing that uninstalls an installed HTL mod's phrases and tables.. Or at least, there doesn't appear to be.


There's this in the $hackoptions = array(

'uninstall' => $vbphrase['htl_uninstall_hack'],
But nothing associated with uninstall where you've set the cases in switch (action).
yeah, I forgot to mention, Uninstall is not finished yet.

That's planned for HTL 1.1.