vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [HTL] Hack Tracking Log (https://vborg.vbsupport.ru/showthread.php?t=60735)

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

Quote:

Originally Posted by Nam
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

Quote:

Originally Posted by eXtremeTim
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

Quote:

Originally Posted by eXtremeTim
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

Quote:

Originally Posted by squawell
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)
Code:

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:
  1. Clear your cache;
  2. Re-download the zipfile from the first post;
  3. open it up, and verify in upload/includes/adminfunctions_hacklog.php around line 565 that the line reads like this:
    PHP Code:

    $handle   fopen($file"rb"); 

    and NOT without the "b" in there (the former version had only "r", the new has "rb")
  4. If it doesn't, manually add the b there. If/once it does, upload those files to your server and overwrite the existing ones.
  5. 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

Quote:

Originally Posted by eXtremeTim
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

Quote:

Originally Posted by KuraFire
Follow these simple steps and let me know if that helps:
  1. Clear your cache;
  2. Re-download the zipfile from the first post;
  3. open it up, and verify in upload/includes/adminfunctions_hacklog.php around line 565 that the line reads like this:
    PHP Code:

    $handle   fopen($file"rb"); 

    and NOT without the "b" in there (the former version had only "r", the new has "rb")
  4. If it doesn't, manually add the b there. If/once it does, upload those files to your server and overwrite the existing ones.
  5. 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

Quote:

Originally Posted by squawell
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

Quote:

Originally Posted by sabret00the
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

Quote:

Originally Posted by KuraFire
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

Quote:

Originally Posted by Rein Masamuri
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
How to Support the HTL
Why should I make HTL-only hacks?

KuraFire 01-26-2004 10:42 AM

Quote:

Originally Posted by squawell
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

Quote:

Originally Posted by KuraFire
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

Quote:

Originally Posted by Faranth
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

Quote:

Originally Posted by Rein Masamuri
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

Quote:

Originally Posted by KuraFire
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

Quote:

Originally Posted by KuraFire
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

Quote:

Originally Posted by Rein Masamuri
...
4) Can you say Joygasm?

ROFL! https://vborg.vbsupport.ru/external/2004/01/3.gif


Quote:

Originally Posted by squawell
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

Quote:

Originally Posted by princeton
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?

Quote:

Originally Posted by princeton
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. :)

Quote:

Originally Posted by princeton
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.


Quote:

Originally Posted by princeton
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

Quote:

Originally Posted by KuraFire
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

Quote:

Originally Posted by Faranth
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

Quote:

Originally Posted by KuraFire
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


All times are GMT. The time now is 01:41 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01644 seconds
  • Memory Usage 1,863KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete