Notice: My personal stance on AI generated artwork. Retweet and share if you agree. Let us discuss, and not immediately scream bloody murder.

Now Viewing: Gelbooru source 0.1.11 is released. Get it here!
Keep it civil, do not flame or bait other users. If you notice anything illegal or inappropriate being discussed, contact an administrator or moderator.

Foremath - Group: Member - Total Posts: 103
user_avatar
Posted on: 08/31/10 03:20PM

cypherpunks said:
Batch upload. It useful.
May be do this for user this admin rights?

Or upload by FTP. And after uploading, we point the folder and add images to DB this same tags.
Please!


Batch upload via file exists in SVN/0.1.11 (batch_add.php; files go in import/TAG, where TAG is a single tag the image will be tagged with; this is non-recursive).

And in other news, I've completed a bulk editor (modified includes/post_list.php with tweaks to includes/posts.php, script/global.js, and classes/search.class.php).

post_bulkedit.php: pastie.org/1129642
Patch for other files: pastie.org/1129803
(Note that this patch includes some changes to default.css I made to look more like Gelbooru 0.2.0.)
post_bulkedit.php, of course, goes in includes/.



lozertuser - Group: The Fake Administrator - Total Posts: 2230
user_avatar
Posted on: 08/31/10 06:53PM

Or they go in import/tag tag2 tag3 tag4 etc. This is a recursive script. It scans the whole directory of import if I'm not mistaken. You can have multiple tags on the folder.



Xoo - Group: Member - Total Posts: 6
user_avatar
Posted on: 11/04/10 02:07PM

What is the lastist version you could offer? as these are still kind of old.



lozertuser - Group: The Fake Administrator - Total Posts: 2230
user_avatar
Posted on: 11/04/10 06:08PM

0.1.11. It's on our SVN.



Phendrana - Group: Member - Total Posts: 1
user_avatar
Posted on: 01/01/11 01:37PM

What's the SVN URL?



boyevul - Group: Member - Total Posts: 1
user_avatar
Posted on: 01/03/11 05:57PM

Multiple file uploads is accomplished by cloning the php code for the upload, changing "file" to "file2" in the cloned code, adding a second file field with a name of "file2", and taking out the extra include for header.

Rinse and repeat for however many fields you want. (Boyevul.com w/ a working example.)

*Edit* pastie.org/1427471 - probably a cleaner way of doing this, but here's an example. You could probably redefine tags, rating as well for file2 (and 3 and 4 and 5 and 6 and so on) for multiple tag/rating/title/fields.



DaHentaiGuy - Group: Member - Total Posts: 7
user_avatar
I'm confused
Posted on: 01/27/11 08:22PM

What's PHP console? I have something called PHP myadmin which is NOT a console/text display. It's a visual browser display. How do I use it in place of the "PHP console" for this? Please explain.



DarkSniper - Group: Member - Total Posts: 3
user_avatar
SVN
Posted on: 02/11/11 12:31PM

I'd much like to install 0.1.11 on my server, as some research indicates that it's more stable, and has some fixes over 0.1.10, my only issue is that I don't know what the SVN url is, which I'd need in order to get it.

Could someone please give me the SVN url?

Thanks



DarkSniper - Group: Member - Total Posts: 3
user_avatar
Posted on: 02/12/11 09:04AM

Well, I got gelbooru installed successfully, and it works flawlessly, but I'm still kinda lost on how to use the batch_add script. Could anyone give me some pointers on this? I'd like to add a few hundred images, already sorted into tag-folders, and the batch_add script sees them, and recognizes the intended tags, but doesn't do anything beyond that.



lozertuser - Group: The Fake Administrator - Total Posts: 2230
user_avatar
Posted on: 02/12/11 09:36AM

Make sure permissions are set so it can write into the folders. I'd have to look at the code to remember how it operates, but I think that may be permission errors for writing. I'll get back to you when I'm certain.



add_replyAdd Reply


1234 5 67891011»