Skip to Content Skip to Menu

profilebook - option to not display name and email

  • taite11
  • taite11
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
18 years 1 week ago #24743 by taite11
Is there a way that registered users can submit anonymous entries to the profilebook?

I have a site that will surely result in some critical comments being made about users by other users. Especially given the culture of the place where this site is, nobody is likely to make comments if their name and email are displayed. So... I'm looking for a way to make display of the name and email optional.

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

  • Teessider
  • Teessider
  • OFFLINE
  • Posts: 20
  • Thanks: 0
  • Karma: 0
18 years 1 week ago #24883 by Teessider
I'd also like this.

Very few people will actually comment/rate if they know that everyone else can see what they rated and what they commented, so I'd love the option to make this a secret post if possible!

www.Teessideonline.net - just completed a long term conversion plan to Joomla/CB - a big job!

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

  • meisay
  • meisay
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 1
17 years 10 months ago #28929 by meisay
To hide the email address in profilebook comments open up the file cb.profilebook.php that came in the plugin zip. Then comment out the code on or around line 390:
[code:1]$pEmail="<br />".getFieldValue('primaryemailaddress',$item->posteremail,$item);[/code:1]
So just add // right before $pEmail.

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

  • montana
  • montana
  • OFFLINE
  • Posts: 41
  • Thanks: 0
  • Karma: 1
17 years 10 months ago #28930 by montana
Hmm I do it but the email shown still there.
does it really work?

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

17 years 10 months ago #28993 by cborkowski
edit line 422 in cb.profilebook.php

from

[code:1]gn=\"top\"><b>".$pname."</b>".$pEmail.$pLocation.$URL.$ip.$pimg."</td>";[/code:1]

to

[code:1]gn=\"top\"><b>".$pname."</b>".$pLocation.$URL.$ip.$pimg."</td>";[/code:1]

seems to work for me - not sure if this is the safest way but it works

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

  • montana
  • montana
  • OFFLINE
  • Posts: 41
  • Thanks: 0
  • Karma: 1
17 years 10 months ago #29062 by montana
Hmm i also do this edit but still email is showing...Really strange, :whistle:

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

Moderators: beatnantkrileon
Powered by Kunena Forum