vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Next/Previous Thread Title Replacements (https://vborg.vbsupport.ru/showthread.php?t=131093)

ThorstenA 12-17-2006 10:09 AM

Quote:

Originally Posted by magnus (Post 1113175)
. However, if an additional 2 queries is of concern to you this result could still be achieved with a quick file edit which would add no additional queries.

I would be glad if you could help me to show me how to maybe get the result with no additional query. A member of vbulletin team told me it has to be done with two additional queries. I would prefer a file edit for speed improvement.

ThorstenA 12-17-2006 10:16 AM

Quote:

Originally Posted by magnus (Post 1132356)
This behavior is default in vBulletin. See for yourself, hover over "Previous Thread" here on vBulletin.org.

It would be just very good for SEO, if there is a title and link that match together.

AzH 12-17-2006 10:33 AM

Thanks for this great addition. I was wondering if it would be possible to add a "New Post" option to future releases so that rather than:


We get this:


Possible?

ThorstenA 12-21-2006 09:12 AM

Quote:

Originally Posted by ThorstenA (Post 1140256)
It would be just very good for SEO, if there is a title and link that match together.

This is how it's done:

1. Open SHOWTHREAD style

2. Search for
Code:

$threadid&goto=nextoldest
3. Replace with
Code:

$getnextoldest[threadid]
4. Search for
Code:

$threadid&goto=nextnewest
5. Replace with
Code:

$getnextnewest[threadid]


I believe there are only remarkable SEO improvements if you also direct code the threadids the way I showed here. Because only this way there is a link to the previous / next topic.

I would be glad if this small enhancement would takes it way to this product!

nocte 01-03-2007 10:02 AM

i'd suggest to do this change on SHOWTHREAD:

Code:

<div class="smallfont" align="center">
        <strong>&laquo;</strong>
                <a href="showthread.php?$session[sessionurl]t=$getnextoldest[threadid]">$vbphrase[prev_thread]</a>
                <if condition="$getnextnewest[threadid] > 0">
                        |
                        <a href="showthread.php?$session[sessionurl]t=$getnextnewest[threadid]">$vbphrase[next_thread]</a>
                <strong>&raquo;</strong>
                </if>
</div>


FunaGuy 01-04-2007 11:05 PM

there is any way to show (No next or pervious thread) If we have no pervious or next thread ? (Dont show empty space)

E.g

Before:
« Post the bloody great picture of yourself. | »

After:
« Post the bloody great picture of yourself. | There is no next thread »

magnus 01-05-2007 04:52 PM

Quote:

Originally Posted by FunaGuy (Post 1150965)
there is any way to show (No next or pervious thread) If we have no pervious or next thread ? (Dont show empty space)

E.g

Before:
? Post the bloody great picture of yourself. | ?

After:
? Post the bloody great picture of yourself. | There is no next thread ?

Sure, in the showthread_getinfo hook -

FIND:
Code:

$nextthreadtitle = '</a>-<a href=\"#\">';
REPLACE WITH:
Code:

$nextthreadtitle = '</a>There is no next thread<a href=\"#\">';
FIND:
Code:

$prevthreadtitle = '</a>-<a href=\"#\">';
REPLACE WITH:
Code:

$prevthreadtitle = '</a>There is no previous thread<a href=\"#\">';
I'll see about adding a customizable text field in the settings, as well as the other suggested changes in this thread in the next release.

maxicep 01-31-2007 11:48 AM

rulaz, installed.

Dave-ahfb 02-03-2007 07:44 PM

Has anybody instaled on 3.6.4?

magnus 02-05-2007 12:10 PM

Quote:

Originally Posted by Dave-ahfb (Post 1173861)
Has anybody instaled on 3.6.4?

I don't see why it wouldn't work. Have you tried it?

TheBlackPoet 02-05-2007 12:42 PM

i love this!!! it gives the member more flexibility in what they want to see without being guady!!! it is seamless and looks like it should be there as opposed to next|previous...

excellent job...

BuzuL 02-13-2007 09:57 AM

Great :) Thanks...

yese 07-23-2007 01:19 AM

非常感谢分享,谢谢!

Brandon Sheley 07-23-2007 01:44 AM

nice hack, does it add any queries ?

coderphp 07-23-2007 02:29 AM

great mod

installed :)

loonytune15 07-23-2007 08:24 AM

I have been looking for this mod. But I could never find it :D

magnus 07-23-2007 11:56 AM

Quote:

Originally Posted by Loco.M (Post 1298683)
nice hack, does it add any queries ?

As mentioned in the description, yes, it adds 2 additional queries. Unfortunately, there's no way around that.

Invalid ID 07-23-2007 04:00 PM

Really great

Mrs.Winters 08-15-2007 02:57 AM

I came here searching for a modification to move the next/previous thread to the top instead of the bottom of a thread. Found this, PLUS the thread titles as well? :eek: I feel like I received a bonus. :) I've made a small donation via PayPal because this really helps me out on my forum. Thank You.

Ata123 08-18-2007 02:16 PM

Good stuff. Thanks a lot.

I am not using any of the complete SEO packages but doing it all by myself.

So this made a lot of sense for me despite the fact it's already in VB Seo

Installed

hoangminh 09-12-2007 08:53 AM

This mod has a small permission bug.

In case you set the forum permission that user can see only owned thread, can not see others thread, then when a user create a thread in the forum, then, he can see the "next and Previous" threads' title.

So I have to temporarily disable this product.

magnus 09-12-2007 11:40 AM

Quote:

Originally Posted by hoangminh (Post 1337520)
This mod has a small permission bug.

In case you set the forum permission that user can see only owned thread, can not see others thread, then when a user create a thread in the forum, then, he can see the "next and Previous" threads' title.

So I have to temporarily disable this product.

This modification simply retrieves the thread title from a threadid. The threadid is provided by vBulletin.

hoangminh 09-12-2007 05:10 PM

Quote:

Originally Posted by magnus (Post 1337561)
This modification simply retrieves the thread title from a threadid. The threadid is provided by vBulletin.

I think you should check for the permission when pull out the thread title. In case the user do not have permission to read the next/previous thread, it shouldn't be shown the real title.

In vB, it only show the link See the next oldest/newest thread instead.

jGas 03-08-2008 01:08 PM

thanks..it's working great also for 3.7 beta 5

Mr.Abdullah 07-12-2008 12:50 PM

What about the administrative forum ??

Mr.Abdullah 07-12-2008 12:52 PM

Quote:

Originally Posted by hoangminh (Post 1337520)
This mod has a small permission bug.

In case you set the forum permission that user can see only owned thread, can not see others thread, then when a user create a thread in the forum, then, he can see the "next and Previous" threads' title.

So I have to temporarily disable this product.

!!!!!!!!!!!!!!!!!!!!!!!!

Baldilocks 09-12-2009 02:55 PM

* Just so everyone knows, this still works for 3.8.x *

ketusa 11-19-2009 04:46 AM

i need version which Dofollow link. pls

http://img9.imageshack.us/img9/3161/...entirepurc.png

mgurain 06-25-2010 03:07 AM

Hi,
I have been using this long time for 3.8.x, it's working fine,
but I figured out a problem now :
- users can see the title of next/previous threads in a forum where "only thread starters" and admin can see the threads !

please fix it and update version for 3.8.x so users rely on it.

Thanks,,

kışlalı 07-31-2010 02:04 AM

vielen dank.. wunderbar !

pckolojim 03-14-2011 07:17 PM

it works great. thanks.

final kaoss 07-26-2011 03:02 PM

I'll have to try this out on vb4

Code:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: nextprevtitle_bits in [path]/includes/functions.php on line 4097

final kaoss 07-27-2011 10:13 PM

It does what it says on the showthreads pages but if the thread is posted in a subforum, it won't work.

This one isn't in a subforum.

This one is in a subforum.

Any clue how to fix it up to get it working proper with vb4 so it doesn't work halfway? (I installed the plugin, disabled it. Left the custom template that it added [nextprevtitle_bits] and now this is how it's behaving.)


All times are GMT. The time now is 05:05 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.01290 seconds
  • Memory Usage 1,807KB
  • 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
  • (10)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (33)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete