xoops forums

arie1985

Not too shy to talk
Posted on: 2006/7/19 15:18
arie1985
arie1985 (Show more)
Not too shy to talk
Posts: 139
Since: 2006/6/30
#1

Setting a different link for each user

Hello

I want to set a different link for each user in my website

For instance, if a user in my website has the user name "john565"

then I want him AND ONLY HIM to have a link like

http://www.domain.com/page.html?john565

and if another user sees this link and his username is for instance "mk90" then the link will be for him like

http://www.domain.com/page.html?mk90

I know I can set a group for each user and create a block with a different link for each user (and access & permissions assigned as well) - but it's a lot of work to do!! and many users signing up each day - so it's almost impossible to do something like that

So - do you have any suggestions or tricks how to do something like that??

Please please if you have any idea let me know

Thank you!!

Arie

birdseed

Just popping in
Posted on: 2006/7/19 22:06
birdseed
birdseed (Show more)
Just popping in
Posts: 59
Since: 2005/2/26
#2

Re: Setting a different link for each user

Hi

What is supposed to happen if I enter www.foobar.de/fooscript.html?foouser

?

Can't follow you.

EDIT: Or do you just want to create a link in that style? thats a custom XOOPS block with


<a href="www.foobar.de/fooscript.html?<;?= $xoopsUser->getVar("uname") ?>


greetings
birdseed

arie1985

Not too shy to talk
Posted on: 2006/7/21 3:36
arie1985
arie1985 (Show more)
Not too shy to talk
Posts: 139
Since: 2006/6/30
#3

Re: Setting a different link for each user

Wow

That is a lot a lot of help, you helped me a lot with this information!!

Thank you so much!! :)

thetruedarko

Just popping in
Posted on: 2006/7/24 7:33
thetruedarko
thetruedarko (Show more)
Just popping in
Posts: 2
Since: 2006/7/24
#4

Re: Setting a different link for each user

sfdasf

thetruedarko

Just popping in
Posted on: 2006/7/24 7:56
thetruedarko
thetruedarko (Show more)
Just popping in
Posts: 2
Since: 2006/7/24
#5

Re: Setting a different link for each user

afdasfda

arie1985

Not too shy to talk
Posted on: 2006/7/24 11:10
arie1985
arie1985 (Show more)
Not too shy to talk
Posts: 139
Since: 2006/6/30
#6

Re: Setting a different link for each user

Quote:

birdseed wrote:
Hi

What is supposed to happen if I enter www.foobar.de/fooscript.html?foouser

?

Can't follow you.

EDIT: Or do you just want to create a link in that style? thats a custom XOOPS block with


<a href="www.foobar.de/fooscript.html?<;?= $xoopsUser->getVar("uname") ?>


greetings
birdseed


I'm putting $xoopsUser->getVar("uname") ?> at my links and trying all the variations - it doesn't work!!

Is there something I missed?