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

Reply
 
Thread Tools
MySpace Style Profile Links PLUS Details »»
MySpace Style Profile Links PLUS
Version: 2.00, by MiahBeSmokin420 MiahBeSmokin420 is offline
Developer Last Online: Aug 2009 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.0 Rating:
Released: 05-11-2008 Last Update: 05-11-2008 Installs: 29
Template Edits
Additional Files  
No support by the author.

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:

https://vborg.vbsupport.ru/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:

Code:
<MySpace Style Profile Link>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ http://Example.com/Forums/member.php?username=$1 [R]
</MySpace Style Profile Link>
Edit this line here:
RewriteRule ^(.*)$ http://Example.com/Forums/member.php?username=$1 [R]

Just replace:
Code:
Example.com/Forums/
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:
Code:
http://Example.com/User Name
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:
Code:
http://Example.com/---User Name---
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:
Code:
<!-- breadcrumb, login, pm info -->
Add:
Code:
 
<!-- MySpace Style Profile Link -->
<if condition="$show['member']">
<div align="center">
<table width="100%" align="center">
<tr>
<td width="100%" align="left">
<font color="#FF0000">
My Profile Url: <a href="http://StillFallin.com/$bbuserinfo[username]">StillFallin.com/$bbuserinfo[username]</a>  [<a href="profile.php?$session[sessionurl_q]do=customize">Customize</a>]-[<a href="profile.php?$session[sessionurl_q]do=editprofile">My Details</a>]-[<a href="album.php?$session[sessionurl_q]">My Albums</a>]-[<a href="profile.php?$session[sessionurl_q]do=editprofilepic">My Pic</a>] 
</font>
</td>
</tr>
</table>
</div>
</if>
<!-- / MySpace Style Profile Links -->

Edit:

Code:
 <font color="#FF0000">
Changing the font color to match you site. Currently it its set to red.

Edit 2 times:
Code:
 Example.com
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:
Code:
<a href="$prepared[profileurl]">$prepared[profileurl]</a>
Replace With:
Code:
 
<!-- MySpace Style Profile Link -->
<a href="http://Example.com/$prepared[username]">http://Example.com/$prepared[username]</a>
<!-- / MySpace Style Profile Link -->
Edit 2 times:
Code:
 Example.com
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:
Code:
 This user has not registered and therefore does not have a profile to view.
Edit and replace with:

Code:
 <center>This user has not registered and therefore does not have a profile to view. <BR><a href="memberlist.php" style="text-decoration: none;">Click Here</a> to view the Full Members List.</center>

Show Your Support

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

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

there is noting to realy take over

there is nothing realy that can be supported for this

its pretty basic stuff

and there is not realy any way to upgrade it so there should be no need for any assistance for this
Reply With Quote
  #23  
Old 05-27-2008, 07:46 PM
flOid flOid is offline
 
Join Date: Jan 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please delete
Reply With Quote
  #24  
Old 07-11-2008, 02:34 AM
KHALIK KHALIK is offline
 
Join Date: May 2005
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this support vbseo 3.10

example
http://www.fragmasters.co.uk/forum/members/fragmaster/ (under vbsep)
Reply With Quote
  #25  
Old 07-11-2008, 03:00 AM
DarkGizmo DarkGizmo is offline
 
Join Date: Apr 2008
Location: NYC
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MiahBeSmokin420 View Post
well im done giving giving support for this

my vb license expires here next week so im just going to call it quits now

i cant afford to get a new license right now and donations on my site are not going to well so im just going to close shop now

sorry but thats to all who liked this
Why didn't you just purchase a owned license? :P
Reply With Quote
  #26  
Old 11-09-2008, 11:34 AM
jerx jerx is offline
 
Join Date: Feb 2006
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Somehow this stopped displaying the table background images in one of my sub-directories. I had to turn off rewrite engine in that directory to solve the problem.
Reply With Quote
  #27  
Old 12-11-2008, 05:54 PM
joh's Avatar
joh joh is offline
 
Join Date: Mar 2006
Location: NY
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do they have some thing that does this for 3.8?
Reply With Quote
  #28  
Old 01-15-2009, 02:22 AM
Shaliza Shaliza is offline
 
Join Date: Apr 2006
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work on 3.8?
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 02:04 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.04803 seconds
  • Memory Usage 2,291KB
  • Queries Executed 22 (?)
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
  • (13)bbcode_code
  • (1)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
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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