vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   can this be done with vb members profile link? (https://vborg.vbsupport.ru/showthread.php?t=106826)

influence 01-31-2006 06:11 PM

can this be done with vb members profile link?
 
Can the profile link be redirected to http://profiles.mysite.com/membername.html

I dont know if I can accomplish that by using either vbseo or some of the hacks on here.


Please someone tell me if this can be done. I know I will have to create a subdomain call profile and all but I dont know if this can be accomplished

PennylessZ28 01-31-2006 07:39 PM

you can't rename the actual link, but you can make it so

http://profiles.mysite.com/membername.html = http://profiles.mysite.com/member.php?$userid=XXX

With readwrite rules.

I use this in the .htaccess file to achieve this http://www.mysite.com/myuser

RewriteEngine On
RewriteRule (^[-_A-Za-z0-9\ ]*$) member.php?&username=$1

influence 02-01-2006 12:02 PM

thank you sir,

vbseo.com showed me how to do it but your reply was truly appreciated. They also showed me how I can change my members profile links to http://membername.mysite.com . You will need to purchase their script to accomplish that though

Brad 02-01-2006 12:36 PM

You don't have to buy that script to do this. You can get to profiles with the username if you use this link:

https://vborg.vbsupport.ru/member.php?username=Brad

From there all you have to do is set up the rewrite rules.

Dean C 02-01-2006 08:41 PM

Should use this really HR3rdGen:
Code:

RewriteEngine On
RewriteCond    %{REQUEST_FILENAME}  -d
RewriteRule ^([-_A-Za-z0-9\ ]+)$ member.php?&username=$1 [L]


harmor19 02-01-2006 08:48 PM

How does it know to use "membername.html"?

T3MEDIA 02-22-2006 12:39 PM

Quote:

Originally Posted by Dean C
Should use this really HR3rdGen:
Code:

RewriteEngine On
RewriteCond    %{REQUEST_FILENAME}  -d
RewriteRule ^([-_A-Za-z0-9\ ]+)$ member.php?&username=$1 [L]


if you do that and do a password reset wouldnt you get an error like the user name does not have an account so they do not exist?

what bout stuff like this as well
Quote:

RewriteCond %{HTTP_HOST} ^members.yoursite.com$


All times are GMT. The time now is 09:42 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.01144 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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