The Wakaba and Kareha support thread (1000)

1 Name: !WAHa.06x36 : 2006-03-09 11:41 ID:l2svyCMe [Del]

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.

531 Name: Aiko : 2007-01-31 19:10 ID:ROF64GQl [Del]

Thank you very much! I new on this, and i a little emm... dumb jeje, but with your explanation i have my imageboard =3

But i have another question, how i do to have many seccion, you know like 4chan, i mean, how i do to have a frame with the sections. I have to do a directory for every section?

532 Name: Anonymous : 2007-01-31 21:11 ID:Heaven [Del]

>>531
you need to setup a seperate directory for each board you want to run. also you will need one mysql databse per imageboard.

if you want to have a list of the boards on one side and the actual board to the right you need to setup a framed index.html that calls two html files for 2 separate sections.

533 Name: !WAHa.06x36 : 2007-02-01 03:48 ID:VqDGzUzh [Del]

> you will need one mysql databse per imageboard.

Actually, no, you don't. You can do it that way if you want, but you can also change the SQL_TABLE option to use differently-named tables in the same database for each board.

534 Name: Anonymous : 2007-02-01 14:03 ID:Heaven [Del]

>>533
aso aso. any idea on swf icons? it wouldn't be a problem but i want a /random/ board that allows SWF posting as well. if I were to setup a seperate flash board then it would be as simple as coding the icons into futaba_style.pl

535 Name: !WAHa.06x36 : 2007-02-01 18:42 ID:Heaven [Del]

>>534

No, I really have no idea what's going on there. If you have the Perl skills, you can dig into the code and try to find what function call fails or something... Add die statements in strategic locations or some such.

536 Name: Anonymous : 2007-02-01 21:06 ID:Heaven [Del]

>>535
my perl skills are limited. Not a problem, though. I will just have a seperate flash board. ^_^

537 Name: Anonymous : 2007-02-01 23:25 ID:Heaven [Del]

p.s. how hard would it be to make the management panel create multiple pages rather than parse all of the post data to one page? the load time is horrible on boards with many posts.

538 Name: Anonymous : 2007-02-02 07:12 ID:+U916Qy9 [Del]

I've run into a formatting bug that shows up in IE with kareha in messageboard mode where if the thumbnail of an image posted is taller than the post text, the image extends beyond the end of the post body and the style is generally broken. It looks like it's restricted to the Blue Moon theme (which I rather like...) as well as Toothpaste (basically where the post body has a different color background).

I set up an example at http://damagedgoodz.net/boardtmp/

Any suggestions?

539 Name: !WAHa.06x36 : 2007-02-02 07:46 ID:l2svyCMe [Del]

None more useful than "don't use IE" or "figure out how to fix the CSS", because I don't know how.

540 Name: Aiko : 2007-02-04 16:36 ID:Hh8JZvRH [Del]

Hi again!, i have another question.

When i try put the name "Berryz Kobo" i obtain this error

Can't locate object method "Berryz" via package "kobo" (perhaps you forgot to load "kobo"?) at config.pl line 14.
BEGIN failed--compilation aborted at config.pl line 14.
Compilation failed in require at kareha.pl line 12.
BEGIN failed--compilation aborted at kareha.pl line 12.

But if i put just "Berryz" all working :S

i apreciated if anyone can help me. C-ya

541 Name: !WAHa.06x36 : 2007-02-04 20:41 ID:Heaven [Del]

"Try put the name"? You need to explain in a bit more detail what you are doing.

542 Name: Anonymous : 2007-02-05 02:35 ID:laJxzXGw [Del]

If you are trying to set the name of your imageboard to Berryz Kobo then it should look like this:

use constant TITLE => 'Berryz Kobo';	# Name of this image board

543 Name: Anonymous : 2007-02-05 16:52 ID:laJxzXGw [Del]

i've installed proxycheck into /proxycheck/ in a particular wakaba directory and set it to:

use constant PROXY_COMMAND => 'proxycheck/proxycheck -s -d achaea.com:23 -c chat::"Multi-User License: 100-0000-000" -aaaa';	

I enabled proxy check and there is an obvious pause between the time you press submit and when your post actually goes through, but when I post with Tor it does not catch the proxy. Am I doing something wrong?

544 Name: !WAHa.06x36 : 2007-02-05 19:10 ID:Heaven [Del]

I didn't write the proxy check code (dmpk2k did), so I can't tell for sure but Tor is not really any kind of normal proxy, so I'd imagine proxycheck doesn't notice it.

545 Name: Anonymous : 2007-02-05 22:16 ID:FFlhcx6s [Del]

Do you have any leads on the cause of the spam filter blocking image posts? It's getting really annoying.

546 Name: !WAHa.06x36 : 2007-02-06 05:05 ID:Heaven [Del]

No, sorry, it's damn hard to debug when you can't reproduce it. Well, maybe I should try that trick I was thinking of earlier and give it to you to test... I'll try to remember.

547 Name: Anonymous : 2007-02-06 12:57 ID:3obEaqim [Del]

>>545
If you are still experiencing it (as I'm sure my board would be too) you should comment out the block of code that handles the spam stuff. WAHa had me do that until further notice.

open wakautils.pl in your prefered editor and find sub spam_engine. comment out everything from my $spam_checker to spam_screen($query), like this:

sub spam_engine(%)
{

my %args=@_;
my @spam_files=@{$args{spam_files}||[]};
my @trap_fields=@{$args{trap_fields}||[]};
my %excluded_fields=map ($_=>1),@{$args{excluded_fields}||[]};
my $query=$args{query}||new CGI;
my $charset=$args{charset};
for(@trap_fields) { spam_screen($query) if $query->param($_) }
######################COMMENTED OUT TO STOP SPAM ERROR##########################
#my $spam_checker=compile_spam_checker(@spam_files); #
#my @fields=$query->param; #
#@fields=grep !$excluded_fields{$_},@fields if %excluded_fields; #
#my $fulltext=join "\n",map decode_string($query->param($_),$charset),@fields; #
#study $fulltext; #
# #
#spam_screen($query) if $spam_checker->($fulltext); #
################################################################################

}

548 Name: Anonymous : 2007-02-06 22:07 ID:FFlhcx6s [Del]

Also, will Wakaba get fancy DISPLAY_ID support anytime soon (i.e. ability to make IDs not persist between threads, change daily, and such?) At least the board oper I was talking to said that lack of that was his reason for not using it.

549 Name: Anonymous : 2007-02-06 22:12 ID:3obEaqim [Del]

>>548
you can make IDs change by day.

use constant DISPLAY_ID => 'mask,sage'; # How to display user IDs (0 or '': don't display,

											#  'day' and 'board' in any combination: make IDs change for each day or board,
# 'mask': display masked IP address (similar IPs look similar, but are still encrypted)
# 'sage': don't display ID when user sages, 'link': don't display ID when the user fills out the link field,
# 'ip': display user's IP, 'host': display user's host)

The way I have it setup it shows a masked version of the users IP and shows ID:HEAVEN when a user sages.

550 Name: Anonymous : 2007-02-06 23:16 ID:FFlhcx6s [Del]

Hmm. His exact words were "IDs on wakaba are broken in that they persist between threads." Guess he was wrong.

551 Name: Anonymous : 2007-02-07 02:01 ID:3obEaqim [Del]

>>550
Oh does he mean that IDs stay the same thread to thread? that's... i dunno. sounds like a dumb idea imho. what would be the point of having IDs? other than showing if one person was posting multiple times in one thread.

in the end we all want different things. i guess it wouldn't be hard to add it. i'm not the expert, though.

Also, yo WAHa I added the email link protocols to wakaba.pl and it's working as you said it would. thanks. :)

my $protocol_re=qr/(?:http|https|ftp|mailto|nntp|news|ventrilo|aim|irc|steam)/;

552 Name: Anonymous : 2007-02-07 02:30 ID:FFlhcx6s [Del]

>>551
It's because, in an extended discussion, certain people apparently have trouble keeping straight which Anonymous made which posts. I suggested SILLY_ANONYMOUS as an alternative but he thought that was, well, silly.

553 Name: !WAHa.06x36 : 2007-02-07 03:33 ID:VqDGzUzh [Del]

Persistent IDs in Wakaba are sort of impossible to do, as generating the ID requires knowing some fact that will stay constant throughout the thread, and that would most conveniently be the thread number, but the thread number is not known until the post is actually written to the database. So the ID of the first post would be wrong. I guess it could be added, with that caveat, if it's really wanted, though.

554 Name: Anonymous : 2007-02-07 07:00 ID:FFlhcx6s [Del]

>>553
Why not the timestamp of the first post in the thread? Unless that's what the thread number is.

555 Name: !WAHa.06x36 : 2007-02-07 08:06 ID:Heaven [Del]

>>554

That's what Kareha uses, but the timestamp is not actually stored in the Wakaba database, only the textual date string. One could use that instead, but in either case it would require an extra database lookup for every post, and that seems sort of silly.

556 Name: Anonymous : 2007-02-07 13:56 ID:3obEaqim [Del]

I made my wakaba display file sizes in KB rather than Bytes like so:

<var $size/1024> KB

Very easy, obviously. But it displays with lots of trailing decimals. A few wakaba versions ago I remember that I had this working without any decimal places but I don't quite remember how I did this. Is there some easy way to do it?

557 Name: Anonymous : 2007-02-07 14:28 ID:Heaven [Del]

>>556
nevermind, i figured it out. sorry I'm dumb.

<var int($size/1024)> KB

I don't mind that the rounding isn't perfect. 1KB give or take isn't a big deal.

558 Name: !WAHa.06x36 : 2007-02-07 15:28 ID:Heaven [Del]

>>557

You can just add 0.5 to get the common rounding.

559 Name: !WAHa.06x36 : 2007-02-07 17:25 ID:VqDGzUzh [Del]

>>545

If you want, try this and see if it helps:
http://wakaba.c3.cx/stuff/wakatest.zip

560 Name: Anonymous : 2007-02-08 14:52 ID:Heaven [Del]

>>558
add it to 1024? or add it to $size? orrrrrrrr add it to the product?

561 Name: Anonymous : 2007-02-09 05:53 ID:fcfmew2T [Del]

why not do ($size>>9)+1>>1 instead?

562 Name: Anonymous : 2007-02-09 16:07 ID:Heaven [Del]

>>561
Because I have no idea what that does!

563 Name: Anonymous : 2007-02-09 16:20 ID:Heaven [Del]

>>562
shift right 9, add 1, shift right 1...
it's slightly faster than doing int($size/1024+.5) (about .25 seconds of cpu time for 1000000 iterations on my machine), and, at least to me, a more straightforward way to do it...

564 Name: Anonymous : 2007-02-10 21:31 ID:yCQxWdf6 [Del]

>>563

This is Perl. The parsing cost for >> is higher than switching / out for it!

565 Name: Anonymous : 2007-02-10 22:35 ID:Heaven [Del]

>>564
wrong. the parsing cost is the same for both.

566 Name: !WAHa.06x36 : 2007-02-11 09:07 ID:Heaven [Del]

This is a totally pointless discussion, but I'll point out that parsing cost is nearly non-existent, and always O(1), as Perl compiles to bytecode before running anyway.

567 Name: Anonymous : 2007-02-11 13:08 ID:yCQxWdf6 [Del]

>>565

No, see, it's one byte longer.

Anyway this is ridiculous.

568 Name: Anonymous : 2007-02-11 16:09 ID:Heaven [Del]

would it be possible to add some <if $admin></if> statements into the futaba_style.pl $threads loop (and actually work?) I can't figure out what I need to add in wakaba.pl/wakautils.pl for this to work. The idea is to have management buttons in the threads that don't show unless you have the wakaadmin cookies.

569 Name: !WAHa.06x36 : 2007-02-11 17:10 ID:Heaven [Del]

Remember, the threads are static HTML files. You can't affect the contents at any other point than when somebody is posting.

What you could do is always add buttons, and use CSS to hide them and some Javascript to check for cookies and un-hide the buttons as needed.

570 Name: Anonymous : 2007-02-11 20:44 ID:Heaven [Del]

>>569
lol so i should just steal the shit from the iichan sidebar and edit it to my needs then? <3~

571 Name: Anonymous : 2007-02-13 01:58 ID:lRmGVizW [Del]

How do I update the settings of a wakaba board after the board has been created?

for example, if I want to change the max file size, or the title of the board? I know where to change it in the config file, but I dont know how to ask the board to update its settings.

572 Name: !WAHa.06x36 : 2007-02-13 04:26 ID:Heaven [Del]

>>571

If the setting does not affect the look of the board, editing the config is sufficient. If it does, select "rebuild caches" in the admin panel.

573 Name: Anonymous : 2007-02-13 08:23 ID:lRmGVizW [Del]

Thank you

574 Name: Anonymous : 2007-02-14 13:16 ID:Heaven [Del]

I think I found a bug in kareha... When you set the MAX_LINES_SHOWN to 0 (which should stand for 'no limit'), it actually does display nothing. A feature not implemented, perhaps? :)

575 Name: Anonymous : 2007-02-15 14:12 ID:nOog+VD8 [Del]

I hope this is a "simple question." (sorry if it's not)
Well, my host doesn't allow running cgi out of cgi-bin, so I installed kareha there. Once I did that, it seemed I still had a problem. All the links formed as something along the lines of:

/cgi-bin/MYSITE/kareha.pl

What I eventually did to "fix" it is replace SCRIPT_NAME with SCRIPT_URL throughout the pl files.
Now everything seems to be working, except for in the full thread view: http://rabi.memebot.com/cgi-bin/a/kareha.pl/1171530470/l50
the "return" link is like this:

~/kareha.pl/1171530470/index.html

and the other links (entire thread, last 50 posts) add on after the thread number as well.

576 Name: Anonymous : 2007-02-15 15:38 ID:Heaven [Del]

>>574 No, that's a feature! :) Just set it to something absurdly high.

I can actually see "0" being a useful setting for that, in some instances.

577 Name: !WAHa.06x36 : 2007-02-15 15:55 ID:Heaven [Del]

>>575

You probably need to edit the expand_filename() function to do something smarter.

578 Name: Anonymous : 2007-02-15 17:55 ID:29Q3PkRe [Del]

>>577
ah, that sounds like it's over my head ATM, :x and I think I'll just try what >96 suggested in the 500 error thread

thanks

579 Post deleted by moderator.

580 Name: Anonymous : 2007-02-20 10:19 ID:wCtrA1HM [Del]

When I go to wakaba.pl, it redirects me to wakaba.html but does not create the file, so I get a filenotfound error. How do I fix this?

581 Name: !WAHa.06x36 : 2007-02-20 11:17 ID:Heaven [Del]

>>580

Go to wakaba.pl?task=admin and rebuild caches.

582 Name: Anonymous : 2007-02-20 11:33 ID:wCtrA1HM [Del]

When I go to the admin panel and click "rebuild caches", it does something and then redirects me to wakaba.html again, which still isn't there.

583 Name: !WAHa.06x36 : 2007-02-20 12:19 ID:Heaven [Del]

Then something is seriously broken. Are you running on some weird webserver?

584 Name: Anonymous : 2007-02-20 13:05 ID:wCtrA1HM [Del]

Running apache. I redownloaded wakaba and put it in a different directory, and now I'm not getting that particular error, so I probably corrupted some of the files or something.

585 Name: Anonymous : 2007-02-20 13:37 ID:wCtrA1HM [Del]

Nevermind. I got mysql working on the new one and I'm now back to having this same error. This is really annoying.

586 Name: !WAHa.06x36 : 2007-02-20 14:07 ID:Heaven [Del]

Try searching your filesystem to see if it's putting wakaba.html somewhere else.

587 Name: Anonymous : 2007-02-20 14:14 ID:wCtrA1HM [Del]

I tried that and no, it's not anywhere.

588 Name: Anonymous : 2007-02-20 14:16 ID:wCtrA1HM [Del]

lol...I feel stupid. I changed the permissions for all the directories except for the root directory. I just set it to 777 and now it's working fine. Sorry for the trouble.

589 Name: Anonymous : 2007-02-20 16:39 ID:Heaven [Del]

Hello,
I've been looking for a way to have smaller thumbnails in wakaba lately. Is that even possible? I located the lines responsible for the convert in wakautils.pl but I couldn't figure out how to change the width and height. I'm using imagemagick.
It's no big deal anyway, just curious to know whether that is tweakable or not. :)
Love ya WAHa.06x36!

590 Name: Anonymous : 2007-02-20 16:44 ID:Heaven [Del]

>>589
Look in config.pl and find the following two lines:

use constant MAX_W => 285;						# Images exceeding this width will be thumbnailed
use constant MAX_H => 285; # Images exceeding this height will be thumbnailed

Images larger than what you set there will be thumbnailed to the dimensions specified.

591 Name: belair : 2007-02-20 20:56 ID:dZKPcn4c [Del]

howdy... just spent an hour fixing a kareha bug, and figured you folks may like to hear about it.

In the admin console, you may have problems when trying to delete multiple posts from a thread using the check boxes, after clicking into a thread using the title link.

Solution: Line 91 of admin.pl

current version reads: <form action="<const KAREHA_SCRIPT>" method="post">

change it to this: <form action="<var $path><const KAREHA_SCRIPT>" method="post">

592 Name: Anonymous : 2007-02-20 23:47 ID:Heaven [Del]

>>591
lol.. an hour well spent :p

593 Name: Anonymous : 2007-02-20 23:52 ID:Heaven [Del]

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?

594 Name: !WAHa.06x36 : 2007-02-21 03:55 ID:l2svyCMe [Del]

>>593

Do you have the right version of kareha.js installed?

595 Name: Anonymous : 2007-02-21 12:59 ID:Heaven [Del]

>>594
it was a fresh install of kareha (i think).. lemme check

596 Name: Anonymous : 2007-02-21 14:29 ID:Heaven [Del]

>>594
yes I do.

597 Name: !WAHa.06x36 : 2007-02-21 14:59 ID:Heaven [Del]

>>596

Any messages on the Javascript console?

598 Name: Anonymous : 2007-02-21 15:17 ID:Heaven [Del]

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

599 Name: Jeremy : 2007-02-23 02:10 ID:K7xLRFD2 [Del]

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?

600 Name: !WAHa.06x36 : 2007-02-23 07:29 ID:l2svyCMe [Del]

>>598

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.

>>599

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.

601 Name: calvin : 2007-02-23 16:02 ID:FIGVaqvX [Del]

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!

602 Name: !WAHa.06x36 : 2007-02-23 17:04 ID:Heaven [Del]

>>601

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.

603 Name: Anonymous : 2007-02-23 23:35 ID:Heaven [Del]

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

604 Name: Anonymous : 2007-02-24 00:16 ID:Heaven [Del]

>>600
Could you try and use the preview feature @ wtfux.org/dis/ ?

605 Name: Anonymous : 2007-02-24 01:32 ID:Heaven [Del]

would it be possible to somehow ban the MD5 hash of an image on a wakaba board?

606 Name: !WAHa.06x36 : 2007-02-24 08:02 ID:VqDGzUzh [Del]

>>604

I just did, and it worked fine.

>>605

I considered this, but it's too easy to circumvent, so I dismissed the idea.

607 Name: Anonymous : 2007-02-24 14:56 ID:Heaven [Del]

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

608 Name: !WAHa.06x36 : 2007-02-24 15:13 ID:Heaven [Del]

>>607

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");
}

609 Post deleted by user.

610 Post deleted by user.

611 Name: Anonymous : 2007-02-25 16:11 ID:Heaven [Del]

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

612 Name: Anonymous : 2007-02-26 07:28 ID:Ey4M3SmZ [Del]

>>228

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.

613 Name: !WAHa.06x36 : 2007-02-26 15:17 ID:VqDGzUzh [Del]

>>611

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.

614 Name: Anonymous : 2007-02-26 16:31 ID:Heaven [Del]

>>613
Doesn't work for me.

615 Name: !WAHa.06x36 : 2007-02-26 18:07 ID:Heaven [Del]

my %banned=map { ($_,1) } read_array("filename");

Maybe?

616 Name: Anonymous : 2007-02-26 18:44 ID:Heaven [Del]

>>615
works awesomely... :D doesn't even noticeably slow down posting.

617 Name: Anonymous : 2007-02-26 23:26 ID:Heaven [Del]

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

618 Name: !WAHa.06x36 : 2007-02-28 17:35 ID:Heaven [Del]

Change the <var...> to %s and add ,$ENV{REMOTE_ADDR} to the sprintf statement.

619 Name: Anonymous : 2007-02-28 23:15 ID:Heaven [Del]

>>618
thanks a lot.

620 Name: Anonymous : 2007-03-01 20:32 ID:GJRiAN1o [Del]

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?

621 Name: !WAHa.06x36 : 2007-03-02 03:19 ID:Heaven [Del]

>>620

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.

622 Name: Anonymous : 2007-03-03 04:29 ID:Heaven [Del]

2chブラウザで見れる?

623 Name: Anonymous : 2007-03-03 09:33 ID:Heaven [Del]

hmm, has anyone else noticed that "sage" in the email field is turning into "mailto://sage/"?

624 Name: Anonymous : 2007-03-03 09:33 ID:1ZIaMc+F [Del]

bumping because it still sages the thread correctly

625 Name: Anonymous : 2007-03-03 13:34 ID:Heaven [Del]

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?

626 Name: Anonymous : 2007-03-03 15:34 ID:Heaven [Del]

>>623
no it doesn't. it turns into mailto:sage, which is what it's supposed to do.

627 Name: !WAHa.06x36 : 2007-03-03 17:08 ID:VqDGzUzh [Del]

>>625

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.

628 Name: Anonymous : 2007-03-03 17:58 ID:Heaven (Image: 1280x1024 jpg, 107 kb) [Del]

src/1172973503350.jpg: 1280x1024, 107 kb

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

629 Name: Anonymous : 2007-03-03 18:13 ID:Heaven [Del]

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.

630 Name: Anonymous : 2007-03-03 19:48 ID:Heaven [Del]

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

This thread has been closed. You cannot post in this thread any longer.