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: SMF Intergration  (Read 6618 times)

0 Members and 1 Guest are viewing this topic.

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
SMF Intergration
« on: February 16, 2006, 07:56:52 pm »

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
« Last Edit: February 16, 2006, 10:28:28 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: SMF Intergration
« Reply #1 on: February 16, 2006, 08:04:21 pm »

In what way ?
Logged

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: SMF Intergration
« Reply #2 on: February 16, 2006, 08:10:37 pm »

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

Nibbler

  • Guest
Re: SMF Intergration
« Reply #3 on: February 16, 2006, 08:16:01 pm »

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

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: SMF Intergration
« Reply #4 on: February 16, 2006, 08:18:00 pm »

How do i go about doing this ???
Logged

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: SMF Intergration
« Reply #6 on: February 16, 2006, 08:30:38 pm »

Thanks Nibbler ;D
Logged

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: SMF Intergration
« Reply #7 on: February 16, 2006, 09:03:15 pm »

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
Logged

Nibbler

  • Guest
Re: SMF Intergration
« Reply #8 on: February 16, 2006, 09:06:59 pm »

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

dazzler

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Minidirectory
Re: SMF Intergration
« Reply #9 on: February 16, 2006, 09:10:31 pm »

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

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

Nibbler

  • Guest
Re: SMF Intergration
« Reply #10 on: February 16, 2006, 09:13:29 pm »

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

dazzler

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Minidirectory
Re: SMF Intergration
« Reply #11 on: February 16, 2006, 09:14:56 pm »

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....
« Last Edit: February 16, 2006, 09:22:23 pm by dazzler »
Logged
Find your local miniclub at the  *Link Removed*

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: SMF Intergration
« Reply #12 on: February 16, 2006, 10:04:29 pm »

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

Nibbler

  • Guest
Re: SMF Intergration
« Reply #13 on: February 16, 2006, 10:08:52 pm »

Sure, use an anycontent like this:

Code: [Select]
<?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
();
?>

Logged

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: SMF Intergration
« Reply #14 on: February 16, 2006, 10:15:06 pm »

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

Nibbler

  • Guest
Re: SMF Intergration
« Reply #15 on: February 16, 2006, 10:21:02 pm »

Set

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

and

ssi_recentTopics(10);
Logged

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: SMF Intergration
« Reply #16 on: February 16, 2006, 10:24:25 pm »

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

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: SMF Intergration
« Reply #17 on: February 16, 2006, 10:32:05 pm »

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
« Last Edit: February 17, 2006, 12:15:22 am by will »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: SMF Intergration
« Reply #18 on: February 17, 2006, 07:44:08 am »

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

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: SMF Intergration
« Reply #19 on: February 18, 2006, 12:48:35 pm »

Ok Thanks Gaugau ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.