[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: GIF, JPG, PNG
  • Maximum file size allowed is 1000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.
  • Currently 484 unique user posts. View catalog


File 136142558673.png - (22.02KB , 600x500 , Warning.png )
59150 No. 59150 Stickied hide watch expand quickreply [Reply]
DONT RUN CLEANUPS!

bug found involving cleanups, with it randomly deleting jpegs

i am working on this.

there is another bug where it does not bother to clean up boards with lots of images.

after fixing the issue and forcing it to look at every board, to decided to delete most/all of the images in a board..


i am working on a fix, in the mean time, dont run a cleanup or you will start losing images.
8 posts omitted. Click Reply to view.
>> No. 59737
You should port it to Python/Django.


File 127291605694.png - (11.95KB , 123x38 , 3.png )
5296 No. 5296 Stickied hide watch expand quickreply [Reply]
halp me to fix fucking image uploading!
33 posts and 9 images omitted. Click Reply to view.
>> No. 59340
File 136380564327.jpg - (2.45KB , 301x301 , дрейк.jpg )
59340
ur kusaba cannot into COMPRESSION!


File 134818777316.jpg - (98.95KB , 557x720 , 1345290016912.jpg )
58025 No. 58025 Locked Stickied hide watch expand quickreply [Reply]
This thread is for updates that are in the svn, that people have asked for, to get them all you must download the svn version here:
http://kusabax.cultnet.net/svn/dl.php?path=%2Fstable%2F&rev=0&isdir=1
5 posts omitted. Click Reply to view.
>> No. 58684
NOTE: FRESH INSTALL FROM HERE.

Fixed problem with r396 sql update.

Fix for problems with tripcode, now tripcodes appear (hopfully) as 4chan does (issue with htmlspecialchar)


File 136898273720.jpg - (49.14KB , 500x498 , pFE1KAC1XNs.jpg )
59790 No. 59790 hide watch expand quickreply [Reply]
Sup, /sup/. Just installed kusabax and discovered that Russian (Cyrillic) letters "И" and "ш" are displayed incorrectly and look like huge question marks instead. How to fix it?
1 post omitted. Click Reply to view.
>> No. 59795
>>59793
It didn't help at all. And I suppose this problem is connected not with the kusaba script itself but probably with server settings or some errors in mysql settings. Because there are tons of questions on Google connected with wrong display of these two letters in different CMSs (all of them use MySQL and Unicode, btw).

I still can't find any good and useful answer how to fix it, though.
>> No. 59797
File 136900000331.png - (1.93KB , 342x78 , Untitled.png )
59797
You can also try to change the collation of your database, I dont use utf8/unicode for kusaba, but I had problems with it for others scripts.

I'm using latin1_swedish_ci for collation, and I can store cyrillic chars without problems, but you should try one more specified

http://dev.mysql.com/doc/refman/5.0/en/charset-cyrillic-sets.html
>> No. 59808
chinese characters cause "file not found" on mp3 playback

那不好


File 136911503773.gif - (109.06KB , 209x193 , 1368159049977.gif )
59801 No. 59801 hide watch quickreply [Reply]
so my chan takes too long to regenerate all boards, clear recent post, etc.

any idea why? and how can I speed things up
>> No. 59805
also any tips on how to optimize the chan?
>> No. 59806
- Disable RSS, Last 50/100 posts page generation
- Get a dedicated server
- Use Nginx + php-fpm + MariaDB
- Maybe a Nginx's instance only for static content such images and generated HTML




Kusaba when uses MySQL (I think 99% of cases) stores the data using MyISAM, I see a lot of people saying that InnoDB is better for databases with lot of write operations. and MyISAM dont support Foreign keys too.

So, jmyeom what you think about use InnoDB as engine storage for your fork, some changes will be needed because you can't have composite primary key what is used to generate different auto increments for each board. (postgresql for example solve this using triggers)

Also, anyone is using PostgreSQL? how is the perform?
>> No. 59807
>>59806
switch $cf['KU_RSS'] to false in config.php?

I do have a dedicated server, I will look into Nginx + php-fpm + MariaDB

thank you for the reply :D


File 136375398182.jpg - (6.38KB , 209x250 , 1363383653107s.jpg )
59335 No. 59335 hide watch expand quickreply [Reply]
watermark on uploaded chan pics? can anyone help? this feature would be awesome.
9 posts omitted. Click Reply to view.
>> No. 59758
you want cp spam walking the interwebs with your logo? mkay...
>> No. 59760
>>59758
Yeah, CP without the "C", lol
>> No. 59804
Any news on this please?


File 136901211291.jpg - (611.08KB , 1584x2112 , 01.jpg )
59799 No. 59799 hide watch quickreply [Reply]
Where can I make changes to the catalog.html page?
For example adding some text to it, modify the look of the table, etc.
I can't find the files to make these changes...
Thanks.
>> No. 59803
please ;_;
Where is located the catalog code?


File 136914247315.jpg - (175.37KB , 1280x1174 , technology.jpg )
59802 No. 59802 hide watch quickreply [Reply]
when I make a board all I get is a 500 Internal Service Error. I cant find any answers for this problem, please help


File 136782253961.png - (155.62KB , 1146x934 , Untitled.png )
59740 No. 59740 hide watch expand quickreply [Reply]
I already posted about it here in the past, but I totally rewrote the script this weekend, and I want to share it with you guys.

The new version has some improvements in the code, so It's more easy to maintain.

Changelog is on Github

https://github.com/exclude/kusaba-frontpage-redesign
3 posts omitted. Click Reply to view.
>> No. 59744
>>59743
*slow clap*
>> No. 59780
hey op, is it possible to make a NSFW image placemat for NSFW imageboards in the recent pictures thing?
>> No. 59800
>>59780
sure, take a look at http://chanon.ro


File 136862205197.jpg - (251.47KB , 1000x1500 , 7rbHj.jpg )
59785 No. 59785 hide watch quickreply [Reply]
How to install Quick Reply for all the posts, like 4chan?
With a little window opening to reply, or so. Thanks!
>> No. 59798
please?


File 136894780818.gif - (765.01KB , 126x126 , 1365540259615-1698058683.gif )
59788 No. 59788 hide watch quickreply [Reply]
Is there any way I can make the Name / Subject / Email work with the spam filter? Spammers are coming on every day with the same links in the name / subject fields and spamfilter.txt doesn't seem to pick this up...

Thanks.
>> No. 59796
Op here, I figured it out (I think)

In /inc/classes/posting.class.php on line ~324
After
exitWithErrorPage(sprintf(_gettext('Blacklisted link ( %s ) detected.'), $badlink));
}

Add this:


if (stripos($_POST['subject'], $badlink) !== false) {
/* They included a blacklisted link in their post. Ban them for an hour */
$bans_class->BanUser($_SERVER['REMOTE_ADDR'], 'board.php', 1, 3600, '', _gettext('Posting a blacklisted link.') . ' (' . $badlink . ')', $_POST['message']);
exitWithErrorPage(sprintf(_gettext('Blacklisted link ( %s ) detected.'), $badlink));
}
Message too long. Click here to view the full text.


File 13689175636.jpg - (6.26KB , 173x67 , Manage Boards_1368917230180.jpg )
59787 No. 59787 hide watch expand quickreply [Reply]
Ok. I was checking the report list of my IB and some idiot reported a whole board.

There's some way I can clear all the reports without doing it one by one?

Thanks in advance.
1 post omitted. Click Reply to view.
>> No. 59791
File 136898395587.jpg - (8.98KB , 506x123 , Manage Boards_1368983663754.jpg )
59791
>>59789
Thanks, but I think it didn't worked.

Pic: what I get when I do the sql query.
>> No. 59792
Thats because you're using table prefix

See the content of KU_DBPREFIX on your config.php

Then
truncate table PREFIXreports;


I should tell it before, but it will remove ALL reports, even the legit ones.
>> No. 59794
File 136899075146.jpg - (33.07KB , 399x383 , 134678338874.jpg )
59794
>>59792
Thanks, include. It worked.


File 136857958883.png - (115.37KB , 290x232 , anonibthumbsup.png )
59783 No. 59783 hide watch quickreply [Reply]
Any idea how to install a thumbs up "likes" system for images? Pic related.
>> No. 59784
interested in this as well, but I am also wondering if it's possible to make a facebook button to like the post that an user made rather than the board itself.
>> No. 59786
this would be a neat feature


File 135236722454.png - (45.99KB , 735x719 , kusaba_theme.png )
58397 No. 58397 hide watch expand quickreply [Reply]
I have a problem with my CSS styles. With all my styles, the board background goes blank when hovering a post link. Pic related, upper part is how my theme looks and under it shows how it goes when hovering a post link.
12 posts omitted. Click Reply to view.
>> No. 58423
Now got it working, just rigged my code :)
>> No. 59781
File 136847525879.jpg - (85.97KB , 705x960 , 1364478900703.jpg )
59781
How to change the CSS styles for the frames? i.e could a kind sir let me know which CSS file the definitions are located in?

>I'm noticing a lot of people having trouble with the CSS aspects of the software. Perhaps a kind someone could release a short tutorial document explaining -in detail- precisely what each definition controls and how it changes the site? I would thank you with my whole heart :)
>> No. 59782
File 136854708519.png - (91.10KB , 1675x585 , szgzgfxdfgdg.png )
59782
>>59781
1. Pick the element you want to change the css on
2. Right click > inspect (or your browser's variant)
3. Get the class, name, or id
4. Check css for corresponding rules and PROFIT!

Firefox with firebug makes it even easier (other ones may too, not sure this is all I use), see pic.


File 136829690330.jpg - (184.51KB , 580x435 , 1366175473042.jpg )
59769 No. 59769 hide watch quickreply [Reply]
are people interested in staff only boards?

while working on the fork, i noticed that part of my fork can be used as a staff only board


it needs a bit of editing to normal kusaba to get it to run, but if people are interested feel free to post and i will see what i can do
>> No. 59772
Staff-only boards sound like a great idea. I think you should do it :)
>> No. 59778
umm yes, if it works through the regular login process and uses a completely different table, that would solve a lot of people's problems with their 'staff boards that are just regular boards that don't get added to a section.'
>> No. 59779
>>59778
the idea is that it will read from your mod cookie, if no mod cookie, send to a 404 page (thus, unless a mod, nobody knows its there)

instead of regening the board, it runs of its own file, thus any board can be a staff board (make the board, then add the index.php, and change htaccess...

so, if somone goes to /kusaba/staff/, they get a 404,
if somone goes to /kusaba/staff/board.html, they get a blank board (or you can delete the file)


File 136813388577.jpg - (204.50KB , 1600x1200 , Dog.jpg )
59761 No. 59761 hide watch expand quickreply [Reply]
for some reason im getting this when i try to install.
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/a9532183/public_html/kusabax/config.php on line 179

i did not change anything on that line
7 posts omitted. Click Reply to view.
>> No. 59775
>>59774
this fixed one issue before if i clicked on the board from the homepage it wouldn't go now it does but the board is still not applying the styles.

http://www.jacrevival.tk/kusabax/gd/
>> No. 59776
got it to work by changing from futaba to burichan
>> No. 59777
One other thing lol. i have a custom index page and i changed the .htcaccess directory from kusaba.php to index.html but it still goes to the kusaba page


File 136481795055.png - (32.52KB , 965x666 , newmpus.png )
59442 No. 59442 hide watch expand quickreply [Reply]
Hello everyone, some info about 0.9.4!

I am sorry to say, that 0.9.4 will most likely not be released (from me anyway)

The reasons for this is due to the fact of the amount of changes I want to make to 0.9.4.

i.e, Planned changes (major changes, there are more apart from these)
new manage panel
Rework all manage functions
Remove/replace dwoo
Change how board viewing works (PHP, not HTML)
new, better module support
Remove config file, database driven instead

With all them changes, what of kusaba is left?
Message too long. Click here to view the full text.
9 posts and 1 image omitted. Click Reply to view.
>> No. 59755
>>59644
the "CORE" of it is going well, although no front end changes are happening right now, so no new screenshots

modules system is around 90% done, with the rest of it only adding functions (auto install plugins)

new installer script complete

redesigned templates (raintpl, not dwoo, so its faster), and board is now php, not static html

new graphs coded but not complete (html5 graphs, and more stats, like board views over posts)

xchan front page comes as standard (permission given to allow this)


more odds and ends
Message too long. Click here to view the full text.
>> No. 59756
>>59755
I'm really happy to read this, specially the "written from the scratch" part.
So, good job and nice decisions.
Good luck on you writting and congratulations to Include for his frontpage redesign. Fode sim, Brasil!
>> No. 59765
>>59756
seeing as people are still asking about this


The new board pages have been completed, this has been very hard, with code being everywhere, and trying to rewrite this has been a bit of a pain,

this means i can move back onto the manage panel, and get that completed,

after that, some tweaks are needed, and then i guess i shall be doing some closed alpha,

thanks for your patience


File 136813962354.jpg - (103.07KB , 500x333 , 1349485458487.jpg )
59763 No. 59763 hide watch quickreply [Reply]
How well does kusaba x 0_9_3 work for mobile viewers/visitors?
>> No. 59764
Works fine enough. You might want to get rid of the frames menu if you're worried about it looking presentable on phones, though. Unnecessary clutter imo
>> No. 59767
thanks for the info and for replying


File 136811711769.gif - (0.98MB , 260x146 , 1244736947317.gif )
59759 No. 59759 hide watch quickreply [Reply]
After the update of Debian, board started to display user IP-addresses as ip address of the server. Help fix this please.


File 136808586059.jpg - (28.82KB , 701x451 , 384198_470241889677030_2027194366_n.jpg )
59757 No. 59757 hide watch quickreply [Reply]
The blacklist doesn't work on the subject line...
WTF


File 136676398885.jpg - (27.50KB , 350x284 , castlevania-sotn-011.jpg )
59637 No. 59637 hide watch expand quickreply [Reply]
Last days I've noticed that my imageboard don't have the default password at the field. I didn't changed the field and I don't know what happened.
2 posts omitted. Click Reply to view.
>> No. 59748
>>59747
It was just a javascript regex I was using to swap out trips.
Here's an example snippet:
var trip = /Anonymous\<\/span\>\<span class\=\"postertrip\"\>\!Tr11Pc0d3/g; var Tag ='<span style="color:#6495ED;"><b>Anon ## Bluname</b></span><span class="postertrip"></span>'; document.body.innerHTML = document.body.innerHTML.replace(Trip, Tag);

The (poor) solution I used was along the lines of:
var setname = $("input[name='name']").val(); var setpassword = $("input[name='postpassword']").val(); $("input[name='name']").keyup(function() { var setname = $("input[name='name']").val(); }); /*(form-wiping javascript goes here)*/ $("input[name='name']").val(setname); $("input[name='postpassword']").val(setpassword);

Basically that just saves form values (here just the name and password) before running the regex, then restores them afterwards.
Though rather than do that, I'd reccomend finding a way to do it without wiping fields in the first place~
>> No. 59750
>>59748
I'm not using this script. I'm using the imagehover, the replies script with a prepend to show "Replies: " only if have a reply, a gif animator that replaces the thumbnail for the original file (I know, it sucks), a bb editor and a quick reply modified to be an poor "options system"(before the last one the problem was already occurring).
My english sucks, sorry.
>> No. 59751
>>59750
Huh, sounds like I either wrote or dipped my finger in most of those. Send me an email with a link to your site and I'll have a poke around, there's every chance I've already fixed your problem somewhere or other


File 136703366617.jpg - (185.44KB , 782x577 , 1362525906834.jpg )
59657 No. 59657 hide watch expand quickreply [Reply]
What file do I need to include/require on a brand new .php file so I can call $tc_db->GetAll($query)?

Basically, I want to get results from the database using kusaba's already implemented method.

thank you, god bless thy
13 posts and 2 images omitted. Click Reply to view.
>> No. 59732
>>59730
so, what are you trying to achieve, i am a bit lost.

are you trying to include the output of a php file, into a template?

if so, you should instead:


the file you want to include, wrap a function around it.

then include it from the PHP file that handles the template

after including it, assign it a variable
$addon = addonfunction();

Message too long. Click here to view the full text.
>> No. 59738
>>59732

I'm making this feature that is inside the iFrame: http://masterchan.org/pc/

You can see it in full here: http://masterchan.org/recentPostsFeature/

It displays the latest threads from other boards on it. So far everything works.. shows the image, links to the thread and if you mouseover you get the thread text + the last reply.

I just need to adjust the layout now, but I want to get the feature outside the iframe and into the page primarily for displaying the thread text on top of the post box form, to utilize that space.

Getting past dwoo however became the hardest thing about this, doesn't help that I just started learning web design and have little experience either.

>the file you want to include, wrap a function around it.
Ok, no problems here
>then include it from the PHP file that handles the template
Message too long. Click here to view the full text.
>> No. 59745
>>59738
do yourself a favor then and go to dwoo.org and find out how the templating actually works. You do have to know a bit about php classes and stuff, but it's not that complicated.


File 136752589125.jpg - (139.24KB , 1134x799 , 136389441211.jpg )
59709 No. 59709 hide watch expand quickreply [Reply]
Recently I've notice that the posts from my IB are with 108.162.x.x (only the last two parts are changing).
CloudFlare would be the cause of the problem? I'm using it (Cloudflare) since the last couple of weeks. If anyone here used CloudFlare, can tell me what I should enable or disable on cloudflare to fix this problem?
Sorry my bad english.
6 posts omitted. Click Reply to view.
>> No. 59722
>>59720
This seems to be the way, but I really don't know where put on the kusaba. This line is written for other script, should need some changes to work with kusaba and I really don't know what I have to modify and where put it,
but really thanks for trying to help me.
>> No. 59723
>>59722
just a flying guess:
search board.php for $_SERVER['REMOTE_ADDR']
(and possibly $_SERVER["HTTP_CLIENT_IP"] and $_SERVER["HTTP_X_FORWARDED_FOR"], I'm not sure which kusaba uses off the top of my head)
and swap for $_SERVER['HTTP_CF_CONNECTING_IP']

A wise move would be to add a variable to your config, say:
$CLOUDFLARE = 1;
Then in board.php, rather than swapping the old IP tag with the cloudflare one, use something along the lines of:
if ($CLOUDFLARE == "1"){
$_SERVER['HTTP_CF_CONNECTING_IP'];
} else {
$_SERVER["REMOTE_ADDR"];
}

Message too long. Click here to view the full text.
>> No. 59739
Add this to the end of config.php:

if (isset($_SERVER['HTTP_CF_CONNECTING_IP']))
{
$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];
}

Profit


File 136770915671.png - (72.70KB , 488x683 , kusabasmoosh.png )
59731 No. 59731 hide watch quickreply [Reply]
How would you prevent the front page tabs from piling on top of each other if a user has a very low resolution/small web browser?

Instead of the tabs piling up, how can I prevent that from happening and instead have a scroll bar at the bottom?
>> No. 59735
css
overflow:scroll;

>> No. 59736
>>59731
>>59735
scratch that, jmyeom says this won't work in kusaba, sorry~


File 13677121305.gif - (965.68KB , 300x193 , marioluigi.gif )
59733 No. 59733 hide watch quickreply [Reply]
Running Kusaba X 0.9.3 SVN.

Clearing all posts as viewed in the 'Recent posts' section of the management panel also clears the images associated with them under 'Recently uploaded images.'

Is there a way to fix that?
>> No. 59734
It's always done that.


File 13667705697.png - (139.26KB , 903x566 , Captura de Tela 2013-04-23 às 23_31_36.png )
59642 No. 59642 hide watch expand quickreply [Reply]
What's up guys? I'm searching for script likely http://www.tropicalchan.org/?p=banlist (just banlist)... Can anybody help me ?

Sorry for my bad english.
2 posts and 2 images omitted. Click Reply to view.
>> No. 59653
https://github.com/exclude/kusaba-frontpage-redesign
>> No. 59703
How to censor IP?
>> No. 59727
File 136766615447.jpg - (715.74KB , 1400x875 , 136718930464.jpg )
59727
>lula
>2013
>nigh 2014
>world cup
>in Brasil

>CHUPA ASIÁTICO DE MERDA


File 136707673640.jpg - (39.10KB , 484x603 , l.jpg )
59659 No. 59659 hide watch quickreply [Reply]
I have set-up disallow no file posting.

But this strange post comes with NO image and NO text..
Any ideas?
>> No. 59724
>>59659
Do you use URL upload?
If so read this: http://pastebin.com/UHWM2xAU
If not give it a read anyway, might still help.


File 136632917159.jpg - (40.98KB , 944x351 , weechan.jpg )
59612 No. 59612 hide watch quickreply [Reply]
Hi, I have kusaba x running, but i cannot reply to posts, only create new thread. The /public_html/boardname/res/threadnumber.html file is created correctly - but on clicking the reply link you get put to a blank page ??? help?
>> No. 59715
File 136757477271.gif - (252.54KB , 210x118 , oie_vOmNZt5R1wXU.gif )
59715
fixed......


File 136582536539.png - (431.02KB , 1888x1007 )
59575 No. 59575 hide watch expand quickreply [Reply]
I'm really really really sorry to post this. I tried reading the comments in config.php, but I don't know how to open php files. I tried opening with fire fox and I get pic related. I have no idea what I'm doing and I already bought my domain name for $7 today. Please point me in the right direction.
8 posts and 2 images omitted. Click Reply to view.
>> No. 59585
HEY GUYS. I'VE BEEN READING UP. I'M SUPPOSED TO USE WAMP. IT'S ALL SO CLEAR NOW.

>>59583
ME EITHER
>> No. 59643
>>59575
Just use a webhosting service holy shit.
>> No. 59711
Download books from the internet in this order

>HTML xHTML and CSS. This is the basic of making websites
>PHP and MYSQL. This is more like programming (php) and talking with databases where you store information like the post number, the message and so on (MYSQL)
>Javascript. This is another type of programming, you don't have to learn this yet. This can change things the user sees on his browser, like the color of the background dinamically when he presses a button or something

Read this shit and in 1 or 2 months you'll be able to set up your own chan and even start doing some editing to it.


File 136669020086.png - (411.38KB , 337x509 , 3.png )
59632 No. 59632 hide watch quickreply [Reply]
Anyone know how to add random pic with thread link to main page like this site ??

cutechan.org/
>> No. 59654
bump ??
>> No. 59707
anyone >
>> No. 59725
I think the statement to get one random thread from the database would be:
$tc_db->GetAll("SELECT * FROM ".KU_DBPREFIX."posts WHERE IS_DELETED = 0 AND parentid = 0 ORDER BY RAND()LIMIT 1");

Google can tell you how to use the data from that far more efficiently than I can if you don't already know.


Delete post []
Password  
Report post
Reason  
Previous [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]