[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 891 unique user posts. View catalog


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.
16 posts and 2 images omitted. Click Reply to view.
>> No. 59914
>>59912
what were the problems?
maybe he can release the code he has?
>> No. 59925
>>59914
broke my pc
split with my fiancee i have 2 kids with,
my backups failed
i moved
found a job
not time IRL

there is ONE backup somewhere, maybe i will continue it some other time

but ATM, my job for £20 a hour is more important
>> No. 59945
>>59925
If you find it please just put it up on github and take pull requests...


File 137416594156.jpg - (70.26KB , 1360x738 , Sin título.jpg )
59920 No. 59920 hide watch quickreply [Reply]
already uplodead and set config.php . While trying to load the site, I get this error

Warning: Invalid argument supplied for foreach() in /home/a3820411/public_html/inc/classes/menu.class.php on line 49
>> No. 59924
ignore it

make a section, make a board, and it will go


File 137425369786.jpg - (21.25KB , 295x285 , ripuli.jpg )
59923 No. 59923 hide watch quickreply [Reply]
Umm... this is maybe aasked and answered millions times, but how i instert a picture to the sidebar?


File 137423854345.jpg - (6.13KB , 284x177 , images.jpg )
59922 No. 59922 hide watch quickreply [Reply]
Where can I edit the default ban reason text such "You have been banned for posting child pornography"?
In which file is located this text? Thanks
>> No. 59948
Did you even read the config.php?


File 137411196032.jpg - (10.49KB , 261x195 , 992907_602390029793659_2032593723_n.jpg )
59918 No. 59918 hide watch quickreply [Reply]
This giving this error and do not know what it

Warning: file_put_contents(/home/vhosts/bronze5.ueuo.com/menu.html): in /home/vhosts/bronze5.ueuo.com/inc/classes/menu.class.php on line 63


Warning: file_put_contents(/home/vhosts/bronze5.ueuo.com/menu_dirs.html): in /home/vhosts/bronze5.ueuo.com/inc/classes/menu.class.php on line 65


What could it be?
>> No. 59919
And so this

$cf['KU_ROOTDIR'] = realpath(dirname(__FILE__))."/";
$cf['KU_WEBFOLDER'] = 'http://bronze5.ueuo.com/';
$cf['KU_WEBPATH'] = 'http://bronze5.ueuo.com';
$cf['KU_DOMAIN'] = 'bronze5.ueuo.com';
>> No. 59921
A word to the wise...

if you're going to post the url to your chan here, probably make sure you're not still using the default login.


File 136862205197.jpg - (251.47KB , 1000x1500 , 7rbHj.jpg )
59785 No. 59785 hide watch expand quickreply [Reply]
How to install Quick Reply for all the posts, like 4chan?
With a little window opening to reply, or so. Thanks!
1 post omitted. Click Reply to view.
>> No. 59877
bump
>> No. 59889
please please please ;_;
Is there a mod that makes this? I see a lot of boards with this functionality, anyone knows how to do it? Thanks ;_;
>> No. 59917
bump


File 137341616457.gif - (9.76KB , 454x589 , Janitor.gif )
59909 No. 59909 hide watch quickreply [Reply]
The current Janitor setup is shit. (No personal offense intended).

What I request is a proxy moderator position.

A proxy moderator, can only request bans and deletions (ie D & B).

but a real Moderator or admin can do them (Hopefully in one click).

Can this be done?

I came up with the term 'Moderate by proxy' / 'proxy moderator', though the term may already exist in some form.

I'm just leery of adding Janitors because they might just delete everything (with enough time on their hands), and they could use their privilege for something malicious.
>> No. 59915
>>59909
Janitors have very few privileges. They cannot see IPs or ban; as you say, the only potential for abuse is mass deletion.

To prevent this, just keep fairly regular backups of your database which you can restore from in the event of a mass deletion, only give positions out on a board-by-board basis, and only give the position to people you vet to a decent degree.


File 135170200969.jpg - (12.52KB , 551x344 , Spoiler.jpg )
58347 No. 58347 hide watch quickreply [Reply]
How about spoiler images? I would like to allow them, so that when user ticks a box when posting, thumbnail shows a spoiler image. I would also like to make so, that I can set/disable spoiler images from board settings.

Also, this would be a good future add-on for Kusaba. Image related.
>> No. 59908
bump


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.
>> No. 59904
>>59788
na it dont work, just does the message, doesnt work for the others.. just tested it on my site


File 137142353791.jpg - (20.02KB , 546x270 )
59887 No. 59887 hide watch quickreply [Reply]
Sup /sup/
Seems like the HARROWZZZMEMEEEZZ doesn't works on my BBS.

Appears
|something like this
>> No. 59888
Fist of all, the name of this feature is quote.
Second, text board parses quotes like e-mails clients parses quote.
>> No. 59890
>>59888
I know that they're called "quotes"
Is there a way to change them to the IB-like quotes?
>> No. 59896
I really like it<br><br><a href="http://www.beyondmedia.org/member/175212">internet</a>


File 13533883849.jpg - (112.74KB , 720x720 , 1353094153240.jpg )
58461 No. 58461 hide watch expand quickreply [Reply]
sup /sup/

I need a report or flag this post button next to every post, any ideas?

any ideas?
7 posts omitted. Click Reply to view.
>> No. 58937
Like on 4chan, the bang next to "reply". This would require some editing in the way you report (ie, not a text area, but a pop up window with a text box/radio buttons).

My suggestion (may not work, but it should):

make the icon, then add it next to the [Reply] box, this is simple html so i wont go over how to do it. then make a pop up window (google how to) with a html file you've made. next add the form (any type you want, for this example i will use text area). so, when you have a text area for the report and a submit button it should look something like this

<input type="text" name="reportreason" size="10" />&nbsp;<input name="reportpost" value="{t}Report{/t}" type="submit" />

If that looks familiar, it should, it's straight from the kusaba x software. And that should do it

I would also suggest you disable reporting on the boards so it is not repetitive
>> No. 59879
bump
>> No. 59892
bump


File 137133100110.gif - (162.26KB , 480x270 , 1293054737195.gif )
59886 No. 59886 hide watch quickreply [Reply]
After using this url upload mod

http://kusabax.cultnet.net/sug/res/1033.html

I keep getting this error:
Parse error: syntax error, unexpected T_ELSE in /home3/mychan/public_html/board.php on line 403

what am i doing wrong? Please help!


File 136257248113.jpg - (63.91KB , 432x288 , 1284315428744.jpg )
59186 No. 59186 hide watch quickreply [Reply]
After posting users have to hit F5 to see what they just posted. (It seems to be loading from the cache). I confirmed it is loading .htaccess

DirectoryIndex kusaba.php
AddCharset UTF-8 .html
AddCharset UTF-8 .php

FileETag None

<IfModule mod_headers.c>
<Files *.html>
Header add Expires "Mon, 26 Jul 1997 05:00:00 GMT"
Header add Pragma "no-cache"
Header add Cache-Control "max-age=0; must-revalidate; no-cache"
Header set Expires "0"
Header unset Vary
Message too long. Click here to view the full text.
>> No. 59190
Try also include *.htm in the no-cache.
This one should work:
<filesMatch ".(html|htm|js|css)$"> FileETag None <ifModule mod_headers.c> Header unset ETag Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT" </ifModule> </filesMatch>

>> No. 59201
>>59190
Thanks but it turns out I'm retarded.

I had to enable the headers apache2 module.
a2enmod headers


File 135885331658.jpg - (762.53KB , 1024x768 , Koala.jpg )
58957 No. 58957 hide watch expand quickreply [Reply]
How can I prevent spam using the report button? Would it be difficult to make captcha and / or delay on how many posts you can report every minute?

Thank you.
9 posts omitted. Click Reply to view.
>> No. 59130
>>59122
thx :D
>> No. 59141
bump
>> No. 59880
>>58963
any chance to update this code to work with recaptcha? also how about including a link to every post for easy reporting.


File 136562306196.jpg - (81.81KB , 778x882 , Dreamy Russian 18.jpg )
59563 No. 59563 hide watch expand quickreply [Reply]
When I write noko on my board, the noko works correctly, but my posts appear like "noko" was an email address. This: "mailto:noko"

Why is this happening? So strange.
9 posts omitted. Click Reply to view.
>> No. 59607
>>59605

Find >>59599

replace with:
<span class="postername"> {if $post.name eq '' && $post.tripcode eq ''} {$board.anonymous} {elseif $post.name eq '' && $post.tripcode neq ''} {else} {$post.name} {/if} </span>

>> No. 59820
>>59600

what do you mean twice?

you paste it twice or something?
>> No. 59878
>>59820
No, the part you need to change exists twice in each file. One for the part that builds OP posts, and one for the part that builds every other posts. You need to change both.


File 137076341979.jpg - (7.62KB , 233x197 , youarebanned.jpg )
59876 No. 59876 hide watch quickreply [Reply]
I found a false ban. Someone posted an interesting article in my board and was banned because of a false alarm because of an old entry on the spamlist that shipped with kusaba.
I would like to restore the article, but I dont know which board and which picture was used. How can I restore that false ban? I can't? Why not?


File 137058461389.png - (278.63KB , 500x500 , uploadtest.png )
59870 No. 59870 hide watch quickreply [Reply]
Test for imagemagick
>> No. 59871
>>59870
it's look like i messed up in my upload.class.php. damn.


File 137056153312.png - (47.59KB , 764x570 , suport.png )
59866 No. 59866 hide watch quickreply [Reply]
Hello guys.
I'm running a fresh instalation of kusaba x on my localhost for testing purposes(using xampp as a webserver) and i found a small problem, in wich i think you guys can help me.

In the homepage or inside any board, the styles aren't loading. But they are loading in manage.php.

I never saw that kind of error before.

Pic related.
>> No. 59867
Shameless self bump.
>> No. 59868
One last bump.
>> No. 59869
I had the same problem with wamp..

I just fucked around with the config for a while and managed to fix it, the problem was setting localhost as domain or something like that..
$cf['KU_WEBFOLDER'] = 'http://localhost/Kusaba/'; $cf['KU_WEBPATH'] = 'http://localhost/Kusaba'; $cf['KU_DOMAIN'] = 'http://localhost/Kusaba/'


Should look something like this..


File 13704339529.jpg - (47.71KB , 604x453 , fuck_daa6d6_836863.jpg )
59864 No. 59864 hide watch quickreply [Reply]
Where am I going wrong here?

var millis = $('#timestamp').val - time(); function displaytimer(){ var hours = Math.floor(millis / 36e5), mins = Math.floor((millis % 36e5) / 6e4), secs = Math.floor((millis % 6e4) / 1000); document.getElementById('count').innerHTML = hours+':'+mins+':'+secs; } setInterval(function(){ millis -= 1000; displaytimer(); }, 1000);


If unclear I'm trying to set a countdown based from the post's timestamp.


File 137035341952.png - (70.47KB , 256x256 , voodoo-256x256.png )
59860 No. 59860 hide watch quickreply [Reply]
Hi /sup/ I'm in need of some help maybe I'll find it here. I took all the code in menu.php and pasted it in news.php. The menu shows exactly in the place I pasted it, to bad the boards list in empty. Perhaps I have to change something in the code...
>> No. 59861
File 137035387554.png - (891B , 16x16 , skull-16x16.png )
59861
I ment menu.tpl and news.tpl sorry the mistake


File
Removed
No. 59853 hide watch quickreply [Reply]
When it comes to moderator buttons on users' posts when viewing the board page, I can see them just fine and they work, for example:
Name: Anonymous @ 2013-05-13 07:56 [IP: xx.xxx.xx.xxx D / S] [D & B] [P] [CP]

However, when viewing an individual thread by itself, the moderator buttons on people's posts do not work, and you cannot view their IP. It looks like this:
Name: Anonymous @ 2013-04-21 18:52 [IP: D / S] [D & B] [P] [CP]


File 135048262220.png - (14.50KB , 225x224 , kysymys.png )
58255 No. 58255 hide watch expand quickreply [Reply]
Tell me exactly, how can I ban TOR + proxies from my chan? Already tried proxy list, but that just shits my .htaccess and is unreliable. I remember, that in Tinyboard, you could block "torserver.tor.dnsbl.sectoor.de" without banning every IP one by one. So, tell me how can I do this?
1 post omitted. Click Reply to view.
>> No. 58263
There was a Tor/DNS mod knocking around here months ago (I wrote it.) Consensus seemed to be that sometimes it worked (tested it on my own chans so I know it does) and sometimes it just blocks everybody, which might have been because it also made a call to DNSBL as well as ran a port scan.

But the Tor blocking part essentially used this method: http://www.irongeek.com/i.php?page=security/detect-tor-exit-node-in-php so that in and of itself wouldn't be difficult to drop into a module.
>> No. 58638
>>58263
how can we add some module? there is no "Module settings" menu item in "Boards Administration" section. where can we read any manual about models in Kusaba X?
>> No. 58641
>>58638
Module support is one of those things that looks like it never really took off in Kusaba X. There is a module settings but it's probably commented out, and you wouldn't want to use it anyway because as designed, it takes settings from SQL, which is just a tax on resources. I would just load any settings you have for a module from an external file or keep then inside the module itself. This is more or less the entire "manual" for it: http://code.google.com/p/kusaba/wiki/Modules

Basically you just have to know how the init and callback functions work, and to return whatever input you're processing at the end of each module, since they're chained.

Also (I found out the hard way) handling certain things like file uploads won't work using the module process. Pretty much the only thing it's good for is dealing with the user and post data before letting a post through.


As far as loading, anything you put in the /inc/modules folder will be automatically included, so modules are meant to be plug-and-play. The name of the file (modulename.php) has to match the name of the init and process functions (modulename_init(), modulename_process_posting.)

All the init_s for all the modules will be run first as a group, and after that, everything else. The module handling code is in /inc/func/module.php if you want to see how it actually works.


File 136911503773.gif - (109.06KB , 209x193 , 1368159049977.gif )
59801 No. 59801 hide watch expand 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
4 posts omitted. Click Reply to view.
>> No. 59814
>>59806
Yes, KU_RSS and KU_FIRSTLAST to false.
>> No. 59847
File 137018246462.jpg - (6.84KB , 250x187 , 1370175419906s.jpg )
59847
>>59806
any tutorials on how to install Nginx + php-fpm + MariaDB on a dedicated server?

also any other tips to optimize our chans?
>> No. 59849
I dont have anything, I've installed Nginx/MariaDB from official repositories, PHP I've downloaded from Remi repository for CentOS, you can use Dotdeb if you are using Debian.


File 137002051613.jpg - (24.51KB , 294x320 )
59839 No. 59839 hide watch quickreply [Reply]
How do I go about changing hosts?

I've reuploaded everything and am now just trying to get my config.php set right to reflect the changes with the new host. I just downloaded everything from the ftp and my database, and reuploaded them using ftp and phpMyAdmin... Once I get the config.php right will I be able to post again?
>> No. 59841
>>59839
make sure that your random seed stays the same as when on your old host


delete everything from dwoo/templates_c

rebuild all boards


then you should be fine
>> No. 59845
>>59841
Thanks for helping, I really appreciate it.

I currently have my config set like the host instructed, and cleared templates_c, but when I go to manage.php I get an internal server error ('The server encountered an internal error or misconfiguration and was unable to complete your request.').

I seem to be stuck. Any suggestions as to what could be wrong?
>> No. 59846
>>59845
post the last few lines in your error log...

this should be in the root directory of your FTP, if its not, it might be in a logs folder outside public_html

or contact the host


File 136986076351.gif - (495.35KB , 480x336 , 213.gif )
59822 No. 59822 hide watch quickreply [Reply]
yo, here is real problem.
I have 2 domains, like:
board.com
board.net
I need a site to be accessible from two domains, but kusaba uses only 1 domain in $cf['KU_DOMAIN']
All styles and cookies are broken for second domain, it's obviously.
What to do guys? How to use 2 domains with 1 site via KusabaX?
>> No. 59824
This is a big problem for many major sites and companies, imageboards or otherwise.

The easiest thing to do is to pick one as your canonical domain name, and have all other domains do a 301 redirect to the domain you chose. Make the canonical one the shortest and most frequently visited one; in this case it'll probably be the .com one.
>> No. 59840
>>59824
well, nice...
also i don't need 301 redirect, i need 2 domains mirror-like


File 136901211291.jpg - (611.08KB , 1584x2112 , 01.jpg )
59799 No. 59799 hide watch expand 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.
1 post omitted. Click Reply to view.
>> No. 59812
bump.
>> No. 59829
Bump because I can't believe this question has no solution!
>> No. 59836
File 136998458415.png - (18.23KB , 436x398 , Untitled.png )
59836
board-post.class.php
around line 255 on function RegeneratePages()


File 136991931447.gif - (358.98KB , 400x328 , 136991174284.gif )
59827 No. 59827 hide watch quickreply [Reply]
God this is disturbing.

I can't enable icons like locked.gif or sticky.gif. They are just not appearing in locked or stickied threads. I've searched everywhere. Maybe I am a fucked shithole. Just tell me HOW THE FUCK.

Можете объяснить по-русски - пожалуйста.
>> No. 59828
>>59827
bump


File 136974539516.jpg - (199.34KB , 522x1534 , 1369738244203.jpg )
59819 No. 59819 hide watch quickreply [Reply]
does anyone know how to export the database (posts) of only one board?

I'm trying to export only one board
>> No. 59826
bump


File 136970886044.jpg - (38.45KB , 704x396 , mio DAFUQ.jpg )
59818 No. 59818 hide watch quickreply [Reply]
sup /sup/,

I CANNOT UPLOAD IMAGES TO MY IMAGEBOARD.

specifically "Could not create thumbnail."

HOW DO YOU FIX THIS?

thanks!
>> No. 59821
>>59818
protip: kill yourself
>> No. 59823
Do any of your board's directories contain a special character? (for example /ñ/ or any of the sort) I don't know why but this happens to me when I enable imagemagick because of the special character on my board. Sorry I can't help, but good luck!


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~
>> No. 59816
How to add more tabs to front page? It would be good if you could add them from manage panel, and edit their content from there.


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