Skip to Content Skip to Menu

ProfileBook 1.0 - notify in cb_login

  • user8600
  • user8600
  • OFFLINE
  • Posts: 24
  • Thanks: 0
  • Karma: 3
16 years 3 months ago #71198 by user8600
Replied by user8600 on topic Re:ProfileBook 1.0 - notify in cb_login
Yes it is hardcoded in the /modules/mod_cblogin.php (not in a language file) on line 491

echo "You have"." ".$unreadgb."&nbsp;"."new GB-Entrie(s)"."</a></s

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

  • user8600
  • user8600
  • OFFLINE
  • Posts: 24
  • Thanks: 0
  • Karma: 3
16 years 3 months ago #71201 by user8600
Replied by user8600 on topic Re:ProfileBook 1.0 - notify in cb_login
sunnyjey wrote:

Secondly does it disappear after replying to profile book entry or it keep on displying 'new x entries' message?


In every message is a new button "mark as read". There you have to confirm it. This should set the status of the message to "1" and decrease the number of new messages showing in the login module.

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

  • sunnyjey
  • sunnyjey
  • OFFLINE
  • Posts: 41
  • Thanks: 0
  • Karma: 4
16 years 3 months ago #71241 by sunnyjey
Replied by sunnyjey on topic Re:ProfileBook 1.0 - notify in cb_login
Thank you.. you have saved my day..

I wish i could personally thank to you for helping me..

One more last query.. I want to set default 'notify me' option of profile book enable to set 'Yes'.

I am new to sql..I just know I have to run some sql query to my phpmyadmin something like this..

[code:1]ALTER TABLE `jos_comprofiler_fields` 'cb_pb_notifyme' Set `notify me` default '1'[/code:1]

Please help me to get the Correct sql

Thank you once again..

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

  • pretopost
  • pretopost
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
16 years 3 months ago #71546 by pretopost
Replied by pretopost on topic Re:ProfileBook 1.0 - notify in cb_login
sunnyjey wrote:

Thank you.. you have saved my day..

I wish i could personally thank to you for helping me..

One more last query.. I want to set default 'notify me' option of profile book enable to set 'Yes'.

I am new to sql..I just know I have to run some sql query to my phpmyadmin something like this..

[code:1]ALTER TABLE `jos_comprofiler_fields` 'cb_pb_notifyme' Set `notify me` default '1'[/code:1]

Please help me to get the Correct sql

Thank you once again..


Would also LOVE to know this...

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

  • sunnyjey
  • sunnyjey
  • OFFLINE
  • Posts: 41
  • Thanks: 0
  • Karma: 4
16 years 3 months ago #71550 by sunnyjey
Replied by sunnyjey on topic Re:ProfileBook 1.0 - notify in cb_login
I have run the sql in phpmyadmin but got following error:

[code:1]Error

SQL query:

ALTER TABLE `jos_comprofiler_fields` 'cb_pb_notifyme' SET `notify me` default '1'

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''cb_pb_notifyme' Set `notify me` default '1'' at line 1 [/code:1]

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

  • user8600
  • user8600
  • OFFLINE
  • Posts: 24
  • Thanks: 0
  • Karma: 3
16 years 3 months ago #71554 by user8600
Replied by user8600 on topic Re:ProfileBook 1.0 - notify in cb_login
Hallo.

You need an "UPDATE TABLE" to change a value in a field.
Try this.

UPDATE `jos_comprofiler_fields` SET `default` = '1' WHERE `name` ='cb_pb_notifyme';

This is only the default for new users!



For all existing users you have to change this:

UPDATE `jos_comprofiler` SET `cb_pb_notifyme` = '_UE_YES' where `cb_pb_notifyme` = '_UE_NO';

Post edited by: user8600, at: 2008/08/17 19:45

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

Moderators: beatnantkrileon
Powered by Kunena Forum