vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   forum jump moved across from reply button (https://vborg.vbsupport.ru/showthread.php?t=76210)

shortbus1662 02-12-2005 11:00 PM

forum jump moved across from reply button
 
I hate having to scroll to the bottom of the page to hit go on the forum jump when it could be even with the
new post or new reply buttons and on the right side, directly under the thread or post list.

Can anyone tell me how I would move it? Thanks.

shortbus1662 02-16-2005 08:16 PM

anyone?

ericgtr 02-16-2005 09:41 PM

Hi Shortbus, long time no see :) I see you are still using UBBT for your regular site, do you have an example of your vb forum so I can have a look for you?

shortbus1662 02-16-2005 10:48 PM

Yeah, still on threads. I can't make the move until all the other sites that use my db are on VB. I'm having someone make it so they're all hosted on my ip, and using the same db, but with their own styles and urls. It's taking quite a bit longer than I expected unfortunately...

Anyway,

here is a link to my Nursing Forums

Anywhere there is a reply button, I want to put the forum jump index right across from it on the right so that my users can jump right back to that forum index if they don't want to reply to a post. It's a hassle to have to scroll down to the bottom of that jump index.

This is the one area where ubbthreads is better. There are the "previous, index, next, threaded" links directly under the posts, and also at the top of the threads list, so you can go back to the main forum page.

Being an addict who reads every single post, especially on my own forums, it makes things MUCH easier having that there.

I guess I wouldn't need to "move" that, but instead add some links thaht go "up" a level there...

ericgtr 02-16-2005 11:40 PM

1 Attachment(s)
Okay then, here's a simple template mod that will do what you want.

Note: You will find this in two places so apply this apply this to both.
Open the SHOWTHREAD template and find:

PHP Code:

    <if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if> 

Above it add:

PHP Code:

    <td align="$stylevar[right]">$forumjump</td

Optionally, you may want to remove it from it's original location, I would recommend it because the forum jump boxes can be server intensive especially with a lot of forums:

PHP Code:

        <tr>
            <
td>
            
$forumjump
            
</td>
        </
tr

That's it! :)

shortbus1662 02-17-2005 12:05 AM

awesome, thanks!

off subject, (viewed your home page) who in your opinion is the best guitar player ever?

ericgtr 02-17-2005 12:28 AM

Eddie VH of course :)


All times are GMT. The time now is 07:30 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.02090 seconds
  • Memory Usage 1,728KB
  • 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
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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