vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Add a link to the "Forum Jump" Pulldown? (https://vborg.vbsupport.ru/showthread.php?t=106031)

Fofer 01-22-2006 08:10 PM

Add a link to the "Forum Jump" Pulldown?
 
I'd like simply to add one link to this handy pulldown at the bottom of the screen:

http://homepage.mac.com/joshr/tc/siteareaspulldown.jpg


The link I'd like to add is "New Posts," which would be:
http://www.myforumname.com/forums/search.php?do=getnew


Any advice or pointers on how to do this (what template to edit?) would be appreciated.

EDIT: I just found the same question, asked more appropriately here so mods, feel free to delete this post if necessary.

S@NL - BlackBik 01-22-2006 09:14 PM

The template is "forumjump", which is in the root of the templateview, but I think that you'll have to hack some code too.
Haven't found the right file to hack though.

Just open the include files and look for "forumjump" and i guess you'll find the one to alter.

Also, you could try this thread. That will give you some hints were to look.
It's in forumdisplay.php near line 66.

I don't know how to add a link with a parameter though (like search.php?do=getnew) like you want, but maybe you can figur that one out.

Fofer 01-22-2006 10:08 PM

Thanks for the pointer... I ended up taking the easy road and just created a fake "forum" called "?New Posts, all Forums."

Gave it the link of http://www.myforumname.com/forums/search.php?do=getnew

For "Act as Forum (Will act as category if no)" I checked no. (This way it doesn't actually show up as a forum.)

It is "Active" but not "Open."

And I set the Display Order so it's first on the list.

Now, it doesn't show up under "Site Areas" in the Forum Jump, it shows up under "Forums" -- but it works fine and was easy to implement. So I'm happy enough for now.

Thanks again!

NexDog 01-22-2006 11:30 PM

It works but it would be great to have it in Site Areas....


All times are GMT. The time now is 06:24 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.01012 seconds
  • Memory Usage 1,717KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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