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 0.2.0 source?
Keep it civil, do not flame or bait other users. If you notice anything illegal or inappropriate being discussed, contact an administrator or moderator.

wackytic - Group: Member - Total Posts: 0
user_avatar
Gelbooru 0.2.0 source?
Posted on: 01/07/09 05:01PM

lozertuser any chance of publishing version 0.2.0 source?

I've tried installing the available 0.1.9, but it has way too bugs to be useful for anything and I these bugs are fixed in 0.2.0. I did some modifying on 0.1.9 in order to make it work, but then I gave up because there are just too much things to be done...



lozertuser - Group: The Fake Administrator - Total Posts: 2218
user_avatar
Posted on: 01/07/09 07:25PM

What exactly are these bugs you are experiencing? I'm sure other users are having the same issues as you and I would like to know so I can release updates to the code to fix these problems.



wackytic - Group: Member - Total Posts: 0
user_avatar
Posted on: 01/08/09 02:36AM

I've got some errors in the forum forum_view.php with non working string output construction for output (a few times in the script), nevertheless resulting in nonfunctional forum.

Also there are some full links in different php and javascripts, pointing to a given function to gelbooru than need to be replaced with relative URLs.

When I've installed the script and set admin user/pass I couldn't log with them later on, so had to manually edit the SQL to add an email address and then use the forgot password to get a new password (used the same as in install) and it worked. Haven't checked where the problem with that lies exactly yet, but just in case there should be a field for email for the admin user ;)

I've noticed that there are some tags for images I've added that show in the list with lets say 1,2,5 etc. images, but when I click on the tag I only get a nothing found error. On other tags I see a higher number of images than actually being displayed. I though it might be some problem with the cache, but deleting the cache files didn't help in any way.

Another problem, which is specific only for older versions of mysql are the additional SQL functions required for notes to function correctly. This one requires MySQL 5.0, because on older versions the custom function doesn't support all the required features. Any workaround for that, maybe a php script that replaces the user functions in mysql?

When I post a comment under a picture I get posted on and then a unix time like 1231365123 instead of the human readable date. This can easily be fixed and in the comments list it is working with the normal date...

There wore some functions not behaving as they should, but I should check to see which ones they were and what was wrong with their behavior. These are the things I've remember at the moment, but there are probably some more that I forgot about and some I still haven't discovered yet.



lozertuser - Group: The Fake Administrator - Total Posts: 2218
user_avatar
Posted on: 01/08/09 12:06PM

Awesome, I'll get to work on ironing these bugs out. Time for a clean install on my system. Thanks for the report. Now it's time to fix this installer... Again.



wackytic - Group: Member - Total Posts: 0
user_avatar
Posted on: 01/08/09 01:27PM

I can help with that if you need some help, I'm already quite familiar with the scripts... ;)



lozertuser - Group: The Fake Administrator - Total Posts: 2218
user_avatar
Posted on: 01/08/09 01:56PM

Disable the stopword file for MySQL and also set the minchar length to 1.

After that is done, please run "repair table posts;" in the MySQL command prompt.

This is why you may have had issues with the search. The patches are done, or at least I think so. Will be updating download momentarily.



wackytic - Group: Member - Total Posts: 0
user_avatar
Posted on: 01/08/09 02:00PM

Ok, I'll try to see how is everything working now...



lozertuser - Group: The Fake Administrator - Total Posts: 2218
user_avatar
Posted on: 01/08/09 02:14PM

Also, run it on the forum tables since we use full-text there as well for searching. :D



wackytic - Group: Member - Total Posts: 0
user_avatar
Posted on: 01/08/09 03:12PM

You should add this in the readme as a way to check the minimum value for the fulltext search:
SHOW VARIABLES LIKE 'ft_min_word_len';

It was set to the default 4 and as expected I had problems with 3-word tags... ;)

I would not recommend setting it to 1 or 2 because there might be some performance issues when the content becomes more. I think that 3 should be more than enough for the tags and for the forum too.

Also the ft_min_word_len and the ft_stopword_file cannot be changed dinamically, they have to be set in the mysql config file and the server restarted. This could be a problem if you are not on your own server, so hosting should be carefully decided upon...

Also check the following files, they still have hardcoded full urls to gelbooru and not relative paths:
image_data.php
post_view.php
application.js



lozertuser - Group: The Fake Administrator - Total Posts: 2218
user_avatar
Posted on: 01/08/09 03:41PM

Application.js isn't used, I'll remove it from the downloads, post_view only has a url that links to our page if their javascript is off. I forgot about image_data.php.

*Edit*
Files updated. Affected files are post_view and image_data.php



add_replyAdd Reply


1