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)
-   -   forumjump on ForumHome! (https://vborg.vbsupport.ru/showthread.php?t=43107)

Webmasta XT 09-02-2002 10:00 PM

forumjump on ForumHome!
 
My second hack today, as requested by leon2u here.

This hack will put a forumjump on forumhome..

open up index.php and find this code:
PHP Code:

eval("dooutput(\"".gettemplate('forumhome')."\");"); 

And directly above it add:
PHP Code:

eval("\$forumjump = \"".gettemplate("forumjump")."\";"); 

Than open up the forumhome template located in admincp
and put $forumjump whevere you want your forumjump to be displayed..

Live Demo: http://www.xtreme-forumz.net/

Lesane 09-02-2002 11:05 PM

Nice little addon.

btw..Are you satisfied with OneRack.Com? The speed is very good.

floleb7 09-02-2002 11:13 PM

Page generated in 0.65994096 seconds (71.78% PHP - 28.22% MySQL) with 48 queries.

ouch

Webmasta XT 09-02-2002 11:13 PM

ya, onerack.com is koo.. the hack is kinda under construction, will post the new code in a few secs

Webmasta XT 09-02-2002 11:22 PM

Page generated in 0.51906800 seconds (57.97% PHP - 42.03% MySQL) with 51 queries.

I have no idea why, dont even have that many hacks, lol

Webmasta XT 09-02-2002 11:30 PM

ok, I need help..
WHen the forumjump works, the categories disappear, and when the categories work forumjump disappears..

Erwin 09-03-2002 12:02 AM

I haven't looked at the code but you need to change the variables so they are not the same with the code to look for the forum categories - just add a 1 to every single variable in your addon. :)

leon2u 09-03-2002 05:42 AM

Could you please look at your posting:
https://vborg.vbsupport.ru/showthrea...threadid=43107

It says look for Under Construction in index.php and then direcly above add Under Construction....but euh first of all I can not find the first term Under Construction in index.php so does this not have to be another term???

Plz help...thanx

Erwin 09-03-2002 06:48 AM

"Under Construction" means his hack is not ready and is still under contruction. :)

HAK 09-03-2002 08:51 AM

thanx for the cool hack..
bty I liked that table which shows the member's info. instead to be as usual on the left..u put it on the top..

would u tell us what was that cool hack..?

Webmasta XT 09-03-2002 10:44 AM

Quote:

Originally posted by Erwin
I haven't looked at the code but you need to change the variables so they are not the same with the code to look for the forum categories - just add a 1 to every single variable in your addon. :)
Ok, i added the code to my first post, now, the forumjump works, but the forumid #1 is gone...

leon2u 09-03-2002 10:50 AM

So your code is not perfect yet???

Do I have to wait for you have a another code?

Webmasta XT 09-03-2002 11:19 AM

yes, just wait for the new code..

Webmasta XT 09-03-2002 11:35 PM

ok, this Hack is now in working position.. so you can all install it! I fixed the coding, works perfect.

Live Demo @ http://www.xtreme-forumz.net

Boofo 09-04-2002 12:27 AM

It doesn't show any of the forums. Why would you want it on the forumhome? :ermm:

kaost451 09-04-2002 12:56 AM

why would you need forum jump on index? maybe for subforums?

Boofo 09-04-2002 01:04 AM

It doesn't show any forum OR subforums. Check it out. :)

leon2u 09-04-2002 05:22 AM

I want to give my users the possibility to see all subforums in the jump menu on the homepage...this is much easier navigating.

Another possibility is to change to color of the main forum on the forum and subforum overview page. See my attachment...

But it would be great to have a forumjump...for the forumjump such as it is now you do not need the code you can place $forumjump anywhere on your homepage and it will let you show the same.

Can nobody create me this hack???

Thanx for your effort already...

Boofo 09-04-2002 05:28 AM

Sorry, but you are wrong on this. If you do not use the code that Webmasta XT supplied for the index.php, then putting forumjump in the forumhome template will do nothing and show nothing. Test it out. :)

Quote:

Originally posted by leon2u
.for the forumjump such as it is now you do not need the code you can place $forumjump anywhere on your homepage and it will let you show the same.


TECK 09-04-2002 05:47 AM

cool hack, if you dont care about the extra queries added...

leon2u 09-04-2002 05:51 AM

The hack is nice but not what I requested yet...

In the forumjump on the homepage I want to see all forums and subforums in it....so plz could you finish the hack???

Thanx

Webmasta XT 09-04-2002 11:50 PM

thats not possible, I tried and tried but just couldn't get it right, the other way is you create another forum(Just empty, no posts allowed) which will look messed up, than i can give u the code to show it up with sub forums and the forums..

Webmasta XT 09-04-2002 11:51 PM

if someone else can do it, please go ahead..

Canis Firebrand 06-13-2006 05:07 PM

How would this be done for VB 3.5.4?

I did similar to above in the first post, and I do indeed have a forumjump showing on my forumhome page. However it just shows the links under Site Areas, and nothing under Forums.

This is what I added to my index.php
Code:

eval('$forumjump = "' . fetch_template('forumjump') . '";');
And in the forumhome template, I added $forumjump where I wanted it to display.


All times are GMT. The time now is 08:40 PM.

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.01254 seconds
  • Memory Usage 1,759KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete