The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[HTL] Hack Tracking Log Details »» | |||||||||||||||||||||||||
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
|
Comments |
#332
|
||||
|
||||
Quote:
Code:
// cache nav prefs can_administer(); construct_nav_spacer(); 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'], '&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', '&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 ] Code:
<?php echo $controls . $_NAV . $_controls; } 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 = "&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 ] Code:
); 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 ] 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. |
#333
|
||||
|
||||
psssst .... I am Install: 200
Thank you. :banana: |
#334
|
||||
|
||||
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. |
#335
|
||||
|
||||
Quote:
|
#336
|
|||
|
|||
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 |
#337
|
|||
|
|||
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. |
#338
|
|||
|
|||
Quote:
VB 3.0.1 I had 3.0.0 amd i upgraded it.. not sure any more.. if you can be any help thanks.. |
#339
|
||||
|
||||
Quote:
|
#340
|
|||
|
|||
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? |
#341
|
|||
|
|||
This hack is wonderful and it works with vB 3.0.1. Thanks, Kura!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|