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

Subject   (new thread)
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 918 unique user posts. View catalog

File 13747685731.png - (9.38KB , 500x375 , xblack.png )
59937 No. 59937 hide watch quickreply [Reply]
Dear KusabaX

I made a feature for my chan to show latest threads. I want to improve it by adding a tag that shows how long since the thread was updated. However, I noticed the timestamp value on the database needs to go through some formatting process.

How can I call kusabax's timestamp formating function from an exterior .php? What files should I include and which function to call?

Also, what would be the proper way to get the current time from kusabax (the time it would use for a thread being posted at the moment )?

Thank you
>> No. 59939
look in inc/func/numberformatting.php for timeDiff().

File 137473143095.jpg - (6.13KB , 128x60 , Copy_(2)_of_Picture-2.jpg )
59934 No. 59934 hide watch quickreply [Reply]
plz increase my pic

File 137351621325.png - (65.71KB , 778x422 , thanksmoot.png )
59911 No. 59911 hide watch quickreply [Reply]
cant seem to post as admin correctly, can someone walk me thru it?

>> No. 59932
log in to your admin account

navigate to the board you want to post on

the tickbox for 'Display Status' should be checked off by default

look in your manage panel sidebar, up towards the top, you'll see where it says 'Show Posting Password'

Click it, then copy the code it gives you

Paste that code into the box under the post form which says 'Mod'

Hit submit

Message too long. Click here to view the full text.

File 137456934732.jpg - (160.18KB , 1280x316 , what need i to do here.jpg )
59930 No. 59930 hide watch quickreply [Reply]
The only reply on he entire internet is that?
>read config.php
>find those things and set them :3

No one are helping here.
Kusaba is not easy to learn, there are no help on 'config.php' or even on /sup/
>> No. 59931
Dude, come on. The instructions are right there. For each of those 'CHANGEME', replace the words CHANGEME (leaving the single quotes around it) with whatever the particular line calls for.

Also, don't change [KU_ROOTDIR]. I don't care what the error says, leave that one alone. Just change the ones which say 'CHANGEME' next to them and it will be fine.

File 137435930154.jpg - (160.24KB , 375x500 , tumblr_moczfzzFRU1raif8yo1_400.jpg )
59928 No. 59928 hide watch quickreply [Reply]
I'm getting this error everytime I post something

Warning: exec() has been disabled for security reasons in /home/a3820411/public_html/inc/func/posts.php on line 71
>> No. 59929
is it showing only if you post a picture?
if so:

exec() is used for imagemagick

use GD instead

File 137022999914.jpg - (55.75KB , 620x387 , Russian roulette.jpg )
59848 No. 59848 hide watch expand quickreply [Reply]
Where and how to put scripts of Russian roulette and/or chan answers?
As this imageboard http://77chan.org/.
Their scheme is as follows, is placed up # cr on area email, asks a question and post, your post will come with a random image.
And Russian roulette is put #soviet and post, then it will give you died or got lucky.
How do?
Sorry, my inglês is a shit.
3 posts omitted. Click Reply to view.
>> No. 59927
15 segundos no google.
>> No. 59942
File 137496465191.jpg - (44.35KB , 640x480 , kenichi_058.jpg )
Vocês conseguem foder a porra toda internacionalmente, puta que pariu.
>> No. 59943
File 137496484231.jpg - (95.08KB , 500x373 , 137376772180.jpg )
>this thread

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
what were the problems?
maybe he can release the code he has?
>> No. 59925
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
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
>> 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

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
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

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...

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

In /inc/classes/posting.class.php on line ~324
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
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.

|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
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
>> No. 59892

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


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
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
thx :D
>> No. 59141
>> No. 59880
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

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

what do you mean twice?

you paste it twice or something?
>> No. 59878
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
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 )
I ment menu.tpl and news.tpl sorry the mistake

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
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
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
Yes, KU_RSS and KU_FIRSTLAST to false.
>> No. 59847
File 137018246462.jpg - (6.84KB , 250x187 , 1370175419906s.jpg )
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
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
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
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

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