Skip to Content Skip to Menu

Add goup name in comprofiler.html.php

  • yberges
  • yberges
  • OFFLINE
  • Posts: 16
  • Thanks: 0
  • Karma: -1
8 years 11 months ago #274466 by yberges
Add goup name in comprofiler.html.php was created by yberges
hello i want to display groupe name of user in penddingforapprouval part of comprofiler.html.php
i have an field usergroupsfield
=> i try to add in 1103
Code:
'<td style="width: 25%;" class="text-left xs-hidden">' . cbUser::getInstance( (int) $user->id, false )->getField( 'usergroupsfield', null, 'html', 'none', 'profile', 0, true ) . '</td>'
but nothing was display
...
how to display a cb field in this view
or how to display joomla group
Regards

Please Log in or Create an account to join the conversation.

  • yberges
  • yberges
  • OFFLINE
  • Posts: 16
  • Thanks: 0
  • Karma: -1
8 years 11 months ago #274864 by yberges
Replied by yberges on topic Add goup name in comprofiler.html.php
nobody can help me ???

Please Log in or Create an account to join the conversation.

  • yberges
  • yberges
  • OFFLINE
  • Posts: 16
  • Thanks: 0
  • Karma: -1
8 years 11 months ago #275074 by yberges
Replied by yberges on topic Add goup name in comprofiler.html.php
please !!!

Please Log in or Create an account to join the conversation.

  • Satchi
  • Satchi
  • OFFLINE
  • Posts: 147
  • Thanks: 58
  • Karma: 13
8 years 11 months ago #275085 by Satchi
Replied by Satchi on topic Add goup name in comprofiler.html.php
I don't have the answer for that. I never tried it (and seeing no replies, I doubt many have).

But - I strongly suggest you do the following"

1. Search forum for 'display CB field' (without the '') and any other term you think will get you closer to the answer you need.

2. Read the CB Primer

3. Show more details of what you are trying to accomplish (what is your exact end goal? There may be another way to get there)

4. Go to Youtube and check out the huge collection of videos Nant posted for CB 2.0

Hope that helps,

Satchi
The following user(s) said Thank You: nant

Please Log in or Create an account to join the conversation.

  • yberges
  • yberges
  • OFFLINE
  • Posts: 16
  • Thanks: 0
  • Karma: -1
8 years 11 months ago #275092 by yberges
Replied by yberges on topic Add goup name in comprofiler.html.php
Hello my user can sélect group wanted at inscription
I want to display group wanted in moderation page...
Two way i think
Add PHP code and SQL request to load it
Use my CB field to display it

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 11 months ago #275093 by nant
Replied by nant on topic Add goup name in comprofiler.html.php

yberges wrote: Hello my user can sélect group wanted at inscription


Most likely they can select a CB Field value and not a Joomla ACL group.

I want to display group wanted in moderation page...
Two way i think
Add PHP code and SQL request to load it
Use my CB field to display it


You would have to hack the code - sorry I cannot help you with this.

Moderators can just visit the profile of any pending user and see the values of all fields.

You can also change the pending action email sent to moderatirs and include and field value you want in the message.

I agree that it would be better to be able to cleanly override the pending approval page, but it is not doable at this time.
The following user(s) said Thank You: Satchi

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum