vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Friendlier URLs by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=276953)

BirdOPrey5 01-13-2012 11:00 PM

Friendlier URLs by BOP5
 
1 Attachment(s)
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! ;)

lodos0677 01-14-2012 06:38 PM

beautiful work. congratulations..

fiatforever 01-14-2012 07:23 PM

Looks great, thank you :)

OldSchoolDSL 01-14-2012 08:19 PM

tagged

I wonder how this will work on nginx

SuperTaz 01-14-2012 08:30 PM

Will this affect URL's for sites with vBSEO?

Morpheus NS 01-14-2012 08:50 PM

Installed in test forum, it works like a charm! I was waiting for something like this since I started using vBulletin, nominated for MOTM.

Dr.osamA 01-14-2012 10:36 PM

installed under test

thank you sir

thecore762 01-14-2012 10:39 PM

Quote:

Originally Posted by SuperTaz (Post 2287839)
Will this affect URL's for sites with vBSEO?

You don't want to use this if you are already using vBSEO.

BirdOPrey5 01-14-2012 11:31 PM

Quote:

Originally Posted by SuperTaz (Post 2287839)
Will this affect URL's for sites with vBSEO?

Quote:

Originally Posted by thecore762 (Post 2287898)
You don't want to use this if you are already using vBSEO.

What he said. If you are using VBSEO don't use this mod- I think VBSEO already does this for you...

I should probably add that message in the top post.

Thank you all... If we go a couple weeks without major bugs I'll take it out of Beta- just didn't have time to do extensive testing, wasn't expecting 4.1.10 to be released so soon. :D

Juggernaut 01-16-2012 01:12 AM

Exellent product, nominated as well. :D

sadiq6210 01-16-2012 04:44 AM

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

BirdOPrey5 01-16-2012 12:05 PM

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?

Morpheus NS 01-16-2012 12:38 PM

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?

sadiq6210 01-17-2012 05:22 AM

1 Attachment(s)
Quote:

Originally Posted by BirdOPrey5 (Post 2288513)
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:
https://vborg.vbsupport.ru/external/2012/01/38.jpg


Quote:

Originally Posted by BirdOPrey5 (Post 2288513)
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:
https://vborg.vbsupport.ru/external/2012/01/38.jpg

BirdOPrey5 01-17-2012 12:28 PM

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.

The Rocketeer 04-25-2012 01:24 AM

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?

BirdOPrey5 04-26-2012 11:06 AM

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.

Nirjonadda 04-26-2012 03:26 PM

Its not working on my site in 4.1.10

BirdOPrey5 04-26-2012 03:37 PM

What is happening?

Can I get a link to your site?

hostcini 06-16-2012 05:16 PM

Amazing. There is no problem with Turkish chars. It's working at windows servers too (tested).

JAFRI 07-13-2012 03:08 PM

this work on 4.2 ???

BirdOPrey5 07-13-2012 03:20 PM

yes

sbs68 08-20-2012 09:03 PM

Thanks, I have installed it on 4.1.12 an worx.
GREAT for HUNGARIAN friendly URLs!

Mark_Zuckerberg 09-30-2012 06:47 PM

Isnt this thing is by default in vb 4.2?

Mark_Zuckerberg 09-30-2012 07:01 PM

The purpose of your mod is to re write the links in friendly url but i found a default option in vb 4.2 name friendly urls and in that if we select Advanced Friendly URLs it does the same what your mod do so i am confused should i have to install this mod on vb 4.2 or not?

BirdOPrey5 10-01-2012 12:21 AM

Quote:

Originally Posted by Mark_Zuckerberg (Post 2369820)
The purpose of your mod is to re write the links in friendly url but i found a default option in vb 4.2 name friendly urls and in that if we select Advanced Friendly URLs it does the same what your mod do so i am confused should i have to install this mod on vb 4.2 or not?

This mod doesn't make "friendly" URLs... it makes friendly URLs better.

It removes many special characters and non-latin characters from URLs- some people believe doing this is better for SEO... I personally do not know if it is better or not but someone asked for something like this so I made it.

I have no real argument for or against using this one.

Like it says in the description it's for things like this:

Quote:

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

Mark_Zuckerberg 10-01-2012 09:24 AM

thanks for the replied got your point and un installed it also :)

BirdOPrey5 10-01-2012 10:26 AM

Quote:

Originally Posted by Mark_Zuckerberg (Post 2369944)
thanks for the replied got your point and un installed it also :)

Thank you- Please use the "Mark as Installed" link in the top post.

https://vborg.vbsupport.ru/external/2013/09/18.jpg

Mark_Zuckerberg 10-01-2012 02:33 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2369956)
Thank you- Please use the "Mark as Installed" link in the top post.

https://vborg.vbsupport.ru/external/2013/09/18.jpg

:p i have already done this bro i know this and again click un installed but tagged it for future if i needed :)

pokusek 02-02-2013 06:14 PM

Awesome mod! I just have one problem - when a sitemap for blogs is being generated, UTF-8 characters are turned into weird mess. Everything else is fine. Could you please tell me how to fix it? Thanks for your time.

Rodrigo. 02-07-2013 12:33 PM

yes for me work in vb 4.2 pch level 3

BirdOPrey5 02-08-2013 11:45 PM

Quote:

Originally Posted by pokusek (Post 2401385)
Awesome mod! I just have one problem - when a sitemap for blogs is being generated, UTF-8 characters are turned into weird mess. Everything else is fine. Could you please tell me how to fix it? Thanks for your time.

Never heard of this issue... Are you sure if the mod is disabled the sitemap URLs are correct?

if so can you please paste in an example blog title causing the issue.

pokusek 03-03-2013 09:16 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2402989)
if so can you please paste in an example blog title causing the issue.

I sent a PM with more details, thanks for your time.

yeppuda 04-10-2013 02:37 PM

vb3 please?
it is super hacks.

BirdOPrey5 04-13-2013 05:17 PM

Quote:

Originally Posted by yeppuda (Post 2415530)
vb3 please?
it is super hacks.

Sorry but VB3 doesn't have "friendly URLs" so this isn't an option.

mikesafl 04-15-2013 05:16 PM

Can i make it strip periods and add spaces? That is what im having trouble trying to do

BirdOPrey5 05-12-2013 09:07 AM

Quote:

Originally Posted by mikesafl (Post 2416535)
Can i make it strip periods and add spaces? That is what im having trouble trying to do

No, not designed to strip periods or add spaces to URLs.

fai99al99 09-06-2013 11:36 AM

very nice and helpful .. great mod
thanks

working fine 4.2.1

fai99al99 09-06-2013 11:56 AM

can i use it to translate words ?

like : "العربية"
translate to "Arabic"

BirdOPrey5 09-06-2013 12:11 PM

No, it won't translate words just individual characters.


All times are GMT. The time now is 05:23 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.01386 seconds
  • Memory Usage 1,818KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete