Skip to Content Skip to Menu

ProfileBook 1.0 - notify in cb_login

  • user8600
  • user8600
  • OFFLINE
  • Posts: 24
  • Thanks: 0
  • Karma: 3
16 years 7 months ago #59369 by user8600
Replied by user8600 on topic Re:ProfileBook 1.0 - notify in cb_login
Now the plugin works good.

You can set each entry to read/unread.

Now I'm updating the installer-file of the plugin.
New install works, but inserting the new field into an existing table doen't work.

An alter table add if not exists ... doesn't work.

Post edited by: user8600, at: 2008/03/20 23:26
Attachments:

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

  • user8600
  • user8600
  • OFFLINE
  • Posts: 24
  • Thanks: 0
  • Karma: 3
16 years 7 months ago #59378 by user8600
Replied by user8600 on topic Re:ProfileBook 1.0 - notify in cb_login
Okay.
Installer works only if table jos_comprofiler_plug_profilebook not exists.
if cb_profilebook anytime where installed please add the the field manually:

ALTER TABLE `jos_comprofiler_plug_profilebook` ADD `status` tinyint(3) NOT NULL default '0'


If you update, please insert the table-field and copy the cb.profilebook.php into the plugin directory and overwrite the existing file.

Now you have a status field at every message who shows, if the message was read or not.

The only problem is if you have already many messages in your book, you have to mark every message as read.


Attachment plug_cbprofilebook_1_0_mod.zip not found



Post edited by: user8600, at: 2008/03/20 23:58
Attachments:

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

  • all3njg
  • all3njg
  • OFFLINE
  • Posts: 7
  • Thanks: 0
  • Karma: 0
16 years 7 months ago #59391 by all3njg
Replied by all3njg on topic Re:ProfileBook 1.0 - notify in cb_login
so with this new modded one.. Do i uninstall the old one and install this one?

If you dont mind could you give me a step-by-step instructions?

That would be awesome.. Thanks

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

  • user8600
  • user8600
  • OFFLINE
  • Posts: 24
  • Thanks: 0
  • Karma: 3
16 years 7 months ago #59433 by user8600
Replied by user8600 on topic Re:ProfileBook 1.0 - notify in cb_login
Take joomlaxplorer and update the cb.profilebook.php in components/com_comprofiler/plugin/user/plug_cbprofilegallery with the one from the zip. Then go to phpmyadmin, go to the sql tab and execute this command: ALTER TABLE `jos_comprofiler_plug_profilebook` ADD `status` tinyint(3) NOT NULL default '0'

This is the easiest way.

Or uninstall the plugin, delete the table jos_comprofiler_plug_profilebook and then install the mod_plug new.

Post edited by: user8600, at: 2008/03/22 19:33

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

  • all3njg
  • all3njg
  • OFFLINE
  • Posts: 7
  • Thanks: 0
  • Karma: 0
16 years 7 months ago #59439 by all3njg
Replied by all3njg on topic Re:ProfileBook 1.0 - notify in cb_login
nice.. thanks..

cant wait for the mod that shows when there is a new message in the profile book

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

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


Post edited by: user8600, at: 2008/03/22 19:32
Attachments:

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

Moderators: beatnantkrileon
Powered by Kunena Forum