The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Coppermine cpmfetch plugin
I have Coppermine installed/working in integrated mode thanks to Hellcat and https://vborg.vbsupport.ru/showthread.php?t=101995
What I'm trying to do now is add a random image from the gallery on the index.php. I have the php code to do it, and that is functioning fine, but after reading/studying how plugins are done I've realized I'm out of my league. Here is the code that pulls a random image Code:
<?php include "./cpmfetch.php"; $objCpm = new cpm("/gallery"); $objCpm->cpm_viewRandomMedia(1,1); $objCpm->cpm_close(); ?> Can someone either help me along to build this into a plugin or do it for me and the other Coppermine users? Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|