coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: SoulFlame on September 10, 2004, 10:59:47 PM

Title: Random Image Generation Code
Post by: SoulFlame on September 10, 2004, 10:59:47 PM
Greetings, I'll jus tstart by saying that I love the power and usability of Coppermine. I only have one snaffu with it, and it is minimal at best.

I'm looking for the random image code to put in a block on my homepage (http://losw.co.nr, a Invision powered board). I'm having trouble finding the code to add into the custom block for it to work though. Can someone give a newb a hand?
Title: Re: Random Image Generation Code
Post by: Nibbler on September 10, 2004, 11:06:40 PM
Depends how the blocks work. If they are php code then have a look at the SSI mod, if it can be an RSS feed then try the RSS mod.
Title: Re: Random Image Generation Code
Post by: SoulFlame on September 10, 2004, 11:14:36 PM
When I just tried the SSI code, i could no longer load the page. No idea what RSS is, so have no clue what you mean.

I'm obviously not a full time webdev, but I have a good understanding of the basics. The way the Portal I use for invision works, is you create a new block and paste in the code. Its a pretty simple process, however it didn't like that include function. Knowing this, could someone post what the code for the black would look like?
Title: Re: Random Image Generation Code
Post by: Nibbler on September 11, 2004, 01:15:06 AM
Issue resolved via IM, SSI needed changes to work with cpg and ipb in different databases.
Title: Re: Random Image Generation Code
Post by: SoulFlame on September 11, 2004, 01:15:24 AM
Nibbler is DA MAN. That is all that needs to be said.

I contacted him on MSN for a little help with my problem, he took over and worked for over an hour and a half to fix it. Now I'm runnign with a perfect custom random block.

YOU ROCK.
Title: Re: Random Image Generation Code
Post by: EJRaven on September 13, 2005, 01:40:02 AM
Can you post the code, I'm have the same issue, I have the ability to createt custom blocks (php and html) but I need to code.

My portal: www.armoredcoreonline.com
My gallery: www.armoredcoreonline.com/acgallery

Thanks a lot for the help!