Custom User Profile

Wed, 09/06/2010 - 19:42 -- Mark van Wyk

Hey guys,

I'd like to make a custom view and point the default user profile pages there. In other words, redirect /user/13 to /customuser/13

Should I just do this using PHP in the template?

The second question that I have is that I see they have a "userid" filter in the Views, but it seems to be a username and not a user (primary key) int id.


Any ideas?

Thanks,

Mark

Taxonomy upgrade extras: 

Submitted by Mark van Wyk on

Hey Tali,

Well, naturally, I just want to show the details of the user they selected and not all the users, so I need to pass the user id, not the user name to the view, and use it as a filter - but I don't see it under the list of filters.


Mark


On 9 June 2010 20:16, Tali Luvhengo <muximus@gmail.com> wrote:

Oh yeah as for the userid thing, what are you trying to do with that?


--
Kind Regards

Tali(Web Developer)
cell: 0826481882
email:
talifhanil@gmail.com, muximus@gmail.com
www:
http://www.semicolon.co.za
linkedin:
http://www.linkedin.com/in/talifhani
skype: talifhani11


On Wed, Jun 9, 2010 at 8:06 PM, Tali Luvhengo <muximus@gmail.com> wrote:

Um there should be a way to do it using the Global Redirect Module and the Path Redirect Module. Havent really used it for what you want to do but it should be possible.



--
Kind Regards

Tali(Web Developer)
cell: 0826481882
email:
talifhanil@gmail.com, muximus@gmail.com
www:
http://www.semicolon.co.za
linkedin:
http://www.linkedin.com/in/talifhani
skype: talifhani11



On Wed, Jun 9, 2010 at 7:45 PM, Mark van Wyk <create@markvanwyk.com> wrote:
Hey guys,

I'd like to make a custom view and point the default user profile pages there. In other words, redirect /user/13 to /customuser/13


Should I just do this using PHP in the template?

The second question that I have is that I see they have a "userid" filter in the Views, but it seems to be a username and not a user (primary key) int id.


Any ideas?

Thanks,

Mark


_______________________________________________

Drupal-JHB mailing list

Drupal-JHB@mail.lists.drupal.co.za

http://mail.lists.drupal.co.za/mailman/listinfo/drupal-jhb_lists.drupal.co.za











_______________________________________________

Drupal-JHB mailing list

Drupal-JHB@mail.lists.drupal.co.za

http://mail.lists.drupal.co.za/mailman/listinfo/drupal-jhb_lists.drupal.co.za



Submitted by SemicolonStudio on

Hey Mark

You should use arguments instead of filters.

GotDrupal has a really nice Video on arguments. You can Mail me directly if you need anymore help.



--
Kind Regards

Tali(Web Developer)
cell: 0826481882
email:
talifhanil@gmail.com, muximus@gmail.com
www:
http://www.semicolon.co.za
linkedin:
http://www.linkedin.com/in/talifhani
skype: talifhani11


On Wed, Jun 9, 2010 at 8:40 PM, Mark van Wyk <create@markvanwyk.com> wrote:

Hey Tali,

Well, naturally, I just want to show the details of the user they selected and not all the users, so I need to pass the user id, not the user name to the view, and use it as a filter - but I don't see it under the list of filters.



Mark




On 9 June 2010 20:16, Tali Luvhengo <muximus@gmail.com> wrote:

Oh yeah as for the userid thing, what are you trying to do with that?



--
Kind Regards

Tali(Web Developer)
cell: 0826481882
email:
talifhanil@gmail.com, muximus@gmail.com
www:
http://www.semicolon.co.za
linkedin:
http://www.linkedin.com/in/talifhani
skype: talifhani11


On Wed, Jun 9, 2010 at 8:06 PM, Tali Luvhengo <muximus@gmail.com> wrote:

Um there should be a way to do it using the Global Redirect Module and the Path Redirect Module. Havent really used it for what you want to do but it should be possible.



--
Kind Regards

Tali(Web Developer)
cell: 0826481882
email:
talifhanil@gmail.com, muximus@gmail.com
www:
http://www.semicolon.co.za
linkedin:
http://www.linkedin.com/in/talifhani
skype: talifhani11



On Wed, Jun 9, 2010 at 7:45 PM, Mark van Wyk <create@markvanwyk.com> wrote:
Hey guys,

I'd like to make a custom view and point the default user profile pages there. In other words, redirect /user/13 to /customuser/13


Should I just do this using PHP in the template?

The second question that I have is that I see they have a "userid" filter in the Views, but it seems to be a username and not a user (primary key) int id.


Any ideas?

Thanks,

Mark


_______________________________________________

Drupal-JHB mailing list

Drupal-JHB@mail.lists.drupal.co.za

http://mail.lists.drupal.co.za/mailman/listinfo/drupal-jhb_lists.drupal.co.za











_______________________________________________

Drupal-JHB mailing list

Drupal-JHB@mail.lists.drupal.co.za

http://mail.lists.drupal.co.za/mailman/listinfo/drupal-jhb_lists.drupal.co.za




_______________________________________________

Drupal-JHB mailing list

Drupal-JHB@mail.lists.drupal.co.za

http://mail.lists.drupal.co.za/mailman/listinfo/drupal-jhb_lists.drupal.co.za





--
Kind Regards

Tali(Web Developer)
cell: 0826481882
email:
talifhanil@gmail.com, muximus@gmail.com
www:
http://www.semicolon.co.za
linkedin:
http://www.linkedin.com/in/talifhani
skype: talifhani11

Submitted by localhost on

Write a module that calls _menu_alter and then you can redirect to a new
page, if you cant code then use panels and set the path to user/% and
then make the arg() a $user->id and then you sorted.

//G

On Wed, 2010-06-09 at 21:22 +0200, Tali Luvhengo wrote:
> Hey Mark
>
> You should use arguments instead of filters.
>
> GotDrupal has a really nice Video on arguments. You can Mail me
> directly if you need anymore help.
>
>
> --
> Kind Regards
>
> Tali(Web Developer)
> cell: 0826481882
> email: talifhanil@gmail.com, muximus@gmail.com
> www: http://www.semicolon.co.za
> linkedin: http://www.linkedin.com/in/talifhani
> skype: talifhani11
>
> On Wed, Jun 9, 2010 at 8:40 PM, Mark van Wyk
> wrote:
> Hey Tali,
>
> Well, naturally, I just want to show the details of the user
> they selected and not all the users, so I need to pass the
> user id, not the user name to the view, and use it as a filter
> - but I don't see it under the list of filters.
>
> Mark
>
>
>
> On 9 June 2010 20:16, Tali Luvhengo wrote:
> Oh yeah as for the userid thing, what are you trying
> to do with that?
>
>
> --
> Kind Regards
>
> Tali(Web Developer)
> cell: 0826481882
> email: talifhanil@gmail.com, muximus@gmail.com
> www: http://www.semicolon.co.za
> linkedin: http://www.linkedin.com/in/talifhani
> skype: talifhani11
>
>
>
>
> On Wed, Jun 9, 2010 at 8:06 PM, Tali Luvhengo
> wrote:
> Um there should be a way to do it using the
> Global Redirect Module and the Path Redirect
> Module. Havent really used it for what you
> want to do but it should be possible.
>
>
> --
> Kind Regards
>
> Tali(Web Developer)
> cell: 0826481882
> email: talifhanil@gmail.com, muximus@gmail.com
> www: http://www.semicolon.co.za
> linkedin: http://www.linkedin.com/in/talifhani
> skype: talifhani11
>
>
>
> On Wed, Jun 9, 2010 at 7:45 PM, Mark van Wyk
> wrote:
>
>
> Hey guys,
>
> I'd like to make a custom view and
> point the default user profile pages
> there. In other words,
> redirect /user/13 to /customuser/13
>
> Should I just do this using PHP in the
> template?
>
> The second question that I have is
> that I see they have a "userid" filter
> in the Views, but it seems to be a
> username and not a user (primary key)
> int id.
>
> Any ideas?
>
> Thanks,
>
> Mark
>
>
> _______________________________________________
> Drupal-JHB mailing list
> Drupal-JHB@mail.lists.drupal.co.za
> http://mail.lists.drupal.co.za/mailman/listinfo/drupal-jhb_lists.drupal....
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Drupal-JHB mailing list
> Drupal-JHB@mail.lists.drupal.co.za
> http://mail.lists.drupal.co.za/mailman/listinfo/drupal-jhb_lists.drupal....
>
>
>
>
> _______________________________________________
> Drupal-JHB mailing list
> Drupal-JHB@mail.lists.drupal.co.za
> http://mail.lists.drupal.co.za/mailman/listinfo/drupal-jhb_lists.drupal....
>
>
>
>
> --
> Kind Regards
>
> Tali(Web Developer)
> cell: 0826481882
> email: talifhanil@gmail.com, muximus@gmail.com
> www: http://www.semicolon.co.za
> linkedin: http://www.linkedin.com/in/talifhani
> skype: talifhani11

Submitted by Tristan Waterkeyn on

Hello Everyone.

Overtone ( http://www.overtone.co.za ) is looking for freelance
Drupal Developers.

If you are a Drupal boffin.. and can manage the creation of custom
modules, setting up Ubercart Stores and all the fiddly database
uploads/ downloads and stuff like that.. .. then we want you..

Overtone is looking for freelance developers who would be able to join
our team on a short to medium term.. for module by module development
or per project.

Please get in touch with us..
Send your CV and a list of links to your work to us. We are looking
for developers who can work to a deadline and who have an eye for
detail.

Mail us on - dev@overtone.co.za

I hope to hear from you soonish..

best

Tristan Waterkeyn

Submitted by Mark van Wyk on

Hey guys,

I'd like to make a custom view and point the default user profile pages there. In other words, redirect /user/13 to /customuser/13

Should I just do this using PHP in the template?

The second question that I have is that I see they have a "userid" filter in the Views, but it seems to be a username and not a user (primary key) int id.


Any ideas?

Thanks,

Mark

Submitted by SemicolonStudio on

Um there should be a way to do it using the Global Redirect Module and the Path Redirect Module. Havent really used it for what you want to do but it should be possible.



--
Kind Regards

Tali(Web Developer)
cell: 0826481882
email:
talifhanil@gmail.com, muximus@gmail.com
www:
http://www.semicolon.co.za
linkedin:
http://www.linkedin.com/in/talifhani
skype: talifhani11



On Wed, Jun 9, 2010 at 7:45 PM, Mark van Wyk <create@markvanwyk.com> wrote:

Hey guys,

I'd like to make a custom view and point the default user profile pages there. In other words, redirect /user/13 to /customuser/13


Should I just do this using PHP in the template?

The second question that I have is that I see they have a "userid" filter in the Views, but it seems to be a username and not a user (primary key) int id.


Any ideas?

Thanks,

Mark


_______________________________________________

Drupal-JHB mailing list

Drupal-JHB@mail.lists.drupal.co.za

http://mail.lists.drupal.co.za/mailman/listinfo/drupal-jhb_lists.drupal.co.za






Submitted by SemicolonStudio on

Oh yeah as for the userid thing, what are you trying to do with that?

--
Kind Regards

Tali(Web Developer)
cell: 0826481882
email:
talifhanil@gmail.com, muximus@gmail.com
www:
http://www.semicolon.co.za
linkedin:
http://www.linkedin.com/in/talifhani
skype: talifhani11



On Wed, Jun 9, 2010 at 8:06 PM, Tali Luvhengo <muximus@gmail.com> wrote:

Um there should be a way to do it using the Global Redirect Module and the Path Redirect Module. Havent really used it for what you want to do but it should be possible.



--
Kind Regards

Tali(Web Developer)
cell: 0826481882
email:
talifhanil@gmail.com, muximus@gmail.com
www:
http://www.semicolon.co.za
linkedin:
http://www.linkedin.com/in/talifhani
skype: talifhani11



On Wed, Jun 9, 2010 at 7:45 PM, Mark van Wyk <create@markvanwyk.com> wrote:
Hey guys,

I'd like to make a custom view and point the default user profile pages there. In other words, redirect /user/13 to /customuser/13


Should I just do this using PHP in the template?

The second question that I have is that I see they have a "userid" filter in the Views, but it seems to be a username and not a user (primary key) int id.


Any ideas?

Thanks,

Mark


_______________________________________________

Drupal-JHB mailing list

Drupal-JHB@mail.lists.drupal.co.za

http://mail.lists.drupal.co.za/mailman/listinfo/drupal-jhb_lists.drupal.co.za










Submitted by Mark van Wyk on

Hey Tali,

Well, naturally, I just want to show the details of the user they selected and not all the users, so I need to pass the user id, not the user name to the view, and use it as a filter - but I don't see it under the list of filters.


Mark


On 9 June 2010 20:16, Tali Luvhengo <muximus@gmail.com> wrote:

Oh yeah as for the userid thing, what are you trying to do with that?


--
Kind Regards

Tali(Web Developer)
cell: 0826481882
email:
talifhanil@gmail.com, muximus@gmail.com
www:
http://www.semicolon.co.za
linkedin:
http://www.linkedin.com/in/talifhani
skype: talifhani11


On Wed, Jun 9, 2010 at 8:06 PM, Tali Luvhengo <muximus@gmail.com> wrote:

Um there should be a way to do it using the Global Redirect Module and the Path Redirect Module. Havent really used it for what you want to do but it should be possible.



--
Kind Regards

Tali(Web Developer)
cell: 0826481882
email:
talifhanil@gmail.com, muximus@gmail.com
www:
http://www.semicolon.co.za
linkedin:
http://www.linkedin.com/in/talifhani
skype: talifhani11



On Wed, Jun 9, 2010 at 7:45 PM, Mark van Wyk <create@markvanwyk.com> wrote:
Hey guys,

I'd like to make a custom view and point the default user profile pages there. In other words, redirect /user/13 to /customuser/13


Should I just do this using PHP in the template?

The second question that I have is that I see they have a "userid" filter in the Views, but it seems to be a username and not a user (primary key) int id.


Any ideas?

Thanks,

Mark


_______________________________________________

Drupal-JHB mailing list

Drupal-JHB@mail.lists.drupal.co.za

http://mail.lists.drupal.co.za/mailman/listinfo/drupal-jhb_lists.drupal.co.za











_______________________________________________

Drupal-JHB mailing list

Drupal-JHB@mail.lists.drupal.co.za

http://mail.lists.drupal.co.za/mailman/listinfo/drupal-jhb_lists.drupal.co.za



Powered by Drupal