PDA

View Full Version : BBCode: Loading thumbnails from Coppermine into a post


reismarktq2
01-13-2008, 05:04 AM
I run a Survivor fansite, and we've just installed the latest version of Coppermine (1.4.14) in an effort to organize our vidcaps and streamline the process of uploading them. What I'd like to do is add a BBCode that will allow our vidcappers to load the thumbnails (with links to the full pictures) from a Coppermine album into a post, and I need some help in making that happen.

I've installed the CPMfetch mod (http://cpmfetch.fistfullofcode.com) with the aim of using it as the courier between Coppermine and my vBulletin boards (which are the current 3.6.8 PL2). You can see from looking at the CPMfetch documentation here:

http://cpmfetch.fistfullofcode.com/docs/development_basic/cpmfetch/tutorial_gettingStarted.Walkthrough.pkg.html

that CPMfetch is able to work its magic with a simple PHP code block. The logic, as far as I've been able to figure out, is to place the CPMfetch code into a vBulletin plug-in and then create a BBCode with a param for the specific album. The plug-in would use the param to generate its output and pass back to the BBCode.

Thing is, I have pretty much no idea how to implement something like this - where the plug-in (plug-ins) would hook in, what other things I'd need to consider - and I'm not even sure if this is the right way to approach such a task.

Anyone more knowledgeable about the inner workings out there that could give me a hand? It'd be greatly appreciated... :D

reismarktq2
01-15-2008, 09:01 PM
*bump*

Really need the help on this one... and soon.