Hi,
i use the galery2 random block.
I put the tables of my galery2 module to another database.
Now i would like to point the block to the other databse, instead of the nuke database.
Here the code of the block:

Nuke uses the $dbi variable to hold the database connection information so you'll need to create a new set of connection data to enable the block to connect to the database, then you would need to alter the tables names to suit the ones you are using.
Sorry I cannot help you more but I don't really have the time to write all the code for it.

I'm not sure where you got that block. The one I am using on my site (webmhcc.org) is entirely different and comes from the Gallery2 Integration site. The file name is block_G2_Imageblock. You might want to check for an update.

I'm not sure where you got that block. The one I am using on my site (webmhcc.org) is entirely different and comes from the Gallery2 Integration site. The file name is block_G2_Imageblock. You might want to check for an update.

fkelly I was interested in checking out the random block that your running on your site "web.hcc.org".
Pretty hard when I get NukeSentinel's "You have been blocked from entering this site."

Sorry, traveling. Post your IP here or PM it to me and I will look into the situation but probably not until Monday. I have many non-USA IP's blocked since my site is for bicycle riders in Upstate NY. I'll be happy to make exceptions.

The G2_Imageblock I mentioned works great, I must say. There are several customization options in the code that you'll want to look at. But basically, on each page load, a random picture from your Gallery loads in a left side block and people can click it to go to the underlying picture and album.

Just did some looking around. No guarantees, but I think you need to go to

[url]http.nukedgallery.net[/url]

and get the latest integration pack (.063 from March of 2007). I just have the prior one to that on my site. Then look in the blocks directory and there should be the g2_imageblock that I referenced. You may need to register with that site to download anything.

Sorry, traveling. Post your IP here or PM it to me and I will look into the situation but probably not until Monday. I have many non-USA IP's blocked since my site is for bicycle riders in Upstate NY. I'll be happy to make exceptions.

The G2_Imageblock I mentioned works great, I must say. There are several customization options in the code that you'll want to look at. But basically, on each page load, a random picture from your Gallery loads in a left side block and people can click it to go to the underlying picture and album.

Hi fkelly.. After intense reading and testing of Gallery Video 2.24 (which does the job) Ive discovered that my webhost is running the in safe mode so I wont be able to use it.
Appreciate your help and willing to add my ip to you ok list but we've still got about 7 months left with the present host and will be looking for a better one when our contract runs out.
I found HTTP Video Stream V4.53 and am running that at the moment.

Rubinho: if you have the G2_imageblock.php file in your /blocks directory then when you go into the Admin program ... blocks ... you should have it listed in the filenames area and be able to activate it. The blocks admin program looks thru that directory for block files so if it's there it should show.

Nimis, independent of my exalted moderator status, I run a web site. I too was using a brain dead host until I switched over to Raven. As you know from working with Gallery, it is a HUGE program ... I'd estimate that I spend as much time on that as the rest of my site combined ... but I'd highly recommend Raven's hosting for running it. Last year he switched over to something called PHPsuexec (I think I spelled that right) and it really helps eliminate many permissions problems that plague Gallery on other shared hosts. Raven will also work with you if you run into resource issues whereas many other shared hosts will tell you to go pound salt.

Nimis, independent of my exalted moderator status, I run a web site. I too was using a brain dead host until I switched over to Raven. As you know from working with Gallery, it is a HUGE program ... I'd estimate that I spend as much time on that as the rest of my site combined ... but I'd highly recommend Raven's hosting for running it. Last year he switched over to something called PHPsuexec (I think I spelled that right) and it really helps eliminate many permissions problems that plague Gallery on other shared hosts. Raven will also work with you if you run into resource issues whereas many other shared hosts will tell you to go pound salt.

As I am and will be using Ravens Scripts, your tip on his hosting is very interesting. I'll have to place en enquiery to them.

As for pounding salt, that was very well put. What every happened to customer service.

Again.. truely appreciate the correspondence and help Ive received so far..

View next topicView previous topic
You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou can attach files in this forumYou can download files in this forum