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

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

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

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

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

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



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
>> No. 59703
How to censor IP?
>> No. 59727
>nigh 2014
>world cup
>in Brasil


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 )

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

>> No. 59643
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 ??

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

File 135233302371.gif - (414.75KB , 500x500 , 1350480764241.gif )
58395 No. 58395 hide watch expand quickreply [Reply]
sup /sup/, I have a question I've been working on for a while, but I am no php or js coder, so no avail.
Any clue how/what I would have to modify to include reply linkbacks in posts, sort of 4chanX or ylilauta type thing?
33 posts and 10 images omitted. Click Reply to view.
>> No. 59149
That works but it only shows one reply, even if there are many. If I remove it, they all show.

>> No. 59704
How to change the position of the backlinks?

>> No. 59726
var tondeid = document.getElementById('thread' + onde + br); if (tondeid != undefined) { var tonderefl = tondeid.querySelectorAll('span.replybacklinks')[0]; if (tonderefl.innerHTML.indexOf(quem) == -1){ var te = document.createElement('a'); te.innerHTML='&nbsp;<u>>>' + quem + '</u>'; te.setAttribute('href','/' + br + '/res/' + tr + '.html#' + quem); te.setAttribute('class','ref|' + br + '|' + tr + '|' + quem); te.setAttribute('onclick','return highlight(\'' + quem + '\', true);'); tonderefl.appendChild(te); return linkslen++; } }

} return 0; } updateBackLinks();

Really now...
Just move the replybacklinks span.
If your using the version of the script that uses reflink instead of replybacklinks, don't, unless you have to.

File 136657059182.png - (262.51KB , 500x423 , tumblr_mkhfalh4QS1qck9sro1_500.png )
59624 No. 59624 hide watch expand quickreply [Reply]
Hey /sup/. How can I go about making a "Recent Posts" section on the Front Page? Preferrably on the right-hand side after where the news entries would go.
2 posts omitted. Click Reply to view.
>> No. 59672

it's in there somewhere. You have to edit news.php, add in the files for recent posts, edit CSS, and fuck with the news template if I remember right
>> No. 59681
Thanks a bunch!

I got the shit to work and customized after fucking with it. Looks pretty neat!

One thing though, it doesn't display pictures along with people's posts. Would you happen to know how to add that in?

news.php, news.tpl, and stringformatting.php were the only files I had to edit.
>> No. 59699
Or even just a seperate "Recent Images" section would be nice, too.

File 136720180868.png - (7.54KB , 381x34 , post time.png )
59674 No. 59674 hide watch expand quickreply [Reply]
Here do I change the post time in threads?
Found nothing on config.php
2 posts omitted. Click Reply to view.
>> No. 59687
Onde? :3
>> No. 59688
php.ini e config.php.
>> No. 59689
No mesmo lugar que você fraudou o contador de usuários.

File 13665675817.jpg - (43.12KB , 314x313 , THIS2.jpg )
59623 No. 59623 hide watch quickreply [Reply]
How can I make a chan only for people from my country to post?

I'd like to let only /int/ open to foreigners IPs.
>> No. 59625
Anyone with a proxy can appear to be from any country.

I mean you *could* I suppose make a module to check their IP against some kind of a list but, again, it wouldn't actually be effective.
>> No. 59626
Ok, but... how can i make only the IP, or proxies, from my country to post? How can i block everything else?
>> No. 59685
you'll have to edit the .htaccess file


Here you go.

You can paypal me at moot@4chan.org

File 136718048613.jpg - (19.72KB , 249x213 , 131757018515.jpg )
59670 No. 59670 hide watch quickreply [Reply]
How can I change the size of thumbnails?
>> No. 59671
>> No. 59673
Sorry, bro. Really, my fault.
Gonna read it.

File 13668392704.jpg - (70.95KB , 500x353 , 1365449291674.jpg )
59645 No. 59645 hide watch quickreply [Reply]
when i am trying to create a thread, pressing button submit, it goes a blank page /board.php
help please
>> No. 59655
Please help. Why blank page when i am trying to create a thrad?
>> No. 59669
same problem here

File 136649680972.gif - (250.37KB , 256x192 , Alone.gif )
59619 No. 59619 hide watch quickreply [Reply]
The ban message has some errors. Don't show the expire time and stuff.

>Your ban was placed on , and will expire on

But it's on the database. How can i fix it?
>> No. 59667

File 136376887895.png - (156.00KB , 360x301 , No-Spam.png )
59337 No. 59337 hide watch expand quickreply [Reply]
I have a spam filter thats working but the spamers are using the "SUBJECT" box for they spam links.

IS there away to get up the same filter on the subject box as well???

7 posts omitted. Click Reply to view.
>> No. 59542
it didnt work ;/

any other ideas.. anyone?
>> No. 59652
no solution then??
>> No. 59658
bump for solution

File 136702797320.jpg - (233.99KB , 600x600 , 1344791853494.jpg )
59656 No. 59656 hide watch quickreply [Reply]
Can anyone tell me where is the catalog config file so I can make it look prettier? I can't find it for the life of me.

File 13668452872.png - (6.04KB , 1001x171 , error.png )
59646 No. 59646 hide watch quickreply [Reply]
I am getting a weird problem.

Warning: md5_file() [function.md5-file]: Filename cannot be empty in /home/*******/public_html/inc/classes/posting.class.php on line 153
Failed to write file to disk

I got this error when users are trying to upload files, even though they are below the size limit. (2MB)

Any idea what this is about?

Running Kusaba X-stable.r398.
>> No. 59647
your harddrive is full, contact the host
>> No. 59648
Thanks! I got my problem fixed.

File 136673541656.jpg - (290.04KB , 1024x768 , Glados.jpg )
59636 No. 59636 hide watch quickreply [Reply]

How can I install this module? I search through the wikis, imageboards and Google and I didn`t found nothing about installing modules.
>> No. 59640
Paste this .php in /inc/modules
$boards_authorized = array('b', 'test');
with the board name that you want to apply the module.
Excuse-me for the bad writting.

File 136676804759.jpg - (54.67KB , 600x393 , Russian Roulette.jpg )
59639 No. 59639 hide watch quickreply [Reply]
Why my RR modeule isn't working

Can someone plz help?

It says "BANG!" and everything, but the user is not banned at all.

I got it here

File 13666394828.jpg - (6.54KB , 251x209 , 1254119987447.jpg )
59627 No. 59627 hide watch quickreply [Reply]
Thumbnails. How can I make them larger?
>> No. 59628
try reading the config
>> No. 59635
Listen to this guy, motherfucker.

File 136336464725.png - (277.29KB , 1320x748 , rating system.png )
59306 No. 59306 hide watch expand quickreply [Reply]
Any idea how to install an up and down rating system similar to this?

12 posts omitted. Click Reply to view.
>> No. 59561
>> No. 59571
>> No. 59572
Bloody hell stop bumping this already. If someone wants to do it they'll do it.

File 136643624892.jpg - (11.10KB , 259x194 , images (1).jpg )
59616 No. 59616 hide watch quickreply [Reply]
Trying to ban the tor proxy list.
Uploading tor.txt plain text file, 1 IP per line.
Result: "0 of 0 IP addresses banned."
Not working. How to ban a list of proxies? Thanks.
>> No. 59617
Ok, looks like the codification was incorrect.
I solved it setting it to UTF8.
>> No. 59621
Can you post that .txt, pl0x?
>> No. 59622
save yourself some trouble and google "irongeek tor blocker" and make a module or something.

File 136649313861.jpg - (15.27KB , 447x446 , Lol.jpg )
59618 No. 59618 hide watch quickreply [Reply]
Hey /sup/.

How can i add more styles/themes to Kusaba X? I took the CSS and put in the css folder and also i changed the $cf['KU_MENUSTYLES']. I can see the new style on the dropdown list but nothing changes. How can i?

Also, where can i found more styles to download?

I pay with...?
>> No. 59620

$cf['KU_MENUSTYLES'] sets the stylesheets for the menu, $cf['KU_STYLES'] sets the stylesheets for the site. Try read config.php more carefully.

You can download the stylesheets of any other kusaba X chan and they should mostly work, though there is no place specifically with "styles to download", the idea is you make your own or deal with futaba.

File 136642356297.gif - (607.17KB , 300x222 , CHEWTHATPEAPROFESSOR.gif )
59613 No. 59613 hide watch quickreply [Reply]
Hey /sup/. How can I change the name "Anonymous" into something else when a user posts anonymously?
>> No. 59614
File 136642436153.png - (2.37KB , 698x37 , dddd.png )
Board options. Difficult, no?
>> No. 59615
Of course I miss something right in front of my face, dammit. Thank you.

File 136353857576.jpg - (44.08KB , 354x568 , beer.jpg )
59324 No. 59324 hide watch expand quickreply [Reply]
maybe somebody have realized it on his board. we need a warning window when user visits Not Safe For Work boards first time. if user chooses "yes", it will redirect him to the board, if "no", he goes to e.g. google or disney.
1 post omitted. Click Reply to view.
>> No. 59327
Not to pile more shit on your plate, but are you considering maybe a db-driven custom session handler, or something along those lines? Since a lot of chans are running on shared servers, that might be helpful.
>> No. 59417
it would be great.
>> No. 59611
File 136631758228.jpg - (15.61KB , 409x265 , gippopo bump.jpg )

File 136624801185.png - (60.36KB , 729x414 , top lel.png )
59609 No. 59609 hide watch quickreply [Reply]
Hello friends, I have a quick question about a problem that has been plaguing me.
Whenever I try to create a new board, Kusaba X only generates an index.html in the board directory. It doesn't generate any CSS, a board.php, or anything else. Any help?
>pic unrelated
>> No. 59610
for a start, what the fuck is the screen shot showing?
the screen shot is of no help!

kusaba x does not *generate* css, to uses the css in the css directory

if css is not showing, your paths are wrong

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