[Burichan]  [Futaba]  [Kusabax]  -  [WT]  [Home] [Manage]
IF YOU DO NOT READ THE COMMENTS IN CONFIG.PHP YOU VOID YOUR RIGHT TO SUPPORT

Name
Email
Subject   (new thread)
Message
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 1173 unique user posts. View catalog


File 139841111992.jpg - (839.41KB , 1064x1000 , a053a2f3c6c00e7438b1818a63a5fecf.jpg )
60684 No. 60684 hide watch expand quickreply [Reply]
How can I get $cf['KU_WEBPATH'] and $cf['KU_DOMAIN'] to point to whatever the current domain is? Like if I have two domains that both point to the same /var/www, how would I allow internal links to use the currently used domain? (so that, eg. site.com would have links in it to site.com/a/, but if i went to samesite.com, it would replace it's internal links so it would say things like samesite.com/a/ instead of linking back to site.com/a/)?
3 posts omitted. Click Reply to view.
>> No. 60689
>>60686
And you want to do .onion and not .onion version (version 2) on the same host?
>> No. 60694
>>60689
Right. I want it to be like Encyclopedia Dramatica in that users can choose between connecting directly, or connecting to a read-only hidden service (it would be read-only because I'd ban localhost from posting, and the server sees all HS connections as coming from localhost).
>> No. 60695
File 139855754036.jpg - (16.26KB , 500x360 , perv.jpg )
60695
>>60688


File 138836282120.png - (23.13KB , 418x165 , picture 5.png )
60300 No. 60300 hide watch quickreply [Reply]
How do make each post link to the posts that have replied to it?

Example in picture
>> No. 60536
bump
>> No. 60538
there's a thread about it already, look for it using the search bar
>> No. 60682
Found it.

http://pastebin.com/Y0r8hLcw

works fine.


File 139696737451.jpg - (6.96KB , 194x260 , a (2).jpg )
60581 No. 60581 hide watch expand quickreply [Reply]
How to show on the frontpage the TOTAL number of messages on the imageboard posted since the beginning? (not only current posts).
Thanks
17 posts and 3 images omitted. Click Reply to view.
>> No. 60679
>>60678
Oh, sorry, bro. I did not know you're joking, lol.

Do not know how to help with this? >>60677
>> No. 60680
SELECT SUM(file_count) FROM (SELECT COUNT(p.id) AS file_count FROM k_posts AS p LEFT JOIN k_boards AS b ON b.id = p.boardid WHERE p.file IS NOT NULL GROUP BY p.boardid) AS tmp;


But I can't add this to a PHP script now, because I'm fucking tired of PHP I don't work with PHP anymore and I don't have a configured enviroment on my current PC.
>> No. 60681
File 139830273597.png - (601.72KB , 1366x768 , 05.png )
60681
>>60680
Oh please. I need it for the catalog. PLEASE, bro.


File 139818540524.png - (62.06KB , 1338x822 , Would you love monsterman.png )
60663 No. 60663 hide watch expand quickreply [Reply]
Why php not work in "inc/pages/manage_login.html"?
3 posts omitted. Click Reply to view.
>> No. 60670
>>60669
Yes, but I tried to keep in .php, result is the same
>> No. 60671
Oh wow, if you go to the login page through "site.com/inc/pages/manage_login.html" all works. But if you go to the login page through "site.com/manage.php", that does not work.
>> No. 60672
File 139823708037.jpg - (15.03KB , 278x250 , 1381877128415.jpg )
60672
I solved this problem.


File 139810515541.jpg - (48.62KB , 407x600 , PrtScr capture.jpg )
60662 No. 60662 hide watch quickreply [Reply]
Anyone know how to solve?
>> No. 60667
Problem solved. Just cleanup a template.


File 139771864992.jpg - (69.02KB , 500x442 , 1394012669766.jpg )
60633 No. 60633 hide watch quickreply [Reply]
Quick question, is it possible to share a board between two chans? if so how?
>> No. 60664
bump
>> No. 60665
>>60664
What do you mean "share a board between two chans"?
Maybe this?:
http://4chan.yzi.me/0chan/
http://4chan.yzi.me/2ch/
http://4chan.yzi.me/dobrochan/
http://4chan.yzi.me/iichan/


File 138439086342.jpg - (6.05KB , 222x227 , images.jpg )
60184 No. 60184 hide watch expand quickreply [Reply]
Hi all, I'm not good at English so please do not be to mean to me... :P
Im new on kusabax, I've setup a website with kusaba 0.9.3 and it work very well,
but many user report a bug with new post(even reply),
the new post will not show up until user manually refresh the 'frame'. even refreshing the page via clicking CTRL+F5 or click the board name is not working, how can I fix this...?

Thanks for anyone who helped me !
1 post omitted. Click Reply to view.
>> No. 60342
Same thing is happening to me. Maybe manually including a call to rebuild the thread page after a post is made would work? Or is it maybe a browser cache issue that can be fixed by changing the meta tags in the global header? I'll experiment with some solutions and report on my findings later...
>> No. 60344
if it's the same bug i recall from years ago, cache issue is right, prevent it with the .htaccess and no-cache headers
>> No. 60657
I recently reinstalled Kusaba X and ran into this too. You may need to enable the mod_headers module for apache, and then restart it.

'a2enmod headers' and then restart apache however you normally do.


File 139779292965.gif - (9.51KB , 279x305 , stirner_head.gif )
60639 No. 60639 hide watch quickreply [Reply]
NSFW images are showing up on the front-page new images reel
>> No. 60640
imageboards are nsfw by default
>> No. 60651
use this fix instead, it gives you NSFW placemats


just delete the current one in your index.php and replace with this:

<?php include("http://yoursite.org/recentimages.php"); ?>

then upload this as recentimages.php:

http://pastebin.com/hL93tUGh


File 13975159756.png - (167.41KB , 827x378 , Would you love monsterman.png )
60620 No. 60620 hide watch quickreply [Reply]
Hello, everyone. How to get the file resolution WebM?
>> No. 60622
bump
>> No. 60631
give me link to that chan and I'll get the code for you.
>> No. 60637
>>60631
http://0chan.yzi.me/1/res/1.html#11


File 139715516941.jpg - (182.12KB , 1024x768 , 1367750212375.jpg )
60597 No. 60597 hide watch quickreply [Reply]
How can i remove a recaptcha?
>> No. 60599
don't allow it on the board, it's that simple
>> No. 60602
>>60599
i want to use captcha.php. anyway, i'd make it


File 139693772167.png - (77.54KB , 1366x768 , this.png )
60577 No. 60577 hide watch expand quickreply [Reply]
Here is where I will put the mods and tutorials I write as I revive gurochan.

Start with a simple one: Manage.php Markdown editor. makes posting new rules/faq/news easier.

https://github.com/kusaba-mods/markdown
3 posts omitted. Click Reply to view.
>> No. 60589
File 139704812236.png - (14.23KB , 299x200 , 1386406458299.png )
60589
>>60585
Why do you need help? There are thousands of similar chans. Do everything yourself, and your chan will be original, or ask for programmers, for money.
>> No. 60593
>>60577
Looking forward to see more, any chance for WebM support?
>> No. 60603
>>60593
It's not difficult. Add an html5 video player tag to the img_thread and img_board templates, add the webm type to the filetypes, then also add the types to the .htaccess file so they embed properly.

Only issue i found is with the mimetypes, could be video/webm, could also be application/octet-stream.


File 138204109831.jpg - (50.48KB , 264x616 , vork.jpg )
60100 No. 60100 hide watch quickreply [Reply]
Is there a way to set kusabax to not delete images when a thread gets pruned, making image deletion possible only by the user's exclusion panel?

If so, I'd like to know if there is something more complex, to delete those images of pruned threads after a set time.

I'd like to know that because it's possible to restore recently pruned threads through SQL commands, but the files are deleted right after the threads is pruned. This would prevent raids to delete precious content on my imageboard, because I could restore everything and get the threads with the images back. The problem with it would be that the naturally pruned threads and all their images would stay in the server forever, overloading it.
>> No. 60101
nice idea, had this issue a few times

i will look into it as soon as i have finished blowing up my server....


in a bit..
>> No. 60163
Any news?
>> No. 60570
can i undelete posts with database edit? how do they marked?


File 139650068426.png - (60.60KB , 140x252 , hi.png )
60551 No. 60551 hide watch expand quickreply [Reply]
Привет /sup/! Какая разметка у кусабы? Гугл съело бхц, яндекс продался гуглу, кто остался на рунете?
6 posts omitted. Click Reply to view.
>> No. 60563
[green]Admen 2ch.ru[/green]
[color a]1337[/color a]
>> No. 60564
>>60551
На хуй иди уебок, блядь.
>> No. 60568
File 139682816713.png - (318.86KB , 1979x1979 , 7738b43af3a172a8b10309e9aa68b308.png )
60568
Сделал себе разметку как в Вакабе. Сосите, бибикододебилы.


File 139390368346.png - (7.11KB , 794x321 , hate1.png )
60447 No. 60447 hide watch quickreply [Reply]
"Inserting default administrator account...
There is already an administrator account inserted."

manage.php blank, white site...


kusaba creators, i hope you burn in hell, i hope so much, i hate you so much!
>> No. 60448
File 139390378597.png - (43.36KB , 1280x1024 , hate2.png )
60448
>> No. 60449
do not make bla bla about "permissions" its all on 777, i hope you die very slow und gruelty, i hate you so hardcore, you can not imagine that!
>> No. 60550
Hi man, i haved this problem. I think you hosting is "hostinger". Problem with him. Text Editor no corectly work with encode(utf-8,koi,bhc cp). Кароче мой метод:
1 Качаешь оригинальный дистрибутив
2 Редактируешь блокнотом(это важно!)
3 заливаешь на хостингер
4 если хочешь чтото изменить, то
5 изменяй тот самый конфиг
6 и копипасть в хостингеровский редактор текста(именно копипастить


File 135344091494.jpg - (5.77KB , 198x250 , 1353385454557s.jpg )
58467 No. 58467 hide watch expand quickreply [Reply]
How to disable tripcodes without using the "forced anonymous" option?
I mean, keep the possibility to enter a name, but making tripcodes doesnt work, Thanks!
27 posts and 3 images omitted. Click Reply to view.
>> No. 58687
>>58683
This will include the xss patch for oekaki right?
>> No. 58689
>>58687
will include all svn updates :)
>> No. 60549
<a href=http://picadillyfarm.com/media/#wsb71z>how to buy adderall</a> buy adderall xr on line - adderall xr dosage vs. vyvanse dosage


File 13692749336.jpg - (29.98KB , 590x443 , mobile.jpg )
59809 No. 59809 hide watch expand quickreply [Reply]
Hey guys, I'm getting a lot of requests from my users to optimize the site for Mobile devices and I was wondering if this sort of thing is possible for Kusaba. Has anyone tried it and willing to give advice? Thanks!
4 posts omitted. Click Reply to view.
>> No. 59903
test
>> No. 60201
Bump, anyone with a mobile theme?
>> No. 60545
A lazy way of doing this is adding this tag to your img header/oek header on templates:


<meta name="viewport" content="width=device-width, initial-scale=1">


File 135542469986.png - (384B , 32x32 , Grid_Tripwire_Hook.png )
58578 No. 58578 hide watch expand quickreply [Reply]
Is there any "online user counters" for Kusaba X? If not, any tips/help with making one?
21 posts omitted. Click Reply to view.
>> No. 58820
Buuump, still no fix for this... I have to get this working!
>> No. 59974
>>58624
bump
>> No. 60071
>>58801
Thanks, its well work on my chan!


File 139537472486.jpg - (27.72KB , 480x369 , IMG-20130504-WA0001.jpg )
60526 No. 60526 hide watch quickreply [Reply]
Suddenly I Cant post with a topic name on my board, all permissions are correct (755).
Any idea what this could be?
Many thanks


File 139501232866.png - (43.40KB , 749x946 , qm.png )
60518 No. 60518 hide watch quickreply [Reply]
I need some help. My problem is that when i make a thread in a board the image gets uploaded in src, but no rss.xml is created and no thumbnail is generated, res remains empty as well. Also the Statistics screen isn't loading up.
I am running the server on a raspberry pi with raspbian. Could it be because of the permissions. I've set them to be 777 for the kusaba directory and all subdirectories and files. However for some reason whenever a new board is created all of the generated files have different permissions.
Pic unrelated.
>> No. 60520
I have just solved my problem turns out imagecreatefromjpeg() was undefined because I hadn't installed php5-gd library.


File 139491839747.jpg - (82.67KB , 1024x408 , screenshot.jpg )
60515 No. 60515 hide watch quickreply [Reply]
>> No. 60516
I'm click to this and open view apache dir, without page.


File 139444308925.png - (9.41KB , 457x149 )
60485 No. 60485 hide watch expand quickreply [Reply]
Can't see moderator's buttons and poster's ip when I log in as an administrator. It was ok earlier. Any ideas how to fix it?
8 posts omitted. Click Reply to view.
>> No. 60501
>Версия последняя жи
Значит она хуевая. Перекачай, перезалей.
>>60495
>С вами все в порядке?
Нет
>> No. 60504
>>60501
Как же она может быть хуевая, если она чистая, скачана с этого сайта и я её ещё никак не менял?
>> No. 60505
>>60504
Ну хуй знает. Значит с хостингом проблема, наверное.


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
>>59533
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
>>59534
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
>>59534
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!
http://support.godaddy.com/library/warning-unknown-failed-to-write-session-data-files/


File 139438976759.png - (493.79KB , 1366x662 , 139411284362.png )
60483 No. 60483 hide watch quickreply [Reply]
http://pastebin.com/MLHV5S4r
Enjoy!
>> No. 60507
thanks!
>> No. 60776
Thanks!!!


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
>>59085
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
>>60398
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
Bump!
http://translate.google.ru/#ja/ru/3%20%E4%BA%BA%E4%B8%AD%E3%80%813%E4%BA%BA%E3%81%AE%E6%96%B9%E3%81%8C%E3%80%81%EF%BD%A2%E3%81%93%E3%81%AE%E3%83%AC%E3
%83%93%E3%83%A5%E3%83%BC%E3%81%8C%E5%8F%82%E8%80%83%E3%81%AB%E3%81%AA%E3%81%A3%E3%81%9F%EF%BD%A3%E3%81%A8%E6%8A%95%E7%A5%A8%E3%81%97%E3%81%A6%E3%81%84


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
http://www.animefreak.tv/watch/yuusha-ni-narenakatta-ore-wa-shibushibu-shuushoku-wo-ketsui-shimashita-episode-7-online


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
>>60180
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 )
60444
>>60441
>> No. 60450
bump


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 )
60429
I modified two things in the code and it worked fine here.
("$results" to "$result" and "GetAll" to "GetOne")

http://pastebin.com/3eWkHSLx
>> 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)


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