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


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)
------------------------------------------------------------------------
Replace:
href="{$file_path}/src/{$post.file}.{$post.file_type}">

With:
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
>>58995


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
>>60394
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
>>60396
Sorry I forgot the CSS:

#hoverimg{
max-width: 100%;
/*max-height: 100%;*/
position:fixed;
top:3px;
right:3px;
}


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
Bump.
>> No. 60379
Bump.
>> No. 60402
>>60006
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
>>60200
>How do I set 'recent posts' not to expire?

I need this too
>> No. 60382
>>60200
>>60350
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
>>58580
email me info to this if you dont mind :)
>> No. 58652
>>58585
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 )
58653
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
http://www.w3schools.com/php/php_mysql_where.asp


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


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
>>60311
fixed, my css had some fixed width in the body that was fucking shit up
>> No. 60325
23442423424
>> No. 60337
bump


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
>>60308
jmyeom's svn fix:
http://kusabax.cultnet.net/sup/res/58025.html
>> No. 60323
>>60318
There is a simpler solution?
>> No. 60336
>>60318
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
>>60321
my svn fix,
http://kusabax.cultnet.net/sup/res/58025.html
>> No. 60328
>>60327
thanks!


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
>>60299
Wow, thank you! I'll try it. I'll tell you if it went well.
>> No. 60303
>>60299
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"


File 138901910524.jpg - (10.28KB , 480x360 , 1509128_10201137558710094_1894709497_n.jpg )
60314 No. 60314 hide watch quickreply [Reply]
I've got a pretty fresh install of kusaba x on my webserver and am having a bit of a problem.

Every board I enable embedding on, requires that a user must fill in an embed ID when they post.

As it is right now, I've had to disable embedding on all my boards so people are able to post without linking a video.

Is there a way to have embedding enabled while not requiring a embed ID be given for every post?
>> No. 60317
yeah, you fucked something up. you normally are not required to embed.

first thing i would check would be board options.


File 138911968372.jpg - (33.83KB , 950x534 , google_.jpg )
60316 No. 60316 hide watch quickreply [Reply]
Just wondering if anyone's had experience with making their Kusaba X installations more SEO friendly. Making more readable URLs like chan.com/boardname/topicslug, having topic text automatically added in <meta> tags for each page, etc.
>> No. 60324
The url slug might be difficult since not every thread would have a topic, but the most common way of doing this for other applications uses url routing, assigning a path as part of a regex which matches, say url '/board/post/[\w]+' (or whatever) to a closure which does the necessary work.

The meta tags (and open graph tags, etc) could probably be added through the templates without much problem, though off the top of my head I don't know whether the message content itself would be in scope when the head templates are compiled or not.

tl;dr - meta tags probably, slugs probably not.


File 138867812174.jpg - (61.84KB , 640x480 , RrRbx.jpg )
60307 No. 60307 hide watch quickreply [Reply]
Is it possible to add a feature where I can format links like you can on reddit?

On reddit you can type "[reddit!](http://reddit.com") and get "reddit!" as a link

Can I do this on kusabax?
>> No. 60309
it's called markdown, and yes it's possible.
>> No. 60310
>>60309
how do you do it?
>> No. 60363
= find a markdown library (there are tons)
= replace the bbcode parser in kusaba x with it
= profit


File 138777894627.jpg - (101.51KB , 593x441 , help.jpg )
60286 No. 60286 hide watch expand quickreply [Reply]
How to use Kusaba X without access to /tmp dir?
2 posts omitted. Click Reply to view.
>> No. 60291
Search and replace all instances of /tmp in the PHP source with something like /home/uXXXXXX/tmp. You can even do it on the command-line with grep/sed probably.
>> No. 60294
>>60291
Never mind, I don't think this would actually work. I'll look at the upload functions later and see how to do this
>> No. 60295
>>60291
> find -name '*.php' -exec sed '/s/regex/{/tmp/}/temp/g' \;
So?


File 138617441481.jpg - (19.69KB , 1290x93 )
60227 No. 60227 hide watch quickreply [Reply]
WTF?
what can I do?
I fill 'Subject' field, but this is not work!
>> No. 60292
I have this problem too now. I'm going to try and find out what's going wrong and if I find a solution I'll post here again.
>> No. 60293
Okay, how I fixed it (running Kusaba 0.9.3 with forced-anon imageboards), was to change line 304 in board.php to:
$post['subject'] = substr(strip_tags($_POST['subject']), 0, 74);

For some reason $post_subject wasn't receiving a value earlier in the script. This is an ugly hack, but it fixes the immediate problem for me. Maybe it's already fixed in the SVN.


File 138808956453.gif - (961B , 18x18 , sticky.gif )
60289 No. 60289 hide watch quickreply [Reply]
IM IDIOT :D

If you post modified files for kusaba x 0.9.3 release to allow multiple file uploads i will send you atleast 0.1 BTC for all that trouble!


File 13876425192.jpg - (136.01KB , 426x282 , Secure-yourself.jpg )
60280 No. 60280 hide watch quickreply [Reply]
Hi, I have HTTPS support configured on my web host, and now I'm just wondering what the "best practice" is for using Kusaba over SSL. Whenever I visit my board with the https url, it automatically redirects to the http url. Changing KU_WEBPATH in config.php to the https url kinda helped, for a bit, but then the CSS wasn't loading over https (still using http).

Sure, I could probably just manually go through the source and replace all instances of http with https, but I'm wondering if there isn't a better way. Thanks.
>> No. 60281
You could try this: https://www.owasp.org/index.php/HTTP_Strict_Transport_Security
>> No. 60283
>>60281
Thanks, I've got it working now.


File 138768813098.jpg - (13.99KB , 208x242 , 1387376369740.jpg )
60282 No. 60282 hide watch quickreply [Reply]
Why is the download page broken? I click it, nothing happens


File 138636475454.png - (120.48KB , 226x292 , simon.png )
60246 No. 60246 hide watch expand quickreply [Reply]
Yo does anyone have a script that can send an email to the admin when someone makes a new post, or is willing to make one / point me in the right direction? Help would be appreciated.

Thanks
1 post omitted. Click Reply to view.
>> No. 60251
this is a good idea, don't forget to share the code :D
>> No. 60272
>>60247
I know how to send emails with PHP but I don't know how to integrate it with Kusabax so it sends when a post is made, and with the correct email content
>> No. 60273
the Insert method is in one of the posting classes (I forget which one) and it gets called at the bottom of board.php somewhere. You'll have access to all the post data right there before it gets sent to the db so that might be a good place to add another function to send the email.


File 138685315612.jpg - (8.30KB , 300x201 , facebook-like-button-300x201.jpg )
60270 No. 60270 hide watch quickreply [Reply]
Sup /sup/!
I remember there was a thread with a description of "kusaba likes mod" or something like that. Why remove it? Nobody kept guides on installing this mod? Thank you.
>> No. 60271
sorry, I removed it because somebody in the thread kept getting a bug where it wouldn't work on thread pages.

I still haven't even been able to reproduce that much less fix it so if anyone else gets it... I don't know.

http://www.mediafire.com/download/mrjprtrqugb0gt1/voting_4.zip


File 134841267567.png - (11.67KB , 520x276 , kusaba_capture.png )
58046 No. 58046 hide watch expand quickreply [Reply]
How can I modify what is shown on those lines(marked red)? As example I would like to delete that "Currently X unique posts" line or modify it.
7 posts omitted. Click Reply to view.
>> No. 58069
>>58068
i have already told you what templates to edit...

>>58055
>> No. 58177
Bump.

If I make a .php file which works with my MySQL database, how to make that user number show on the template where i described? This is the only part i need help about.
>> No. 60264
<a href=http://nccer2013.com/>canada goose outlet</a> Dette er ogs ndvendigt,Canada Goose Jakke at de ogs ndt til at accept den samme alcove som dit hjemmeside.Hvis de faktorer,Canada goose wiki, der er relateret til on-side optimering er optimeret i en es mde, s der er en enorm conceivability for the sake of at f din hjemmeside indekseret p toppen google placeringer i minutter at nummer 1 rutine for at f backlinks til commotion hjemmeside til pulsate kvalitet trafik diskuteres below.If du se nogle hjemmeside med det samme niche som dit, prv at skifte forbindelser til webmaster af denne hjemmeside. <a href=http://www.nccer2013.com/> Canada Goose Jackets</a>

<a href=http://nccer2013.com/>canada goose outlet</a> Du kan ogs perform dem en planthat vil du blyant nogle Canada goose vest om hjemmesiden p dit websted, hvis de sende dit interdependence couple there.Another tilfredsstillende scheme i verden af ??den seneste sgemaskine markedsfring er at overgive hullabaloo hjemmeside i community hold back mrkning websteder. Dette kan ogs udfre en rkke af besgende p clatter hjemmeside. Du kan hyre nogle artiklen korrespondent,Canada goose jakke, der kan gengive artikler om samme position som clangour, og du kan sende det til artiklen directories.If du sender dem til artiklen mapper, vil du vre i jut out til at f en masse trafik. <a href=http://www.nccer2013.com/>canada goose outlet</a>


<a href=http://www.nccer2013.com/>canada goose outlet</a> rsagen er, at disse artiklen mapper allerede er indekseret Kensington Parka det vil uden tvivl indeksere dem snart end din autentiske website. At f backlinks ville ikke blive en botheration then.You kan ogs sende nogle kommentarer p webstedet, som har den samme afdeling som racket hjemmeside, og du kan f en tildeling af besgende, hvis du er i remain til at sende et fasten together til hurly-burly hjemmeside dr. Men i alle disse tilflde, kan du
Message too long. Click here to view the full text.


File 137700776891.jpg - (5.86KB , 230x220 , descarga.jpg )
59988 No. 59988 hide watch expand quickreply [Reply]
How to prevent the posts being deleted until some seconds or minutes passed?
Some users are bumping old threads and then delete their posts instantly (blind bumps). I want every message posted to be shown at least some minutes until they can be deleted.
Is there any mod for kusaba or something that do this?
Thanks.
17 posts omitted. Click Reply to view.
>> No. 60261
File 138657216983.jpg - (6.56KB , 193x262 , descarga.jpg )
60261
>>60259
Lol, sorry for my bad english.
Now worked perfectly, thank you very much!
If it's not requesting too much, could you take a look into this?: >>59933
I'm sure it's not difficult to implement, and may be interesting for everybody. It's just to add the thread titles (or an extract of the post if there's no title) to the catalog. Thanks again!
>> No. 60262
>60261
I've devoted my facepalm to myself... it was the moment I realised the fact I've forgot to check thread ids. Entirely.

I'm not sure I'll have free time soon but if I...
>> No. 60263
>>60262
I would be very grateful. =)
The original Kusaba catalog is too simple, I'm impressed that no one have suggested to add the thread titles or extract to it...


File 138655194338.jpg - (22.94KB , 247x300 , quarkcoin-qrk-vinyl-sticker-247x300.jpg )
60257 No. 60257 hide watch quickreply [Reply]
Sorry if off topic.

I want to create a site that pays people every hour they submit a captcha, in fractions of Quark coins.

pretty much like freebitco.in does except in QRK

Anyone want to help me with this or be a part of it?

The point is, people will refresh the page every hour they can, and the site will have adsense ads and possibly overall make more on the ads than the losses of QRK fractions.


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]