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

Reply
 
Thread Tools
Details »»

Version: , by Tommy Boy Tommy Boy is offline
Developer Last Online: Oct 2014 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-13-2001 Last Update: Never Installs: 5
 
No support by the author.

There are currently two settings which affect the display of forum levels, but none of them affects the forumjump box. This hack will add a third option to the Admin control panel, with the role of taking care of the forumjump box depth level.

Highly useful for board with a lot of child forums! Without this hack, all forums are displayed in the forumjump box, thus reducing its effectiveness and attractiveness.

Please post your opinions on this hack, and whether you like it or not. I was discouraged when no one installed my last hack, and it might determine whether I keep releasing hacks in the future...

Thank you!

What's new in version 1.1?
When moving a thread, the target forums list should contain all the forums. This has been fixed in this version. If you have already installed the first version, read the instructions on post #10 in this thread. Otherwise, the attached files are already updated.

Show Your Support

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

Comments
  #22  
Old 05-06-2002, 10:33 PM
Swayed Swayed is offline
 
Join Date: May 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I decided to test this out on a cleanly installed test forum, and got the same thing. I'm pretty sure it's caused by version 2.2.5. The error was not brought about by a change in the global.php file, but rather one of the changes made by the functions.php file (which is also mentioned in the error).

Maybe at some point I'll try to figure out what is going on (I really want this script), but for now I would say not to install it on 2.2.5.
Reply With Quote
  #23  
Old 06-01-2002, 02:10 AM
Q8vbhacks Q8vbhacks is offline
 
Join Date: Mar 2002
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also me help i get

Parse error: parse error in /..../....../....../admin/global.php(79) : eval()'d code on line 1

in admin Control Panel

also in forumhome

Parse error: parse error in /..../....../....../vb/global.php(103) : eval()'d code on line 1

Warning: Cannot add header information - headers already sent by (output started at /..../....../....../vb/global.php(103) : eval()'d code:1) in /..../....../....../vb/admin/functions.php on line 1459
Reply With Quote
  #24  
Old 06-01-2002, 09:54 PM
mgoiriz mgoiriz is offline
 
Join Date: Jan 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think there's a problem when, in install_forumjump_depth.php, this line gets executed:

PHP Code:
$result mysql_query ("UPDATE template SET template = template + '\$forumjumpdepth = \"$forumhomedepth_value\";\n' WHERE title = 'options'"); 
The field 'options' in table 'template' ends up being a simple 0, so all the previous options get deleted, and that's why I used to get the eval()'d errors.

Hope I helped.
Reply With Quote
  #25  
Old 06-02-2002, 05:57 AM
Q8vbhacks Q8vbhacks is offline
 
Join Date: Mar 2002
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very thank but what A query but in phpmyadmin to remove this change & back like before
Reply With Quote
  #26  
Old 11-12-2002, 02:57 PM
Kianor Kianor is offline
 
Join Date: Sep 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got the same error with 2.2.7, how can I go back again to a working situation?

Anyone knows a query to do to restore everything?
Reply With Quote
  #27  
Old 11-13-2002, 12:37 PM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a friend of mine installed this hack. He has the same problem....now he has to start from scratch. It's too bad because everyone else is having problems too.
Reply With Quote
  #28  
Old 03-04-2003, 07:28 PM
Edgemyster Edgemyster is offline
 
Join Date: Feb 2003
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i've got the same problem and it's completely killed my forum... :<

we managed to restore our template.template(title='options') value from a stored version, but changes made to the setting table are irreversible since they are mathematically determined. Not so sure they should have anything to do with the problem though. The options template correction did NOT restore the site's functionality.

We are running 2.2.9, so the problem is not version-specific.

Sincerely,
- Screwed
Reply With Quote
  #29  
Old 03-04-2003, 10:32 PM
Edgemyster Edgemyster is offline
 
Join Date: Feb 2003
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After 4 hours of pulling our hair out ... we fixed the problem.

This is the issue that some of you may get after installing the hack that basically turns your site to crap (parse errors at the top of every page - php files refusing to run, etc.).

We tracked the error to a database table that is modified by this hack. A query within this hack's installation file basically killed (removed) the 'options' data the "template" table all together. We had to restore this from an old backup.

After having done that, we still have the same problem. Firefly actually suggests in another thread to access the AdminCP, load the options, then save them - indicating that should fix the problem. It may for some of you, but we couldn't personally access our AdminCP any longer.

To make a long story a little bit longer, we did the following and got things working again:

1) Restore the 'options' data to the 'template' table from an old database backup. Try this first if you discover that your data has been erased here as well.

2) If you still have errors focusing on this line in the two global.php files (as we did) that points to the data modified in the database by the hack:

eval($optionstemp[template]);

Then comment out that line in ADMIN/global.php. And then load the AdminCP.

3) Click on your VB options, then save the options in AdminCP, as Firefly had suggested, and wah-lah - everything of ours was back up and functioning again.

A rather easy fix for something we beat our heads over for the last 5 hours.

My suggestion? DO NOT load this hack if you're operating on or around version 2.2.9 until it's problems are addressed (if ever).
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 05:08 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.06068 seconds
  • Memory Usage 2,281KB
  • 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
  • (1)bbcode_php
  • (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
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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