The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
inserting coppermine images above forums
Being basically an idiot in the php world..
Is it possible to insert this php code so that it appears just above the forums on FORUM_home <?php include "./gallery/cpmfetch/cpmfetch.php"; $objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php"); $objCpm->cpm_viewLastAddedMedia(1,6); $objCpm->cpm_close(); ?> It is the code for grabbing 6 random images from my coppermine gallery using cpmfetch. all works fine... APART from where and how to insert this code. I have read lots about trying to get php into a block.. and how that needs to have a way of writing the code. but I am just baffled. If there a simple way to have these 6 image appear above the forums on teh forum.php page? many thanks David |
#2
|
|||
|
|||
I am also working on this. Will let you know if I am successful.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|