Joomla + SMF + Coppermine Installation guide.

Discuss the integration of SMF here.
User avatar
chadness
Joomla! Guru
Joomla! Guru
Posts: 768
Joined: Mon Aug 22, 2005 5:43 pm
Location: Minneapolis, MN
Contact:

Re: Joomla + SMF + Coppermine Installation guide.

Post by chadness » Wed Nov 30, 2005 4:52 am

n1kki6 wrote: 1. Upload attached com_wrapper component files this will assure proper fitment.
You just upload the files in that .zip file, it's not an installable package of any sort.

 
PornSharK
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Nov 28, 2005 7:49 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by PornSharK » Wed Nov 30, 2005 5:48 am

I got it now... only a few more tweaks! Thanks!!! :D

n1kki6
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 161
Joined: Wed Aug 24, 2005 3:46 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by n1kki6 » Mon Dec 05, 2005 3:25 pm

Im going through the guide hopefully today with all of the updated software to revise it.  The huge pain for me is the custom templates im using in 1.0.5 and need to go to 1.1 templates.

PornSharK
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Nov 28, 2005 7:49 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by PornSharK » Mon Dec 05, 2005 3:29 pm

This would be good if Coppermine isnt wrapped and integrated well with SMF and Joomla, similar to CoppermineVis but free

n1kki6
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 161
Joined: Wed Aug 24, 2005 3:46 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by n1kki6 » Mon Dec 05, 2005 3:32 pm

The first thing with my install is im need to get sms 1.1 and themes working as well as the joomla themes.  I run a sports team site and have a different theme for each and run smf unwrapped and use custom headers on the themes in order to change the theme per section.  My install is hacked up quite a bit fot my needs and the thought of it right now is overwhelming.

n1kki6
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 161
Joined: Wed Aug 24, 2005 3:46 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by n1kki6 » Mon Dec 05, 2005 9:47 pm

Ok for my site in order to upgrade everything it will just be easier for me to rebuild from the ground up.  I will start this process tonight and hopefully have another guide rewritten with current software and links.  Let the fun begin. :'(

n1kki6
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 161
Joined: Wed Aug 24, 2005 3:46 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by n1kki6 » Tue Dec 06, 2005 3:57 pm

I am just finishing up getting my site upgraded but i really couldnt write and updated tutorial.  Tonight i am making a friends site from the ground up with the new versions and will also try to find a way so coppermine doesnt run wrapped but im kind of running into a dead end on that one.

verbalkent
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Dec 06, 2005 11:25 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by verbalkent » Wed Dec 07, 2005 6:38 pm

Hi, Great integration... 

can i bug u folks with 3 questions?

1)  Why is it that when you go to my site and select the menu link (Wrapper) that says "Gallery" it shows coppermine fine, but when u move your mouse close to the left main menu links, it shrinks the coppermine page? making it about 200px? I've tried in multiple templates, same results, **Edit** I am NOT using the com_wrapper, im using the wrapper that was in the default install, is that the prob?? (At my 9-5, cant chk or edit till I get home..  !!Arghh, it was becuase instead of commenting out the "Logout" block, I actually removed the entire block... I added the comment and viola... fixed... now to the other 2 :) {Not Solved} Using maxthon browser, it worked when I got home, (Using same browser) I dunno whats going on... Is any one else having that problem on my site or anyother?? or am I just drunk?

2) why does my forum span to the end of the page? basically, where would I edit the overal size of the forum body to lets say ... 90% so that it leaves space ont he right side?

3) how in the world do I put my own logo into the top grey banner space? i changed the actual logo png, but that file is about 100px/100px, leaving a big grey hunk for the rest of the top bbanner space...

any help would be great.. and thnk u folks from saving me from using those bloated phpbb portals etc...   sorry for all the questions, but the drunk geek must prevail..!
Last edited by verbalkent on Wed Dec 07, 2005 9:53 pm, edited 1 time in total.

User avatar
brother7
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 127
Joined: Wed Sep 28, 2005 10:23 am

Re: Joomla + SMF + Coppermine Installation guide.

Post by brother7 » Wed Dec 07, 2005 6:43 pm

I'm looking forward to the new Installation guide  ;D  Please post in this thread when it's ready for public consumption.
n1kki6 wrote: I am just finishing up getting my site upgraded but i really couldnt write and updated tutorial.  Tonight i am making a friends site from the ground up with the new versions and will also try to find a way so coppermine doesnt run wrapped but im kind of running into a dead end on that one.

User avatar
chadness
Joomla! Guru
Joomla! Guru
Posts: 768
Joined: Mon Aug 22, 2005 5:43 pm
Location: Minneapolis, MN
Contact:

Re: Joomla + SMF + Coppermine Installation guide.

Post by chadness » Thu Dec 08, 2005 6:10 am

verbalkent wrote: Hi, Great integration... 

can i bug u folks with 3 questions?

1)  Why is it that when you go to my site and select the menu link (Wrapper) that says "Gallery" it shows coppermine fine, but when u move your mouse close to the left main menu links, it shrinks the coppermine page? making it about 200px? I've tried in multiple templates, same results, **Edit** I am NOT using the com_wrapper, im using the wrapper that was in the default install, is that the prob?? (At my 9-5, cant chk or edit till I get home..  !!Arghh, it was becuase instead of commenting out the "Logout" block, I actually removed the entire block... I added the comment and viola... fixed... now to the other 2 :) {Not Solved} Using maxthon browser, it worked when I got home, (Using same browser) I dunno whats going on... Is any one else having that problem on my site or anyother?? or am I just drunk?
I've been doing this for some time and have never seen anything similar.  Mine worked smoothly, though I did modify my wrapper.
2) why does my forum span to the end of the page? basically, where would I edit the overal size of the forum body to lets say ... 90% so that it leaves space ont he right side?
Edit your SMF theme.  Find where it says doctype="xhtml" and change xhtml to html.  That will fix most issues.  There may be more, which can be accomplished by pasting your SMF CSS into your Mambo CSS, and then deleting duplicate entries.
3) how in the world do I put my own logo into the top grey banner space? i changed the actual logo png, but that file is about 100px/100px, leaving a big grey hunk for the rest of the top bbanner space...
Not sure which space you mean - your web site isn't accessible at the moment.  If you're talking about the SMF logo, you might want to look at a theme that removes that when the forum is wrapped.

verbalkent
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Dec 06, 2005 11:25 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by verbalkent » Thu Dec 08, 2005 7:51 am

Hi, thx..

The site is back up, (Upgraded  coppermine)

I dont know whats going on with the gallery thing... (Did you experence what I mentioned?)

2) I fixed the span thing by adding the rss feed buttons to the right side.. which i think will work only for most pages, and not all (ie: package manager when viewing downloadable packages from) I will try the css option, although i didnt realy understand it when i first read it in the included html file.

3) Im speacking about the overall joomla header... there is a grey bar where the search bar resides.. i would love to aadd something to it, anything, but the only thing in the banner that is a image, is this  header_logo.png file that is only 260x102, yet the overall page is like 800x600

n1kki6
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 161
Joined: Wed Aug 24, 2005 3:46 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by n1kki6 » Tue Dec 13, 2005 5:09 pm

Ok i finally have everything upgraded on my site aside from coppermine as i didnt want to mess with it yet and havent found a way to completely integrate coppermine for free.  You can view my site at http://www.mnsportscentral.com  Its really made for high speed and people 1024x768 or higher and thats fine by me.

I started the new install guide but even with the new smf and joomla its identicle as far as i can tell aside from using the new smf intergration package. Hopefully this weekend i can get to looking at coppermine 1.4

PornSharK
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Nov 28, 2005 7:49 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by PornSharK » Tue Dec 13, 2005 5:30 pm

Nice site :)

I think using the coppermambo theme would help in visually integrating joomla with coppermine but it kinda screws up when your login module says you need to login yet your coppermine session has you logged in... so I am forced to show the module only within the joomla and smf pages.

But nonetheless a great way to integrate stuff.

n1kki6
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 161
Joined: Wed Aug 24, 2005 3:46 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by n1kki6 » Tue Dec 13, 2005 5:41 pm

I think i will just run coppermine outside of the wrapper and just create the theme so it matches the rest of my site.  The problem happens is it wont be running as a component so it make modifying the theme that much tougher in order to use the javascript and css styles im using.

PornSharK
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Nov 28, 2005 7:49 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by PornSharK » Tue Dec 13, 2005 9:58 pm

That would be better as well. I am working on a site that would incorporate all three.

Here's what I plan:

Edit an existing template that would display smf without left and right module positions, all the menu links will be at the top, I will make this the main template as well so that it would display coppermine the way it would on smf. The site will have all the navigation menu/links at the top.

OR

I am thinking only of bridging only and just create matching themes for smf and coppermine, it is indeed a lot more tedious to work on but it removes all other possible issues.

n1kki6
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 161
Joined: Wed Aug 24, 2005 3:46 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by n1kki6 » Tue Dec 13, 2005 10:23 pm

Im running my smf install unwrapped, i would have done it stand alone as that works with the new bridge but i need it as a component to work correctly how i have my themes setup.

verbalkent
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Dec 06, 2005 11:25 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by verbalkent » Wed Dec 14, 2005 12:38 am

Why cant my users upload pics (THere isnt even a link to upload file) in coppermine?

n1kki6
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 161
Joined: Wed Aug 24, 2005 3:46 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by n1kki6 » Wed Dec 14, 2005 1:33 am

in the top right of the screen after they are logged in their shold be a link that say upload file.

PornSharK
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Nov 28, 2005 7:49 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by PornSharK » Thu Dec 15, 2005 5:20 pm

Hell, we've switched to Invision the last minute but still keeping the Coppermine Bridge with it. They're all running in standalone.. sigh, we have to make all styles look identical and this is gonna take a lotta time.

n1kki6
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 161
Joined: Wed Aug 24, 2005 3:46 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by n1kki6 » Thu Jan 19, 2006 6:05 pm

Just an update. I stopped using the bridge and now run joomla and smf as stand alones with coppermine bridged to smf.  This just works out easier for me and helps keep things a little more organized. Tonight i will be editing my coppermine template to look like the rest of the site so i dont have to wrap it.

hartunnoo
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 111
Joined: Tue Jan 10, 2006 6:38 am
Location: Brunei Darussalam
Contact:

Re: Joomla + SMF + Coppermine Installation guide.

Post by hartunnoo » Mon Feb 13, 2006 3:24 am

n1kki6 wrote: I had posted this on mamboserver.com but with joomla now being the direction i thought i should probably post it here also.  This is the guide with all stable versions.  I always ran into problems using the beta versions.

Program Installs - All to the same database

1. Install Joomla(this was orginally written with mambo so their might be some changes i didnt come accross)

2. Install SMF from Simple Machines

3. Install Coppermine 1.3.4 from Coppermine

4. Make sure all programs succesfully run as standalones.

SMF Integration


1. Download and unzip MOS_SMF_BRIDGEv3.19a_stable.zip  from mamboforge.

2. Install the file smf_mambo3.1.tar.gz with your SMF package manager.

Make sure, that when you see the screen that lists "Success" next to the filenames,
that you click "Proceed".  The mod will not install until you click "Proceed".

3.  Install com_smf.zip as a Mambo component, and change the values in the configuration
via the Mambo backend.

Please use the absolute path.  There is a lot of confusion surrounding relative paths. 
You are best to use the absolute path.

You can choose to use bridge registration or smf registration, if you use bridge it will use the mambo reg. form and if you use smf it will use the smf reg. form.  Dont matter either way, its personal preference.

4.  Install com_smf_registration.zip as a Mambo component this is if you want to share your user information in both SMF and Mambo.

This is the common registration component for Mambo and SMF.

This uses the registration options in your Mambo admin> Global Configuration,
just like the Mambo default registration.

5. a) Install mod_smf_login.php as a module.

b) Go to your Mambo template (root/templates/current_template/index.php), and add the following code, right before
the tag:

Code: Select all

<?php 
global $sc, $context;

if (!defined('SMF')){
  require ("administrator/components/com_smf/config.smf.php");
  require ($smf_path."/SSI.php");
}

$sc = &$context['session_id'];
$_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];

mysql_select_db($mosConfig_db);
?>
c) also add the following code just above the tag:

Code: Select all

<?php mysql_select_db($db_name); ?>
d) Publish the smf login module, and unpublish the default Mambo login module.

Coppermine Integration
1. Go to the bridge directory and open smf.inc.php with an editor.

2. Edit Line 50 to point to your smf installation directory.

3. Save smf.inc.php.

4. Edit the file include/init.inc.php. At the beginning of the file you will find the following lines :

Code: Select all

// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
Replace

Code: Select all

// define('UDB_INTEGRATION', 'smf');
with

Code: Select all

define('UDB_INTEGRATION', 'smf'); 
5. Save init.inc.php

6. Upload both files.

7. Synchronsising the bbs groups with Coppermine's groups

Login using the admin account of your board. Go to the gallery, enter admin mode and click on the "Groups" button. This will synchronize Coppermine groups with those of your board. The permission you will see for each group will be completely messy, so take some time to set them properly.

Each time you add or delete a group in your board you will need to do the operation above in order to keep the synchronisation of the groups.

When you will try to login / logout or manage users from Coppermine, you will be redirected to the corresponding page of your bulletin board. Once the login or logout is performed you won't be redirected automatically to the gallery because your board does not have any function for that. It's up to you to add a link on your board to get you back to the gallery.

Getting coppermine to display within mambo wrapper.

1. Upload attached com_wrapper component files this will assure proper fitment.

2. Create a menu link using the wrapper to the coppermine directory. Example: /gallery

set the height

Scroll Bars: No
Width:  100%
Height: 100%
Auto Height: Yes
Auto Add: NO

For and added touch to the SMF board follow the instructions here.  This will link to each persons gallery on their posts.

http://www.simplemachines.org/community ... opic=28318.

in the member gallery link make sure to change the component id to the correct id for your gallery.

Thats should be it, you will have to make your component link to the forum too but all of the integration should be working.

Edit:Sept 19th, i forgot to attach the com wrapper files.
How if my SMF database is separate with Joomla database.? To make it into one database is difficult for me. Because I'm using Fantastico  to install this script.
Joomla 1.08
Gallery2
Forum - Not Yet
Community Builder - Not Yet
 
Love using JOOMLA the Best... :)

nomisg
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Thu Mar 23, 2006 4:09 am
Contact:

Re: Joomla + SMF + Coppermine Installation guide.

Post by nomisg » Mon Apr 03, 2006 3:49 am

I have got SMF and Joomla running fine together eg. bridge working.

Today I have started with coppermine, have got it worling ok as well, but only as a stand alone. I have attempted to follow the instrauction but I am stuck now

4. Edit the file include/init.inc.php. At the beginning of the file you will find the following lines :

Code:

// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');


Replace

Code:

// define('UDB_INTEGRATION', 'smf');


The follwing code is not in my  include/init.inc.php file, any ideas???

FYI I am using the latest version of all apss, Joomla/SMF/Coppermine
www.AussieBball.com Australian basketball forum and news

repete
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Aug 25, 2005 9:43 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by repete » Mon Apr 03, 2006 7:03 pm

That's the old way of bridging Coppermine, the way to bridge Coppermine 1.4 and onward is now all automated:
http://coppermine-gallery.net/demo/cpg1 ... ntegrating

nomisg
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Thu Mar 23, 2006 4:09 am
Contact:

Re: Joomla + SMF + Coppermine Installation guide.

Post by nomisg » Mon Apr 03, 2006 11:43 pm

Cheers, copper and smf and joomla now bridged.

Now I just have to work out a way to display coppermine with-in Joomla.

Is there a component or a way to do this?
www.AussieBball.com Australian basketball forum and news

repete
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Aug 25, 2005 9:43 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by repete » Tue Apr 04, 2006 12:22 am

I'm using the wrapper from Joomla's main menu. Even with 1.0.8 the files posted in the first post seem to have fixed some issues with the auto height not working properly with the wrapper.  Using the Classic Coppermine theme I removed the gallery name, description, and padding around the main table in template.html.  There's still some extra space at the bottom of the Coppermine template, in IE it's not so bad but rather distracting in Firefox.  I haven't been able to find what's adding the extra space, but it's something I can live with if I can't fix it.

There's also the visual integration listed in the first few posts of this thread, but you have to pay for it and it isn't updated for 1.0.8.

User avatar
SoftDux
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 223
Joined: Sun Oct 02, 2005 4:39 pm
Location: Johannesburg, South Africa
Contact:

Re: Joomla + SMF + Coppermine Installation guide.

Post by SoftDux » Sat Feb 10, 2007 1:29 pm

Orstio wrote:
exichlo wrote: My opinion is use all 3 in the same database. It's much easier that way.
That being easier is opinion rather than fact.  If you use Fantastico to install, it will automatically be installed in a separate database, in which case it is far easier to leave it in two databases, and just ensure that each database user has access to the other database.

Two databases can also make it much easier to manage a very large website, because the database backup files are smaller and more managable.

I usually suggest that if you have a very large and active site (500+ posts/day) you are far better off using separate databases.

Can you please explain to me how to make this work, exactly? I have searched the forums, both here and on simplemachine's website.

Here's my setup (using fantastico)

Joomla 1.0.12 (using softdux_joom1 as DB)
SMF 1.1.1 (using softdux_smf2 as DB)

I have read the post about giving each DB to the other's username, but where do I tell the bridge what my SMF's DB name is? The errors I get is as follows:

Code: Select all

Error fetching Recent Topics: Table \'softdux_joom1.smf_messages\' doesn\'t exist SQL=SELECT \n mem.realName, m.posterTime, ms.subject, m.ID_TOPIC, m.ID_MEMBER, m.ID_MSG, b.ID_BOARD, b.name AS bName, t.numReplies, t.ID_LAST_MSG, \n IFNULL(mem.realName, m.posterName) AS posterName, 1 AS isRead, 0 AS new_from, LEFT(m.body, 384) AS body, m.smileysEnabled, m.icon \n FROM (smf_messages AS m, smf_topics AS t, smf_boards AS b, smf_messages AS ms) \n LEFT JOIN smf_members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER) \n WHERE t.ID_LAST_MSG >= -104 \n AND t.ID_LAST_MSG = m.ID_MSG \n AND b.ID_BOARD = t.ID_BOARD \n AND FIND_IN_SET(-1, b.memberGroups) \n AND ms.ID_MSG = t.ID_FIRST_MSG \n ORDER BY t.ID_LAST_MSG DESC \n LIMIT 5
As you can see, it's trying to use the wrong DB for the lookups.

User avatar
chadness
Joomla! Guru
Joomla! Guru
Posts: 768
Joined: Mon Aug 22, 2005 5:43 pm
Location: Minneapolis, MN
Contact:

Re: Joomla + SMF + Coppermine Installation guide.

Post by chadness » Mon Feb 12, 2007 8:14 pm

It doesn't sound like that has anything to do with the Coppermine or this installation guide - it sounds like that's a problem with your recent topics module.  Which one are you using, and which bridge version are you using?

brianjd
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Jan 29, 2007 2:11 am

Re: Joomla + SMF + Coppermine Installation guide.

Post by brianjd » Mon Mar 19, 2007 2:56 am

I've been doing some work on integrating Coppermine into Joomla when configured with the Orstio bridge. I've got a working solution. It uses iframe, but it handles all direct URL redirects (using javascript), and integrates Coppermine Search into Joomla via a searchbot (or search mambot). I am providing this as is, but will try to elp out, if I can. I am also encouraging feedback and improvements. This solution works great for me, though it may not work for anyone else, I have tried to make it as universal as possible.

EDIT: Oh, and the mambot searches the title, caption, and keywords fields in the gallery. It checks permissions as well, both the primary group, and additional groups. It also allows full access for admins. If the logged-in user doesn't have access to the image, it doesn't show up in the search results.

Contents of Read Me file:

The Coppermine Searchbot tool requires some modifications to the Joomla! Wrapper component, and your Coppermine theme. These changes are to allow links to the direct (unwrapped) coppermine site to redirect correctly to a wrapped page. This is based on other code I have seen, but goes one step further in allowing alternate pages to also correctly redirect.


PREREQUISITES

Installed SMF 1.1.2
Installed Joomla 1.0.12
Installed Coppermine 1.4.10
Configured all Pieces Above
Created and functioning SMF-Joomla Bridge from Orstio on http://www.simplemachines.org
Created and functioning SMF-Coppermine Bridge (included in Coppermine package)


INSTRUCTIONS

Update the Joomla Wrapper component: /components/com_wrapper/wrapper.php
The file included clearly shows where the code I added is from

This update will allow additional parameters to pass through to the iframe

Ensure the Menu Item for the Wrapper is configured correctly
Wrapper Link should be to the directory of the Coppermine installation (eg. http://www....com/coppermine/)
Published should be set to Yes
Scroll Bars set to Auto (or the configuration screens won't work right)
Auto Height set to Yes
I also have Width and Height set to 100%, though these are not critical

Update your Coppermine Theme: /themes/(your theme)/template.html
The file included clearly shows where the code I added is from

This update uses Javascript to determine if the coppermine gallery is loading in the Joomla wrapper (using an iframe) or not.

Update the coppermine location and the itemid in the template file, per the comments in the file.

Install the cpg_searchbot.zip file into Joomla. This is done through the admin tool as adding a mambot.

Configure the Site Mambots. Select the Search Coppermine mambot.

Publish the mambot, and enter your module name (which shows up in the search results), and the prefix for your coppermine tables (must be in same database).

Save it.


You are done!!



Please ask questions in the forum. I am providing this out of the goodness of my heart. I am releasing this under the GPL, and cannot guarantee support. It's free! I am providing this to all those with Joomla! SMF, and Coppermine looking to have an improved integration expereince.

Yeah, it's not perfect, but it works. And yeah, it's GPL... you want to modify it? Go ahead. It'd be really nice if you could share your improvements with the community. After all, that's really what this is about.

Thanks,
Brian Devendorf

EDIT: Found a small glitch in the url creation... updated attachment.
You do not have the required permissions to view the files attached to this post.
Last edited by brianjd on Tue Mar 20, 2007 4:08 am, edited 1 time in total.

hellouthere
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Mar 24, 2007 4:09 pm

Re: Joomla + SMF + Coppermine Installation guide.

Post by hellouthere » Sat Mar 24, 2007 4:12 pm

I have just checked that i have the correct version of all software and bridges... I DO...

When i click on the forum link on my menu i just get a blank page, when i try to login in logs in/out but doesnt show the forum... i can use the forums direct url to access the main page of te forum, i guess its something to do with the joomla itemid...

has anyone had this problem before? if so please spare me a few minutes...
Last edited by hellouthere on Sat Mar 24, 2007 5:08 pm, edited 1 time in total.

User avatar
drma
Joomla! Explorer
Joomla! Explorer
Posts: 339
Joined: Tue Jan 30, 2007 4:13 am

Re: Joomla + SMF + Coppermine Installation guide.

Post by drma » Thu Apr 19, 2007 7:45 pm

It works. Thanks a lot
Please read forum rules regarding signatures: http://forum.joomla.org/viewtopic.php?t=65

 

Locked

Return to “SMF - Simplemachines.org Forum”