• Private URL to members profile 1 0 5 1
Currently:  

Author Topic: Private URL to members profile  (Read 147788 times)

0 Members and 1 Guest are viewing this topic.

Offline www.72px.de

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Private URL to members profile
« Reply #60 on: August 13, 2005, 06:46:31 PM »
In this case the short URL would have been: "http://www.72px.de/001/who/christian"
And the original URL is: "http://www.72px.de/001/member.php?action=showprofile&user_id=1" which is much more difficult to remember of course.
Even better would be a subdomain like http://user.72px.de but i can't setup a subdomain for every member manually.
www.72px.de - free digital images

TheOracle

  • Guest
Re: Private URL to members profile
« Reply #61 on: August 13, 2005, 06:50:30 PM »
I'm starting to wonder if there aren't missing statements for <directory> from your .htaccess file since you stated that it should point to your sub-folder :

- who/christian

Offline www.72px.de

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Private URL to members profile
« Reply #62 on: August 14, 2005, 08:22:33 AM »
Hey;)
No, I think you got this wrong, as WHO is no subfolder but the who.php file without the .php ending! As I see it the only thing thats done by the .htaccess file is to make the browser recognize the who.php file without an ending!
Anyway its all in the same folder..  :|
www.72px.de - free digital images

TheOracle

  • Guest
Re: Private URL to members profile
« Reply #63 on: August 14, 2005, 12:34:20 PM »
Yes, I know. ;)

It's a routine that converts the file into a path, without the extension, and the username as a subfolder - ReWriteRule from .htaccess.

Offline www.72px.de

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Private URL to members profile
« Reply #64 on: August 14, 2005, 03:16:37 PM »
Mh yeah. I guess one could do this with mod_rewrite or so.. but until now I haven't found out how! ;)
I tried a different way:

If s.o. enters http://user.72px.de -which does not exist- this produces a 404 and I uploaded a 404.html which reads the referrer (in this case user.72px.de) and then redirects the user depending on the referer... but it seems I cannot change the 404 Error page of the root directory..
www.72px.de - free digital images

TheOracle

  • Guest
Re: Private URL to members profile
« Reply #65 on: August 14, 2005, 03:19:34 PM »
Quote

but it seems I cannot change the 404 Error page of the root directory..


Then, please, as stated above - contact your hosting party about this.

Offline www.72px.de

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Private URL to members profile
« Reply #66 on: August 14, 2005, 03:34:16 PM »
Yes.. ;) I just wanted to inform you...  ^^
www.72px.de - free digital images

Offline daniel_74

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Private URL to members profile
« Reply #67 on: August 30, 2005, 11:47:44 PM »
Hello,

just a little mod-mod...

I want to provide my users with a short URL for "Display all images added by ..." instead of the "members profile" URL.

I would like to have something like this to see all i,ages added be "username":

http://www.mysite.com/username/

Anyone who can help out with a little mod-rewirte ?

Thanks in advance
Daniel

Offline marius26

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://www.steves-network.net
Re: Private URL to members profile
« Reply #68 on: November 07, 2005, 01:04:18 AM »
Quote
<files *>
Options MultiViews
</files>
note this htaccess does not work well,

this url works with that htaccess file:
4images/profile.php/username [redirects to profile]

but this does not
4images/profile/username [shows error page]

according to my knowledge it is a htaccess fault it has wrong info i'm new to htaccess but i know that you need some other code in htaccess, i have no idea what tho.

Offline universal

  • Full Member
  • ***
  • Posts: 213
    • View Profile
    • http://www.funny.lt
Re: Private URL to members profile
« Reply #69 on: November 07, 2005, 06:04:48 AM »
Or maybe server config overides htaccess?
Again this addres?!
http://www.funny.lt

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: Private URL to members profile
« Reply #70 on: July 07, 2006, 10:47:20 PM »
i've wondering about had some like it but on this way :

http://username.yoursite.com/

 :?:

Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: Private URL to members profile
« Reply #71 on: August 13, 2006, 03:33:14 PM »
Quote
<files *>
Options MultiViews
</files>
note this htaccess does not work well,

this url works with that htaccess file:
4images/profile.php/username [redirects to profile]

but this does not
4images/profile/username [shows error page]

according to my knowledge it is a htaccess fault it has wrong info i'm new to htaccess but i know that you need some other code in htaccess, i have no idea what tho.

yes... i have problems with htaccess too... if i upload this file.. all my websites from my host are down  :cry:

I have contacted with my server support and they said me...
Some apache commands are no longer supported in .htaccess or .htconfig due to security concerns:

Action
AddCharSet
AddEncoding
AddLanguage
AddType
BrowserMatch
BrowserMatchNoCase
CookieTracking
DefaultLanguage
DefaultType
ErrorDocument
ErrorHeader
Header
LanguagePriority

Options

PassEnv
Redirect
RedirectMatch
RedirectPermanent
RedirectTemporary
SetEnv
SetEnvIf
SetEnvIfNoCase
UnsetEnv


Is there another sentence to do the same that multiviews?
« Last Edit: August 13, 2006, 04:47:29 PM by ccsakuweb »
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

Offline Smoothice

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Casual Victims
Re: Private URL to members profile
« Reply #72 on: July 01, 2007, 08:29:39 PM »
I know his is an old topi but looking to see if anyone has gotten this or something similar to work. 

Smoothice

Offline VonHerzen

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: Private URL to members profile
« Reply #73 on: July 26, 2008, 04:39:31 PM »
Hi.. I  have tried this MOD but does not work... it says: "No input file specified. " what i can do?  thanks!

Offline CanonInk

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: Private URL to members profile
« Reply #74 on: July 30, 2008, 01:47:09 PM »
Hi.. I  have tried this MOD but does not work... it says: "No input file specified. " what i can do?  thanks!

It's works fine with...

1. Open .httaccess

Insert:
Code: [Select]
RewriteRule ^who/ who.php?%{QUERY_STRING}
RewriteRule ^go$ who.php?%{QUERY_STRING}

2. Create a folder {root}/who

From first topic in the MOD:
3. Create test.php, upload and run www.yourdomain.con/test.php and remember the last array. Delete on your webspace after run.

4. Create who.php from first topic in the MOD and do modification as written (Version 1.1) .

Works fine, see http://www.ruebenberger-bilder.de/who/hikkamonster (sorry only German)

Enjoy,
CanonInk