vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbHacker & vbHackMaker (https://vborg.vbsupport.ru/showthread.php?t=36378)

GameCrash 04-06-2002 07:07 AM

Hm... some weeks (or months?) before I offered to create such a tool... nobody wanted it...

Smoothie 04-06-2002 07:19 AM

Well, I don't need vbHacker, I just need the plaintext file it creates so I can install the hack.

timecode 04-06-2002 06:43 PM

Requests

Definitely have a vbhacks folder to keep the hacks tidy.

In vbhackmaker, how about having a selection list of current xxxx.hack.php files like you do in vbhacker's 'choose a hack you wish to install' to select from (for editing) ?

Problems

'Proceed With Creating Hack'... I have no 'file edits' for example, only template edits. It seems to insist on me saying that there is at least one file edit before I can go any further.

The first 'template edit' gets '\'characters (escape) added which make vbhacker unable to find the string in the original. It also adds them again, making them worse each time the file is edited and run through vbhackmaker
e.g.
<a href=\\\"calendar.php?s=$session[sessionhash]\\\"><img src=\\\"https://vborg.vbsupport.ru/images/top_calendar.gif\\\" alt=\\\"Calendar\\\" border=\\\"0\\\"></a>

Also, I'm trying to replace the following from the header template but it says it can't ever find it. It IS there though. Is it parsing 'newline' and other similar characters correctly? I've re-typed the whole text in vbhackmaker, cut and pasted it as well from the original header, but no luck.

<!-- logo and buttons -->
<center>
<table border="0" width="\{tablewidth\}" cellpadding="0" cellspacing="0">
<tr>


Apart from these problems it's great. The ones I do have working run smooth as silk :)

I have no other hacks installed. I'm running on a clean install of 2.2.5 (tried it on a clean 2.2.2 as well though) and wanted to get vbhacker running before I start to use it live.

Any ideas as to why I'm having these specific problems?

Admin 04-07-2002 11:11 AM

First problem of "must have a file edit" -- simple, a hack must consist of at least one file edit or it's not a hack (but a template modification).

The added slashes -- a problem with magic_quotes_gpc being on. I think I know how to fix this and I will as soon as I get some free time on my hands.

ja5es 04-07-2002 11:01 PM

Ahhhh... This is nice. Thanks a lot FireFly!

fastforward 04-08-2002 03:06 PM

Quote:

Originally posted by FireFly
First problem of "must have a file edit" -- simple, a hack must consist of at least one file edit or it's not a hack (but a template modification).

The added slashes -- a problem with magic_quotes_gpc being on. I think I know how to fix this and I will as soon as I get some free time on my hands.

Just FYI... I tried to package my hack using vbHackMaker and I also had the added slashes problem. The problem occurs with or without magic_quotes_gpc on. magic_quotes_runtime is set to off if that makes a difference.

andrew67 04-09-2002 02:51 PM

This ermm script/hack??? ROCKS!!!! It makes installing hacks a breeze... FireFly does it again, what a champion... Three cheers for FireFly :)

Hip Hip
Hooray
Hip Hip
Hooray
Hip Hip
Hooray
:D

Alfo 04-09-2002 04:08 PM

Quote:

Originally posted by Wolf42
I got to get access via AdminCP:

Add this code in admin/index.php
PHP Code:

// ***
makenavoption("Add Hack","vbhacker.php","<br>");
makenavoption("Make Hack","vbhackmaker.php");
makenavselect("FireFly's Hackinstaller","<hr>"); 

right after:
PHP Code:

if ($debug==1) {
    
makenavoption("Download Set","template.php?action=downloadset","<br>");
    
makenavoption("Upload Set","template.php?action=uploadset","<br>");
    
makenavoption("Do <img> Tags","template.php?action=imgtags");


What do you think?

Ups: Don't work! Just tryed on my boards.
But I don't know why. Any ideas?

Doesn't Fix what you have done but is a alternative:
In .admin/Index.php Look for:
Code:

<tr class="firstalt">
        <td>MySQL Language Lookup</td>
        <td><input type="text" name="search_query" size="30"> <span id="submitrow"><input type="submit" value="Find Now"></span></td>
</tr>
<tr class="secondalt">
        <td>Useful Links</td>
        <td><select onchange="jumpto(this.options[this.selectedIndex].value)">
                <option>&raquo; Useful Links &laquo;</option>
                <option value="http://www.vbulletin.org">vBulletin Org</option>
                <option value="http://www.vbulletin.com/">vBulletin Home Page</option>
                <option value="http://www.vbulletin.com/members/">vBulletin Members' Area</option>
                <option value="http://www.vbulletin.com/forum/">vBulletin Support Forums</option>
                <option value="http://www.vbulletin.com/manual/">vBulletin Online Manual</option>
                <option value="http://www.php.net/">PHP Home Page</option>
                <option value="http://www.php.net/manual/">PHP Online Manual</option>
                <option value="http://www.mysql.com/">MySQL Home Page</option>
                <option value="http://www.mysql.com/documentation/">MySQL Documentation</option>

        </select></td>
</tr>

And Just add :
Code:

                <option value="http://xxx.xxx.com/admin/vbhacker.php">VB HACKER</option>
                <option value="http://xxx.xxx.com/admin/vbhackermaker.php">VB HACKERMAKER</option>

It works.

Also Thanks to Firefly for a user friendly addition:)

GOD-Dblade 04-10-2002 09:03 PM

i cant get this hack to work with 2.2.5...there a reason for this? shows a error...

Warning: Variable passed to reset() is not an array or object in /home/virtual/site16/fst/var/www/html/forums/admin/vbhacker.php on line 278
Warning: The vBulletin version you are currently using (2.2.5) does not match the vBulletin version required by this hack ().

Kengan 04-10-2002 09:55 PM

Love it ! thanks ! :cool:


All times are GMT. The time now is 08:18 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.01170 seconds
  • Memory Usage 1,756KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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