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/03/20 21:44 By: user8600 Status: CB Doc subscriber  
Karma: 3  
Junior Joomlapolitan

Posts: 27
graphgraph
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
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/03/20 23:54 By: user8600 Status: CB Doc subscriber  
Karma: 3  
Junior Joomlapolitan

Posts: 27
graphgraph
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.


File Attachment:
File name: plug_cbprofilebook_1_0_mod.zip
File size:58265 bytes


Post edited by: user8600, at: 2008/03/20 23:58
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/03/21 03:15 By: all3njg Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 7
graphgraph
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
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/03/21 17:45 By: user8600 Status: CB Doc subscriber  
Karma: 3  
Junior Joomlapolitan

Posts: 27
graphgraph
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
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/03/21 18:08 By: all3njg Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 7
graphgraph
nice.. thanks..

cant wait for the mod that shows when there is a new message in the profile book
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/03/21 19:08 By: user8600 Status: CB Doc subscriber  
Karma: 3  
Junior Joomlapolitan

Posts: 27
graphgraph


Post edited by: user8600, at: 2008/03/22 19:32
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 RC4)

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 RC4, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers and now also to all registered joomlapolitans.

CB Login