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 5 6 7 8 9 10 Next > End >>
Re:Howto: create homepages and 'subdomains' per us
Date: 2006/11/17 20:14 By: providence Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 23
graphgraph
thanks trail

got this working....

btw, is it possible to create a link to the profile ?

like

domain/index.php=user? or something?

that would go to the specific user's domain?

or is there a way to create a tab that displays the current domain?

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

Re:Howto: create homepages and 'subdomains' per us
Date: 2006/12/17 07:46 By: guilliam Status: User  
Karma: 9  
Senior Joomlapolitan

Posts: 54
graphgraph
any light with working it with opensef? seems like have to modify opensef it self for this to work together since the rules are in .htaccess itself. thats what i see

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

Re:Howto: create homepages and 'subdomains' per us
Date: 2006/12/19 12:23 By: Dodlee Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 5
graphgraph
Thanks to Trail for the guide and to everyone who contributed.

This thing worked fine when my Joomla site was located in the root dir, but now I had to move it to a subdir on the server and some stuff doesn't work well-
Some resources with relative URLs are missing, mainly the custom template CSS and some image files used by Nant's profile gallery plugin (icons and thumbnails).

If I change the rewrite rule to use external redirection (E.G. change '[L]' to '[R,L]') everything is good but the address in the browser changes to "http://myhost/joomla/index.php?option=com_comprofiler&task=userProfile&user='user1'"
and I want to avoid that.

Any ideas on this?
Thanks.
Click here to see the profile of this user The administrator has disabled public write access.

Re:Howto: create homepages and 'subdomains' per us
Date: 2006/12/22 21:59 By: caeza Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 3
graphgraph
OMFG!!! This is just perfect!!
Click here to see the profile of this user The administrator has disabled public write access.

Re:Howto: create homepages and 'subdomains' per us
Date: 2007/01/09 20:12 By: Makis Status: User  
Karma: 1  
Fresh Joomlapolitan

Posts: 6
graphgraph
Hello,
Some hours ago i tried to use this hack.

I noticed that the user url works BUT when i try to login from the cb login module i get this message:

"You are not authorised to view this resource."

if i try to login through joomla's default login module i dont have any problem.

this is the htacess i m using:

##
SecFilterEngine Off
Options +FollowSymLinks

#
# mod_rewrite in use
#

RewriteEngine On

<Files *.ini>
Order deny,allow
Deny from All
</Files>

##
## NOTE!
## When using multiple Joomla sites or other web applications in sub-folders,
## you must explicitly turn the RewriteEngine off or use the settings
## recommended for the application
##

# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update YourJoomlaDirectory (just / for root)

# RewriteBase /site

#
# Rules
#

RewriteCond %{REQUEST_FILENAME} !.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/?$ index.php?option=com_comprofiler&task=us
Click here to see the profile of this user The administrator has disabled public write access.

Re:Howto: create homepages and 'subdomains' per us
Date: 2007/01/09 21:03 By: Makis Status: User  
Karma: 1  
Fresh Joomlapolitan

Posts: 6
graphgraph
its fixed now,
i had the partial code replaced by this

RewriteEngine On
RewriteOptions MaxRedirects=10
DirectoryIndex index.php
RewriteBase /

RewriteCond %{HTTP_HOST} ([^/]+).mysite.com [NC]
RewriteCond %1 !www$ [NC]
RewriteRule ^(.*)$ http://www.mysite.com/%1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/?$ index.php?option=com_comprofiler&task=userProfile&user='$1' [L]


and everything went great!!!
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC4)

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 RC4, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers and now also to all registered joomlapolitans.

CB Login