vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Link back to forum from thread view (https://vborg.vbsupport.ru/showthread.php?t=110903)

vol_freak 03-20-2006 07:03 PM

Link back to forum from thread view
 
Sorry for the noob question but I just recently started using vb (long time ipb user) and I find it annoying when you reach the end of a thread you have to scroll all they way down to the Forum Jump dropdown menu. I would like to add a link in betwen "Previous Thread" and "Next Thread" that would take you back to the forum view (list of posts in the forum you are currently reading).

Does that make any sense? I don't have any idea where to start.

Thank you in advance.

Zachery 03-20-2006 09:45 PM

Hmm,

Do you want the same breadcrumb style of the postbit template?

vol_freak 03-20-2006 10:10 PM

Quote:

Originally Posted by Zachery
Hmm,

Do you want the same breadcrumb style of the postbit template?

I'm sorrry but you lost me. Let me try this. Below this post instead of:

? Previous Thread | Next Thread ?

I would like to see:

? Previous Thread | vB3.5 Modification Questions | Next Thread ?

Rich 03-20-2006 10:59 PM

Hello,

There are several modifications on this site that will display a mini navbar in threads, etc. (Giving you the effect you arelooking for.)

Paul M 03-20-2006 11:05 PM

We just added the navbits under the previous / next, so you get this effect ;

Quote:

? Previous Thread | Next Thread ?

vBulletin.org Forum > vB3.5 Modifications > vB3.5 Modification Questions


vol_freak 03-20-2006 11:10 PM

Quote:

Originally Posted by Paul M
We just added the navbits under the previous / next, so you get this effect ;

That would be great. Where could I find that code and where would I put it?

Thank you all for your patience, like I said I am still figuring out the vb templates.

Paul M 03-20-2006 11:14 PM

In the SHOWTHREAD template ;

Find ;

HTML Code:

<if condition="$show['quickreply'] OR $show['ajax_js']">
and add above it ;

HTML Code:

<div class="navbar" align="center" >
<a href="$vboptions[forumhome].php?$session[sessionurl]">$vboptions[bbtitle]</a>
$navbits[breadcrumb]
</div>
<br />

Job done.

vol_freak 03-20-2006 11:27 PM

Quote:

Originally Posted by Paul M
In the SHOWTHREAD template ;

Find ;

HTML Code:

<if condition="$show['quickreply'] OR $show['ajax_js']">
and add above it ;

HTML Code:

<div class="navbar" align="center" >
<a href="$vboptions[forumhome].php?$session[sessionurl]">$vboptions[bbtitle]</a>
$navbits[breadcrumb]
</div>
<br />

Job done.

Thank you Thank you Thank you. That is much better. :banana:

GTAce 03-20-2006 11:30 PM

Something else you might want to look at is this...

Quote:

? Previous Thread | New Posts | Next Thread ?

I've done that at my forums and I don't know what I'd do without it. It makes reading new posts SO much easier

vol_freak 03-20-2006 11:38 PM

Quote:

Originally Posted by GTAce
Something else you might want to look at is this...



I've done that at my forums and I don't know what I'd do without it. It makes reading new posts SO much easier

That's not a bad idea either.

GTAce 03-20-2006 11:41 PM

Well, I've actually combined that with a breadcrumb (navigation) at the bottom...so it looks like this

Quote:

AdminFusion > Front Desk > News and Information

? Previous Thread | New Posts | Next Thread ?

Might look a bit messy there since it isn't the real thing, but it works quite well

Tralala 03-21-2006 07:22 AM

Quote:

Originally Posted by GTAce
Something else you might want to look at is this...

? Previous Thread | New Posts | Next Thread ?

I've done that at my forums and I don't know what I'd do without it. It makes reading new posts SO much easier

Nice idea!


Changing it from the the "subforum name" to "New Posts" ... do you have it set to do a search for ALL new posts, or just new posts in that particular subforum?

I'm currently set to search for all new posts, but I'm wondering if it makes more sense to restrict it to just new posts in that subforum...

ie:

<a href="search.php?do=getnew&include=$foruminfo[forumid]">New Posts in $foruminfo[title]</a>

GTAce 03-21-2006 01:23 PM

No, I have it to search for all new posts...I suppose for an extremely large forum, having it just search for posts in that forum isn't a bad idea...but then again, when I browse most forums, I typically read posts in all different sections.

becafuel 03-21-2006 02:22 PM

1 Attachment(s)
I've modified my template to add a "go top" bar under each member info (like in phpBB) and, at the bottom of the page display, a small copy of the navbar.
See screen copy below.

Sorry, it's french ;)
"Revenir en haut" means "Go top"
"R?pondre" means "Reply"

If it is of any use, do not hesitate to ask.

Tralala 03-21-2006 03:57 PM

Quote:

Originally Posted by GTAce
No, I have it to search for all new posts...I suppose for an extremely large forum, having it just search for posts in that forum isn't a bad idea...but then again, when I browse most forums, I typically read posts in all different sections.

Hmm. I'm now currently set to "New Posts from <forum name>" but based on your comments I think I'll change it back to "New Posts" (all) to encourage folks to check out all the forums.

Aunt Clara 08-23-2006 04:04 AM

I'd like to add « Previous Thread | New Posts | Next Thread » at the bottom of the first post in a thread. Copying and pasting in the postbit template didn't seem to do the work. Could someone help me please?

Zachery 08-23-2006 07:40 PM

Edit the showthread template and add the html?

<a href="search.php?do=getnew">| New Posts </a>

Aunt Clara 08-23-2006 11:45 PM

I think you misunderstood me (plus I got something wrong). You see this under my post ( « Previous Thread | Next Thread » ) I want to move it inside the first post in the thread (and the first only), but instead I want it to be (« Previous Thread | Forum X | Next Thread ») where forum x is the one that thread came from.

I tried going to the showthread template, copying that bit and pasting it into the postbit but it didn't work. Any idea why?

Aunt Clara 08-25-2006 04:46 AM

Anyone have any idea how to do this? Please help.

Copying the link from the showthread template into the postbit template doesn't work, I am sure I am missing something.

Plus, any idea how I can add an "email this page" link into the postbit? Again copying from the showthread template into the postbit template render the link useless.

And while we are at it:

I really, really need help with this, I want to add the following links to the postbit (again, copying from showthread doesn't work): Show Printable Version - Email this Page - Subscribe to this thread


All times are GMT. The time now is 03:50 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.01324 seconds
  • Memory Usage 1,764KB
  • 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
  • (4)bbcode_html_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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