paypal buttons (19)

1 Name: Anonymous 2005-03-28 21:21 ID:EqFdQkgX [Del]

Please tell me how to add a paypal button to the top of my wakaba pages; putting it in the rules section and clicking just brings up the error of "no file selected"...not optimal behavior.

2 Name: !WAHa.06x36 2005-03-29 09:35 ID:hsyF0KZy [Del]

Is it some kind of form element? The rules section might be inside the posting form... That's maybe not optimal, though, I should change it. Lacking a better alternative, go edit futaba_style.pl and add it where it fits.

3 Name: anon!21anon4H3U 2005-03-29 17:58 ID:EqFdQkgX [Del]

yep, it's a form...I was hoping I wouldn't have to messthe perl, since I have no pearl knowledge whatsoever...le sigh

4 Name: !WAHa.06x36 2005-03-29 18:07 ID:hsyF0KZy [Del]

futaba_style.pl is mostly just templates, though, and those are pretty much just HTML code with some extensions, so it's easy enough to mess with.

5 Name: anon!21anon4H3U 2005-04-01 23:30 ID:EqFdQkgX [Del]

*_cries and whines_*

OK, new webserver for me ( http://www.servage.net ), paid, 162~odd GB transfer/month ++nice!

Problem: wakaba.pl refuses to generate the needed html files. When I run wakaba.pl ( http://www.humblefool.com/art/wakaba.pl ), there's a flash and i'm looking at a 404 for http://www.humblefool.com/art/wakaba.html . HELP! Only changes to config.pl are passwords and SQL, permissions should all be set to 775 (all directories).

6 Name: !WAHa.06x36 2005-04-02 08:16 ID:hsyF0KZy [Del]

Ok, that's weird. If it can't create the file, it should throw an error. This seems to imply that it's generating the file somewhere ELSE.

Try searching for wakaba.html. Also, try adding this at the top of the script, after the use CGI::Carp ... line:

use Cwd; die getcwd();

7 Name: anon!21anon4H3U 2005-04-02 21:28 ID:EqFdQkgX [Del]

Strageness continues; I can access the admin panel by manually typing the address (?task=admin), and when I attempt to rebuild caches, wakaba tells me that the dir is unwritable.

Your script add returns an error message telling me of an error at line 3, other than that, nothing.

8 Name: !WAHa.06x36 2005-04-03 08:24 ID:hsyF0KZy [Del]

>>7

Well, that's progress - at least it's properly saying the directory is unwriteable and not just failing silently.

Is the /art/ directory ITSELF set to 775, then?

9 Name: anon 2005-04-04 00:00 ID:EqFdQkgX [Del]

yes, it is. I've also submitted a support ticket, so we'll see where that goes.

10 Name: anon!21anon4H3U 2005-04-04 18:17 ID:EqFdQkgX [Del]

WAHa, is there a bit of perl I could incert that would allow me to see, when it returns a "directory not writable" error, what directory isn't writable to it?

Please say yes.

11 Name: !WAHa.06x36 2005-04-05 08:10 ID:hsyF0KZy [Del]

Let's see... Find this line in the file wakautils.pl and in the function write_array():

open FILE,">$file" or die "Couldn't write to directory";

And change it to:

open FILE,">$file" or die "Couldn't write to file $file";

Maybe I should change that in the distro too, it's more informative.

12 Name: anon!21anon4H3U 2005-04-05 18:11 ID:EqFdQkgX [Del]

IT WORKS NOW!

What changed, I don't know. Perhaps the .htaccess file was turned on? I know they said that it might take a while for that to happen... anyway, here's the new boards, for immidate linking to wakachan:

http://www.humblefool.com/art/wakaba.html
http://www.humblefool.com/news/wakaba.html
http://www.humblefool.com/spt/wakaba.html
http://www.humblefool.com/music/wakaba.html

Other ones will be added on request.

13 Name: !WAHa.06x36 2005-04-05 20:09 ID:hsyF0KZy [Del]

Post on the Wakachan board about them, they'll get more attention there.

14 Name: anon!21anon4H3U 2005-04-11 23:50 ID:EqFdQkgX [Del]

What's the no-cache bit that has to go in the .htaccess file? Mine doesn't seem to be working very well...or is this firefox's fault for being smart and user-side caching?

And is naming it example.htaccess and leaving it in the individual board files OK?

15 Name: !WAHa.06x36 2005-04-12 09:37 ID:hsyF0KZy [Del]

It needs to be named just .htaccess. Leaving it in the individual board directories is OK, but it won't work unless the right modules are loaded in the Apache config, like mod_header.

16 Name: anon!21anon4H3U 2005-05-14 14:13 ID:kuXYpd+B [Del]

time to revive my personal problem thread:

Now I'm bandying about with adsense on http://humblefool.com/spt/wakaba.html . Only problem is, it doesn't work! http://humblefool.com/spt/include/footer.html shows the ads, but not the main page? What the hell!

17 Name: anon!21anon4H3U 2005-05-16 19:10 ID:kuXYpd+B [Del]

looks like the problem is that google doesn't like the code changed - in any way. wakaba's flattening to one line breaks the code: is this integral, or is there anyway around it?

Like without adding a IEFRAME.

18 Name: !WAHa.06x36 2005-05-17 09:22 ID:sgB2SqRd [Del]

Wow, that's pretty dumb. I guess you could comment out a line in wakautils.pl... Let's see...

In compile_template(), comment out this line:

$str=~s/\n\s*/ /sg;

19 Name: anon!21anon4H3U 2005-05-17 16:55 ID:Heaven [Del]

WAHOOO!

So much for don't be evil, ya?

Steps for those interested:
-In wakautils.pl, comment $str=~s/\n\s*/ /sg;
-Then insert the ad in futuba_style.pl; it cannot be in an inculde due to squashing. Mine are right above the </body></html> tag.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: