Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ CMS (All) ⇒ Requests :: Archives ⇒ Member Quick Link :: Archived


Member Quick Link :: Archived
Requests for core changes must be submitted through the Projects Features section.
Go to page Previous  1, 2, 3
This forum is locked: you cannot post, reply to, or edit topics.    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page     Forum Index ⇒  Requests

Topic Archived View previous topic :: View next topic  
Author Message
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Mon Sep 20, 2004 5:01 am
Post subject: Re: Member Quick Link

kikilala wrote:
what and how do I write in the htaccess for that membername.url.com ? I'ld really like that lil quicklink to members profile.
I've tried but not worky.
Then i've tried this
Code::
RewriteCond   %{HTTP_HOST}                 ^www\.[^.]+\.cpgnuke\.com$
RewriteRule   ^(.+)                        %{HTTP_HOST}$1          [C]
RewriteRule   ^www\.([^.]+)\.cpgnuke\.com(.*) /index.php?name=Your_Account&op=userinfo&username=$1 [L]
Almost worky but somehow Apache doesn't want to recognize them.
Maybe if they are put into the httpd.conf it will work.

Another trick is by using ~ like cpgnuke.com/~djmaze but that will give conflicts if there are accounts on the server


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
kikilala
Nice poster
Nice poster

Offline Offline
Joined: Aug 25, 2004
Posts: 102

PostPosted: Mon Sep 20, 2004 5:38 am
Post subject: Re: Member Quick Link

i'll try that in the htaccess... i don't think i have access to the httpd.conf on my webserver but i'll try to add it on my localserver. I'll post an update after i'm done. Thanks Djmaze.

Since I can't pm you, I'ld like to say Thank you for the great cms (cpgnuke). I've tried like everything from postnuke to mambo to xoops. Nothing beats cpg. You the man.... (and the team too)

_________________
I don't do nuke. I do CPGnuke.

kikilala's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
linux/1.3.31 (Unix)/4.0.18-standard/4.3.7/CPG 8.2b|CSV 8.3
Back to top
View user's profile Visit poster's website
kikilala
Nice poster
Nice poster

Offline Offline
Joined: Aug 25, 2004
Posts: 102

PostPosted: Wed Sep 22, 2004 7:02 am
Post subject: Re: Member Quick Link

doesnt seem to work. I'll retry again.

_________________
I don't do nuke. I do CPGnuke.

kikilala's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
linux/1.3.31 (Unix)/4.0.18-standard/4.3.7/CPG 8.2b|CSV 8.3
Back to top
View user's profile Visit poster's website
sarah
Debugger
Debugger

Offline Offline
Joined: Mar 25, 2005
Posts: 2130

PostPosted: Sat Jan 14, 2006 5:16 am
Post subject: Re: Member Quick Link

I have this working, I had a question. Some user accounts have a space. They're not allowed to register now with a space, but there are some legacy ones.

Anyway this all works if you type it with a space in your browser www.mysite.org/~User Name The browser fills it in like www.mysite.org/~User%20Name which works and goes to their profile. But is there a way the user can have the option of using something like www.mysite.org/~UserName or www.mysite.org/~User_Name? I just think they are going to email their link or something and the link will be broken with the space there Razz

Thanks!


sarah's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.1.21-standard/4.4.4/9.1.1
Back to top
View user's profile Send e-mail Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Sat Jan 14, 2006 12:03 pm
Post subject: Re: Member Quick Link

dragonflycms.org/~sarah

Code::
RewriteRule   ^~(.+)  /index.php?name=Your_Account&op=userinfo&username=$1 [L]

NOTE: keep in mind nobody of your members has a serveraccount or you get the following:
dragonflycms.org/~djmaze


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
sarah
Debugger
Debugger

Offline Offline
Joined: Mar 25, 2005
Posts: 2130

PostPosted: Sat Jan 14, 2006 12:14 pm
Post subject: Re: Member Quick Link

Hmm that still isn't working for the people with the space in their username. (Unless you type the space)

No one has an account Smile

_________________
Diagon Alley - Top Design

sarah's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.1.21-standard/4.4.4/9.1.1
Back to top
View user's profile Send e-mail Visit poster's website
sarah
Debugger
Debugger

Offline Offline
Joined: Mar 25, 2005
Posts: 2130

PostPosted: Sun Jan 15, 2006 12:19 am
Post subject: Re: Member Quick Link

Actually plusses seem to be working instead of the space in both my browsers. That's totally good enough. Smile

_________________
Diagon Alley - Top Design

sarah's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.1.21-standard/4.4.4/9.1.1
Back to top
View user's profile Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page    Forum Index ⇒  Requests
Page 3 of 3
All times are GMT
Go to page Previous  1, 2, 3

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy