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

Reply
 
Thread Tools
MySpace type User Profile Link Details »»
MySpace type User Profile Link
Version: 1.00, by MiahBeSmokin420 MiahBeSmokin420 is offline
Developer Last Online: Aug 2009 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.x Rating:
Released: 02-11-2008 Last Update: 02-11-2008 Installs: 26
Additional Files  
No support by the author.

Tested with vb 3.6.7 and 3.6.8
Tested on IE7 and FF2

Ok lets say your site is:

http://Example.com/Forums/


And the path to members profiles is even longer:

http://Example.com/Forums/member.php...xampleUserName


Well lets give your members a smaller and easy link to remember.


How about:

http://Example.com/Username

Oh ya thats alot better huh?

Ok well this is how you do it.


Add this to the .htaccess in root of example.com


HTML Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ http://Example.com/Forums/member.php?username=$1 [R]
Replace this:

http://Example.com/Forums/


With the link to your forums.


All members and guests will be able to go to:

http://Example.com/ThereUserName

And automatically be forwarded to the profile of the user name they entered after the site link.


Thats it just one easy .htaccess file edit and your done.


NOTE:
Want to use a diffrent domain like:

http://ExampleTwo.com/UserName

Just add the .htaccess file to that domain instead

just make sure that whats in red below links to your site

RewriteRule ^(.*)$ http://Example.com/Forums/member.php?username=$1



Enjoy and click install if you use this mod.

Also Some Credit to Eikinskjaldi for pointing me in the right way to get this working.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 03-09-2008, 10:29 PM
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: May 2007
Location: Ohio
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

maybe all 3 people were viewing a profile

but im telling you that a htaccess file with the info i have posted

CAN NOT and WILL NOT mess with any part of vB in any way

Its just impossiable

now if my mod were to in some way interact with the vB files and/or vB coding then yes it could be because of this

but there is now way that it could do that i promise you that

you either got something messed up in the htaccess file or there is more in the htaccess file then what this mod requires idk
Reply With Quote
  #43  
Old 03-09-2008, 10:31 PM
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: May 2007
Location: Ohio
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also dont add the htaccess fiel to your forums directory

add it the the public html dir
Reply With Quote
  #44  
Old 03-09-2008, 10:48 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, its in the public html folder. I tried putting it in the other htaccess but that one didn't work. It's definetely not everyone viewing a user profile with an error message because when I take it out of the htacess file, everything is fine again and you can see what everyone is doing. Do you want me to post the text I got in the htaccess file? Thanks.
Reply With Quote
  #45  
Old 03-10-2008, 12:18 AM
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: May 2007
Location: Ohio
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no thats fine

what kinda server are you running on?

cause it works fine on linix

i tested it on 4 of my own servers and on 4 diffrent vB boards

if your on a windows server then i dont know what to say except that linix is better lol

i realy dont know what to tell you man no one else has reported any problems with this
Reply With Quote
  #46  
Old 03-10-2008, 01:36 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MiahBeSmokin420 View Post
sorry missed that post

just add the httaccess file to both domains and then just point them to where your foums are installed i guess

but from the way you said that there it looks like you have 2 diffrent forums on 2 diffrent domains cause i dont see how you can have the same forum with 2 domains without having one of the domains redirect to the other

so honestly idk man
I have one domain, one forum, but two url's pointing to the same domain/forum.

Quote:
Originally Posted by Alfa1 View Post
I have one site, but with multiple url's pointing to it:
mymainurl.com
mysecondurl.com

I want to display mymainurl.com/forum/member.php?=member.php?username=ExampleUserName
as
mysecondurl.com/username

Is this possible?
Any idea's?
Reply With Quote
  #47  
Old 03-10-2008, 02:22 AM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MiahBeSmokin420 View Post
no thats fine

what kinda server are you running on?

cause it works fine on linix

i tested it on 4 of my own servers and on 4 diffrent vB boards

if your on a windows server then i dont know what to say except that linix is better lol


i realy dont know what to tell you man no one else has reported any problems with this
I don't know either lol, its a confusing one. I'm with windows, I wonder if all other different server users on my forums don't see the profile viewing and error message when they're viewing whos online.
Reply With Quote
  #48  
Old 03-18-2008, 05:32 PM
Relientk Relientk is offline
 
Join Date: Jan 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone please tell me how to uninstall this mod? or at least temp remove it? I am having a problem with installing another mod because anything that goes to for example http://www.mydomain.com/forum/installthis.php it keeps saying that there is no such user or whatever. I just want to install and it will not let me. And I have uploaded the correct file in the correct place but because of this mod I am unable to do this. So, my thought is to uninstall this mod just so I can do this other mod. Then once I have this mod installed I can then re-install this mod. I love this mod! So, I want to keep it...but can anyone tell me how to temp. put it back to the way it was before?! thanks so much!
Reply With Quote
  #49  
Old 03-19-2008, 06:33 AM
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: May 2007
Location: Ohio
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ya easy you just undo what you did

and once again like i said before there is no way possible that this mod can mess with anything feature or anything else in vb

but for the people that think it is messing with things then thats cool believe what you want to believe but im telling you right now

if you did exactly like the instructions say then there is no way possible for this to mess with anything in vb period
Reply With Quote
  #50  
Old 03-19-2008, 06:42 AM
Relientk Relientk is offline
 
Join Date: Jan 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MiahBeSmokin420 View Post
ya easy you just undo what you did

and once again like i said before there is no way possible that this mod can mess with anything feature or anything else in vb

but for the people that think it is messing with things then thats cool believe what you want to believe but im telling you right now

if you did exactly like the instructions say then there is no way possible for this to mess with anything in vb period
Hi thanks for the reply. My question is how exactly do I undo the .htaccess file?! I am not sure what code to put in it to overwrite this mod. Just temp. I love this mod! I think it's great! Any help is much appreciated.
Reply With Quote
  #51  
Old 03-20-2008, 08:47 PM
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: May 2007
Location: Ohio
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just delete it omg what do you not understand about undo what you did
Reply With Quote
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:38 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.06911 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
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_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete