hide items from cb_profilebook

16 years 1 month ago #60827 by ahbartv
hide items from cb_profilebook was created by ahbartv
could anyone explain to me if there is a possibility to hide: 'edit', 'delete' and 'un-publish' from cb_profilebook?
If so, how would I do this? I suppose by editing the cb.profilebook.php file?!
I'm looking forward to your answer,
Bart

Please Log in to join the conversation.

16 years 1 month ago #60877 by ahbartv
Replied by ahbartv on topic Re:hide items from cb_profilebook
Is there anybody who wants to help me with this? I really want to prevent users to delete or change and thus manipulate there ratings!
I suspect it had anything to do with _pb_delete, _pb_GiveFeedback and something with publish or unpublish, in cb.profilebook.php.
Bart

Post edited by: ahbartv, at: 2008/04/12 22:21

Please Log in to join the conversation.

16 years 10 hours ago #63105 by ahbartv
Replied by ahbartv on topic Re:hide items from cb_profilebook
Please! anyone?

Please Log in to join the conversation.

15 years 1 month ago #93256 by bspisak
Replied by bspisak on topic Re:hide items from cb_profilebook
First of all: get FireFox and use the FireBug addon. Select the element and you'll see it has class="cbpbControlArea"

Now, go get Windows Grep (or if you're on a linux box, use grep) and find the file where the code is generated. It happens to be in components/com_profiler/plugin/user/plub_cbprofilebook/cb.profilebook.php. Comment out the code you don't like.

:)

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.222 seconds

Facebook Twitter LinkedIn