Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

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
  #42  
Old 09-06-2013, 12:23 PM
fai99al99 fai99al99 is offline
 
Join Date: Sep 2011
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have add this to the $bop_reps = array

PHP Code:
$bop_reps = array('العربية'=>'arabic''المكتبة'=>'library'); 
HTML Code:
http://www.xxxxx.com/forum/showthread.php/35618-العربية-المكتبة
http://www.xxxxx.com/forum/showthread.php/35618-library-arabic
and it did translate the words fine
is this will cause any problems ?
Reply With Quote
  #43  
Old 09-06-2013, 02:03 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is fine I misunderstood.

I thought you meant will it translate like Google Translate.

What you did is technically a replacement, not a translation, you can do replacements you just have to do each one manually.
Reply With Quote
  #44  
Old 09-06-2013, 03:13 PM
fai99al99 fai99al99 is offline
 
Join Date: Sep 2011
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there's a little problem

it doesn't
Quote:
strip (remove) any special characters it can't translate.
in RSS
-----------------------------
no,its working fine
my mistake
Reply With Quote
  #45  
Old 09-07-2013, 05:05 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

4.2.1

Seems to work well on our forum. Great job BOP :up:
Reply With Quote
Благодарность от:
BirdOPrey5
  #46  
Old 09-03-2014, 09:07 PM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using DBSEO by DBTECH, do I need this mod? Will it even work with DBSEO, or will it break my Forum URL's?
Reply With Quote
  #47  
Old 09-04-2014, 04: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

I'm afraid I've never tested it with DBSEO but I would strongly imagine you do not need it- I doubt it would work.
Reply With Quote
  #48  
Old 01-05-2016, 02:45 PM
Darkman7030 Darkman7030 is offline
 
Join Date: Nov 2014
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have a problem

Code:
http://domian.de/forum/forumdisplay.php?38Movieaspan-classshade-stylefont-size10px-titleThemenBeitrage-1111spanVSa

https://vborg.vbsupport.ru/showthread.php?t=236960

also use the think the error comes from what kan do now?
Reply With Quote
  #49  
Old 01-06-2016, 10:04 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you disable the subforum manager does the problem go away? If so I would say they are incompatible.
Reply With Quote
  #50  
Old 01-10-2016, 12:02 PM
Darkman7030 Darkman7030 is offline
 
Join Date: Nov 2014
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there no way to fix that?
Reply With Quote
  #51  
Old 01-10-2016, 12:26 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Probably, but sorry, I'm not working on this mod anymore. I have set it to be re-usable code in case someone else wants to work on it, they are welcome.
Reply With Quote
Благодарность от:
Darkman7030
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 11:36 AM.


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.13524 seconds
  • Memory Usage 2,349KB
  • Queries Executed 28 (?)
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
  • (1)bbcode_html
  • (1)bbcode_php
  • (1)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
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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