This thread is for all your simple questions about installing and running Wakaba or Kareha, that just require quick answers. Please don't create any more new threads for issues like that, post them in here instead.
when i press preview post on the kareha boards i have setup they just say loading and do nothing else. any idea what the problem could be?
Do you have the right version of kareha.js installed?
>>594
it was a fresh install of kareha (i think).. lemme check
Any messages on the Javascript console?
>>597
no, but firebug pops up and shows this..........
NEVERMIND. I just tried to upload a screenshot but I got the anti spam message!
Anti-spam filters triggered.
If you are not a spammer, you are probably accidentially trying to use an URL that is listed in the spam file. Try editing your post to remove it. Sorry for any inconvenience.
Uh ohhhhhhhhhhhhh, looks like you've got something to work out maybe?
Anywy, here is the screenshot: http://wtfux.org/misc/what.JPG
Found a problem close to mine (http://wakaba.c3.cx/sup/kareha.pl/1120353264/l50), but thought I would ask before I dismiss it as fixed. My host will not install mod_header, want me to pay extra, blah blah. Do I lose any functionality not fixed by adding <meta http-equiv="Pragma" content="no-cache" /> to the futaba_style.pl script?
My symptom before I added this line was that I would post a thread, and then attempt to reply to the thread and it would hang on waiting for host and then eventually display a blank page. Reloading showed no post, but then adding this line fixed it all.
IE is no concern of mine, but does this line fix all functionality lost by not having mod_header?
That certainly sounds like a browser bug, or unintended behaviour. You should really not be getting an error inside a try
statement, as that is used to allow and catch errors in code! Is anyone else having the same problem?
Also, I tried putting out a fix for the spam bug for people to test, but nobody ever reported back whether it worked or not, so I still have no idea if that did anything.
It should be approximately the same, although I am sure there are cases where it does something different (because there always is), but if it looks like it's working, that should be good enough.
Hello
I understand that the futaba_style.pl script handles the pages when they are refreshed or whatever, but what i dont get is this
i added my code, then i reinstalled the script on the server, and it made no changes, i didnt see the ad anywhere. I just want to know what file and where i place my google ad code, becasue this doesent seem to be working here. again if anyone has done ads with the wakaba script please pass some info over on how to do it, im just not seeing it rite now, thanks!
You need to tell the script to actually write a new copy of wakaba.html before you see any changes. Go to the admin panel and pick Rebuild caches.
>>601
Do you have xhtml disabled? What sort of ad are you trying to run? Letterboard? Tower? Box? What's the dimensions and where do you want them to go?
You can see the way I have mine setup @ wtfux.org/random/
>>600
Could you try and use the preview feature @ wtfux.org/dis/ ?
would it be possible to somehow ban the MD5 hash of an image on a wakaba board?
>>606
alright so it must be my browser.
about the md5 hashes: i'm being sued (have been for a long while) by a particular artist over copyright infringement. all because people posted his works on some of my imageboards. my plan is to take every image of his that i can find, round up the MD5 hashes and only those ones, and ban these from being posted. it's very troublesome to wake up to see that some spammer posted a bunch of his images while all of our mods are away. this almost always leads to more DMCAs. I've had over FORTY in the last two years just from this one artist. You don't want to know the actual total..
Case in point.. it would be really really helpful. I know that people can simply alter the tiniest part of the image to change the MD5, but at least it would stop the people that are too lazy to do that. (most spammers are)
I can understand that this might not be a feature that most people would require. All things aside, I don't know how to do it myself. If you could point me in the right direction I would be most grateful.
In that case, dig into wakaba.pl
's process_file
function, and look for if($md5)
, where the existing MD5 checks are. If you want a quick hack, add something like this:
my %banned=(
"12345abcd67890..." => 1,
"44332211fedcba..." => 1,
);
if($banned{$md5})
{
unlink $filename; # make sure to remove the file
make_error("Enough of THAT");
}
>>608
Works well, thanks. Is there any way that I could put the MD5 hashes into a text list and have it read them from there? There are a loooot of them and I don't really want a huge list in wakaba.pl.
I'm having the same problem. Running ubuntu edgy. My perl testfile named test.pl works fine, while i get download dialog if i try to run wakaba.pl.
This may or may not work, I have not tested it:
my %banned=map ($_=>1),read_array("filename");
More elegant would be to implement an SQL query that gets the values from the admin table, but that would take actual work.
my %banned=map { ($_,1) } read_array("filename");
Maybe?
>>615
works awesomely... :D doesn't even noticeably slow down posting.
Quick question: If i wanted to show the users IP address (as a sort of scare tactic) in the error message that shows when they try and post one of the "blacklisted" images, how would I do this?
Right now I have:
in strings_en.pl -
use constant S_MD5BAN => 'You are not allowed to post this here!<br />'.
'Your IP has been logged for legal purposes.<br />'.
'<var dec_to_dot($ip)>';
in wakaba.pl -
if($banned{$md5})
{
unlink $filename; # make sure to remove the file
make_error(sprintf(S_MD5BAN));
}
Change the <var...>
to %s
and add ,$ENV{REMOTE_ADDR}
to the sprintf
statement.
Is it possible to restore archived threads?
One of my threads was accidentally sent to the archive. Is there a way to get it back?
In Wakaba? No, not really. It is theoretically possible if you made a tool to do it, but I haven't made any such tool.
hmm, has anyone else noticed that "sage" in the email field is turning into "mailto://sage/"?
bumping because it still sages the thread correctly
So, how would I add admin features that work to the normal post interface for a board? I understand that I will have to use javascript to check for the admin cookies, but how do I add a delete button and ban button that passes $admin along without having it show in the html for the board?
>>623
no it doesn't. it turns into mailto:sage, which is what it's supposed to do.
For which script? Well, either way, the answer would be that you have to use Javascript to either inject the buttons into the page once it's finished loading, or else put the links into futaba_style.pl, make them style="display:none", and then use javascript to find them, make them visible again, and inject the admin pass into their hrefs.
>>627
Yeah, that makes sense. For wakaba btw. Now I just gotta learn me some more javascript. aka go steal some
fuck.. i had another question to ask and it was really good. i don't remember it. :(
p.s. i got the anti-spam filter error message again. i just renamed the image, let's see if it uploads.
ARGH, got it again.. wtf. k i deleted the 'f' at the beginning of the filename. asdfas.JPG
ooh ooh ooh, what about a thread close feature for wakaba? nothing says "shutup, you're dumb" like:
This thread has been closed. You cannot post in this thread any longer.
..why is my oekaki saving images as peoples IP addresses? http://lulz.net/oekaki/wakaba.html You can only create and upload one image, after that it says that a file with that name has already been uploaded.
>>630
Insert a new line at line 87 of extras/oekaki/finish.pl and enter
my $filename = time().sprintf("%03d",int(rand(1000))).'.png';
Then, change line 88 (the call to post_stuff) to read
post_stuff($parent,$name,$email,$subject,$comment,\*TMPFILE,$filename,$password,
0,$captcha,ADMIN_PASS,0,0,OEKAKI_INFO_TEMPLATE->(decode_srcinfo($srcinfo)));
That way, even if you have images set to keep the poster's filename for them (as per your config.pl), oekaki posts will use a timestamp-style filename.
>>626 Ohh, I bet it's Google toolbar editing the links so that it catches them for gmail when I click on them. Nevermind.
Does anyone else get the spam error message when they try and use the manager post feature in wakaba? Maybe it's just something I changed in my script..
>>634
Ah, we fixed it. Is everyone else not getting the spam message when they use the manager post? The problem was that the names of the fields hadn't been changed from the older versions and the spam trap fields hadn't been added. Why does the manager post even get put through the spam check anyway?
Hello
I really urgentally need some help here guys. I have a horizontal google ad code i need to put on my site (on the wakaba.html page). But everytime i do it and i post somethign the ad disapears. can someone tell me where to put my google ad code so i can have it either on top of the post form or below it without the ad being removed everytime someone makes a new post? let me know, thanks guys.
(if someone can give me a psecific file and place to add it that would be very sweet).
>>636
You want to put it into futaba_style.pl.
Place it between:
<if $postform>
<-------AD GOES HERE------->
<div class="postarea">
This will put the ad right above the post form.
Also, you will need to set USE_XHTML => 0; in config.pl.
If you are using the .htaccess that is provided with wakaba, then you will also need to comment out the following lines as I have:
#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
#RewriteRule \.html$ - [T=application/xhtml+xml;charset=utf-8]
#</IfModule>
Hope that helps. ;)
THANK YOU THANK YOU THANX!!
u guyz r the best!
lol actually shits...hmm for some reason its not working :( hmm very weird i tried everything you posted here...is there any way that i could of done something wrong here....hmm
it says the google ad code is js does that change anything....just trying to eliminate all possibilities here.
ok hmm
for some reason (its not the code thats the problem here) its that whenever i reload wakaba.pl it doesent change and for some reason read the new changes i put on the futaba_style.pl file
what cold be wrong here.
>>641 Did you rebuild caches?
Also, check the source (of wakaba.html). Is it all on one line? Then you need to turn off that function as well.
>>641
go to the management panel: yoursite.com/wakababoard/wakaba.pl?task=admin
and press Rebuild Caches.
Can you provide a URL to your board so I can check your html?
Good idea or bad idea: checkbox for returning to the same thread rather than wakaba.html after posting
maybe this can be the prob...
the google ad code is in green so maybe its commented out for some reason. i have google ads on antoher sit and its not greened out so is that the problem, and how do i fix dat??
>>645
Btw man.. you might not want to have all that CP on your site. It's definitely not good to tell people to post it.
Calvin August ([email protected])
+1.5133156092
6978 deddy road
cincinnati, OH 45243
US
The FBI will enjoy busting in your door. Just letting you know..
yea im aware of that, thanks.
ive aloready encouraged them not to.
the cp txt board is there b.c poeple like talking about it, thats fine in my mind. you wont find ne cp pics there aloready deleted.
thanks all for your help you guys own!
>>650
lol there was plenty of cp, especially on your upload thing.
REPORTED.
oh man this is gonna be fun. talk to you when i wake up.
I never liked that idea, because I don't think image boards should just be about endless posting of images by one person. Also, posting scans of whole volumes of stuff is pretty immoral.
>I never liked that idea, because I don't think image boards should just be about endless posting of images by one person.
As cool as you are, you shoot down a lot of decent ideas for the simple fact that you don't like it. :(
No one said anything about posting scans of whole volumes, and not having a checkbox that returns you to the thread isn't going to stop it from happening.
It works for discussion and the posting of images. I see it as a way to simply make things easier for the users. Of course, it's not exactly strenuous to scroll and click back onto a thread after you've posted to it, but you'd be surprised how often a post misses its mark.
A user can always delete their post if they miss a thread, but:
a) a good deal of users don't even know they can do that
b) it adds more bandwidth usage (however small it may be) and
c) the checkbox could circumvent misposting altogether.
That is... if the users understand it better than using the password to delete it!
In the end it's all personal preference.
By the way, we should have our sticky thread feature working by tonight and we will be reworking the moderation panel to look like the normal post interface. That's a whole different discussion though, aye?
> As cool as you are, you shoot down a lot of decent ideas for the simple fact that you don't like it. :(
Well, in my mind, that's what design is all about. Figuring out what to add, and what to leave out. The issues at hand here are the additional complexity from adding the control versus the usefulness of it. I kind of think the post form is far too complex already, and if I wasn't trying to be faithful to the original Futaba layout I would cut down on the number of inputs in it even more. I think the usefulness really is limited to mostly cases where you post multiple images to a thread, and although I don't think this should be prevented, I think it should be encouraged either, especially not at the expense of clarity.
>>654
I'm interested to know what you would remove from the post form.
The subject field is mostly useless. Few people use it, and when it's used it's often annoying. The password field is just confusing and nobody really uses it anyway. In Kareha, it's hidden and auto-generated, but I guess this could be further refined, for instance so that a post with an empty password (in case Javascript is off) can be deleted from the same IP only. I am a bit torn on the "No file" checkbox. On the one hand, it serves a purpose by warning people when they try to reply without pressing Reply, but on the other hand people still manage to do that.
If it wasn't for sage, the link field would also be mostly useless. If I was starting from scratch, replacing it with a checkbox for sage might be a better choice. Not to worry, though, I know lots of people don't like that, and I'm not about to do it.
>The subject field is mostly useless. Few people use it, and when it's used it's often annoying.
True. I was thinking that maybe having a subject field only for the first post in a thread might be better.
>deleted from the same IP
Might cause problems when proxies are used. I like the way Kareha's password is auto-generated. Is it saved as a cookie or does it go by IP? I haven't checked out the code.
>I am a bit torn on the "No file" checkbox.
Yeah.. I've never really seen a need for it.
>If I was starting from scratch, replacing it with a checkbox for sage might be a better choice
The sage checkbox is a great idea, and the people that don't like it protest it because it's not traditional. It does, however, make things a lot less confusing.
I believe that if there's enough people that want a feature then it should be added. It can't be that hard to add features that can be enabled/disabled in config.pl to keep everyone happy.
omgg!!1111111 i think all imageboards should be in japanese cause that's how it should be kawaii desu ne nyoro~n etc
> I like the way Kareha's password is auto-generated. Is it saved as a cookie or does it go by IP?
It is generated client-side by Javascript, and saved in a cookie. This means it breaks if somebody disables either Javascript or cookies, which is a bit of a problem.
I'm trying to customize my silly anonymous, and I did the following:
return cfg_expand("%G% %I%",
G => ["Abdul Shaheed","Abdulwahab","Al-basir","Anayatullah","Arshad","Bakhtiyar","Bashir","Ehteshaam","Fajyaz","Fakhr-al-din","Fareed","Fazil","Habib","Haidar","Hakeem","Hasim","Hayatullah","Jakeem","Jalal","Jannuh","Jawhar","Jibraill","Kaleem","Kamran","Kareem","Katerah","Laeeque","Maaheem","Mahmud","Mahrukh","Muammar","Muhaymin","Mujahiddin","Musad","Nadeem","Nadir","Naveed","Nisar","Nur-al-din","Osman","Qaiser","Rafiq","Rashid","Riyad","Rizwan","Roshan","Saad","Sadiq","Sadaqat","Saeed","Salah-al-din","Salim","Sarmad","Seemaab","Shabbir","Shahmeer","Tayib","Tufail","Usama","Wajahat","Waseem","Xavier","Yahya","Yasin","Yusua","Zaheer","Zaid","Zeeshan","Zuhaib","Zuhra"],
I => ["A'men","Akir","Aarez","Aasir","Aayan","Abdiwahad","Abdullah","Abyan","Akhtar","Akhyar","Aziz","Badi","Bahij","Bahadur","Bakht","Bashar","Didar","Din","Enaan","Fadil","Faizan","Faruk","Fawzi","Gamal","Ghalib","Ghassan","Gulzar","Hadja","Hafiz","Harith","Hatim","Jawwad","Jihad","Kalil","Mahad","Majid","Momin","Mudassar","Murtaza","Naim","Najir","Obaid","Ovais","Owbada","Qaiser","Qasim","Rafat","Raghid","Redouane","Rohail","Sabir","Saeed","Sahul","Salih","Samien","Sayyid","Seki","Shahwaiz","Tawil","Tayib","Thahseen","Thufail","Waleed","Yasir","Zahir","Zaid","Ziyad","Zubair"],
);
But I get a 500 Internal Server Error when I try and run wakaba.pl. :( What did I mess up in there?
[Sat Mar 10 21:34:16 2007] [error] [client 75.36.85.246] failed to open log file
[Sat Mar 10 21:34:16 2007] [error] [client 75.36.85.246] fopen: Permission denied
[Sat Mar 10 21:34:16 2007] [error] [client 75.36.85.246] Premature end of script headers: wakaba.pl
[Sat Mar 10 21:34:16 2007] [error] [client 75.36.85.246] File does not exist: /home/cho0b/wtfux.org/internal_error.html
Few questions
What is the manager post?
Can you sticky threads in wakaba?
How do you register and use tripcodes?
What about admin/mod shit like shown on 4chan?
>>664
Manager post is a way for managers to make posts (go figure.) They allow for html usage in the post.
There is no sticky feature in stock Wakaba. Mine can sticky :D
You cannot register tripcodes. There is no registration on anonymous imageboards. To quote the wakabawiki "Tripcodes are used as a proof of identity, while still remaining anonymous. If you enter your name as Name#tripcode, it will be shown as Name!3GqYIJ3Obs, the idea being that only you know the code word used to generate the tripcode."
What kind of admin/mod shit shown on 4chan? There is only a moderator interface wherein you can delete individual posts/images, delete every post made by a specific user, ban an IP, and some various other things.
nvm i fixed it.. stupid mistake. (the silly anonymous thing)
How do I disable users from being able to change the board look? Or am I just being a nazi?
Read earlier posts in the thread.
>>635
Could you please list for those of us more dense specifically how to fix this?
>>672
Deleted admin bar div from futaba_style.pl, added allowed html to config.pl and still get the error. Does it make a difference if I'm using wakaba 3.0.7 (forgot to mention it last post.)
I'm having a weird problem.
Sometimes Wakaba goes into a state where no one can post images - the server just hangs indefinitely if this is tried. However, posting comments is never a problem.
One solution for this bug, when it happens, is to simply overwrite wakaba.pl with a clean copy. Could it be that wakaba.pl is getting corrupted somehow?
That seems unlikely, corruption would be a fairly severe problem and it would most likely cause actual errors. I wonder if you're not running some kind of Apache module that is doing something too clever for its own good, and that resets itself when the timestamp on the script file updates. You could try just touching the file to update the timestamp and see if that also helps.
I am running Apache, but haven't installed any weird modules. Could have some pre-installed though. I'll lok into that, and maybe just set up a cron job to touch the file from time to time. Guess it can't hurt. Thanks.
>>674
Glad I ran it on a test board first haha. (Actually doing so didn't change anything anyhow, but whatever lol.)
A secondary question though. Posts often don't show up due to wakaba.html not refreshing. What's the best way to force a refresh?
>>678
Ignore second question, thought I searched the whole thread but didn't.
WAHa, would you be interested in possibly retooling the existing Wakaba codebase for an anon-only 2ch variation with tagging, comment ratings, searching, sorting and an original layout?
>>681
I'm guessing the "tagging" part set off your prehensile anti-Web 2.0 sense, eh?
>>682
i was loling at your entire request. unless you plan on offering some sort of payment to Waha then I'd say your request isn't gonna be fulfilled. maybe you should make one yourself?
>>683
I'm only proposing it if he has any latent interest in developing such a project in his free time. It's not like I'm storming through the door and demanding that he do it.
▓██████████▓░▒▒▒░░░░░░░░░░░░░▒█
▓██████████▓███████▒▒▒░░░▒▓██▒▓█▒
▒████████████▓▒▒▓████▓░▒███▓▓░▒█▓
▒██████████████▓▒▓███▓░▓██▓▓▓▓▒▓▓
▒█████████████▒░▒████▓░░▓▓░░░▒░▒▓
▒██████████▒░░░░▒▒██▓░░░░░░░░░░▓
▒███████████▓▒░░░▒▓▒▓░░░░░░░░░▒█
▒████████████▓░▒▓██▒▓▓▒░░▒▒░░░░▓
░▓███████████▓░▒███████▓▒▒█▓░░░░░
░▓███████████▒▒█████████████▓░░░▒
░▒███████████▒█████▓▓▒░░▓▓██▒░░░▒
░▒████████████████▒░░░░░░░▓█▒░░▒
░░▒██████████████████████████▒░▓▒
░░░▓████████████▒▒▓█████████▓▓█▒
░░░░░▓████████▒█▒░░▓██▓▒█▓████▒
░░░░░▓████████▓▒██▒░▒▒░█▒▓████
░░░░░▒█████████▓░▒▓▓░░░▒▒▓███▒
░░░░░▒███████████▒░░░░░░▒████▓
░░░░░░▓███████████▓▓▒▒░░▓████▓
░░░░░░▓████████████████▓█████▓
Well, the idea has run through my head once or twice, but I've dismissed it in the past due to a lack of time for it, and I have even less of that now, so it is not likely.
Also, my inability to figure out a good set of basic mechanics that would not degenerate into groupthink and popularity contests has also prevented me from bothering furhter with the idea. Stuff like "comment ratings" especially are horrible.
The web 2.0 world is already filled with these horrible failures of community building, and I have no wish to add to their numbers.
> that would not degenerate into groupthink and popularity contests
but that's what web 2.0 is all about!
Perhaps I'll wait for the 2.1 update.
While I agree that a WEB 2.0 feature rich version of Wakaba would be awesome, I can understand that not enough administrators in the community would appreciate it like the few of us would.
Why the square and two triangles links displays with slightly diffent shape in Firefox? The square particularly is even smaller in size.
Strange that I browsed similar forums and all of them uses the same chars (■, ▲ and ▼) and all display ok in any browser.
It is a mystery.