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


File 135731378217.jpg - (521.10KB , 1980x1080 , 1357305478288.jpg )
58798 No. 58798 hide watch expand quickreply [Reply]
I'm looking to make a special name display for people other than mods / Admins. I understand the "## Admin ##" and the "## Mod ##" is displayed based on '$post.posterauthority'. I was wandering if it would be possible to make a $post.posterauthority for Janitors, or use a tripcode. At the moment I have decided to use custom tripcodes for Janitors, but Anonymous!!Janitor doesn't stand out as much as Anonymous ## Mod ##, and tripcodes can't be used on forced anonymous boards. So far I have modded my img_thread.tpl template to have this in it:

{elseif $post.tripcode eq 'janitor'}
<span class="mod">
&#35;&#35;&nbsp;{t}Janitor{/t}&nbsp;
</span>

The above snippet is placed just below this:
{elseif $post.posterauthority eq 2}
<span class="mod">
&#35;&#35;&nbsp;{t}Mod{/t}&nbsp;
</span>

But it does not work! Any help?
Thanks
Message too long. Click here to view the full text.
5 posts and 1 image omitted. Click Reply to view.
>> No. 58906
>>58905
>>58905
there not supposed to be able to modpost, but yet you asked for it? :P

i can remove the other options if you like, and just have it so janitors can only display janitor status?...

what about the display name function?
>> No. 58907
>>58906
The only problem is that Janitors couldn't post as Janitors before, without using a custom tripcode, which wouldn't work on a forced anonymous board.
All I was looking for was the ability to display staff status; we wouldn't want Janitors being over powered now, would we? :p
>> No. 60093
>>58907
hey, thanks ALOT for this post-- my chan is mainly supported by donations, and now those donators can get some recognition

the only problem I am still having is this:

in posting.class.php: (starting line 245)
if (count($results) > 0) {
if ($results[0][0] == 1) {
$user_authority = 1; // admin
} elseif ($results[0][0] == 2 && in_array($board_class->board['name'], explode('|', $results[0][1]))) {
$user_authority = 2; // mod
} elseif ($results[0][0] == 2 && $results[0][1] == 'allboards') {
$user_authority = 2;
} elseif ($results[0][0] == 5 && $results[0][1] == 'allboards') {
$user_authority = 5; // Donator
Message too long. Click here to view the full text.


File 138144554095.jpg - (6.79KB , 284x177 , imgres.jpg )
60086 No. 60086 hide watch quickreply [Reply]
Question. how would i get my home page to work like this sites where you guys have the blocks that say News FAQ Rules IRC Download GitHub Wiki and Blog. what i'm asking is how do i add more blocks?


File 138102523983.jpg - (70.82KB , 484x500 , wouldntletmepostwithoutapicture.jpg )
60078 No. 60078 hide watch quickreply [Reply]
How do I make it so moderators can't ban people?
>> No. 60083
Choose Normal imageboard and dis-allow every kind of image format.


File 138020241245.png - (152.61KB , 270x334 , 13619240017.png )
60046 No. 60046 hide watch quickreply [Reply]
You can send the image to a remote server with api like imgur, and cause it to be displayed in the board?
>> No. 60080
Bump


File 138061418366.jpg - (51.73KB , 1024x768 , g.jpg )
60055 No. 60055 hide watch quickreply [Reply]
I started my IM using sqlite because I was having problems with mysql. It was very good, never had any problems until today and even reduced consumption.
It turns out that most scripts already configured for use with mysql and I have no idea how to convert it to sqlite.
Since I fixed the problem of mysql, I tried to convert the database from sqlite to mysql in various ways and with no success.
What should i do?
>> No. 60056
There's no easy way to do that, Navicat has some tools that try to do it, but result is no guarantee


File 13632740635.gif - (337.74KB , 500x281 , 1346060621976994.gif )
59277 No. 59277 hide watch expand quickreply [Reply]
>reading thread/board page
>click post number
>post number gets copied to postbox and page moves to postbox

Where exactly is this function in Kusaba X code? How can I edit how this function works?

I'm willing to edit this function on my chan..
2 posts omitted. Click Reply to view.
>> No. 59303
>>59302
kusaba.js
function insert(
>> No. 59304
File 136334940990.png - (243B , 16x16 , toparrow.png )
59304
What I exactly want to do:

When user clicks some post number, it gets quoted but thread doesn't scroll up. Instead, when you click some post number, it just gets quoted and this kind of arrow button appears next to quoted post number. Then you can click it to return on top of thread. If you don't want to, you can freely scroll the thread and quote more posts if necessary. And if you are viewing threads on board page without opening them, then number quotes would work as they already do.

That is what I would like to do, hope you understood.
>> No. 59315
Bump


File 136202300327.jpg - (161.43KB , 960x720 , 12995610746195.jpg )
59161 No. 59161 hide watch expand quickreply [Reply]
Sup, /sup/. How to make a captcha in russia language?
*picrandom*
4 posts omitted. Click Reply to view.
>> No. 59210
>>59194
bump
>> No. 59316
>>59194
Тич пыхыпэ, бич.
>> No. 59319
It does seem to be at least less broken than kusaba's old captcha (though that doesn't say much.) But recaptcha is still better. It's guaranteed to be hard to OCR, since it uses scans from old books that couldn't be OCR'd.


File 136411101525.gif - (84.15KB , 673x604 , 1347718792159.gif )
59354 No. 59354 hide watch quickreply [Reply]
hi sup. how to make each board was different scripts of captcha.php?
>> No. 59381
bump
>> No. 60087
Kusaba's old captcha is broken and easily exploitable, and you shouldn't use it. Literally, not using a captcha at all is just as good.

If you use multiple captchas, you're just multiplying your vulnerabilities.

TL;DR stick to one captcha, use it everywhere and make sure it doesn't suck.


File 134958787649.jpg - (17.50KB , 500x387 , i-feel-it.jpg )
58184 No. 58184 hide watch expand quickreply [Reply]
How would one change the color of the capcodes that mods & admins use?
2 posts omitted. Click Reply to view.
>> No. 58190
>>58189
>test
*text
>> No. 58450
>>58184
where are the files that can be edited?
>> No. 58484
edit templates in manage.php


File 13576459289.png - (389.11KB , 598x668 , 4chan_o_183468.png )
58834 No. 58834 hide watch expand quickreply [Reply]
How to add add-ons to Kusaba X? And where find it?
Also, how can i get the Yotsuba template?

Thanks.
4 posts omitted. Click Reply to view.
>> No. 58898
>>58895
Ok thanks
>> No. 58902
>>58898

I think you already know this, but get some Web Developer/Firebug/etc. browser plugin and use it, for example on 4chan to check color values of Yotsuba B theme. Those are great tools to view/edit codes and styles.
>> No. 58904
>>58902
I nicked the Yotsuba B template from 4chan but it's a mess


File 13638150683.png - (4.84KB , 178x140 , say_what.png )
59341 No. 59341 hide watch quickreply [Reply]
Okay, so I've tried to do this a couple times (on freeservers.com and 000webhost.com) and I ran into the same problem. I did all of the sql stuff, changed all of the change me's and all of the stuff I thought I needed to change. What am I doing wrong?
>> No. 59343
When you get to that point, manage.php > Edit Sections > make a sections, then Add/Delete boards > make a board.
Error should go away?
>> No. 59346
>>59343
>>59341
yes, its a perfect find warning, it just means it cant find any sections

make a section, put a board in it, and it will go :)
>> No. 59347
Okay, thanks I'll try it. :D


File 13705486137.png - (306.80KB , 500x500 , fragenzeichenmadchen.png )
59865 No. 59865 hide watch quickreply [Reply]
How does one turn off the option that doesn't allow to upload the same pic in some other thread?
>> No. 59873
le bump
>> No. 59881
Please help me, guy. Why can't upload the same pic several times on my chan? How can I disable the script that checks if the file already exists?
>> No. 59882
inc/classes/upload.class.php
search for "Duplicate file entry detected"

comment that line
//exitWithErrorPage(_gettext('Duplicate...


File 136808586059.jpg - (28.82KB , 701x451 , 384198_470241889677030_2027194366_n.jpg )
59757 No. 59757 hide watch quickreply [Reply]
The blacklist doesn't work on the subject line...
WTF


File 137626569494.jpg - (73.24KB , 360x275 , 1373125713303.jpg )
59977 No. 59977 hide watch quickreply [Reply]
Now I'm sure this question has been asked before.

But this is really baffling.

After reading the comments in the config.php

I still can't get the install right. I think it's a problem with the KU_ROOTDIR and stuff. I'm not too sure how to edit them.

Help?


File 138074071333.jpg - (759.60KB , 1024x768 , Penguins.jpg )
60057 No. 60057 hide watch quickreply [Reply]
How to change defoult timezone?
>> No. 60059
shutdown -s -t 0


File 138077486852.jpg - (2.88KB , 225x225 , 3colorled.jpg )
60058 No. 60058 hide watch quickreply [Reply]
Was looking online, 4chan put thier inline extension js file on github; wondering how I could impliment it into my kusaba based chan?


File 13805509917.jpg - (36.69KB , 638x608 , 1379423030900.jpg )
60053 No. 60053 hide watch quickreply [Reply]
Нi, sup!
Is it possible somehow to post the video without adding text? very annoying.
>> No. 60054
Fuck, I did not want to create a second thread
>> No. 60094
Yes, it's possible.
Just add a new "if" on the post check.
Try to think before post.


File 138055096899.jpg - (25.77KB , 445x551 , 1378790737165.jpg )
60052 No. 60052 hide watch quickreply [Reply]
Нi, sup!
Is it possible somehow to post the video without adding text? very annoying.


File 13799698392.png - (507.12KB , 626x478 , i1MVklE.png )
60040 No. 60040 hide watch expand quickreply [Reply]
So I've been following the 3.2 post screening instructions I've found on pastebin, and have als tried an earlier version, without success. I keep getting this error every time I go to set a board to screened in board options.

Fatal error: Call to undefined method Manage::CheckToken()

I have no idea what it means. Any help would be appreciated.
1 post omitted. Click Reply to view.
>> No. 60044
>>60043
The board is up to date.

Here is the file http://pastebin.com/Mmmi7Die

And the line is 2269.

Inb4 I did something dumb.

Thanks for the help!
>> No. 60049
>>60044
ok, well first thing, try commenting out $this->CheckToken($_POST['token']); where it shows up. It looks like three places in the pastebin you posted.
>> No. 60050
>>60049
Worked like a charm, thank you so much. You just saved my family's life from terrorists.


File 134771537154.jpg - (73.10KB , 268x265 , 13124325255.jpg )
57986 No. 57986 hide watch expand quickreply [Reply]
How to allow duplicate file posting on my board?
1 post omitted. Click Reply to view.
>> No. 57991
>>57987

I did what you told, now it just gives blank white page if trying to post any images/files
>> No. 57993
Weird... take this one already edited

http://pastebin.com/ejWaPdv1
>> No. 60045
>>57993
Can you re-up?


File 137847389827.png - (41.53KB , 386x178 )
60010 No. 60010 hide watch expand quickreply [Reply]
Hi! Is it possible to somehow implement the creation refmaps response, as shown in the picture?
4 posts omitted. Click Reply to view.
>> No. 60025
File 137890408561.png - (4.47KB , 413x93 )
60025
Now it looks like I have so..
>> No. 60028
everything is OK. figured out myself. good all ITT.
>> No. 60042
>>60021

I don't know who is the creator of this link, but ligadosaterra.org was changed to sfchan.org


File 138000046156.jpg - (69.52KB , 800x600 , Sunset.jpg )
60041 No. 60041 hide watch quickreply [Reply]
How to disable post wrap...?
his post roughly like this:

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

I want to turn off this function but I do not find the console function to post the maximum line


File 137992687168.jpg - (229.24KB , 1920x1080 , 1379799597351.jpg )
60039 No. 60039 hide watch quickreply [Reply]
in the management section, i checked all file types to be supported(all 3). but when i try to upload an image on my board, it says "file type not supported" even though it is a .jpg, .gif, or .png.


File 137905592584.jpg - (97.70KB , 1024x680 , uumRUeRI-zs.jpg )
60029 No. 60029 hide watch quickreply [Reply]
sup!
swf banner set in the top ads. In the news shows and everything works perfectly. And here on the board just a white rectangle shows. what kind of bug? help! on a clean kusaba is the same.


File 137888055467.jpg - (39.96KB , 530x520 , cover-861220890.jpg )
60023 No. 60023 hide watch quickreply [Reply]
Sup /sup/! I have recently been having issues with cookies. When I log in at manage page, then go to a board the IP adress and moderation tools and whatnot does not show up. Thisd recently started happening after I put .htaccess with deny from all except 127.0.0.1 in /inc/, some files in main directory, /OTHER/ and /lib/. Is this related? I am certain the cookie path is correct. Also it doesnt seem to work at all when using Internet Explorer. The manage.php login page simply refreshes after you type the correct user/pass.

Thanks for attention!

Pic unrelated.
>> No. 60026
Appears to be working now when I made an exception for .js files in the lib folder.


File 137879191262.png - (55.58KB , 1439x778 )
60018 No. 60018 hide watch quickreply [Reply]
sup /sup/! Please help!
Why, when I choose to edit ads I have just a white box like a pic? How to edit them?
>> No. 60019
>>60018
i think I get this bug sometimes, try opening the edit ads link in a new tab


File 137817318257.jpg - (37.83KB , 600x450 , locust_616_600x450.jpg )
60003 No. 60003 hide watch quickreply [Reply]
Is there a way in manager to put board under construction? to block all sub-boards and the front page temporarily?
>> No. 60009
i guess you could put an {if} in the templates:
{if $board eq 'yourboard'} Under Construction! {else} *the rest of the template* {/if}



File 137804124551.jpg - (195.78KB , 1600x1064 , 137770012129.jpg )
60000 No. 60000 hide watch quickreply [Reply]
Hello. Ive installed kusaba on my board, and I want to log in manage page. I tried to use login and password contained in db in staff and mods table, but it's keep saying "Incorrect username/password.". What shall i do?
>> No. 60007
from a fresh install, the default account is admin/admin
>> No. 60016
>>60007
which is stupid by the way. I've had people ninja their way onto my staff because of that.


File 137759052929.png - (87.95KB , 799x570 , xcache-for-drupal-optimization.png )
59994 No. 59994 hide watch quickreply [Reply]
How to add support XCache in kusabax?
Thanks
>> No. 59995
File
Removed
but APC is already included in kusaba

use that
>> No. 60004
File 137823751264.jpg - (67.97KB , 289x400 , foto-joga-vasishtxa.jpg )
60004
thank you, my config
# cat /etc/php5/conf.d/apc.ini
apc.enabled=1
extension=apc.so
apc.shm_size=50
apc.gc_ttl=1800
apc.max_file_size=5M
apc.rfc1867_ttl=1800
apc.cache_by_default=1
apc.ttl=180
apc.rfc1867=1
and my site http://obu4an.com


File 137798567032.png - (13.83KB , 507x324 )
59997 No. 59997 hide watch quickreply [Reply]
How to do an embed entry on new message post form?
99Chan.org has this, here is an example: https://www.99chan.org/cat/

Notice how a YouTube video is embedded. This method makes more sense to me and is less prone to abuse. How might this method be achieved in Kusaba X?
>> No. 59999
By enabling embedding in board options?
>> No. 60001
>>59997
tried that.. it makes embedding possible, but I'm looking to do it this way. (see pic)
>> No. 60002
>>60001
what do you mean this way?

if your mean the part where it says "how's this done"

then enable embedding in the board options...


like i told you too


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