Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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
  #332  
Old 05-01-2004, 01:21 AM
neocorteqz's Avatar
neocorteqz neocorteqz is offline
 
Join Date: May 2002
Location: Barefoot Bay Fl
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lurk
I uploaded a new admincp/index.php file and i can't find the htl groups, what do i modify to re-add them? (Manually)
Find in File admincp/index.php around line 497

Code:
// cache nav prefs
	can_administer();

	construct_nav_spacer();
and Below that ADD

Code:
// [START HACK='Hack Tracking Log' AUTHOR='KuraFire' VERSION='1.00 Gold' CHANGEID= 1 ]
	// first we get the config_htl.php file that we need for some of this..
	require_once('./includes/config_htl.php');

	$thisnav = (!isset($_GET['hacksnav'])) ? 'vb' : 'hacks';

	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 />');

	if ($vboptions['htl_use_dual_nav'])
	{
		if ($_REQUEST['hacksnav'] == 1)
		{
			define('QUICKSTOP', true);
			$thisnav = 'hacks';
		}
		construct_nav_option2(iif($thisnav=='vb', $vbphrase['htl_cphome_hacks_menu'], $vbphrase['htl_cphome_standard_vb_menu']), 
			'index.php?do=nav' . iif($thisnav=='vb', '&amp;hacksnav=1'), '<br />');
	}

	construct_nav_group($vbphrase['htl_cphome_menu_navigation']);
	construct_nav_spacer();

	if (!$vboptions['htl_use_dual_nav'])
	{
		// place this line lower in this section to have the hack menu items appear elsewhere
		build_hacknavs();
	}

	if (defined('QUICKSTOP'))
	{
		build_hacknavs();

		print_nav_panel();

		echo "</div>\n";
		// *************************************************

		define('NO_CP_COPYRIGHT', true);
		unset($DEVDEBUG);
		print_cp_footer();
		exit;
	}
// [END HACK='Hack Tracking Log' AUTHOR='KuraFire' VERSION='1.00 Gold' CHANGEID= 1 ]
Find in File includes/adminfunctions_navpanel.php around line 264

Code:
	<?php

	echo $controls . $_NAV . $_controls;
}
ADD Below that

Code:
// [START HACK='Hack Tracking Log' AUTHOR='KuraFire' VERSION='1.00 Gold' CHANGEID= 2 ]
// ###################### Start makenavoption 2#######################
// similar to the normal one, except it doesn't send you to the main frame.
// function granted to the HTL by trafix, copyright (C) trafix
function construct_nav_option2($title, $url, $extra = '')
{
	global $session, $options;
	static $sessionlink;
	
	if (!isset($options))
	{
		$options = array();
		if ($session['sessionurl'] == '')
		{
			$sessionlink = '';
		}
		else
		{
			$sessionlink = "&amp;s=$session[sessionhash]";
		}
	}

	$options[] = "\t\t<div class=\"navlink-normal\" onclick=\"location='$url$sessionlink';\" onmouseover=\"this.className='navlink-hover';\" onmouseout=\"this.className='navlink-normal'\"><a href=\"$url$sessionlink\" target=\"_self\" onclick=\"window.event.cancelBubble = true;\">$title</a>$_extra</div>\n";
}


// ###################### Start build_hacknavs ######################
// creates navpanel menu blocks for all hacks in the HTL that have this enabled
function build_hacknavs()
{
	global $DB_site;
	static $hackmenu;

	$get_hack_navs = $DB_site->query("SELECT menubits FROM " . TABLE_PREFIX . "hack WHERE (options & " . HTLSETTING_SHOWMENU . ") AND atstep=-1");

	while ($hackmenu = $DB_site->fetch_array($get_hack_navs))
	{
		construct_hack_nav($hackmenu['menubits']);
	}
}


// ###################### Start construct_hack_nav ##################
// takes $ser_data, which is a serialized array with info, and creates 
// a whole menu block item out of it :)
function construct_hack_nav($ser_data)
{
	global $vboptions;

	$prefix = ($vboptions['htl_prefix_titles']) ? $vboptions['htl_prefix_what'] : '';

	$data = unserialize($ser_data);

	if (sizeof($data) > 1)
	{
		$title = $data[0];
		unset($data[0]);
		foreach($data as $displayorder=>$arry)
		{
			construct_nav_option($arry['text'], $arry['url'], '<br />');
		}

		construct_nav_group($prefix . $title, '<hr />');
		construct_nav_spacer();
	}
}
// [END HACK='Hack Tracking Log' AUTHOR='KuraFire' VERSION='1.00 Gold' CHANGEID= 2 ]
Find in File includes/adminfunctions_template.php around line 3079 (Basically at the end of the file)

Code:
);
Add Below

Code:
// [START HACK='Hack Tracking Log' AUTHOR='KuraFire' VERSION='1.00 Gold' CHANGEID= 3 ]
if ($_SERVER['PHP_SELF'] == "/$admincpdir/template.php")
{
	require_once('./includes/config_htl.php');
	if ($vboptions['htl_use_auto_tgroups'] == 1)
	{
		$hack_tgroups = $DB_site->query("SELECT groupname, title FROM " . TABLE_PREFIX . "hack WHERE (options & " . HTLSETTING_SHOWTEMPLATEGROUP . ") AND atstep = -1 AND groupname != ''");

		while ($tgroup = $DB_site->fetch_array($hack_tgroups))
		{
			$name        = preg_replace('/[^a-z]/', '', strtolower($tgroup['groupname']));
			$only[$name] = $tgroup['title'];
		}
	}
}
// [END HACK='Hack Tracking Log' AUTHOR='KuraFire' VERSION='1.00 Gold' CHANGEID= 3 ]
These three things need to be done for it to show up in the AdminCP.
Already done the edits to
includes/adminfunctions_template.php
includes/adminfunctions_navpanel.php

Just do the Index.php edit. You can always access the Hack List by directly calling the script in your browser. and then the above steps would be found by running a test install, should be step 6 of 6.
Reply With Quote
  #333  
Old 05-02-2004, 08:49 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

psssst .... I am Install: 200

Thank you. :banana:
Reply With Quote
  #334  
Old 05-03-2004, 08:53 AM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This did not help at all.

I installed HTL correct, but thus I am using vBulletin 3.0.1 there is an empty menu in the top of the navbar in the admincp.

How can I get this menu being filled with words ?

It is the menu that switches the "side" of the navpanel and brings me to the HTL-Menu.
Reply With Quote
  #335  
Old 05-04-2004, 02:04 AM
neocorteqz's Avatar
neocorteqz neocorteqz is offline
 
Join Date: May 2002
Location: Barefoot Bay Fl
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarcelM
This did not help at all.

I installed HTL correct, but thus I am using vBulletin 3.0.1 there is an empty menu in the top of the navbar in the admincp.

How can I get this menu being filled with words ?

It is the menu that switches the "side" of the navpanel and brings me to the HTL-Menu.
did all the phrases get added?
Reply With Quote
  #336  
Old 05-04-2004, 04:15 PM
adusei adusei is offline
 
Join Date: Jan 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since I'm using vB3.0.1 now - I tried to install the great HTL again. And I got the same problem as before with the vBRC-Versions -: After step two the installer stays idle.WHY???
I tried to install manually - but the phrases are not installed.
What is to be done?

PLEASE H E L P !!!

adusei
Reply With Quote
  #337  
Old 05-05-2004, 04:30 PM
Wifey Wifey is offline
 
Join Date: Mar 2004
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Help! I'm getting this error now in my admincp

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

And I can't see any options

edit: Okay I solved it. The hack instructs in the install are wrong. In the second php file change it says for you to place the stuff ABOVE the echo whatever when it should be below.
Reply With Quote
  #338  
Old 05-07-2004, 06:35 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Warning: halt(): open_basedir restriction in effect. File(./includes/functions_log_error.php) is not within the allowed path(s): (/home/drunk78/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/drunk78/public_html/forum/includes/db_mysql.php on line 388
not sure if its your hack or vbindex.. I put up a test site.. and after a few days later i am getting this error.


VB 3.0.1

I had 3.0.0 amd i upgraded it..

not sure any more.. if you can be any help thanks..
Reply With Quote
  #339  
Old 05-07-2004, 06:58 PM
Holidazed's Avatar
Holidazed Holidazed is offline
 
Join Date: May 2002
Location: Van Nuys, CA
Posts: 713
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
What is the status on Talkerbot 2.03?
Reply With Quote
  #340  
Old 05-07-2004, 09:38 PM
Kalipo Kalipo is offline
 
Join Date: Apr 2004
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could anyone help me.

Im trying to install the shoutbox via HTL i put the files in the Htl folder and they wont show up in the installer.. plus when i installed the menu on the side panal "manage hacks" doesnt show..

Anyone?
Reply With Quote
  #341  
Old 05-08-2004, 09:44 AM
jaliam jaliam is offline
 
Join Date: Jan 2003
Location: California
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is wonderful and it works with vB 3.0.1. Thanks, Kura!
Reply With Quote
Reply

Thread Tools

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 02:25 AM.


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.04811 seconds
  • Memory Usage 2,328KB
  • 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
  • (6)bbcode_code
  • (4)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
  • (1)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