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.
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.
Ok I found why. Needs just to set a mona font for these links styles.
>>693
Or you could use a font with decent unicode coverage as your default font...
I'd suggest the DejaVu fonts (Sans, Serif, and Mono Sans). They're free and, unlike Mona, actually look pretty nice.
>>270 where is this exact section of the function? And what would be put in to make it forward to the post?
http://lulz.net/furi/wakaba.html
We just started using our new wakaba.pl and futaba.pl files. We now have working sticky threads and a reworked management panel.
The management panel is now paged and made to look more like the actual main board.
There is also a janitor login area. Janitors cannot ban users or make threads sticky/unsticky. They can only delete files/posts.
(8 just braggggggging :X
>>696
you know you're making a pretty convincing argument that stickies are a bad thing, right?
>>697
1) Please give information as to how I am doing that.
2) Like it matters. No one else thought it was a good idea so we added it ourselves.
3) you know you're making a pretty convincing argument that stickies are a good thing, right?
>>698
1) furries.
2) FURRIES.
3) FURRIES.
now go die in a fire kthxbai
>>699
lol, the fact that we are testing all the features you hate with a niche that you hate is.. bad?
when we finish bug testing and tweaking our addons i will add them to our main boards/site. lulz.net is both our testing area and our trolling ground. if you do not see the obvious bonuses to controlling a furry community while not being a furry yourself, then you are blinded by your own e-peen.
>>701
It doesn't matter. Your opinion has no reflection on our decisions.
If you would like to read up on the arguments for and against sticky threads, then just screen through some of the threads on this board. You'll find people giving obvious reasons why sticky threads would be helpful and then you'll find other people responding with "That's stupid. You're stupid. Stickies are blasphemy and no one will use them in my presence!"
Oh, and don't forget the ever popular "If you have something so important that every user must see it, then add it to the rules.html (and then reupload the .html file and then rebuild thread caches after waiting a minute for the management panel to load because your board has 20 pages of huge threads.)"
To which someone would reply "But what if I don't want to make my post form look bogged down and retarded? Perhaps there is a lot of information I need to pass on to the users and simply making a thread (that can be collapsed forever if you wish) would be the easiest route."
I will say this: It is a matter of opinion, and it just so happens that we believe sticky threads are helpful. The best part about a feature is you don't have to use it but you can if you want to.
The disadvantage of this form of forum is that I know more about this than you do, and making that post more than one paragraph is useless information.
It sounds like an opportunity for another field that only shows on front pages. Also, your SQL server is really slow.
>>703
I spread it all out real neat like just for you.
I even left cute little "in short" messages like this:
>>I will say this: It is a matter of opinion, and it just so happens that we believe sticky threads are helpful. The best part about a feature is you don't have to use it but you can if you want to.
p.s. gj on knowing more than me about anonymous imageboards.. i guess. did you get a PHD on japanese subculture or something?
It was awarded by the university of kamiyama mangetu-chan.
Im installing a wakaba board, and its going just fine. the only problem is the verification code section doesnt go away.
I have set use constant ENABLE_CAPTCHA => 0; but its still there. I deleted my browser cache, still there. any suggestions on how to get rid of the verification section beyond this?
>>707
did you rebuild caches after making the change? go into your moderation panel and click the "rebuild cache" link.
Alright, im a dork, I uploaded the wakaba.pl file again before doing the captcha change and forgot to set its CHMOD to 755.
this is probably a really, really stupid question, and I'm sorry if it's been asked and answered multiple times, but I'm growing frustrated. I'm using PHPMyAdmin, and I've created the database, and every time I try to upload the config.php file, it says that I'm not using proper syntax, but I've tried editing it every way I know how. Does anyone have an idea as to what's going on?