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 #60301 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 does not exist.
If cb_profilebook anytime where installed please add the the new table field manually (in phpmyadmin):

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


If you want to update update, you can insert the table-field (sql) manually and copy the cb.profilebook.php into the plugin directory and overwrite the existing file. Only this one file has changed...

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

To install the cb_login you can uninstall the old one and install the new one withe the module installer.

*pushing up the plug_cbprofilebook modified near the mod_cblogin modified*

Attachment plug_cbprofilebook_1_0_mod-a84c9c33bd0da7f475e5b54fb834a71f.zip not found

Attachments:

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

  • smappler
  • smappler
  • OFFLINE
  • Posts: 7
  • Thanks: 0
  • Karma: 0
16 years 7 months ago #61358 by smappler
Replied by smappler on topic Re:ProfileBook 1.0 - notify in cb_login
Hi, this looks really promissing. Is there any one to just receive a pm after someone writes in the profilebook? if not is there any way i can show it in pms_notify instead?

thanks.

sam

Post edited by: smappler, at: 2008/04/21 18:32

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 #61368 by user8600
Replied by user8600 on topic Re:ProfileBook 1.0 - notify in cb_login
Hallo.
My first release was a modified mod_pmsnotify. :lol:

I also use this module, but not for the gb entries.

I use the connection_notify form the cb_login and that's the reason that I included the gb_notify also finally in this module.

I took a look into my external harddisc and I've found the old modified mod_pmsnotyfy.
But this was a beta and it is not finally but it works!!!!
If I remember the module doesn't check if cb or cb_profilebook is installed and active!!! And the gb feature can't be switched on and off in the module_settings...

This features are included in mod_cblogin....

Attachment mod_pmsnotify_102_mod-5f01b60d848a498d57e9c410ca4f7432.zip not found

Attachments:

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 #71045 by sunnyjey
Replied by sunnyjey on topic Re:ProfileBook 1.0 - notify in cb_login
What is the status of this modified cb login and profile book with cb RC2 ?

I am interested to use this feature. Can someone confirm whether it works with cb RC2. I can see few doc subscriber are using this hack.

If yes, then what are the changes required to work with RC2?

Thank you

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 #71182 by user8600
Replied by user8600 on topic Re:ProfileBook 1.0 - notify in cb_login
The modified plugin works with cb 1.2. Delete the original plugin, install the modified one.
If the profilebook_tables already exist, don't forget to add the column 'status'
Here is the sql for it:
ALTER TABLE `jos_comprofiler_plug_profilebook` ADD `status` tinyint(3) NOT NULL default '0'

Or delete the table jos_comprofiler_profilebook before install (but then all old entries are lost)

(If anybody has an idea to add this column automatically with the installer only if the table exists and the is no column with the name status please report!)


Here is a brandnew modified mod_login_12 from today. I've tested it in joomla 1.0.15.

It should also work in joomla 1.5 but I'm not sure and I have no time to test it...

You have to delete the original mod_cblogin, because there is a new module parameter cbgb you can set to 0 or 1 in the backend. If you only overwrite the two files you don't have this needed parameter!!

Pleas report bugs and malefunctions here. And please report if it works fine...

Attachment mod_cblogin_12_mod.zip not found



Post edited by: user8600, at: 2008/08/13 18:56
Attachments:

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 #71188 by sunnyjey
Replied by sunnyjey on topic Re:ProfileBook 1.0 - notify in cb_login
Thank you,

I have downloaded module, it is working with my 1.0.15 and CB RC2.

Is it possible to edit the current display message 'You have 3 new GB-Entrie(s)' to something like 'You have x new scrap book entries' ?

Where and what should i edit ?

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

Once again thank you (raised your karma)

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

Moderators: beatnantkrileon
Powered by Kunena Forum