October 15, 2005
Filed under: Web Activities, PHP Stuff — Gede @ 6:12 pm Ok I admit, sometimes I just start doing things that I shouldn’t do, like today. (I have better things to do, but when I have an idea well….) I have played with picture galleries for some time, made a lot of templates for them, and came across some galleries that could be integrated with Wordpress, […]
Comments (0)October 12, 2005
Filed under: PHP Stuff — Gede @ 4:06 pm Maybe you are like me, a phpBB Forum Administrator, and you are plagued by spammers. First you have those who register only to create a backlink in the member list. Several methods are available already to stop those.
And then there are phpBB forums where anonymous posting is allowed and get plagued by automated post bots, […]
Comments (0)May 19, 2005
Filed under: PHP Stuff — Gede @ 2:15 am I needed to rebuild the paging in Wordpress for some part. It created double pages and did not have good anchor text. Why did they let those functions echo on the screen?
Now they don’t, no page/1 any more and a bit of anchor.
What needs to be done needs to be done.
Comments (0)May 17, 2005
Filed under: PHP Stuff, Windows XP — Gede @ 8:50 pm Are you a php programmer? I loose code all the time, and the first thing I do when I have installed a fresh copy of Windows XP, is make Windows XP believe PHP files are searchable text files. In its standard configuration XP does not search within files it doesn’t know, like *.php files….
Use this […]
Comments (5)May 16, 2005
Filed under: PHP Stuff — Gede @ 3:31 pm Tried for hours to get Wordpress to display code with html characters translated. I didn’t succeed. This how far I got:
$content = preg_replace(”/(<code>)(.*)(<\/code>)/es”, “‘\\1′.htmlspecialchars(’\\2′).’\\3′”, $content);
In function function the_content of templates_functions_post.php
But his unfortunately replaces also html that should not be replaced, like paragraphs breaks, and “nested” code things.
Comments (0)
Filed under: Web Activities, PHP Stuff — Gede @ 9:01 am I was not very satisfied with how Wordpress handled the titles of the pages, so I changed it a bit. I give you the code here, maybe its useful to you:
<meta http-equiv=”Content-Type” content=”< ?php bloginfo(’html_type’); ?>; charset=< ?php bloginfo(’charset’); ?>” />
< ?
if (is_category() OR is_date()) {
$tit = get_bloginfo(’name’) . ” - ” . wp_title(”",”") […]
Comments (4)
|
Categories:
Random Thoughts
Web Observations
Web Activities
Digital Camera Department
PHP Stuff
Internet Marketing
Windows XP
Mobile Phones
Panorama Pictures
Archives:
September 2006
May 2006
February 2006
October 2005
July 2005
June 2005
May 2005
My SitesBali Web Home
BPI Properties in Bali
Bali Hotels Lovina
Panotools 360
Bali News and Info
Lovina Bali Spa
Bali Golf House
Bert Vierstra
Malaysia Pictures
de Praktijk
Camera Land Shop
Login
XML Feed
|