Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>
Re:ProfileBook 1.0 - notify in cb_login
Date: 2008/08/13 22:58 By: user8600 Status: CB Doc subscriber  
Karma: 2  
Fresh Joomlapolitan

Posts: 22
graphgraph
Yes it is hardcoded in the /modules/mod_cblogin.php (not in a language file) on line 491

echo "You have"." ".$unreadgb." "."new GB-Entrie(s)"."</a></s
Click here to see the profile of this user The administrator has disabled public write access.

Re:ProfileBook 1.0 - notify in cb_login
Date: 2008/08/13 23:11 By: user8600 Status: CB Doc subscriber  
Karma: 2  
Fresh Joomlapolitan

Posts: 22
graphgraph
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.
Click here to see the profile of this user The administrator has disabled public write access.

Re:ProfileBook 1.0 - notify in cb_login
Date: 2008/08/14 12:21 By: sunnyjey Status: CB Doc subscriber  
Karma: 4  
Junior Joomlapolitan

Posts: 44
graphgraph
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:

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



Please help me to get the Correct sql

Thank you once again..
Click here to see the profile of this user The administrator has disabled public write access.

Re:ProfileBook 1.0 - notify in cb_login
Date: 2008/08/17 18:05 By: pretopost Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 8
graphgraph
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:

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



Please help me to get the Correct sql

Thank you once again..


Would also LOVE to know this...
Click here to see the profile of this user The administrator has disabled public write access.

Re:ProfileBook 1.0 - notify in cb_login
Date: 2008/08/17 19:11 By: sunnyjey Status: CB Doc subscriber  
Karma: 4  
Junior Joomlapolitan

Posts: 44
graphgraph
I have run the sql in phpmyadmin but got following error:

Code:

 Error SQL query: ALTER TABLE `jos_comprofiler_fields'cb_pb_notifyme' SET `notify me` default '1' MySQL saidDocumentation #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 

Click here to see the profile of this user The administrator has disabled public write access.

Re:ProfileBook 1.0 - notify in cb_login
Date: 2008/08/17 19:40 By: user8600 Status: CB Doc subscriber  
Karma: 2  
Fresh Joomlapolitan

Posts: 22
graphgraph
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
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login