Skip to Content Skip to Menu

ProfileBook 1.0 - notify in cb_login

  • sunnyjey
  • sunnyjey
  • OFFLINE
  • Posts: 41
  • Thanks: 0
  • Karma: 4
16 years 2 months ago #71557 by sunnyjey
Replied by sunnyjey on topic Re:ProfileBook 1.0 - notify in cb_login
I really appreciate the way you are helping me out to sort this issue.

I have successfully executed both Sql for new and existing users without any error.

But still i cannot see enabled 'Notify Me' button in the backend. I have attached screen shot of Profile book taken after Sql execution.

Attachments:

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

  • 1234bembe
  • 1234bembe
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
  • Add-ons
15 years 11 months ago #78308 by 1234bembe
Replied by 1234bembe on topic Re:ProfileBook 1.0 - notify in cb_login
Hi there,

first, my english is very bad, but i hope u understand me.

Now, thx for the feature to display new Guestbookentrys.

I use the mod_notify to see if there new Entry.
In the Profilebook is the option "mark as read" and both worked realy fine.

But, i have a question. It is possible with SQL mark all entrys as read from all my Users.

My Page has over 1000 Members and some Users have over 100 entrys.
Mark 100 entrys as read is not fine for my Users.

Can you help me?
Is there an SQL to do this?

Thx, i hope u understand me.
Bembe

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

  • user8600
  • user8600
  • OFFLINE
  • Posts: 24
  • Thanks: 0
  • Karma: 3
15 years 11 months ago #78338 by user8600
Replied by user8600 on topic Re:ProfileBook 1.0 - notify in cb_login
UPDATE TABLE `jos_comprofiler_plug_profilebook` SET `status` = '1' where `status` = '0'

sollte alle Nachrichten auf gelesen setzen...
should mark all messages as old...

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

  • 1234bembe
  • 1234bembe
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
  • Add-ons
15 years 11 months ago #78340 by 1234bembe
Replied by 1234bembe on topic Re:ProfileBook 1.0 - notify in cb_login
user8600 wrote:

UPDATE TABLE `jos_comprofiler_plug_profilebook` SET `status` = '1' where `status` = '0'

sollte alle Nachrichten auf gelesen setzen...
should mark all messages as old...



Hallo, hab vielen Dank für die schnelle Antwort :)

Leider funktioniert es so leider nicht und ich bekomme einen Error:

[code:1] MySQL meldet: Dokumentation
#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 'TABLE `jos_comprofiler_plug_profilebook` SET `status` = '1' WHERE `status` = '0'' at line 1 [/code:1]

Weißt du evtl. noch eine Lösung?

Mfg. 1234bembe

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

  • 1234bembe
  • 1234bembe
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
  • Add-ons
15 years 11 months ago #78341 by 1234bembe
Replied by 1234bembe on topic Re:ProfileBook 1.0 - notify in cb_login
Okay, hat sich erledigt.
Der für mich richtige Befehl lautete wohl:

UPDATE `jos_comprofiler_plug_profilebook` SET `status` = '1' where `status` = '0'


TABLE scheint da wohl ein Problem gewesen zu sein.

hab vielen Dank nochmal.
Klasse.

Gruß 1234bembe

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

15 years 11 months ago #78897 by steveometer
Replied by steveometer on topic Re:ProfileBook 1.0 - notify in cb_login
i want to know why i need a new cb_login

i wrote many plugins for cb, and the new onafterlogoutform is nice, i have stats blox there for com_purps, com_paypal, com_jim and com_karma

[code:1]$_PLUGINS->registerFunction( 'onAfterLogin', 'plugCbNotify', 'getProfileBookTab' );
[/code:1]

SoM

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

Moderators: beatnantkrileon
Powered by Kunena Forum