vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Show Thread Enhancements - Automatic Reply Quotes *Small SEO Enchancement For ShowThread Pages* (https://vborg.vbsupport.ru/showthread.php?t=188243)

SEOvB 08-14-2008 10:00 PM

Automatic Reply Quotes *Small SEO Enchancement For ShowThread Pages*
 
Automatic Title Quotes In Replies
Small Showthread SEO Enchancement
From: Search Engine Optimization Services
Automatically quote the thread title in your members replies. Yes this option can be turned on by default in the AdminCP, but for those users who didnt turn this on till well after your forum started, or want this on automatically you can modifiy the postbit(_legacy) templates to have it appear automatically.

This will increase your keyword density on the showthread pages, by automatically quoting all replies regardless of the AdminCP setting.

1. Login to vBulletin AdminCP
2. Click on Styles & Templates -> Style Manager
3. Locate the postbit (or postbit_legacy template depending on which you use)
4. Find and replace the following code:

Find:
Code:

<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

Replace with:
Code:

<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong><else /><strong>Re: $thread[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->

5. Save

Again, yes this can automatically be turned on in the AdminCP, however if you turn it on after a thread has been created and replied to, it will not show up.

avsunforum 08-16-2008 07:30 PM

thanks

space? 08-25-2008 09:41 AM

Nice Modification, but maybe it's a good idea to increase the minimal allowed words per post after the installation so you don't get a KWD of 30% and let Google think you stuff keywords;)

I would install it, if there is a possibilty to display it to guests only...

Brandon Sheley 10-02-2008 04:43 PM

you don't have to edit any templates to forums who didn't turn this on :( you just have to run a query..


All times are GMT. The time now is 10:10 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.01359 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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