Coppermine last additions on Phpbb3 Coppermine last additions on Phpbb3
 

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

Coppermine last additions on Phpbb3

Started by brandon0007, November 26, 2008, 05:27:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

brandon0007

Hello, everyone! I hope you can help me out. I have spent the last hour searching phpbb.com and Google for a script that will allow me show my last additions from Coppermine to Phpbb3. I would like it to display the last 8 thumbnail images on my forums, which this script would go in my Overall Header.

I photoshopped an image of what I'm looking for in case I didn't explain it right.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi304.photobucket.com%2Falbums%2Fnn183%2Frememberthesedaysforever%2FForumsAfter.jpg&hash=38541297bda4a5351352fb0dd992798e12890f96)

I do have Coppermine and Phpbb3 bridged.

I hope I can get some help. Thanks in advanced.

phill104

Did you mean to mark your thread as solved?

What you are looking for is called content syndication on here.

Luckilly for you, there is a great tool called cpmfetch.

You can read all about it here.

http://forum.coppermine-gallery.net/index.php/topic,17005.0.html

As cpmfetch is so popular it now has it's own support section here.

http://forum.coppermine-gallery.net/index.php/board,87.0.html

As this thread is not really related to bridging I will move it to miscellaneous.

Hope the above helps.
It is a mistake to think you can solve any major problems just with potatoes.

brandon0007

I did not mean to mark my topic as solved. I will check that out right now. Thank you for the reply also.

I'll let you know how it works out.

brandon0007

My problem is that my overall header on my forums is in HTML, but the code seems to be in php. How can I make this work?

Joachim Müller

Ask the people who provide support for your forum. We can not provide support for phpbb3. As you need help with phpbb's code, that's beyond the scope of this board.

brandon0007

I have tried that already. The code that's going on PHPBB3 isn't even a code I need from Phpbb. I need a html script that will gather the last additions from Coppermine onto a html page.

Hein Traag


Joachim Müller

HTML is static, it can't gather dynamic data. You got this wrong: I'm pretty sure that dynamic content (PHP) can go into phpbb templates as well. Just as the phpbb people how to accomplish that. After they told you how, you can return here and take a look how this can be done using cpmFetch.

Edit: I looked this up for you, although it's beyond the scope of what you can expect from support on this board: to use PHP in phpBB templates, use the tags<!-- PHP -->
   // your PHP code here
<!-- ENDPHP -->