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
Relevant Thread Text Details »»
Relevant Thread Text
Version: 1.0.1, by magnus magnus is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.5 Rating:
Released: 03-05-2007 Last Update: 03-08-2007 Installs: 27
Uses Plugins
 
No support by the author.

Keywords: Relevant, Replacement, Thread, SHOWTHREAD, SEO

Description:
Adds relevant text to the SHOWTHREAD template with details to help with thread SEO.

Details:
I was privately comissioned to develop this hack based off the 'Relevant Replacement' feature of vBSEO by a client who wished it to be released to the public base upon completion. This hack is NOT a vBSEO replacement nor is it useful for those who already run vBSEO.

Installation:
1. Download and import the product-rtt1.0.0.xml file via the Product Manager.

2. Configure the product via the AdminCP (vBulletin Options > Relevant Thread Text)

3. Place <!--RTT--> within your SHOWTHREAD template where you would like the text displayed.

4. ???

5. Profit


Version History:
v1.0.0 - Initial Release
v1.0.1 - Added stripping of BBCode and URL's from [first_post_X_words] replacement (pointed out by BuzuL)

* Please note that this modification was developed on a forum with a userbase of 1 (myself). I've tested it for basic functionality but I cannot guarantee functionality or behavior on your forum. So, please -- make backups before installing this product!

Show Your Support

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

Comments
  #12  
Old 03-06-2007, 06:01 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 BuzuL View Post
Thanks But ; i tried to add <!--RRT--> code under the navbar which is in showthread but there is no change. why?
Easy! Because I'm an idiot.

It should be <!--RTT--> I fixed that typo in the first post. Sorry!
Reply With Quote
  #13  
Old 03-07-2007, 11:43 AM
Calash's Avatar
Calash Calash is offline
 
Join Date: Jun 2006
Location: East Coast, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, I can not seem to get this to work. I put the <!--RTT--> after $navbar in the SHOWTEMPLATE forum, but nothing comes up. The plug-in is active and the code seems to be fine, and an uninstall and reinstall did nothing.

Anything else I can check for?
Reply With Quote
  #14  
Old 03-07-2007, 02:03 PM
BuzuL's Avatar
BuzuL BuzuL is offline
 
Join Date: Oct 2006
Location: TR/Ank
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Calash View Post
Hmm, I can not seem to get this to work. I put the <!--RTT--> after $navbar in the SHOWTEMPLATE forum, but nothing comes up. The plug-in is active and the code seems to be fine, and an uninstall and reinstall did nothing.

Anything else I can check for?
+1
[ <!--RTT--> <!--RRT--> ] i have added this both code but nothing has changed...
Reply With Quote
  #15  
Old 03-07-2007, 04:12 PM
Calash's Avatar
Calash Calash is offline
 
Join Date: Jun 2006
Location: East Coast, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just got this working.

I had to edit the plugin to do it though, so I am not sure if it will be a good long-term fix.


What I did was to edit the following linke

Code:
$vbulletin->templatecache['SHOWTHREAD'] = str_replace('<!--RTT-->', $vboptions[rtt_text], $vbulletin->templatecache['SHOWTHREAD']);
I changed $vboptions[rtt_text] to $vbulletin->options['rtt_text'] . Now it is working fine.
Reply With Quote
  #16  
Old 03-07-2007, 04:41 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hrm, that's weird. I installed it on a fresh forum and it worked.. the modification you made won't have any ill-effect, so no worries.
Reply With Quote
  #17  
Old 03-07-2007, 09:01 PM
Endurer Endurer is offline
 
Join Date: Sep 2006
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks.. I am going to install it right now and will let you know the results.
Reply With Quote
  #18  
Old 03-09-2007, 06:48 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to v1.0.1. Added a minor fix to strip BBCode and URLs from [first_post_X_words] replacement (pointed out by BuzuL).

Just download and import the xml, select "Allow Overwrite".
Reply With Quote
  #19  
Old 03-09-2007, 06:50 PM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this magnus unsure if this will really help with new google algo.. they are being very quick changing serp behavious
Reply With Quote
  #20  
Old 03-09-2007, 07:46 PM
BuzuL's Avatar
BuzuL BuzuL is offline
 
Join Date: Oct 2006
Location: TR/Ank
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is a awesome patch now thx again for this...
Reply With Quote
  #21  
Old 03-09-2007, 07:51 PM
Guest210212002
Guest
 
Posts: n/a
Default

Probably a silly question, but is there an option/method to only show the RT tag/info to search engines? It's definitely a great hack, I just don't want to see the header every time.
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 08:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04405 seconds
  • Memory Usage 2,304KB
  • 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
  • (1)bbcode_code
  • (2)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
  • (3)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
  • (10)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