Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Friendlier URLs by BOP5 Details »»
Friendlier URLs by BOP5
Version: 0.9, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.1.10 Rating:
Released: 01-13-2012 Last Update: Never Installs: 57
Uses Plugins
Re-useable Code Is in Beta Stage  
No support by the author.

Current Version: 0.9 Beta

The purpose of this mod is to make "friendly" URLs in VB4 even better.

DO NOT USE IF YOU HAVE VBSEO - It should already do this.

Demo: Test Thread on Qapla.com

For SEO purposes it is often best that only standard English characters and numbers are in URLs.

If you have a forum where non-English languages are used and you have letters with accents or other symbols in them they would become part of the links to your threads and your site would be indexed like that. However when a user searches for something like "Jagermeister" they will usually type "Jagermeister" into the search and not the technically correct "J?germeister."

Previously in VB4 there was no way to convert ? to a automatically, or even to strip them from the URL altogether.

This mod adds those options. It has a built in translation table for the most commonly used accented characters. It also allows you to specify custom translations if there are additional letters you want to translate to their English/Latin equivalents.

It also includes a final option to simply strip (remove) any special characters it can't translate.

I am marking this Beta as I have tested it and run in on my own forum, www.qapla.com, but I have not tested it extensively.

You must have VB 4.1.10 or above for this to work, it will not work on older versions.

------------------------------------------------------

Please "Mark as Installed" if you use this.
Donations always appreciated. :up:
Nominate MOTM if you LOVE it!

Download Now

File Type: zip Friendler URLs for VB4 by BOP5.zip (4.1 KB, 435 views)

Screenshots

File Type: jpg firendlier-urls_before.jpg (102.8 KB, 0 views)
File Type: jpg firendlier-urls_after.jpg (107.4 KB, 0 views)
File Type: jpg friendle_urls-settings.jpg (141.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
fai99al99, TheLastSuperman, yin9

Comments
  #12  
Old 01-16-2012, 04:44 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Finally
Thanks .. this is great

I was using basic links and I converted the links to advance after I installed this great mod but there is two issue:

1- When I copy and past the link in any post, I is appearing again like this
https://vborg.vbsupport.ru/attachmen...7&d=1326552849

but there is no issue when I click on the link where I got the correct link.


2- If I enter any thread from the old basic link such as:
http://www.domain.com/forum/showthread.php?t=276953

The link is automatically converting to the advance link, but like this only:
https://vborg.vbsupport.ru/attachmen...7&d=1326552849
Reply With Quote
  #13  
Old 01-16-2012, 12:05 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How are you copying and pasting the link in #1- what is your copy source? The browser address bar? Can you paste a link here using the [code] bb code?

3) When you say auto convert do you mean it changes in your address bar from the old basic to the new advanced before the page even loads?
Reply With Quote
  #14  
Old 01-16-2012, 12:38 PM
Morpheus NS Morpheus NS is offline
 
Join Date: Oct 2009
Location: Serbia
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working great in live forum, I can finally sit down and relax, my links are fine without using an expensive solution like vBSEO... Is there any way to do the same thing in cms articles meta description?
Reply With Quote
  #15  
Old 01-17-2012, 05:22 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
How are you copying and pasting the link in #1- what is your copy source? The browser address bar? Can you paste a link here using the [code] bb code?
Also, when I copy the link and paste it here I face the same bug, like this:
Code:
http://www.domain.com/forum/showthread.php/223891-%D8%A7%D8%B3%D8%AA%D9%81%D8%B3%D8%A7%D8%B1-%D9%85%D8%A7%D8%AB-121
While when I copy it from the address bar it was as shown in the screen shot:



Quote:
Originally Posted by BirdOPrey5 View Post
3) When you say auto convert do you mean it changes in your address bar from the old basic to the new advanced before the page even loads?
Yes, you can try to enter this link:
www.qapla.com/mods/showthread.php?t=139

You will notice that the link will change in your address bar to:
http://www.qapla.com/mods/showthread...-de-los-perros

In your forum it is perfect .. but in my forum (Arabic lang.) when I enter any thread using the old basic link, then It changes to the new advance link but only like this:
Code:
http://www.domain.com/forum/showthread.php/223891-%D8%A7%D8%B3%D8%AA%D9%81%D8%B3%D8%A7%D8%B1-%D9%85%D8%A7%D8%AB-121
It should be:
Attached Images
File Type: png link1.PNG (4.2 KB, 0 views)
Reply With Quote
  #16  
Old 01-17-2012, 12:28 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, In your Friendly URL settings (the built in ones) look at the Enforce Canonical URL options...

Turn it off (No) for registered users and Off for guests... The defaults are Yes and Standard.
Reply With Quote
  #17  
Old 04-25-2012, 01:24 AM
The Rocketeer's Avatar
The Rocketeer The Rocketeer is offline
 
Join Date: Jun 2010
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks to be one great ad on BOP. Congrats. Voted and Nominated I currently have vBSEO Installed on both of the boards I own however if I ever stop using vBSEO I would definitely use this.

1 Question though, for those who are on a shared hosting plan, does this mod increase CPU load and take up a good amount of grunt like it vBSEO?
Reply With Quote
  #18  
Old 04-26-2012, 11:06 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No this is a very lightweight mod... I use it and I'm on shared hosting with no ill effects. It's really just a few lines of php code.
Reply With Quote
  #19  
Old 04-26-2012, 03:26 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its not working on my site in 4.1.10
Reply With Quote
  #20  
Old 04-26-2012, 03:37 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is happening?

Can I get a link to your site?
Reply With Quote
  #21  
Old 06-16-2012, 05:16 PM
hostcini hostcini is offline
 
Join Date: Apr 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Amazing. There is no problem with Turkish chars. It's working at windows servers too (tested).
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 01:34 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.08441 seconds
  • Memory Usage 2,341KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete