[Burichan]  [Futaba]  [Kusabax]  -  [WT]  [Home] [Manage]

Subject   (new thread)
File []
Password  (for post and file deletion)
  • Supported file types are:
  • Maximum file size allowed is 1000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.
  • Currently 1136 unique user posts. View catalog

File 136530044059.jpg - (158.75KB , 1920x1080 )
59524 No. 59524 hide watch expand quickreply [Reply]
So I got everything installed and when ever I try to login it just refreshes the page. If I click the "home" button it downloads a file called, "download". Please help me guys :)
8 posts omitted. Click Reply to view.
>> No. 59534
sounds like you have php5 issues?

check these(do in the order listed, if it dont work, revert changes and move down the list, dont do any more if it starts working):

the .htaccess file, does it have the doctype for php? if it does, try removing it, if not, try adding it (it should work without it, but it can sometimes cause issues)

make sure apache is loading the php5 module.
restart apache

add this to php5.conf
AddType application/x-httpd-php .php4 .php5
restart apache

try adding it to .htaccess!
Message too long. Click here to view the full text.
>> No. 59535
What about this?
Its my error logs from domain.com

PHP Warning: session_start(): open(/var/php_sessions/sess_91ad60f4a01684f1c3cdfd32f2e321a2, O_RDWR) failed: No such file or directory (2) in /hermes/bosoraweb137/b2963/dom.qwertychanorg/public_html/kusabax/manage_page.php on line 31
PHP Warning: Unknown: open(/var/php_sessions/sess_91ad60f4a01684f1c3cdfd32f2e321a2, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is co
20130406T212826: www.qwertychan.org/kusabax/manage_menu.php
>> No. 59539
So I figured it out thanks to google. But thanks so much for the suggestions! So lines 31 and 21 were "replace session_start()" and I then i replaced them with session_save_path(“/tmp”); session_start();

that worked!

File 139438976759.png - (493.79KB , 1366x662 , 139411284362.png )
60483 No. 60483 hide watch quickreply [Reply]
>> No. 60507
>> No. 60776

File 135980676428.png - (8.81KB , 984x222 , xploit.png )
59067 No. 59067 hide watch expand quickreply [Reply]
Hey /sup/

there is exploit on read.php
fix it.
6 posts omitted. Click Reply to view.
>> No. 59085
Deprecated: Function split() is deprecated in /main/inc/func/calculations.php on line 5

Deprecated: Function split() is deprecated in main/inc/func/calculations.php on line 35

try to sqli it.
>> No. 59086
svn resolves this issue,

or, open the file, and replace "split" with "explode"

this is not a issue
>> No. 60456
<a href=http://paris-tilsitt-hotel.com/#zb9a>buy xanax online</a> much does 1mg xanax sell - 1mg xanax fear flying

File 139202345985.png - (25.79KB , 678x768 , 1391945277752.png )
60398 No. 60398 hide watch quickreply [Reply]
Hi All!
Help please! How to get rid of the messages of this kind >>/simg/7517? It is necessary that the message should only be permitted one or two </ br>. I think this is a big bug kusaba. I found some code on the topic, but do not know where and how to insert it. I think the solution to this problem would be helpful to everyone. Any ideas?

This code:
$string = preg_replace('/(<br[^>]*>)(?:\s*\1)+/','$1',$string);

>> No. 60399
Ok. Kind of figured out where to insert. Lead line 303 in board.php to the form
$post['message'] = preg_replace('/(<br[^>]*>)(?:\s*\1)+/','$1',$post_message);

I'm not very good at regular expressions. But it completely removes the indentation. Prompt how to change the string, so you can use one maximum indentation. I will be grateful.
>> No. 60454

File 136724492310.gif - (307.42KB , 500x222 , Spinning whore.gif )
59678 No. 59678 hide watch expand quickreply [Reply]
How can i create a hidden /staff/ board?
7 posts omitted. Click Reply to view.
>> No. 59705
Is there a way to make posts or images not show in your Recent Posts/Images section from a hidden staff board?
>> No. 59706
add a check for the secret boards wherever you're checking a board directory and just don't include them.
>> No. 60601

File 138154583527.jpg - (3.75KB , 124x110 , 1380924263099s.jpg )
60088 No. 60088 hide watch expand quickreply [Reply]
Alright, this is getting out of hand. For some unknown reason, my board is getting spammed with CP on a daily basis. I've put up CAPTCHA, banned a fuckton of IPs and Proxies but to no avail. Does anyone know where these spammers come from and WHY do they specifically target chan sites and post CP on them? Also it would be great if anyone could share their counter-measures to these attacks.
10 posts omitted. Click Reply to view.
>> No. 60181
there might be but i'm not aware of any.
>> No. 60451
How does one exactly USE the Image similarity filter? Is it all automatic?
>> No. 60463
when a post is made it checks the hash of the current image (if there is one) against the stored hashes of previous images, and if it's close enough it blocks the post.

there's a config file to set up but everything else is automatic.

File 139371471959.png - (94.42KB , 1366x660 , would you love monsterman.png )
60440 No. 60440 hide watch quickreply [Reply]
These errors appeared after I posted the MP3 file. These errors can be corrected?
>> No. 60441
>strict standards
>Kusaba X
>pick one
>> No. 60444
File 139375554829.jpg - (23.25KB , 304x344 , Are you retarded.jpg )
>> No. 60450

File 13938064388.png - (14.12KB , 829x478 )
60445 No. 60445 hide watch quickreply [Reply]
can't post anything, board.php no access?

File 139240677440.jpg - (577.07KB , 1675x1200 , ohwin.jpg )
60406 No. 60406 hide watch expand quickreply [Reply]
double posting test
9 posts and 1 image omitted. Click Reply to view.
>> No. 60416
I solved the problem in the following way:
open the file posting.class.php and find the function: CheckReplyTime() and bring to a form:

function CheckReplyTime() {
global $tc_db, $board_class;

/* Get the timestamp of the last time a new thread was made by this IP address */
$result = $tc_db->GetOne("SELECT MAX(timestamp) FROM `posts` WHERE `boardid` = " . $board_class->board['id'] . " AND `parentid` != 0 AND `ipmd5` = '" . md5($_SERVER['REMOTE_ADDR']) . "' AND `timestamp` > " . (time() - KU_REPLYDELAY));
/* If they have posted before and it was recorded... */
if (isset($result)) {
/* If the time was shorter than the minimum time distance */
if (time() - $result <= KU_REPLYDELAY) {
exitWithErrorPage(_gettext('Your error text.'), _gettext('Your error text2.'));
Message too long. Click here to view the full text.
>> No. 60429
File 139322062611.jpg - (74.16KB , 300x462 , 126058728259.jpg )
I modified two things in the code and it worked fine here.
("$results" to "$result" and "GetAll" to "GetOne")

>> No. 60443
Probably the OP just want to double posting the same text, not limit the time of posting (that you can edit in config.php)

File 139327362782.jpg - (196.54KB , 1345x556 , Безымянный.jpg )
60430 No. 60430 hide watch expand quickreply [Reply]
How to disable loading identical pictures?
1 post and 1 image omitted. Click Reply to view.
>> No. 60432
Оп, уже раскомментирована. Сейчас напишу.
Какой-то он поехавший, а что у тебя за борда?
>> No. 60433
>> No. 60438
Thanks, dude.

File 139361385414.jpg - (7.48KB , 480x360 , Gracie_films.jpg )
60435 No. 60435 hide watch quickreply [Reply]
How can i change my imageboard's font?
>> No. 60436
learning html and css
>> No. 60437
No i don't mean to learn HTML and CSS.

File 139322026829.jpg - (72.79KB , 400x388 , 1383114998606.jpg )
60428 No. 60428 hide watch quickreply [Reply]
Whenever I try and install through install-mysql.php

I get these errors:
Warning: require(config.php): failed to open stream: No such file or directory in /home/kchanx10/public_html/install-mysql.php on line 69

Warning: require(config.php): failed to open stream: No such file or directory in /home/kchanx10/public_html/install-mysql.php on line 69

Fatal error: require(): Failed opening required 'config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kchanx10/public_html/install-mysql.php on line 69

I tried just using install.php but that just says it can't find config.php either.

File 134980088563.gif - (8.63KB , 49x49 , awesome dance.gif )
58204 No. 58204 hide watch expand quickreply [Reply]

How to make GIF thumbnails play automatically?
17 posts omitted. Click Reply to view.
>> No. 59338
> and most of the time they are scrambled
Hey, Jimmy, could you please to tell if this scramble goes from Kusaba X or ImageMagick?
>> No. 59344
File 136382257333.gif - (444.61KB , 720x300 , basic3.gif )
its a bit of both
*TL;DR, go to bottom of post for fix*

Kusaba calls imagemagick as default, with no options but the needed ones,
the scrambling is with imagemagick and the way it handles some gifs,
(gifs are made from lots of still images, *moreyouknow*)

compressed gifs start with the first image, then on the next frame it contains only changed pixels, overlapped on the first image, then the third is overlapped on the second, that's on the first image, ETC

when it is thumbnailed, this kind of gifs mess up, often ending in scrambled gifs(*artifacts*, see attached image, the more a image moves, the more if fucks up)

with imagemagick, there is a way to fix this with a flag, although it will increase the time it takes to thumbnail the image,
the way this flag works is by making imagemagick draw the first frame, then for the second it draws the first and second(then saves it), then the third it uses the second from memory to be used, along with the third image, to produce another frame.
so with this flag, it will have to process every image 3 times.
Message too long. Click here to view the full text.
>> No. 60427
<a href=http://www.wickman-group.com/docs/#aw4d>xanax 2mg</a> xanax side effects zoloft - xanax pills identification

File 139278054877.png - (25.26KB , 403x414 , 13011916606.png )
60421 No. 60421 hide watch expand quickreply [Reply]
Well I'm getting very heavy traffic in my board now and my hosting keeps locking me down because of it. They asked me if I could try adding some sort of caching mechanism, where the script does not need to generate a new page with every request so helps to lower the over load that a script will cause. I have no idea how to do this and I'm pretty much left with no choice but to close down everything until I resolve this. Halp?
1 post omitted. Click Reply to view.
>> No. 60424
tell your host this:

"HERP DERP DERP, the software comes with a cache enabled with no way to disable it, its one of the features of the software, when browsing it serves up static html pages."

your host (if they are a good host) will have a page where you can see your most frequently visited pages, post the top 5 here and i might be able to help :)
>> No. 60425
You can add caching directives to .htaccess as well... see the html5 boilerplate on github.

With Kusaba you shouldn't need it though. Maybe caching images would help.
>> No. 60426
Rent a VPS, DigitalOcean is great and cheap enough, Kusaba was not made to run on a shared host for much time because its generates thousand of HTML files after each post, and this is inefetive as hell, disk write is very expensive for any software.

File 139264677161.png - (673.04KB , 591x545 )
60418 No. 60418 hide watch quickreply [Reply]
has anyone ever figured out how to make images expand when you click them instead of when you click the filename link?
>> No. 60419
It's done from the templates.
>> No. 60420
Replace all in img_board_page.tpl: (the are 5 occurances)

href="{$file_path}/src/{$post.file}.{$post.file_type}" onclick="javascript:expandimg('{$post.id}', '{$file_path}/src/{$post.file}.{$post.file_type}', '{$file_path}/thumb/{$post.file}s.{$post.file_type}', '{$post.image_w}', '{$post.image_h}', '{$post.thumb_w}', '{$post.thumb_h}');return false;">

Add following function to kusaba.js
function expandimg(PN, H, F, C, G, E, A) {
element = document.getElementById("thumb" + PN);
var D = '<img src="' + F + '" alt="' + PN + '" class="thumb" width="' + E + '" height="' + A + '">';
var J = '<img src="' + F + '" alt="' + PN + '" class="thumb" height="' + A + '" width="' + E + '">';
var K = '<img src="' + F + '" alt="' + PN + '" class="thumb" height="' + A + '" width="' + E + '"/>';
Message too long. Click here to view the full text.

File 135874888156.jpg - (87.13KB , 600x800 , 135732373530.jpg )
58955 No. 58955 hide watch expand quickreply [Reply]
I want to add to news.php this:
"Number of posts in the last 24 hours: XXX"
Is there any simple way to get the number of posts in the last 24 hours pasting some code?
Thank you for your help!
23 posts and 1 image omitted. Click Reply to view.
>> No. 59216
I'm not the OP, but I'm interessed in the code.
Is there a way to show the posts done in each board?
For example, ONLY the posts done in /b/ in the last 24 hours.
>> No. 60405
<a href=http://mccallwilder.com/new/#2u0>Going Here</a> valium green pill 477 - valium prescription drug
>> No. 60417

File 139109133131.jpg - (233.37KB , 1920x1080 , maxresdefault.jpg )
60381 No. 60381 hide watch expand quickreply [Reply]
Hello @ all

I have been wondering how to implement an image hover full screen on mouse-over (like 4chan)?

Any ideas?
5 posts omitted. Click Reply to view.
>> No. 60394
UPDATE for the template file:
href="{$file_path}/src/{$post.file}.{$post.file_type}" onmouseout="javascript:imgshrink();return false;" onmouseover= "javascript:imghover('{$post.id}','{$file_path}/src/{$post.file}.{$post.file_type}', '{$post.image_w}', '{$post.image_h}');return false;" onclick="javascript:expandimg('{$post.id}', '{$file_path}/src/{$post.file}.{$post.file_type}', '{$file_path}/thumb/{$post.file}s.{$post.file_type}', '{$post.image_w}', '{$post.image_h}', '{$post.thumb_w}', '{$post.thumb_h}');return false;">
>> No. 60396
I just tried your code but the image that's supposed to be "hovered" just appears on the bottom of the page under the board list. How could I fix that?
>> No. 60404
Sorry I forgot the CSS:

max-width: 100%;
/*max-height: 100%;*/

File 137839553411.jpg - (3.20KB , 358x23 )
60006 No. 60006 hide watch expand quickreply [Reply]
There's some way I can make boards with new posts appears in navbar with bold?

Pic related: /b/, /am/ and /jo/ has new posts, so they're with bold text.
3 posts omitted. Click Reply to view.
>> No. 60183
>> No. 60379
>> No. 60402
quite easy to do.. Edit the templates you'll have to add some stuff to board-post.class btw (header function)

File 139168396539.jpg - (27.29KB , 450x338 , uFpcXCvdegA.jpg )
60395 No. 60395 hide watch quickreply [Reply]
I put the userscript for imageboard, and this stopped working delete posts and reports.
Userscript - http://userscripts.org/scripts/version/157754/615348.user.js
Probably the case in the script, but it may be possible to change the names in the form, for example?

File 138525198344.png - (2.00KB , 321x47 )
60195 No. 60195 hide watch quickreply [Reply]
How long till threads that are marked for deletion, are automatically deleted?
>> No. 60200
How do I set 'recent posts' not to expire?
>> No. 60350
>How do I set 'recent posts' not to expire?

I need this too
>> No. 60382
go to board options and set "mark page" one page more than "maximum board pages"

File 135480859262.png - (243.54KB , 600x600 , patch.png )
58562 No. 58562 hide watch expand quickreply [Reply]
Just got spammed by some russians how can i wipe all the boards?
13 posts omitted. Click Reply to view.
>> No. 58585
email me info to this if you dont mind :)
>> No. 58652
I trust my source on this but i'm trying to get a working exploit together to send you, so if I can I will eventually.

If not, umm, it's still a shit captcha.
>> No. 58653
File 135597095644.png - (249.13KB , 1360x9634 , kusabacaptcha.png )
wow. that worked even better than expected.

File 139062161528.jpg - (167.24KB , 500x423 , 1388098720444.jpg )
60356 No. 60356 hide watch quickreply [Reply]
How to make a search for threads/posts for users?
>> No. 60361

File 13904672002.png - (266.08KB , 553x399 , 1390415323299.png )
60343 No. 60343 hide watch quickreply [Reply]
>> No. 60370

File 136034808476.jpg - (59.11KB , 355x500 , V_for_Vendetta_by_EzraShadowstorm.jpg )
59105 No. 59105 hide watch expand quickreply [Reply]
How to add automatic update in threads (when you are inside a thread)? I have a board with medium/high activity and this would be interesting... thank you.
17 posts and 2 images omitted. Click Reply to view.
>> No. 60312
fixed, my css had some fixed width in the body that was fucking shit up
>> No. 60325
>> No. 60337

File 138387772436.jpg - (401.88KB , 1280x2880 , 137722111098.jpg )
60177 No. 60177 hide watch expand quickreply [Reply]
I'm having a problem with posting delay.
I've set x time as delay between posts, but the user can post before that timer expire without a problem, even tough if the user make a new thread, the thread creation delay works with both new threads and new replies, but reply to reply and reply to new thread delays don't seem to work at all.
4 posts omitted. Click Reply to view.
>> No. 60318
jmyeom's svn fix:
>> No. 60323
There is a simpler solution?
>> No. 60336
In SVN-version this problem is also present. Please help me! How to remove this bug?

File 139022584588.png - (21.72KB , 1044x706 , Screenshot-1.png )
60334 No. 60334 hide watch quickreply [Reply]
Just installed, how do I get the sidebar and main page to have a style
>> No. 60362
looks like you screwed up something in config.php, your paths are incorrect.

File 139001436144.jpg - (175.16KB , 600x449 , Time for 4-chan.jpg )
60329 No. 60329 hide watch quickreply [Reply]
How to disable captcha for admin/mod/janitor?
>> No. 60330
Where the code does the validation for the captcha, add code which checks if they're logged in and skips it if they are.

File 138927619819.gif - (69.48KB , 300x100 , banned.gif )
60321 No. 60321 hide watch quickreply [Reply]
Can somebody give me a quick idea of how to make a 4chan-esque "Post Successful!" screen with Kusaba X?
I know basic php.
>> No. 60327
my svn fix,
>> No. 60328

File 137466867235.jpg - (4.85KB , 284x177 , images (2).jpg )
59933 No. 59933 hide watch expand quickreply [Reply]
I know that the catalog page can be edited on board-post.class.php.
My question is, I want to show a little extract of the thread text, not only the image. Do you know how can I do this? Thanks.
22 posts and 2 images omitted. Click Reply to view.
>> No. 60302
Wow, thank you! I'll try it. I'll tell you if it went well.
>> No. 60303
10/10! It worked perfectly.
Could you take a look into this?: >>60266
There are some Kusaba Imageboards with the quick reply feature but I don't know how to install it. Thank you.
>> No. 60322
does anyone know how to limit the number of columns?

File 138837802157.jpg - (45.17KB , 600x600 , 13878325091.jpg )
60301 No. 60301 hide watch quickreply [Reply]
Niggaz how do I add a memory limit to Kusaba like WordPress does?
>> No. 60319
google "php memory limit"

Delete post []
Report post
[0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18]