| # | Subject | Posts | Last Post |
|---|---|---|---|
| 1 | Oekaki + upload | 1 | 17 July 2008 02:23 |
| 2 | Individual CSS for each board. | 1 | 8 July 2008 17:44 |
| 3 | Suggestions | 2 | 29 June 2008 11:48 |
| 4 | Expanding REALLY all images | 2 | 27 June 2008 08:26 |
| 5 | I wrote a new expandimg(), since the original in kusaba.js sucks ass! | 2 | 27 June 2008 08:26 |
| 6 | get rid of Maxmimum! | 2 | 26 June 2008 22:34 |
| 7 | Writing .php files instead of .HTML | 2 | 21 June 2008 09:33 |
| 8 | Captch | 6 | 12 June 2008 12:08 |
| 9 | This site | 2 | 3 June 2008 15:58 |
| 10 | Alphabetized Menu | 2 | 31 May 2008 20:15 |
| 11 | Staff editing posts | 3 | 31 May 2008 15:55 |
| 12 | Quick bug report and crude hack to fix it | 2 | 16 May 2008 14:55 |
| 13 | BUG: Files with same name overwrite each other | 1 | 15 May 2008 12:45 |
| 14 | Board Style Editor | 6 | 13 May 2008 19:05 |
| 15 | Text boards | 3 | 7 May 2008 01:01 |
| New Thread | All Threads | |||
Tee, i has suggestions
1. Permaban Ukog-Nos Takeuchi, he's a furfag.
2. Permaban loh because he keeps spamming links to some shitty russian site
3. Delete the child models link thats on the front page of /simg/ right now, its obviously a ploy to get Kusaba v&.
in board-post.class.php:
Line 740:
Change
$expandjavascript = "";
into
$expandjavascript = "expandimg('" . $line['id'] . "', '" . KU_WEBPATH . "/" . $this->board_dir . "/src/" . $line['filename'] . "." . $line['filetype'] . "', '" . KU_WEBPATH . "/" . $this->board_dir . "/thumb/" . $line['filename'] . "s." . $line['filetype'] . "', '" . $line['image_w'] . "', '" . $line['image_h'] . "', '" . $line['thumb_w'] . "', '" . $line['thumb_h'] . "');";
And All images, including the thread starter, will be expanded
function expandimg(post_id, img_url, thumb_url, img_w, img_h, thumb_w, thumb_h)
{
var img_cont = document.getElementById("thumb" + post_id);
var img;
for(var i = 0; i < img_cont.childNodes.length; i++)
if(img_cont.childNodes[i].nodeName == "IMG")
img = img_cont.childNodes[i];
if(img)
{
var new_img = document.createElement("img");
new_img.setAttribute("class", "thumb");
new_img.setAttribute("className", "thumb");Message too long. Click here to view the full text.
Someone misspelled "Maximum":
grep -rils 'maxmimum' *
inc/classes/board-post.class.php
inc/classes/manage.class.php
inc/lang/cs/LC_MESSAGES/kusaba.mo
inc/lang/de/LC_MESSAGES/kusaba.mo
inc/lang/es/LC_MESSAGES/kusaba.mo
inc/lang/et/LC_MESSAGES/kusaba.mo
inc/lang/fi/LC_MESSAGES/kusaba.mo
inc/lang/it/LC_MESSAGES/kusaba.mo
inc/lang/nb/LC_MESSAGES/kusaba.mo
inc/lang/nl/LC_MESSAGES/kusaba.mo
inc/lang/pl/LC_MESSAGES/kusaba.mo
inc/lang/pt/LC_MESSAGES/kusaba.moMessage too long. Click here to view the full text.
I currently run a lighttpd server, which uses up a whole hell of a lot less memory than Apache2. Unfortunately, this prevents me from hosting Kusaba, as it uses .htaccess files for bans. I currently am getting hosting from 1&1 to fix this problem.
/r/ that Kusaba writes php files instead of static HTML files, and that these PHP files check for bans before displaying the page. Hell, maybe even allow PHP in the board harder section, so that someone can put statistics tracking code in there.
I think having captcha for new posts, replies, or both would be an awesome idea. It would help with the new flood programs that make new threads but do not create replies.
I'm interested in enabling it if it's an option, but I haven't seen any settings or options that would indicate it is available
Go to manage, then board options. Pick the board you want, and scroll down to the bottom. Find the "enaple posting captcha" box and click it. Then click "save and regenerate board".
4: That does captcha for all posts, including replies. I would like captcha just for the initial thread starting post.
Give me some way to automatically alphabetize the menu! D:
It would be a great feature to be able to edit user posts. Yeah, I know that you can muck around in the database manually but having an easy to use shortcut in kusaba would be a huge improvement.
I'm seconding this, even a feature to remove pictures only to set bans as an example would be great
Hiya, I'm in the process of setting up kusaba for a project site of mine, and noticed an annoying quirk of a bug. The site runs with php safe_mode on, and when trying to create temp files, it would sometimes try to create them in the global /var/tmp of my shared hosts server. Needless to say, it didn't have write permissions to /var/tmp, and so failed.
I tracked the call back to pages.php, and changed it to the following. It's a little site specific (if the system temp isn't in /var then it fails), but I submit it back as a change you might want to include in a future version. I also added kusaba_dir/tmp and set that writable.
In other words, it will try to generate a temp file in the board-specific temp folder, but if that doesn't exist (e.g. no boards set up), it will create it in a tmp folder within kusaba's root.
/* <3 coda for this wonderful snippet
print $contents to $filename by using a temporary file and renaming it */
function print_page($filename, $contents, $board) {
global $tc_db;
$tempfile = tempnam(KU_BOARDSDIR . $board . '/res', 'tmp'); /* Create the temporary file */
if (substr($tempfile, 0, 4) == '/var') {
$tempfile = KU_ROOTDIR . substr($tempfile, 5);
}
$fp = fopen($tempfile, 'w');
fwrite($fp, $contents);Message too long. Click here to view the full text.
(7chan/fl/ kusaba 1.0.4)
Seems like Kusaba doesn't check wether there's already a file with the same name on the board.
I've noticed this when I uploaded a flash game I named "Sadism.swf" to 7chan's /fl/. When I uploaded a newer version of the game using the same filename, I noticed that the old post, too, now linked to the new version.
I have verified this by replacing another file called "guaranteedreplies.swf" (a video of a dancing loli) with the lolicatgirls flash. Here are the links to the 3 relevant threads:
http://img.7chan.org/fl/res/19670.html
http://img.7chan.org/fl/res/20600.html
http://img.7chan.org/fl/res/17324.html
I think there should be an easier way to create your own board styles instead of futaba, burichan, and photon. I know that you can make your own, but it's a bit too difficult in my opinion. I think there should be a built-in editor of some sort. That's my suggestion.
>>1
Opening up the files and changing the colors is too hard for you?
You shouldn't be allowed to run a website.
>>2
I can change the default ones lol, I want a way to easily add new ones, more then three perhaps, with different names than the default names.
>>3
You can add new styles by adding the .css files to your /css/, you should have two files - [YOUR-STYLE].css and site_[YOUR-STYLE].css.
>>5
Do you have to change anything else to get it to show up, and is there a guide somewhere as to what shows up where?
Any plans on improving the text boards with features like the image boards?
I'm now forced to use image boards without image uploads, so that I can have all the features like watched threads, expand thread, hide, and so on.