Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
MySpace Style Profile Links PLUS Details »
MySpace Style Profile Links PLUS
Mod Version: 2.00, by MiahBeSmokin420 (Member) MiahBeSmokin420 is offline
Developer Last Online: Aug 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.0 Rating: (2 votes - 5.00 average) Installs: 27
Released: 11 May 2008 Last Update: 11 May 2008 Downloads: 92
Not Supported Template Edits Additional Files  

MySpace Style Profile Links PLUS

Only tested on a linux server and will only work if you can use .htaccess files (Rewrite Conditions) on your server.

What this will do:
It gives your members a simple and easy link to remember and give to there friends to get to there profile.
Also changes the profile link in members profiles contact us tab from the long ugly link to the new short sexy link.
Also Adds a nicely placed User Profile link to the top of the navbar with profile editing links.

DEMO:
This link:
http://StillFallin.com/StillFallin
Will take you to this link:
http://stillfallinentertainment.com/...me=StillFallin

Screen Shots Attached

vB 3.6.x Version:

http://www.vbulletin.org/forum/showthread.php?t=170293

(Step 1) File Edits

Open your Favorite FTP software

Go to the root of your domain you wish to use as a jump point
Example: /public_html/

Find and open your .htaccess file
Note if you do not have one then create one

Add in the .htaccess file:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Edit this line here:
RewriteRule ^(.*)$ http://Example.com/Forums/member.php?username=$1 [R]

Just replace:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With your forum domain and forum folder

Save, close, and upload back to the server unless you did live edits on the server in that case just close and save.

NOTE:
If you have more then one domain you can add the .htaccess file to other domains as well.
For Example:
My forums are on MyLongDomain.com
But i added the .htaccess file to MyShortDomain.com

Now go to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Note:
If there are spaces in your user name you must enter the spaces in the link as well
Same goes with other characters like if you have ---User Name---
You Would Enter:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That should then redirect you to your profile.
If that works correctly then move on to Step 2


(Step 2) Template Edites

Go to your vB Forums Admin cP > Style Manager > Navigation / Breadcrumb Templates
Open navbar

Before:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Edit:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Changing the font color to match you site. Currently it its set to red.

Edit 2 times:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace both with the domain that you put the .htaccess file in.

Save and Close

Go to your vB Forums Admin cP > Style Manager > Member Info Templates
Open memberinfo_block_contactinfo

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace With:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Edit 2 times:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace both with the domain that you put the .htaccess file in.

Save and Close

To get a Sexier looking error page for when a member dose not exist you can do the following edit.

Search in Phases for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Edit and replace with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	NavBar Screen Shot.JPG
Views:	715
Size:	7.4 KB
ID:	80395   Click image for larger version

Name:	Contact Info Screen Shot.JPG
Views:	1160
Size:	27.0 KB
ID:	80396  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 11 May 2008, 23:17
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: Jun 2007
Change Log:

ADDED - Sexier Looking No Member Error

Last edited by MiahBeSmokin420; 12 May 2008 at 01:34.
Reply With Quote
  #3  
Old 12 May 2008, 00:10
indie2industry's Avatar
indie2industry indie2industry is offline
 
Join Date: Jan 2008
Will this only redirect the URL's or EVERYTHING (like pics, files, etc.)
I had a rewrite script before, I would enter something like www.mysite.com/images/logo.gif and it would say that "this profile doesn't exist". Will this do the same??
Reply With Quote
  #4  
Old 12 May 2008, 01:02
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: Jun 2007
no this will only redirect things that have no ending

Example of things that will get redirected
http://Example.com/redirected
http://Example.com/redirected/

Example of things that would not get redirected
http://Example.com/file.extention
http://Example.com/folder/file.extention

so basically anything that dose not have a file extension will be redirected

its also kinda a security feature in a way cause now you don't have to worry about any folders that don't have a index in them cause if someone tried to browse a folder and don't add a file extension then they will be redirected and it will say that member dose not exist error or what not

if you are still unclear of how it works just ask and ill try to explain it some more

See Here is a test:

http://stillfallin.com/close.gif << That will show the image
but if you type it wrong like lets say
http://stillfallin.com/close.GIF << That will not show the image and will get redirected and you will see the no member error

To get a Sexier looking error page for when a member dose not exist you can do the following edit.

Search in Phases for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Edit and replace with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by MiahBeSmokin420; 12 May 2008 at 01:23.
Reply With Quote
  #5  
Old 12 May 2008, 01:45
indie2industry's Avatar
indie2industry indie2industry is offline
 
Join Date: Jan 2008
cool & installed.
Reply With Quote
  #6  
Old 12 May 2008, 04:47
Zaiaku's Avatar
Zaiaku Zaiaku is offline
 
Join Date: Jul 2007
I did this a long time ago to my forums.
__________________
Live everyday as if it was your last, because one day it just may be.
Reply With Quote
  #7  
Old 12 May 2008, 05:16
elmati elmati is offline
 
Join Date: Mar 2007
Works like a charm
Thanks!
Reply With Quote
  #8  
Old 12 May 2008, 06:34
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: Jun 2007
Originally Posted by Zaiaku View Post
I did this a long time ago to my forums.
using my last version or something else
the reason i ask is cause there is another version besides mine that dose not work too well with spaces and symboles

Originally Posted by elmati View Post
Works like a charm
Thanks!
yep no prob
Reply With Quote
  #9  
Old 12 May 2008, 12:02
indie2industry's Avatar
indie2industry indie2industry is offline
 
Join Date: Jan 2008
no sir......

This one does it too..
Here's an image link directly from my server.

http://www.indie2industry.com/images/keithmurray.jpg
Reply With Quote
  #10  
Old 12 May 2008, 13:41
IrPr IrPr is offline
 
Join Date: Mar 2005
Real name: MoOZ
This will rewrite all 404 files to member.php?username=w00t!

suggestion: rewrite forum/members/username instead of forum/username
suggestion2: replace all forum member.php?u=userid links to rewrited one
Reply With Quote
  #11  
Old 12 May 2008, 20:22
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: Jun 2007
Originally Posted by indie2industry View Post
no sir......

This one does it too..
Here's an image link directly from my server.

http://www.indie2industry.com/images/keithmurray.jpg
try making sure that every thing is typed correctly
this is very case sensitive so check for capital letters in your files that could be your problem

if not then maybe it wont work with your server who knows that or maybe if you got leech protection turned on check your settings for that idk what to tell you works well on all of my servers and a few of my friends servers even works on my pc when i set it up for a local test server

Originally Posted by IrPr View Post
This will rewrite all 404 files to member.php?username=w00t!

suggestion: rewrite forum/members/username instead of forum/username
suggestion2: replace all forum member.php?u=userid links to rewrited one

username=w00t!
i dont know about that

as far as suggestion 1 i didnt know that there was a members folder unless your talking about creating one and adding the htaccess file in there after you create it but then that would just defeat the whole purpose of a shorter link cause its just making it longer and its also no longer a myspace style link after you do that

and for suggestion 2 that just dont make any since or maybe im just too sober to understand that but it dont make any since
Reply With Quote
  #12  
Old 13 May 2008, 10:29
indie2industry's Avatar
indie2industry indie2industry is offline
 
Join Date: Jan 2008
actually, the link to the pic I posted worked... Then I tried the URL rewrite, and lost 20% of my site's images.. removed it from my .htaccess and my pics came back.

I'll figure it out I guess
Reply With Quote
  #13  
Old 13 May 2008, 21:36
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: Jun 2007
Originally Posted by indie2industry View Post
actually, the link to the pic I posted worked... Then I tried the URL rewrite, and lost 20% of my site's images.. removed it from my .htaccess and my pics came back.

I'll figure it out I guess
must be your server that cant handle this type of thing i dont know

works fine with my server and lots of other peoples servers so good luck
Reply With Quote
  #14  
Old 14 May 2008, 02:05
KHALIK KHALIK is offline
 
Join Date: May 2005
I had to uninstall this, does not work with vBSEO, as I get a error message.

This is what vBSEO does, no numbers or funny characters when viewing profiles
http://www.fragmasters.co.uk/forum/members/fragmaster/
Reply With Quote
  #15  
Old 14 May 2008, 10:56
IrPr IrPr is offline
 
Join Date: Mar 2005
Real name: MoOZ
Originally Posted by MiahBeSmokin420 View Post

username=w00t!
i dont know about that
I mean a not found url
for example http://forum/blablabla will be rewrited to http://forum/member.php?username=blablabla if blablabla file dosent exist

Originally Posted by MiahBeSmokin420 View Post
and for suggestion 2 that just dont make any since or maybe im just too sober to understand that but it dont make any since
I mean replace member profile links to new one in Thread lists, Postbits, Memberlist, etc
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 13:32.

Layout Options | Width: Wide Color: