The quick 'n' dirty ultra simple vBulletin SEO hack

Reply

Join Date: May 2007
Posts: 16
Reputation: karlm is an unknown quantity at this point 
Solved Threads: 0
karlm karlm is offline Offline
Newbie Poster

Re: The quick 'n' dirty ultra simple vBulletin SEO hack

 
0
  #91
May 28th, 2007
Uhm, scrub the above... I had to delete the topmost line of code, and it works flawlessly LoL.

I've been scratching my head on this for a week... and minutes after posting a request for help, an idea occurs to me and BAM it's spot on ... ain't that just typical :p
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: The quick 'n' dirty ultra simple vBulletin SEO hack

 
0
  #92
May 28th, 2007
Make sure you have no line breaks in your htaccess file, with one rule per line.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 16
Reputation: karlm is an unknown quantity at this point 
Solved Threads: 0
karlm karlm is offline Offline
Newbie Poster

Re: The quick 'n' dirty ultra simple vBulletin SEO hack

 
0
  #93
May 28th, 2007
Thanks for the reply, cscgal...
I got it working, after I removed
Options +FollowSymLinks
from the .htaccess, it works flawlessly...

Anyhow, thanks for a great script - I'll be adding your site to my links as appreciation.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: The quick 'n' dirty ultra simple vBulletin SEO hack

 
0
  #94
May 28th, 2007
Thank you
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 16
Reputation: karlm is an unknown quantity at this point 
Solved Threads: 0
karlm karlm is offline Offline
Newbie Poster

Re: The quick 'n' dirty ultra simple vBulletin SEO hack

 
0
  #95
May 29th, 2007
Just a quick note, post #1 now has [html]<br />[/html] all over it ...
Last edited by karlm; May 29th, 2007 at 1:34 am.
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 16
Reputation: karlm is an unknown quantity at this point 
Solved Threads: 0
karlm karlm is offline Offline
Newbie Poster

Re: The quick 'n' dirty ultra simple vBulletin SEO hack

 
0
  #96
May 29th, 2007
A couple of queries, if I may, cscgal...

What is the relevence of the code in the .htaccess I removed and why does it seem to work for most, yet not on my setup? I'm assuming my linux server has some kind of different setup to standard setups?

Have you any idea why since implementing this hack, my navbar has doubled up?

I use vbadvanced and it was working perfectly fine on my test site but now it's live, the navbar & forum-description are doubled up.

Cheers in advance.

ETA: I disabled vbadvanced, and all seems well with the navbars... hmmmm
Last edited by karlm; May 29th, 2007 at 6:23 am. Reason: as per eta
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 16
Reputation: karlm is an unknown quantity at this point 
Solved Threads: 0
karlm karlm is offline Offline
Newbie Poster

Re: The quick 'n' dirty ultra simple vBulletin SEO hack

 
0
  #97
May 29th, 2007
Also, my "who's online" now shows the thread url (unknown location /thread123.html) instead of the title of the thread, as previously.
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 16
Reputation: karlm is an unknown quantity at this point 
Solved Threads: 0
karlm karlm is offline Offline
Newbie Poster

Re: The quick 'n' dirty ultra simple vBulletin SEO hack

 
0
  #98
May 30th, 2007
Assuming a reply to my queries was forthcoming, I'll beat ya'll to the punch.
I edited the adv_portal and removed $navbar in my various styles. That seems to have resolved the issue
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 2
Reputation: egyptsons is an unknown quantity at this point 
Solved Threads: 0
egyptsons egyptsons is offline Offline
Newbie Poster

Re: The quick 'n' dirty ultra simple vBulletin SEO hack

 
0
  #99
Jul 19th, 2007
Thanks for your mod
It worked with me fine except when I try to merge posts or thread

so is this code will solve this problem
Originally Posted by cscgal View Post
Update:
If for whatever reason that above hook doesn't work, the fail-safe way that will 100% work in vB 3.5 is to add the exact code as in the original tutorial below:
  1. function print_output($vartext, $sendheader = true)
  2. {
  3. global $pagestarttime, $querytime, $vbulletin;
  4. global $vbphrase, $stylevar;
and if it yes

where I should add it ?
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: The quick 'n' dirty ultra simple vBulletin SEO hack

 
0
  #100
Jul 19th, 2007
No, that won't solve the merging problem. What you need to do is explain to your moderators that in the field where it asks what thread to merge with, to enter the old, vB standard format in the form http://www.site.com/forum/showthread.php?t=100
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Existing Scripts Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC