Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by fastforward fastforward is offline
Developer Last Online: Nov 2011 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-24-2001 Last Update: Never Installs: 35
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 05-26-2001, 03:12 AM
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
Location: Brisbane, Australia
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and this
Reply With Quote
  #23  
Old 05-26-2001, 03:13 AM
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
Location: Brisbane, Australia
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by fastforward
Did you put the baseurl tag in the header template. That should stop those errors. You may need to alter it slightly to reflect your forum directory.

What is this drop down admin menu? Is it with the new templates? I still need to revert some of mine from RC3.
yes base url is in head insert already

i think if you revert your templates you'll know what i'm talking about
Reply With Quote
  #24  
Old 05-26-2001, 03:20 AM
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
Location: Brisbane, Australia
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
and forumdisplay_adminoptions
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>
Reply With Quote
  #25  
Old 05-26-2001, 03:20 AM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #26  
Old 05-26-2001, 03:21 AM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just prefix the postings.php reference in those templates with the $ bburl variable. ie $ bburl/postings.php..etc
Reply With Quote
  #27  
Old 05-26-2001, 03:24 AM
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
Location: Brisbane, Australia
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by fastforward
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.
forum jump does NOT work when used on http://animeboards.com/f1/s but works on the real url
Reply With Quote
  #28  
Old 05-26-2001, 03:30 AM
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
Location: Brisbane, Australia
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by fastforward
Just prefix the postings.php reference in those templates with the $ bburl variable. ie $ bburl/postings.php..etc
yay that worked now for the other people trying this

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>
and forumdisplay_adminoptions
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>
forumjump template
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>
Reply With Quote
  #29  
Old 05-26-2001, 03:31 AM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by eva2000
forum jump does NOT work when used on http://animeboards.com/f1/s but works on the real url
OK, then something isn't quite right with your setup as both work on mine. It was for this reason and the broken images that the baseurl tag was put in the header. I'm not sure what else to suggest. It has to be something to do with the baseurl.
Reply With Quote
  #30  
Old 05-26-2001, 03:32 AM
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
Location: Brisbane, Australia
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by fastforward

OK, then something isn't quite right with your setup as both work on mine. It was for this reason and the broken images that the baseurl tag was put in the header. I'm not sure what else to suggest. It has to be something to do with the baseurl.
all fixed now above previous post http://vbulletin.com/forum/showthrea...250#post114250
Reply With Quote
  #31  
Old 05-26-2001, 03:35 AM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by eva2000
all fixed now above previous post http://vbulletin.com/forum/showthrea...250#post114250
Yay...

Thanks mate.

I'll have to fix the docs and revert my templates tomorrow then.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08798 seconds
  • Memory Usage 2,318KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete