![]() | |
| Join Us | Members List | Today's Posts | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||
| In vbseo you get relevant replacements, but unfortunately sometimes you cant afford vbseo for all your sites. Would anyone recommend ... |
| Welcome to the AdminAddict. |
![]() Hello and welcome to AdminAddict! The one-stop resource for forum and community administrators. |
![]() |
| | Share | Thread Tools | Search this Thread |
| | #1 |
| Zealot
Posts: 1,730
Join Date: May 2009 Experience: Advanced Forums Admin/Mod: 2 Software: vBulletin Forum: YouTube Backgrounds ![]() ![]() ![]() ![]() ![]() | In vbseo you get relevant replacements, but unfortunately sometimes you cant afford vbseo for all your sites. Would anyone recommend replicating them using template conditionals on forumdisplay per forum and using h2 etc within them instead of forking out for vbseo? The only problem I can see is if you rename a forum maybe, but if you dont do that and theyre set in stone surely this would be fine ![]() What are your thoughts on this? Thanks. |
| | |
| | |

| | #2 | ||||
![]()
Posts: 7,328
| Yes, this is a highly recommended tip to, recommended to users who want to optimize their vBulletin installation without vBSEO. On my new parrot forum, I just set this up a few days ago. It looks no different than the default text, but it is now using h1 and h2 tags. The one thing I cannot get is the little bit of text to show up in the relevant replacement (the thread preview), but that's okay. Anyways, if you want to set it up how I have it, first check it out: here and here. (See the green box above the thread and above the thread listing). Here's the code needed to display this: Try it on a test style first! - In the navbar template, find: Code: <!-- / breadcrumb, login, pm info --> Code: <br />
<if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="THIS_SCRIPT != 'showthread'">
<if condition="THIS_SCRIPT != 'forumdisplay'">
<strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span>
</if></if>
<if condition="THIS_SCRIPT == 'showthread'">Discuss <h1 class="myh1">$thread[title]</h1> in the <h2 class="myh2">$foruminfo[title_clean]</h2> section at TalkParrots.
</if>
<if condition="THIS_SCRIPT == 'forumdisplay'">
<h1 class="smallfont"><strong>$foruminfo[title_clean]</strong></h1>
<h2 class="smallfont">$foruminfo[description]</h2>
</if>
</td>
</tr>
</table>
<br />
</if>
By default, h-tags are large and force a line break. This will make your custom descriptions/titles look rather awkward. To override this natural behavior, add the following to the Additional CSS Definitions box in the style manager: Code: /* ***** H1 Tags ***** */
h1.myh1 {font: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 11px;
color: #000000; font-weight: bold;}
h2.myh2 {font: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 11px;
color: #000000; font-weight: bold;}
h2.myh3 {font: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 11px;
color: #000000; font-weight: none;}
h1,h2,h3,h4,h5,h6 {display:inline;}
![]() | Best Regards, Nick Support AdminAddict // Purchase from the following reputable vendors: HostGator / Liquid Web / DriveThruOnline - Professional vBulletin Products / NameCheap Domains Compare Hosting Plans VPS • Dedicated Servers ![]() | | 2 out of 2 members found this post helpful. |
| | #3 |
| Zealot
Posts: 1,730
Join Date: May 2009 Experience: Advanced Forums Admin/Mod: 2 Software: vBulletin Forum: YouTube Backgrounds ![]() ![]() ![]() ![]() ![]() | This is awesome Nick! So you can use the variables like: $foruminfo[title_clean] without vbseo? I was thinking I would only be able to do these manually lol I am glad this is possible ![]() Thank you! |
| | |
| | |
| | #4 | |||||
![]()
Posts: 7,328
| Quote:
![]() | Best Regards, Nick Support AdminAddict // Purchase from the following reputable vendors: HostGator / Liquid Web / DriveThruOnline - Professional vBulletin Products / NameCheap Domains Compare Hosting Plans VPS • Dedicated Servers ![]() | | 1 out of 1 members found this post helpful. |
| | #5 |
| Zealot
Posts: 1,730
Join Date: May 2009 Experience: Advanced Forums Admin/Mod: 2 Software: vBulletin Forum: YouTube Backgrounds ![]() ![]() ![]() ![]() ![]() | Excellent, this has made my day, I was actually going to do this by typing in each forum name manually as well as the description! I might actually just use the title to pull that automatically and write up my own descriptions for each one so that it isnt the same as the description on the index, but then again it would be easier doing it your way so im not sure now ![]() |
| | |
| | |

| | #6 | ||||
![]()
Posts: 7,328
| Oh, one thing I forgot to include was the CSS definitions so that the h1 and h2 tags are not gigantic. I've updated my former post. ![]() | Best Regards, Nick Support AdminAddict // Purchase from the following reputable vendors: HostGator / Liquid Web / DriveThruOnline - Professional vBulletin Products / NameCheap Domains Compare Hosting Plans VPS • Dedicated Servers ![]() | | 1 out of 1 members found this post helpful. |
| | #7 |
| Zealot
Posts: 1,730
Join Date: May 2009 Experience: Advanced Forums Admin/Mod: 2 Software: vBulletin Forum: YouTube Backgrounds ![]() ![]() ![]() ![]() ![]() | Thank you Nick We have decided to do the descriptions manually so it isnt the same text as from the homepage so I will be sat here almost all day now doing it lol |
| | |
| | |
| | #8 | ||||
![]()
Posts: 7,328
| Also, I've stuck this thread and moved it to the vBulletin forum. ![]() | Best Regards, Nick Support AdminAddict // Purchase from the following reputable vendors: HostGator / Liquid Web / DriveThruOnline - Professional vBulletin Products / NameCheap Domains Compare Hosting Plans VPS • Dedicated Servers ![]() | | |
| | #9 |
| Zealot
Posts: 1,730
Join Date: May 2009 Experience: Advanced Forums Admin/Mod: 2 Software: vBulletin Forum: YouTube Backgrounds ![]() ![]() ![]() ![]() ![]() | It should be an article really Nick You done a good job ![]() |
| | |
| | |
| | #10 |
| Zealot
Posts: 1,730
Join Date: May 2009 Experience: Advanced Forums Admin/Mod: 2 Software: vBulletin Forum: YouTube Backgrounds ![]() ![]() ![]() ![]() ![]() | Just tried [first_post_20_words]... and it doesnt work on showthread Anyone know how to get that to work? |
| | |
| | |

| | #11 | ||||
![]()
Posts: 7,328
| | Best Regards, Nick Support AdminAddict // Purchase from the following reputable vendors: HostGator / Liquid Web / DriveThruOnline - Professional vBulletin Products / NameCheap Domains Compare Hosting Plans VPS • Dedicated Servers ![]() | | |
| | #12 |
| Zealot
Posts: 1,730
Join Date: May 2009 Experience: Advanced Forums Admin/Mod: 2 Software: vBulletin Forum: YouTube Backgrounds ![]() ![]() ![]() ![]() ![]() | Its used in vbseo to pull the first x words of the thread to use in your RR's, it doesnt seem to be a standard variable unfortunately lol |
| | |
| | |
| | #13 |
| Zealot
Posts: 1,730
Join Date: May 2009 Experience: Advanced Forums Admin/Mod: 2 Software: vBulletin Forum: YouTube Backgrounds ![]() ![]() ![]() ![]() ![]() | We have just installed this mod: Search Engine Optimized Keywords & Description per Forum - vBulletin.org Forum But for some reason if you dont add your own custom description it will look like this: <meta name="description" content=",Are you trying to get pregnant? Discuss getting pregnant including ovulation, fertility charting, infertility, sperm donors, In Vitro Fertilisation (IVF) and more." /> I am not sure if that nuisance comma at the beginning would make any difference considering SE's arent supposed to index special characters etc although with it being a comma I aint sure with this one ![]() |
| | |
| | |
| | #14 |
| Grand Master
Posts: 981
Join Date: May 2009 Location: Scammon Bay, Alaska Experience: Advanced Forums Admin/Mod: 1 Software: vBulletin 3.8.x Forum: Gaming Cube ![]() | Durr, tested it on Default style, don't work ![]() |
| | |
| | #15 |
| Zealot
Posts: 1,730
Join Date: May 2009 Experience: Advanced Forums Admin/Mod: 2 Software: vBulletin Forum: YouTube Backgrounds ![]() ![]() ![]() ![]() ![]() | |
| | |
| | |

![]() |
| Tags |
| creating, relevant, replacements |
| > Creating your own relevant replacements in vBulletin |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| |