The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
For vB 2.0
This little hackette is a quick fix to allow search engine bots to spider your threads. Although this will allow the bots to index every thread on your site, it will not make the threads 'search engine optimized'. They will see exactly what you see when you visit your site. It simply removes the CGI bits from the URL's which prevents most search engine bots from spidering more than one level deep. If you want a hack that allows to fully customize how the thread will look to the search engine bot, you should look at Overgrows more complete hack here. The advantage of this hack over Overgrows is that it does not require htaccess support which can have performance issues. This could also be seen as a disadvantage though as my hack requires that you have mod_rewrite enabled on your Apache Server, whereas Overgrows method should work with just about any web host out there. Take yer pick Show Your Support
|
Comments |
#22
|
||||
|
||||
and this
|
#23
|
||||
|
||||
Quote:
i think if you revert your templates you'll know what i'm talking about |
#24
|
||||
|
||||
template showthread_adminoptions contains
Code:
<table cellpadding="0" cellspacing="0" border="0"> <form action="postings.php" method="get"><tr><td> <smallfont> <input type="hidden" name="s" value="$session[dbsessionhash]"> <input type="hidden" name="threadid" value="$threadid"> <b>Admin Options:</b><br> <select name="action" onchange="window.location=('postings.php?s=$session[dbsessionhash]&action='+this.options[this.selectedIndex].value+'&threadid=$threadid')"> <option value="editthread" selected>-- Thread Options --</option> <option value="openclosethread">Open / Close Thread</option> <option value="move">Move / Copy Thread</option> <option value="editthread">Edit Thread</option> <option value="deletethread">Delete Thread / Posts</option> <option value="merge">Merge Threads</option> <option value="split">Split Thread</option> <option value="stick">Stick / Unstick Thread</option> </select> <input type="image" src="images2/go.gif" border="0" align="absbottom"> </smallfont> </td></tr></form> </table> Code:
<table cellpadding="0" cellspacing="0" border="0"> <form action="moderator.php" method="get"><tr><td> <smallfont> <input type="hidden" name="s" value="$session[sessionhash]"> <input type="hidden" name="forumid" value="$forumid"> <b>Admin Options:</b><br> <select name="action" onchange="window.location=('moderator.php?s=$session[sessionhash]&forumid=$forumid&action='+this.options[this.selectedIndex].value)"> <option value="modposts" selected>-- Forum Options --</option> <option value="modposts">View Posts Queue</option> <option value="modattach">View Attachment Queue</option> <option value="move">Mass Move</option> <option value="prune">Mass Prune</option> </select> <input type="image" src="images2/go.gif" border="0" align="absbottom"> </smallfont> </td></tr></form> </table> |
#25
|
|||
|
|||
hmmm. Not sure about that then. Sorry. Maybe I'd better not revert my templates. My text admin options work
What about the forum jump? If that fails on yours then the problem can be fixed within the templates. That dropdown works on mine. |
#26
|
|||
|
|||
Just prefix the postings.php reference in those templates with the $ bburl variable. ie $ bburl/postings.php..etc
|
#27
|
||||
|
||||
Quote:
|
#28
|
||||
|
||||
Quote:
template showthread_adminoptions Code:
<table cellpadding="0" cellspacing="0" border="0"> <form action="postings.php" method="get"><tr><td> <smallfont> <input type="hidden" name="s" value="$session[dbsessionhash]"> <input type="hidden" name="threadid" value="$threadid"> <b>Admin Options:</b><br> <select name="action" onchange="window.location=('$bburl/postings.php?s=$session[dbsessionhash]&action='+this.options[this.selectedIndex].value+'&threadid=$threadid')"> <option value="editthread" selected>-- Thread Options --</option> <option value="openclosethread">Open / Close Thread</option> <option value="move">Move / Copy Thread</option> <option value="editthread">Edit Thread</option> <option value="deletethread">Delete Thread / Posts</option> <option value="merge">Merge Threads</option> <option value="split">Split Thread</option> <option value="stick">Stick / Unstick Thread</option> </select> <input type="image" src="images2/go.gif" border="0" align="absbottom"> </smallfont> </td></tr></form> </table> Code:
<table cellpadding="0" cellspacing="0" border="0"> <form action="moderator.php" method="get"><tr><td> <smallfont> <input type="hidden" name="s" value="$session[sessionhash]"> <input type="hidden" name="forumid" value="$forumid"> <b>Admin Options:</b><br> <select name="action" onchange="window.location=('$bburl/moderator.php?s=$session[sessionhash]&forumid=$forumid&action='+this.options[this.selectedIndex].value)"> <option value="modposts" selected>-- Forum Options --</option> <option value="modposts">View Posts Queue</option> <option value="modattach">View Attachment Queue</option> <option value="move">Mass Move</option> <option value="prune">Mass Prune</option> </select> <input type="image" src="images2/go.gif" border="0" align="absbottom"> </smallfont> </td></tr></form> </table> Code:
<table cellpadding="0" cellspacing="0" border="0"> <form action="forumdisplay.php" method="get"><tr><td> <smallfont> <input type="hidden" name="s" value="$session[sessionhash]"> <input type="hidden" name="daysprune" value="$daysprune"> <b>Forum Jump:</b><br> <select name="forumid" onchange="window.location=('$bburl/forumdisplay.php?s=$session[sessionhash]&forumid='+this.options[this.selectedIndex].value+'&daysprune=$daysprune')"> <option value="-1" $defaultselected>Please select one:</option> <option value="-1">--------------------</option> <option value="pm" $frmjmpsel[pm]>Private messages</option> <option value="search" $frmjmpsel[search]>Search</option> <option value="home" $frmjmpsel[home]>Home</option> <option value="-1">--------------------</option> $jumpforumbits </select> <input type="image" src="{imagesfolder}/go.gif" border="0" align="absbottom"> </smallfont> </td></tr></form> </table> |
#29
|
|||
|
|||
Quote:
|
#30
|
||||
|
||||
Quote:
|
#31
|
|||
|
|||
Quote:
Thanks mate. I'll have to fix the docs and revert my templates tomorrow then. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|