vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Shorter Profile Url (https://vborg.vbsupport.ru/showthread.php?t=165986)

cheat-master30 05-31-2008 10:21 PM

Here's what I used in the .htaccess file:

RewriteEngine on
RewriteBase /Board/upload/
RewriteRule ^u-(.+)/?$ member.php?username=$1 [L]

For you, it'd be like:

RewriteEngine on
RewriteBase [board directory starting with /]
RewriteRule ^u-(.+)/?$ member.php?username=$1 [L]

And you have the addresses as [yoursiteaddress.com]/[yourforumdirectory]/u-[username]

NeverBored 05-31-2008 11:12 PM

Quote:

Originally Posted by cheat-master30 (Post 1537371)
Here's what I used in the .htaccess file:

RewriteEngine on
RewriteBase /Board/upload/
RewriteRule ^u-(.+)/?$ member.php?username=$1 [L]

For you, it'd be like:

RewriteEngine on
RewriteBase [board directory starting with /]
RewriteRule ^u-(.+)/?$ member.php?username=$1 [L]

And you have the addresses as [yoursiteaddress.com]/[yourforumdirectory]/u-[username]

Thanks

Warlord 08-12-2008 12:46 PM

How can I make it so that usernames with spaces put an underscore between their first and last names instead of the %20 thing?

Warlord 08-17-2008 12:00 AM

bump

Warlord 09-05-2008 05:12 PM

bump

Maddogz420 09-07-2008 10:16 PM

I'm curious about the %20 thing as well, names with spaces are causing a problem

camomouse 09-08-2008 06:48 AM

I can't even get users with spaces in there names to work.

Warlord 09-14-2008 02:04 AM

Yeah, that's the same problem we're having. Anybody have a fix for this? I could really use this mod.

Warlord 09-24-2008 04:13 AM

bump

CLUB AMPLE 09-26-2008 12:25 AM

Is there anyone who is willing to write this hack in a simple foolproof version for all users? I'm willing to donate $50


All times are GMT. The time now is 01:23 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.03091 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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