Joomla 1.5 Joomla 1.5
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Joomla 1.5

Started by DirkMa, May 14, 2009, 08:57:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DirkMa

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

DirkMa

It mean the Stramm mod

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.
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.

DirkMa

Hello Stramm,

???

Quote from: Stramm on May 14, 2009, 11:54:24 AM
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

Quote

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

Quote
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

Stramm

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.

phill104

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.
It is a mistake to think you can solve any major problems just with potatoes.