Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Random Image Generation Code  (Read 3505 times)

0 Members and 1 Guest are viewing this topic.

SoulFlame

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • Lands of the Shifting Winds :: A NWN PW
Random Image Generation Code
« 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?
« Last Edit: September 11, 2004, 01:25:35 am by Nibbler »
Logged
If you are a NWN Player and want to take part ina true RolePlay world, check out http://losw.co.nr

Nibbler

  • Guest
Re: Random Image Generation Code
« Reply #1 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.
Logged

SoulFlame

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • Lands of the Shifting Winds :: A NWN PW
Re: Random Image Generation Code
« Reply #2 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?
Logged
If you are a NWN Player and want to take part ina true RolePlay world, check out http://losw.co.nr

Nibbler

  • Guest
Re: Random Image Generation Code
« Reply #3 on: September 11, 2004, 01:15:06 am »

Issue resolved via IM, SSI needed changes to work with cpg and ipb in different databases.
Logged

SoulFlame

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • Lands of the Shifting Winds :: A NWN PW
Re: Random Image Generation Code
« Reply #4 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.
Logged
If you are a NWN Player and want to take part ina true RolePlay world, check out http://losw.co.nr

EJRaven

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Random Image Generation Code
« Reply #5 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!
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.