Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - dawolf

Pages: [1]
FAQ, Tips / Re: DB Error: Bad SQL Query: << ERROR/FEHLER with/mit mySQL 5
« on: November 18, 2008, 12:29:12 PM »
Based on Vano's post I corrected this problem by running a perl command from the shell in the 4images root dir, the \admin dir and the \includes dir:

Code: [Select]
perl -pi '-es/(FROM\s+)("\.[A-Z_]+\."\s+[a-z]+,\s*"\.[A-Z_]+\."\s+[a-z]+)/$1($2)/g' *.php
This might be useful for people without access to Ultraedit. Feel free to update Vanos post with this information, i am not allowed to reply there.

Remember to BACK UP everything before you try this!

Mods & Plugins (Requests & Discussions) / Admin Tools
« on: December 10, 2002, 09:00:29 AM »

I am using 4images on as gallery system of choice :-)
Integration worked perfectly. 4images is really a great piece of work!

We are posting about 5 new cats each weekend (around 50 pics each) and i am going to write an admin tool which handles ZIP uploads.

You should be able to specify a (new) cat-name, ZIP file with pics in it and the script should create the category (just SQL insert into 4images_categories?! i guess its that simple) and create a directory matching the cat_id in data/media, then analyze the ZIP file (i am gonna write that code) and after that - move the images to the cat_id directory.

so far so good,
now i would like to use the "check for new images" and "create thumbs" functions from the admin suite that comes with 4images.
my question is: what functions do i have to use and what are the requirements to my script (includes, defines, etc?) to use them.

Daniel Wolf

PS: i already looked into the batch_upload plugin but it doesnt fit my needs because i need a great deal of customization

PPS: when the ZIP upload MOD is done, i can post a download location if anyone is interested.

Pages: [1]