Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 3 4 Next > End >>
Re:members page
Date: 2005/12/06 10:47 By: JSalvador Status: User  
Karma: 0  
Junior Joomlapolitan

Posts: 29
graphgraph
Code:

 ## # @version $Id: htaccess.txt 47 2005-09-15 02:55:27Z rhuk $ # @package Joomla # @copyright Copyright (C) 2005 Open Source Matters. All rights reserved. # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL # Joomla! is Free Software ## # #  mod_rewrite in use # RewriteEngine On #  Uncomment following line if your webserver's URL  #  is not directly related to physical file paths. #  Update YourJoomlaDirectory (just / for root) # RewriteBase /YourJoomlaDirectory # #  Rules # RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*) index.php?option=com_comprofiler&task=userProfile&user='$1'



For some reason this isn't working for me. Above is the exact code in my .htaccess file. Can someone give some input? I've tried with SEF on and off.

Big Natural
Home Remedy Encyclopedia
Christian News and Resources
Click here to see the profile of this user The administrator has disabled public write access.

Re:members page
Date: 2005/12/06 10:48 By: JSalvador Status: User  
Karma: 0  
Junior Joomlapolitan

Posts: 29
graphgraph
The post above was for the website http://www.likeadove.com

Big Natural
Home Remedy Encyclopedia
Christian News and Resources
Click here to see the profile of this user The administrator has disabled public write access.

Re:members page
Date: 2005/12/06 22:42 By: Phil_K Status: User  
Karma: 2  
Fresh Joomlapolitan

Posts: 16
graphgraph
Hi.

@JSalvador
Well, looks to me that it works now on your site.
I've called test and givemewings7 on your page and profile are shown.

Greets
Phil.
Click here to see the profile of this user The administrator has disabled public write access.

Re:members page
Date: 2005/12/13 14:08 By: trail Status: Admin  
Karma: 640  
Admin

Posts: 472
graphgraph
Lol im so ashamed.. but i too noticed that the own profile was no longer available using the default component link. Since i didnt have this link i didnt notice.. but when a user uploaded a picture to their profile they got 'this profile is no longer available' after their upload.. i backtracked it to the htaccess change *shrug*

Investigated the least amount of regex possible from here

http://www.amk.ca/python/howto/regex/regex.html#SECTION000300000000000000000

and came up with:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([^/]+)/?$ /index.php?option=com_comprofiler&task=userProfile&user='$1' [L]

now everything seems to work.. profiles with bad chars (did not test all) and the default links.. hope it helps..
DJ Trail.
CB Co-Founder & Test-Lead.
Plugins: My Age, Starsign Matchmaking Horoscope, My Visitor, My Highscores, My ProfileID,
My Components: Import & Invite Karma Casino (Use Test / Test)
My Modules: Many
Click here to see the profile of this user The administrator has disabled public write access.

Re:members page
Date: 2006/01/06 10:46 By: dsendecki Status: User  
Karma: 13  
Gold Joomlapolitan

Posts: 386
graphgraph
Is there any way to get this .htaccess rule to play nicely with Emir Sakic's SEF Advanced?

I've had no luck!
Small Press Exchange | Free eBook templates for self publishing | My Blog
Click here to see the profile of this user The administrator has disabled public write access.

Re:members page
Date: 2006/01/07 01:23 By: spikec Status: CB Doc subscriber  
Karma: 13  
Senior Joomlapolitan

Posts: 81
graphgraph
Trail, first of all thanks for everything you've done for CB -- it is much appreciated here. I've been playing with this code and still can't get it to work. A couple ???'s if I may:

1. I have joomla installed in its own directory (www.mysite.com/joomla) and added the code to the .htacess file in this directory. Does it also need to be in the .htaccess file that sits in the root directory?

2. If I have members profiles only available to registered members, I assume a user would have to be logged in to make this work. Any way around this?

Thanks again for your help,

Spike
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 3 4 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login