vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   members urls (https://vborg.vbsupport.ru/showthread.php?t=102817)

VaaKo 12-12-2005 07:55 PM

members urls
 
I was wondering if someone can create a hack that will allow members to have their own url names

so instead of
www.oneforum.org/member.php?u=2505

he can have something like
www.oneforum.org/doncorleone

is it possible?

Cyricx 12-12-2005 08:41 PM

I think Amykhar did something like this in her Userpage hack.

Do a search for "Custom Userpage" or do a member search for Amykhar and look at her released hacks.

Andreas 12-12-2005 09:41 PM

mod_rewrite is your friend

VaaKo 12-12-2005 10:46 PM

Quote:

Originally Posted by Andreas
mod_rewrite is your friend

how is this possible with mod_rewrite?

and the custom users page, does it allow users to have their own urls?

Inferno Dragon 12-14-2005 02:37 PM

yes I am also interested in making my profile pages like: www.domain.com/username.html

StGaensler 12-14-2005 08:00 PM

Place this rewrite rule in an .htaccess-file in the forum root:
Code:

RewriteEngine On
RewriteRule ^([^/]+)\.html$ member.php?username=$1

This has only one disadvantage: you can't place any html-file in the forum-root, because the url would be rewritten by this expression.

@Don Corleone
Take this:
Code:

RewriteEngine on
RewriteRule ^([^/.]+)$ member.php?username=$1

Depending on your configuration it could be that you need following line before the rewrite rules:
Code:

Options FollowSymLinks

VaaKo 01-11-2006 01:45 PM

and how could the members select their names?

StGaensler 01-11-2006 02:08 PM

The names are the nicknames of the members registered on your board.
My page would be: http://example.net/StGaensler
This ceases to function, if a member has a "/" or a "." in his name - I excluded this because the forum wouldn't work anymore if I hadn't done this.


All times are GMT. The time now is 09:17 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.01170 seconds
  • Memory Usage 1,725KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete