Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Joomla 1.5  (Read 5525 times)

0 Members and 1 Guest are viewing this topic.

DirkMa

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Joomla 1.5
« 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
Logged

DirkMa

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: Joomla 1.5
« Reply #1 on: May 14, 2009, 11:06:08 am »

It mean the Stramm mod
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Joomla 1.5
« Reply #2 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...
Code: [Select]
'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
Code: [Select]
'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
Code: [Select]
//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

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: Joomla 1.5
« Reply #3 on: May 14, 2009, 01:09:34 pm »

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...
Code: [Select]
'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
Code: [Select]
'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
Code: [Select]
//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
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Joomla 1.5
« Reply #4 on: May 14, 2009, 01:23:42 pm »

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
Code: [Select]
define('AVATAR_PATH', '');instead and disable avatars in the config.

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4822
    • Windsurf.me
Re: Joomla 1.5
« Reply #5 on: May 14, 2009, 02:03:25 pm »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.037 seconds with 21 queries.