Time2Dine.co.nz is Online Restaurant Booking
 
 New Zealand Restaurants Forum
Restaurant Forum | Contact Time2Dine | Book Online & Save | About Time2Dine

Go Back   New Zealand Restaurants & Food Forum > Search Engine Optimisation > SEO vBulletin
Register

Reply
 
LinkBack (5) Thread Tools
  #201  
Old 15th Jun 05, 03:33 PM
Junior Reviewer
 
Join Date: Jan 2005
Posts: 14
Bangthebook is on a distinguished road
Default

I tried hacking some code to replace ? with / but it seems whatever changes I make the url just keeps building and doesnt go anywhere. I really dont plan on upgrading to 3.5 for a while till all my hacks are working on 3.5.


Any suggestions on getting rid of the ? would be helpful
Thanks for the help with my other issue
Ryan
Reply With Quote
  #202  
Old 16th Jun 05, 09:38 PM
Junior Reviewer
 
Join Date: May 2005
Posts: 20
Neutral Singh is on a distinguished road
Default

Quote:
If you want multiple phrases, you can either use child templates, or use conditionals

You can put a conditional on the <head> entries so that you can also have a non restaurant forum/thread like this one, and not have restaurant related terms in the meta data.

Code:
showthread template after <head> add <if condition="$foruminfo[forumid]<7"> your meta data information <else /> your alternate meta data information </if>



I was wondering, what is the use of doing this hack in showthread template? We can selectively apply this hack to forumdisplay template for those forums which have many subforums. By this way we can have dynamic meta tags catering to main category forums and subforums there off. What do you think ?
Reply With Quote
  #203  
Old 17th Jun 05, 12:41 AM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,839
T2DMan is on a distinguished road
Default SEO of forum titles/metas/firstwords

Quote:
Originally Posted by Neutral Singh


I was wondering, what is the use of doing this hack in showthread template? We can selectively apply this hack to forumdisplay template for those forums which have many subforums. By this way we can have dynamic meta tags catering to main category forums and subforums there off. What do you think ?
The forum display templates are actually quote easy to optimize. Since each has a custom description that you can seo. Plus sometimes I repeat the forum title at the start of the description to use for the meta description. Then I similarly do the same for the firstwords for each forum page.

So I have not found it necessary to have much customisation for the forums.

My ultimate would be to have the opportunity to have an input box for every thread that was generally hidden but otherwise accessable, and some extra input boxes on the admin panel for meta description/firstwords for the forums. Then it would be that much easier to specifically optimize these.

Most of the time the threads would have the defaults, but for those that wanted to use vBulletin for sales type things, like my restaurants, this would be invaluable.
Reply With Quote
  #204  
Old 17th Jun 05, 01:44 AM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,839
T2DMan is on a distinguished road
Default query strings in the archive url's

Quote:
Originally Posted by Bangthebook
I tried hacking some code to replace ? with / but it seems whatever changes I make the url just keeps building and doesnt go anywhere. I really dont plan on upgrading to 3.5 for a while till all my hacks are working on 3.5.


Any suggestions on getting rid of the ? would be helpful
Thanks for the help with my other issue
Ryan
I actually does not matter that they are query strings. You see the Google PR even if it is a query string - try viewing the Google PR via a firefox browser with the PRGoogleBar.

I have not hacked anything to do with the forum archive access. It is set when the server is not able to cope with certain things per:

archive/global.php
if ((substr(PHP_OS, 0, 3) == 'WIN' AND strpos($_SERVER['SERVER_SOFTWARE'], 'apache') === false) OR (strpos(SAPI_NAME, 'cgi') !== false AND @!ini_get('cgi.fix_pathinfo')))

{
define('SLASH_METHOD', false);
$archive_info = $_SERVER['QUERY_STRING'];
}
else
{
define('SLASH_METHOD', true);
$archive_info = $_SERVER['REQUEST_URI'] ? $_SERVER['REQUEST_URI'] : $_SERVER['PHP_SELF'];
}

You will then see that the SLASH_METHOD variable is used to create the forum url:

echo "$indent<li><a href=\"" . (!SLASH_METHOD ? 'index.php?' : '') . "f-$forumid.html\">$forum[title]</a></li>\n";

Summary

Probably the best way is to change hosts to someone that does pass the tests in the code above, or convince your server to change to methods that will allow the non query string method to be used.
Reply With Quote
  #205  
Old 19th Jun 05, 01:46 PM
Junior Reviewer
 
Join Date: May 2005
Posts: 20
Neutral Singh is on a distinguished road
Default

Quote:
My ultimate would be to have the opportunity to have an input box for every thread that was generally hidden but otherwise accessable, and some extra input boxes on the admin panel for meta description/firstwords for the forums. Then it would be that much easier to specifically optimize these.

Most of the time the threads would have the defaults, but for those that wanted to use vBulletin for sales type things, like my restaurants, this would be invaluable.
Dear Micheal, have you gone through the following hack on vb.org? I am sure you would be delighted to see this hack. With minor alterations to the templates part we can achieve exactly what you have suggested above. I would love to hear your review. Enjoy !!

--> http://www.vbulletin.org/forum/showthread.php?t=65890

Best Regards
Aman Singh
Reply With Quote
  #206  
Old 19th Jun 05, 02:30 PM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,839
T2DMan is on a distinguished road
Default

Quote:
Originally Posted by Neutral Singh
Dear Micheal, have you gone through the following hack on vb.org? I am sure you would be delighted to see this hack. With minor alterations to the templates part we can achieve exactly what you have suggested above. I would love to hear your review. Enjoy !!

--> http://www.vbulletin.org/forum/showthread.php?t=65890

Best Regards
Aman Singh
Sounds a fantastic hack for the forums.Thanks, Sweet. Once upgraded to 3.5, this is one that I will surely be installing. I will use it for the forums only, not to be used for on the threads in that forum, and it will go in the navbar template.

Now need to find the equivalent for the threads, so each thread can be customisable, like the forums are customisable. Just a matter of time really.
Reply With Quote
  #207  
Old 20th Jun 05, 03:08 AM
Junior Reviewer
 
Join Date: Apr 2005
Location: USA - CT
Posts: 7
Richieboy67 is on a distinguished road
Default

Quote:
Originally Posted by T2DMan
Addition 1 Apr/05 - add firstwords to the NavBar template, remove from showthread and forumdisplay

....

Add a "Register" link on the logon form (top right of page)

It is not always easy to find the register link - I like having a link as part of the logon script box.

Navbar template:

after:
Code:
<input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" />
add
Code:
<if condition="$show['registerbutton']"><span class="smallfont"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></span></if>

You are missing code after your conditional for the registration link....... isn't it supposed to be <if condition="$show['guest']" ???

Last edited by T2DMan; 20th Jun 05 at 11:57 AM. Reason: no need to quote whole post
Reply With Quote
  #208  
Old 20th Jun 05, 11:56 AM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,839
T2DMan is on a distinguished road
Default

Quote:
Originally Posted by Richieboy67
You are missing code after your conditional for the registration link....... isn't it supposed to be <if condition="$show['guest']" ???
There are always many ways of doing things. The following code works:
<if condition="$show['registerbutton']">
The code you use may also work.

I have merely reused code that has been used previously by vBulletin for their showing of the registerbutton.
Reply With Quote
  #209  
Old 22nd Jun 05, 02:25 PM
Junior Reviewer
 
Join Date: May 2005
Posts: 20
Neutral Singh is on a distinguished road
Default

Hey Micheal i just realised that your forums have individual keywords for even each threads in showthread templates? Have you inserted them manually ?
Reply With Quote
  #210  
Old 22nd Jun 05, 04:08 PM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,839
T2DMan is on a distinguished road
Default Meta Keywords

Quote:
Originally Posted by Neutral Singh
Hey Micheal i just realised that your forums have individual keywords for even each threads in showthread templates? Have you inserted them manually ?
Merely part of the formula - you will notice that I use the title of the thread, plus the standard keywords. Look on the first page of this thread for details.
Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://forum.time2dine.co.nz/seo-vbulletin/search-engine-optimize-vbulletin-98.html
Posted By For Type Date
Indian Ladies Forum | Indian Women Forum | Indian Culture-Indus Ladies This thread Refback 20th Jan 08 06:24 AM
How many SEO mods are available? This thread Refback 19th Jan 08 11:37 PM
How to SEO VBulletin? - vBulletin FAQ Forums This thread Refback 10th Jan 08 11:56 AM
Steel Blue 3.5.3 - vBulletin.org Forum This thread Refback 10th Jan 08 09:25 AM
Have you done these vBulletin SE optimizations? - vBulletin Community Forum This thread Refback 5th Jan 08 12:58 PM

Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search Engine Optimize vBulletin 3.5 Discussion T2DMan SEO Discussion 54 12th Apr 07 10:08 AM
Search engine visits vBulletin Linknz SEO vBulletin 2 18th Aug 06 08:21 AM
Search Engine Optimize vBulletin 3.5 T2DMan SEO vBulletin 9 8th Sep 05 12:46 AM
Contract details for Search Engine Optimize vBulletin T2DMan SEO vBulletin 1 7th May 05 10:23 AM
Search Engine Optimizing vBulletin T2DMan SEO vBulletin 0 28th Oct 04 11:23 AM



Powered by: vBulletin Copyright ©2000 -2012, Jelsoft Enterprises Limited.
Search Engine Friendly URLs by vBSEO 3.2.0
© 2010 Time2Dine