View Full Version : Show Thread Enhancements - Relevant Thread Text
magnus
03-05-2007, 10:00 PM
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 (http://www.vbseo.com) by a client who wished it to be released to the public base upon completion. This hack is NOT a vBSEO (http://www.vbseo.com) replacement nor is it useful for those who already run vBSEO (http://www.vbseo.com).
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!
magnus
03-06-2007, 03:21 PM
Reserved.
Ntfu2
03-06-2007, 03:51 PM
Pretty much every feature of vBSEO is available here now, nice job.
projectego
03-06-2007, 03:59 PM
Awesome! Thank you very much, magnus! ;)
magnus
03-06-2007, 04:10 PM
Pretty much every feature of vBSEO is available here now, nice job.
Well, to be honest vBSEO offers much, much more than what many of the 'similar' hacks here on vBorg accomplish. :)
Awesome! Thank you very much, magnus! ;)
No problem, enjoy!
I've also updated the screenshots so you can actually see something. ;)
bashy
03-06-2007, 04:16 PM
Can i ask, would this benefit my forum, i do not have any seo installed!!
BuzuL
03-06-2007, 04:17 PM
wow great hack... Thanks...
magnus
03-06-2007, 04:25 PM
Can i ask, would this benefit my forum, i do not have any seo installed!!
SEO stands for Search Engine Optimization, it isn't something you install. Unless you specifically go out of your way to prevent search engines from indexing your site, you can benefit from SEO. What this does is add relevant text to your page (preferably near the top) to help promote indexing by spiders.
Now, I'm no SEO expert -- not by any stretch of the imagination -- so I can't give you any hard numbers for facts beyond what's already been stated.
Snake
03-06-2007, 05:29 PM
Thanks!
BuzuL
03-06-2007, 05:55 PM
Thanks But ; i tried to add <!--RRT--> code under the navbar which is in showthread but there is no change. why? :)
magnus
03-06-2007, 06:01 PM
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!
Calash
03-07-2007, 11:43 AM
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?
BuzuL
03-07-2007, 02:03 PM
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...
Calash
03-07-2007, 04:12 PM
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
$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.
magnus
03-07-2007, 04:41 PM
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.
Endurer
03-07-2007, 09:01 PM
thanks.. I am going to install it right now and will let you know the results.
magnus
03-09-2007, 06:48 PM
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".
SaN-DeeP
03-09-2007, 06:50 PM
thanks for this magnus unsure if this will really help with new google algo.. they are being very quick changing serp behavious
BuzuL
03-09-2007, 07:46 PM
this is a awesome patch now thx again for this...
Guest210212002
03-09-2007, 07:51 PM
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. :)
tawnygirl
03-18-2007, 12:42 PM
Hello :o This is a great mod, worked for me without a hitch.
My only concern is that my RSS feeds include an image, then a description, and the source of the image (url) shows up within the [first_post_X_words] field.
I know I can set this to zero, or simply eliminate it from the string all together, but I'd rather not do that. I'd like the first 10 actual *words* to show. Is there a way to disallow images picked up by this [first_post_X_words] ?
The image source showing makes it look a mess.
Thanks in advance for any suggestions. :up:
magnus
03-18-2007, 12:55 PM
Hello :o This is a great mod, worked for me without a hitch.
My only concern is that my RSS feeds include an image, then a description, and the source of the image (url) shows up within the [first_post_X_words] field.
I know I can set this to zero, or simply eliminate it from the string all together, but I'd rather not do that. I'd like the first 10 actual *words* to show. Is there a way to disallow images picked up by this [first_post_X_words] ?
The image source showing makes it look a mess.
Thanks in advance for any suggestions. :up:
Are you sure you're using v1.0.1? This was a problem brought up by BuZuL and was addressed in v1.0.1.
v1.0.1 - Added stripping of BBCode and URL's from [first_post_X_words] replacement (pointed out by BuzuL)
tawnygirl
03-18-2007, 06:16 PM
Are you sure you're using v1.0.1? This was a problem brought up by BuZuL and was addressed in v1.0.1.
Yes, I just double checked... I'm using v1.0.1, but those urls are still showing, picked up from the rss feeds.
Example (http://www.pcgamesjunkie.com/showthread.php?threadid=71) at the top of this forum thread.
WrestlingAcadem
03-21-2007, 12:11 AM
Is there a way to make it so that only the spiders can see it?
magnus
03-21-2007, 12:42 AM
I think there's a mod out there to put spiders in their own usergroup. Using that mod, you can add a template conditional to display only to that specific usergroup.
Atakan KOC
03-25-2007, 06:07 PM
Thanks........
maxicep
09-07-2007, 05:03 PM
Hello :o This is a great mod, worked for me without a hitch.
My only concern is that my RSS feeds include an image, then a description, and the source of the image (url) shows up within the [first_post_X_words] field.
I know I can set this to zero, or simply eliminate it from the string all together, but I'd rather not do that. I'd like the first 10 actual *words* to show. Is there a way to disallow images picked up by this [first_post_X_words] ?
The image source showing makes it look a mess.
Thanks in advance for any suggestions. :up:
I need to fix that problem too.
It is looking bad when we added an image or only link in first post.
Here is screenshot. Look the links.
Everyone see too much Link with Relevant Thread Text :(
http://img208.imageshack.us/img208/9725/20772008pr5.jpg
maxicep
09-25-2007, 06:53 PM
how can we disable the show url's ?
maxicep
10-22-2007, 05:02 AM
any idea about disable the Url's in relavant text ?
freshwater
11-30-2007, 07:59 PM
thanks for this mod very useful!
works great, any updates or plans to improve???
I want to do this in forumdisplay, but how ??
Powerofdreams
01-30-2008, 12:16 AM
How can I change font size ? :)
magnus
01-30-2008, 01:10 PM
I want to do this in forumdisplay, but how ??
This hooks into the default vB [url] BBCode. Wherever you use [url], this will work.
magnus
01-30-2008, 01:11 PM
How can I change font size ? :)
That's something a change made in CSS. It is beyond the scope of this modification.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.