Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Next/Previous Thread Title Replacements Details »»
Next/Previous Thread Title Replacements
Version: 2.1, by magnus magnus is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.2 Rating:
Released: 11-07-2006 Last Update: 11-07-2006 Installs: 132
Uses Plugins Template Edits
 
No support by the author.

Keywords: Thread, Newest, Oldest, SHOWTHREAD, SEO

Description:
Quote:
Replaces the ? Previous Thread | Next Thread ? links located at the bottom of the SHOWTHREAD output with their respective thread titles. Adds 2 additional queries.
Details:
Quote:
This hack functions exactly like the current links, except now users can see the actual thread titles of the next newest and next oldest thread. Someone said this could(?) help with SEO somewhere along the line. I don't claim to know enough to validate this statement. I developed the hack because it simply provided more information to the user, possibly enticing them to click with a thread title that may peak their interest.

I've also never been fond of the location of these links originally, at the bottom, so I've included an option via the AdminCP where you can opt to relocate the links to the top of the page just below the navbar (see screenshots below).

Installation:
Quote:
1. Download and import the product-nextprevtitle_v2.1.xml file via the Product Manager.

2. Optionally, you may configure alternate placement via your AdminCP (vBulletin Options > Next/Previous Thread Titles)

3. ???

4. Profit

Version History:
Quote:
v1.0 - Initial Release
v2.0 - Added ability to choose placement; Added template for end-user configuration
v2.1 - Adapted to work with 3.6.3
* Occasionally, you may notice a link beying displayed as "-" rather than a thread title. This is normal. This simply means there is no thread which is newer (or older) than the current thread being viewed. This same functionality is in vBulletin by default.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 12-17-2006, 10:09 AM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus View Post
. 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.
Reply With Quote
  #43  
Old 12-17-2006, 10:16 AM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus View Post
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.
Reply With Quote
  #44  
Old 12-17-2006, 10:33 AM
AzH's Avatar
AzH AzH is offline
 
Join Date: Feb 2005
Location: UK
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #45  
Old 12-21-2006, 09:12 AM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ThorstenA View Post
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!
Reply With Quote
  #46  
Old 01-03-2007, 10:02 AM
nocte nocte is offline
 
Join Date: Jan 2006
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #47  
Old 01-04-2007, 11:05 PM
FunaGuy's Avatar
FunaGuy FunaGuy is offline
 
Join Date: Dec 2005
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 »
Reply With Quote
  #48  
Old 01-05-2007, 04:52 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FunaGuy View Post
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.
Reply With Quote
  #49  
Old 01-31-2007, 11:48 AM
maxicep maxicep is offline
 
Join Date: Oct 2006
Location: California
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

rulaz, installed.
Reply With Quote
  #50  
Old 02-03-2007, 07:44 PM
Dave-ahfb Dave-ahfb is offline
 
Join Date: Mar 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anybody instaled on 3.6.4?
Reply With Quote
  #51  
Old 02-05-2007, 12:10 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave-ahfb View Post
Has anybody instaled on 3.6.4?
I don't see why it wouldn't work. Have you tried it?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:38 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.04566 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_code
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete