SMF Intergration SMF Intergration
 

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

SMF Intergration

Started by will, February 16, 2006, 07:56:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

will

Hi

I have intergrated my forum to coppermine and I wanted t know if i could add some of the forum boards into the gallery

Thanks ;D

Nibbler


will

Just to show a couple a boards at the top of the coppermine main page ;D

Nibbler

You can do that by using SMF's SSI.php in a custom header within Coppermine.

will

How do i go about doing this ???


will


will

Got this to work but is there anyway of getting it into the body of the coppermine main page and not at the very top:

http://www.cdcoverhideout.com/gallery/index.php

Nibbler

You can reposition the {CUSTOM_HEADER} tag in your theme's template.html. Make sure you keep it before the {GALLERY} tag though.

dazzler

Hi... take a look at my Gallery... i have it working "inside" of SMF its fully intergrated

www.minidirectory.co.uk
Find your local miniclub at the  *Link Removed*

Nibbler

That not 'fully integrated', it's just sitting in an iframe. Please don't hijack other people's threads.

dazzler

#11
harsh... My  database is fully intergrated with the SMF, i was then going to say if that was the look... then post the thread i had the info from....
Find your local miniclub at the  *Link Removed*

will

Is there anyway of making this show in anycontent.php ???

Nibbler

Sure, use an anycontent like this:


<?php

if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');

starttable("100%""Recent topics");

?>

<tr><td class="tableb" >
<?
require_once '../path_to_smf/SSI.php';
ssi_recentTopics();
?>
</td></tr>
<?php
endtable
();
?>


will

Thanks for that Nibbler, great, is there any chance of limiting it to 10 instead of 16 and also centering it ;D

Nibbler

Set

<td class="tableb" align="center">

and

ssi_recentTopics(10);

will

Thanks 110% for your help Nibber ;D ;D ;D

will

#17
Sorry Nibler

Is it possible that I can split anycontent.php into two columns and have:

Recent Topics on the left & Top Boards on the right ;D

Joachim Müller

you can do anything in anycontent you could do elsewhere using HTML, two colums are usually made using a regular HTML table with two columns. How to split up the output of SMF's ssi.php certainly is off-topic on this board and should be asked on SMF's support board instead. Imo this thread has got cluttered enough already. The initial question was solved, and the second one about anycontent.php as well. All subsequent question (how to work with SMF's ssi.php) should be answered elsewhere off this board.

will