Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases

Reply
 
Thread Tools
Spider Friendly URL hack Details »»
Spider Friendly URL hack
Version: 1.00, by krohnathlonman krohnathlonman is offline
Developer Last Online: Dec 2008 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 09-26-2004 Last Update: Never Installs: 10
Is in Beta Stage  
No support by the author.

I've started using better URLs for the search engines and I'm looking for some advice on what templates to modify. I also don't have the multi page part working right currently so I could use some help on that.

I haven't figured out the part to go to specific posts quite yet but I thought I'd share what I have so far.

URLs for the threads now look like this:
http://www.iamnotageek.com/t-76948.html

Insert this into your .htaccess file in your forum base directory.
Code:
  RewriteEngine on
  RewriteRule ^t-([0-9]+) showthread.php?t=$1 [L]
Now test it by using a URL like domain.com/forum/t-THREADID.html

If that shows the thread properly THEN go into your admincp and use the template search function. Do a search for showthread.php and start editing those templates to send people to these new URLs. Don't modify things like the next page links.

This could potentially raise CPU usage quite a bit but my site pulls a decent amount of people per day and I'm not noticing much of a spike in CPU usage.

This can also be done for forums. I've done it here http://iamnotageek.com/f-46.html

If I can get the next page system working right I'll get the full instructions together.

Show Your Support

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

Comments
  #2  
Old 09-27-2004, 10:01 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think you need to elaborate a little bit more on what to do krohnathlonman users who do not know much about coding and stuff probably will not know what to modify ... I'm currently using a custom Mod-Rewrite in our forums, so far so good, you can always take a look at it and see what I'm talking about. However, just like you I havent been able to rewrite the Next-Previous pages...

if you find anything, I will sure implement it,

regards,
Reply With Quote
  #3  
Old 09-27-2004, 10:24 PM
krohnathlonman krohnathlonman is offline
 
Join Date: Feb 2004
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really about all that can be done is is the admincp use the search for templates and search for showthread.php and instead of the showthread.php?t=VARIABLE

insert t-VARIABLE.html

If I can figure out the multi page I'll get together some very specific docs for this. I'm working in the forums like this currently and I now have redirects in place for the old archive pages.
Reply With Quote
  #4  
Old 09-27-2004, 10:27 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by krohnathlonman
I'm working in the forums like this currently and I now have redirects in place for the old archive pages.
me too
Reply With Quote
  #5  
Old 09-28-2004, 03:59 AM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Huh??????????

I totally have no clue what your saying I should do, but im interested in the concept...........
Reply With Quote
  #6  
Old 09-28-2004, 07:23 AM
djohn djohn is offline
 
Join Date: Feb 2004
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'd like to see my forum links to look instead of http://www.forum.com/forums/showthread.php?&threadid=123, like this: http://www.forum.com/forums/thread/123

i think it looks much nicer. is that possible to make?
Reply With Quote
  #7  
Old 09-28-2004, 01:31 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joeychgo
Huh??????????


I totally have no clue what your saying I should do, but im interested in the concept...........
I told you krohnathlonman, you need to explain and give some more details on how to inmplement this on a website... i'm sure many will appreciate it...
Reply With Quote
  #8  
Old 09-28-2004, 01:31 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djohn
i'd like to see my forum links to look instead of http://www.forum.com/forums/showthre...?&threadid=123, like this: http://www.forum.com/forums/thread/123

i think it looks much nicer. is that possible to make?
Yeah, that is what this mod does..
Reply With Quote
  #9  
Old 09-28-2004, 04:47 PM
colicab-d's Avatar
colicab-d colicab-d is offline
 
Join Date: Dec 2002
Location: Glasgow
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm so how do we use this one then? Tis all a little confusing
Reply With Quote
  #10  
Old 09-28-2004, 05:05 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think you got to ask krohnathlonman,

He is the one that released this mod and i'm sure he will be able to help you better...
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 04:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07366 seconds
  • Memory Usage 2,291KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_code
  • (3)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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