Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
Had a couple requests for this and threw it together. This essentially removes the 'Hop to:' pulldown and 'Go' button functionality from the bottom of showflat and postlist and makes it a popup menu.

Before pic:

[Linked Image]

After pic (on a different board of course - i can't modify ubbcentral!! laugh

[Linked Image]

Instructions:

Just read the Readme.txt (attached) and do it.

You can fiddle with '$jumpbox = $html -> hop_to(40);' and change the number 40 to your liking. The number 40 signifies the number of characters to display for forum/sub-forum(s), before using the '...' continuation. you'd do this in 2 places. showflat.inc.php and postlist.inc.php. no need to fiddle with the ubbthreads.inc.php class, as that is just the default over there.

This allows for loooong stuff to be trimmed and then the menu doesn't go bonkers width wise..

Good luck.

Notes:

1. you can easily move this menu to the right (over by the pager), but simply editing the tpls. Keep in mind, if there is no right side portal, you might have the popup to wide to fit on screen.
2. you can also duplicate the menus that are on top to down below as well.
3. you may want to edit the language for 'Hop to:' to 'Hop to' to get rid of the colon, if you are anal about it wink

example:

[Linked Image]

once again, it's a simple .tpl mod. I've done it, but am time pressed to post here. I'm quite sure someone could take this example and post those mods as a part of this thread though wink

we have enough tpl gooooos, to be able to slice and dice as needed.

Good luck wink
Attachments
2459-ReadMe.txt (6.58 KB, 28 downloads)
Prolly want to read it ;)
SHA1: 5676cdc8232e61363ee8d1a52cc58ebec72f2bde

Last edited by sirdude; 08/21/2007 11:39 PM. Reason: Updated for 7.2.1
Sponsored Links
Entire Thread
Subject Posted By Posted
[7.2.1] - Hop to as a popup menu sirdude 07/20/2007 7:54 PM
Re: [7.2] - Hop to as a popup menu Gizmo 07/21/2007 3:15 AM
Re: [7.2] - Hop to as a popup menu Rose 07/21/2007 2:13 PM
Re: [7.2] - Hop to as a popup menu Rose 07/21/2007 2:44 PM
Re: [7.2] - Hop to as a popup menu sirdude 07/21/2007 5:26 PM
Re: [7.2] - Hop to as a popup menu Rose 07/21/2007 6:48 PM
Re: [7.2] - Hop to as a popup menu Mike G 07/22/2007 12:51 AM
Re: [7.2] - Hop to as a popup menu sirdude 07/22/2007 5:08 AM
Re: [7.2] - Hop to as a popup menu Rose 07/22/2007 5:16 AM
Re: [7.2] - Hop to as a popup menu Gizmo 07/22/2007 6:05 AM
Re: [7.2] - Hop to as a popup menu Mike G 07/22/2007 7:26 AM
Re: [7.2] - Hop to as a popup menu Mike G 07/22/2007 7:20 AM
Re: [7.2] - Hop to as a popup menu sirdude 07/22/2007 7:26 AM
Re: [7.2] - Hop to as a popup menu sirdude 07/22/2007 7:29 AM
Re: [7.2] - Hop to as a popup menu Mike G 07/22/2007 7:33 AM
Re: [7.2] - Hop to as a popup menu sirdude 07/22/2007 7:34 AM
Re: [7.2] - Hop to as a popup menu Gizmo 07/22/2007 9:39 AM
Re: [7.2] - Hop to as a popup menu Gizmo 07/22/2007 9:40 AM
Re: [7.2] - Hop to as a popup menu Rose 07/22/2007 2:01 PM
Re: [7.2] - Hop to as a popup menu Rose 07/22/2007 2:11 PM
Re: [7.2] - Hop to as a popup menu Rose 07/22/2007 5:36 PM
Re: [7.2] - Hop to as a popup menu sirdude 07/22/2007 5:50 PM
Re: [7.2] - Hop to as a popup menu Rose 07/22/2007 9:31 PM
Re: [7.2] - Hop to as a popup menu Gizmo 07/23/2007 1:04 AM
Re: [7.2] - Hop to as a popup menu sirdude 07/23/2007 4:53 AM
Re: [7.2] - Hop to as a popup menu Ian_W 07/23/2007 9:20 AM
Re: [7.2] - Hop to as a popup menu Gizmo 07/23/2007 9:31 AM
Re: [7.2] - Hop to as a popup menu Rose 07/23/2007 12:52 PM
Re: [7.2] - Hop to as a popup menu Rose 07/24/2007 3:38 AM
Re: [7.2] - Hop to as a popup menu sirdude 07/24/2007 5:12 AM
Re: [7.2] - Hop to as a popup menu Rose 07/25/2007 3:01 AM
Re: [7.2] - Hop to as a popup menu sirdude 07/25/2007 3:55 AM
Re: [7.2] - Hop to as a popup menu Rose 07/25/2007 1:04 PM
Re: [7.2] - Hop to as a popup menu sirdude 07/25/2007 6:29 PM
Re: [7.2] - Hop to as a popup menu sirdude 07/25/2007 10:54 PM
Re: [7.2] - Hop to as a popup menu Zarzal 07/25/2007 11:55 PM
Re: [7.2] - Hop to as a popup menu sirdude 07/26/2007 2:09 AM
Re: [7.2] - Hop to as a popup menu Rose 07/26/2007 3:33 AM
Re: [7.2] - Hop to as a popup menu Rose 07/26/2007 4:09 AM
Re: [7.2] - Hop to as a popup menu Gizmo 07/26/2007 4:52 AM
Re: [7.2] - Hop to as a popup menu Zarzal 07/26/2007 9:06 AM
Re: [7.2] - Hop to as a popup menu sirdude 07/26/2007 1:46 PM
Re: [7.2] - Hop to as a popup menu Zarzal 07/26/2007 7:14 PM
Re: [7.2] - Hop to as a popup menu sirdude 07/26/2007 7:22 PM
Re: [7.2] - Hop to as a popup menu sirdude 08/22/2007 5:58 PM
Re: [7.2] - Hop to as a popup menu Zarzal 07/26/2007 9:22 AM
Re: [7.2] - Hop to as a popup menu sirdude 07/26/2007 1:36 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,575
Posts293,930
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)