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)

KuraFire 01-24-2004 10:00 PM

[HTL] Hack Tracking Log
 


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

[high]
Official Hack Tracking Log Product page:
www.everythingvb.com/products/htl/
[/high]


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 on EverythingvB.com That place also holds the full official HTL Documentation, including a F.A.Q. and a Step by Step guide to making a new Hack.


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


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


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)
- 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


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

[high]* Dan clicks install[/high]

KuraFire 01-25-2004 09:51 PM

Quote:

Originally Posted by Dan
Upgrading from RC :D

Thanks Kura

[high]* Dan clicks install[/high]

You're all very welcome :)

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

VampireMan 01-25-2004 09:54 PM

[high]* VampireMan clicks install
[/high]

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

Quote:

Originally Posted by VampireMan
[high]* VampireMan clicks install
[/high]

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

Quote:

Originally Posted by 13th_Disciple
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

Quote:

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

Quote:

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

[high]* Natch clicks install, and goes to make a HTL compatible hack :)[/high]

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

Quote:

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

Quote:

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

Quote:

Originally Posted by KuraFire

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

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

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

KuraFire 01-25-2004 11:00 PM

Quote:

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

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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

[high]* MGM clicks Install
[/high]

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

Quote:

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

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

Quote:

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


All times are GMT. The time now is 02:48 AM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01677 seconds
  • Memory Usage 1,865KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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