forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: DirkMa on May 14, 2009, 08:57:29 am
-
Hello,
my english is not so good, but I hope you know what I mean. First I want to say that I like the mod. I use it a long time on my page. I want to make my page new with Joomla 1.5. I have read that it gives problems with the mehdi bridge. Have anyone the mod with joomla 1.5 on work and can me give informations how I can use the mod with joomla.
Thanks
Dirk
-
It mean the Stramm mod
-
You'll have to modify the bridge file. I've not used Joomla before... therefore I do not know that bridge. If it looks like most of the others, it's not that difficult to get it going.
Things that need to be added...
'notify' => 'enable_admin_email',
'auto_subscribe_post' => 'auto_subscribe_post',
'auto_subscribe_comment' => 'auto_subscribe_comment',
'avatar_url' => 'avatar_url'
to the table field names array.
Now find in Joomlas database the header in the users table that refer to eg. notify (something that may enable notification mails to users). Do the same for the other 3 entries.
Here's an example for phpbb
'notify' => 'user_notify_pm',
'auto_subscribe_post' => 'user_notify',
'auto_subscribe_comment' => 'user_notify',
'avatar_url' => 'user_avatar'
Next you'll have to add below the just edited block
//mod define Avatar path
define('AVATAR_PATH', $BRIDGE['relative_path_to_config_file'].$BRIDGE['avatar_path'].'/');
define('PM_LINK', $BRIDGE['relative_path_to_config_file'].'pms_send.php?id=');
$BRIDGE['avatar_path'].'/' you replace with the relative path starting from your config file (you've set in the bridgemanager) to the location where avatars get saved by your app
'pms_send.php?id=' you replace with the private message send action of Joomla.
-
Hello Stramm,
???
You'll have to modify the bridge file. I've not used Joomla before... therefore I do not know that bridge. If it looks like most of the others, it's not that difficult to get it going.
Things that need to be added...
'notify' => 'enable_admin_email',
'auto_subscribe_post' => 'auto_subscribe_post',
'auto_subscribe_comment' => 'auto_subscribe_comment',
'avatar_url' => 'avatar_url'
to the table field names array.
That's ok. I've added it to the bridgemgr.php
Now find in Joomlas database the header in the users table that refer to eg. notify (something that may enable notification mails to users). Do the same for the other 3 entries.
Here's an example for phpbb
'notify' => 'user_notify_pm',
'auto_subscribe_post' => 'user_notify',
'auto_subscribe_comment' => 'user_notify',
'avatar_url' => 'user_avatar'
it's to much, my english to bad (I'm german) and I don't know what you mean. I don't find it in the Joomla Database
Next you'll have to add below the just edited block
//mod define Avatar path
define('AVATAR_PATH', $BRIDGE['relative_path_to_config_file'].$BRIDGE['avatar_path'].'/');
define('PM_LINK', $BRIDGE['relative_path_to_config_file'].'pms_send.php?id=');
$BRIDGE['avatar_path'].'/' you replace with the relative path starting from your config file (you've set in the bridgemanager) to the location where avatars get saved by your app
'pms_send.php?id=' you replace with the private message send action of Joomla.
What do you mean with the config file and avatar path?
MfG
Dirk
-
As said, I do not know Joomla. Therefore I can't help you that much. But I bet Joomla has a database entry for notifications to users. That one you'll need to find.
If Joomla doesn't make use of avatars, then use
define('AVATAR_PATH', '');
instead and disable avatars in the config.
-
As standard there is no avatar sysyem in Joomla but there are many extensions available that add this. The problem is, they all do it slightly differently. For instance, you install Kuena forum and that has avatar support but if you then install Community Builder its avatar system takes over with its own DB entries.