Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[HTL] Hack Tracking Log Details »»
[HTL] Hack Tracking Log
Version: 1.00, by KuraFire KuraFire is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-24-2004 Last Update: Never Installs: 200
 
No support by the author.


This Hack is released under an EverythingvB.com
FullAttribution-LimitedDerivs-LimitedTranslation License


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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #232  
Old 02-13-2004, 07:11 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@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.
Reply With Quote
  #233  
Old 02-13-2004, 07:46 AM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
@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 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
Reply With Quote
  #234  
Old 02-13-2004, 07:47 AM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
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??
Reply With Quote
  #235  
Old 02-13-2004, 02:26 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
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
Code:
<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...
Code:
<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.
Reply With Quote
  #236  
Old 02-13-2004, 03:14 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #237  
Old 02-13-2004, 03:16 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KuraFire
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.
Reply With Quote
  #238  
Old 02-13-2004, 03:28 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #239  
Old 02-13-2004, 08:07 PM
adusei adusei is offline
 
Join Date: Jan 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #240  
Old 02-13-2004, 10:56 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by adusei
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.
Reply With Quote
  #241  
Old 02-14-2004, 07:35 AM
adusei adusei is offline
 
Join Date: Jan 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KuraFire
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:38 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05617 seconds
  • Memory Usage 2,337KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete