![]() |
|
I am using this on vb3.7 and it works beautifully. I am just looking to make one change in the user profile. On the contact tab it shows a direct link to the user profile. Where would I go in the templates to change that and what would I replace it with to show it as www.sitename/username
Thanks!! EDIT: I figured it out!! Thanks again for a great addition to my site!! |
Awesome! I LOVE this!
|
Hmmm... this hack seems to interfere with me getting to phpMyAdmin. (it thinks that the link to my phpMyAdmin is a username and redirects me to the forums saying that there is no such user.
I can work around this by deleting the htacess file when I need in phpMyAdmin and uploading it again when I'm logged in, but is there a way to actually make it so that certain filenames in the root directory of your site are called correctly? |
We were having some problems with this code, as it seemed to redirect actual directories that exist thinking that they were member user names.
The following code seems to work better. It also includes the fix for the log-in issues some users experience when site administrators use vBulletin and vBAdvanced. Code:
Options +FollowSymLinks |
If you actually want to rewrite the links change:
Quote:
Quote:
|
I been trying to get this to work but it wouldn't so ..i got to looking and found my problem
here is the current code to add to htacess RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ http://Example.com/Forums/member.php?username notice -- example.com/Forums.... Well that is a Capital F and that was causing it not to work for me...i changed the F to a f and it works fine on 3.7.1 thanks |
member profiles to reflect their new profile url in contact tab
Edit the template "memberinfo_block_contactinfo" and find this code: HTML Code:
<dd><a href="$prepared[profileurl]">$prepared[profileurl]</a></dd> HTML Code:
<dd><a href="http://www.yoursite.com/$prepared[username]">http://www.yoursite.com/$prepared[username]</a></dd> HTML Code:
<br>or<dd><a href="http://www.yoursite.com/$userinfo[username]">http://www.yoursite.com/$userinfo[username]</a></dd> You will need to change yoursite.com to that of your forum. PS -the one guy was right , you do get a error report if you are watching the "who's online" section --it will show users looking at profiles that are not there so it gives a error,no emails or anything,just you will not really know what the person is looking at in the forums sometimes. |
Quote:
|
Here is the code you should use.
Replace This: Code:
<a href="$prepared[profileurl]">$prepared[profileurl]</a> Code:
<a href="http://YourSiteName.com/$prepared[username]">YourSiteName/$prepared[username]</a> |
All times are GMT. The time now is 02:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|