Category: "PHP"

Tiled Skin Switcher for b2evolution

Published by Andrew Hreschak in Web Development, b2evolution 1.10.x, CSS, PHP
Published on 11/23/07 @ 06:31:00 pm using 1142 words, and has 52163 views
I’ve been using b2evolution as my blogging platform for several years now, and have always found the default template switcher located in the sidebar to be, well, boring. It’s a text-based list that shows the various skins available on a… more »

Stub-Specific Body-Tag IDs for b2evolution

Published by Andrew Hreschak in Web Development, b2evolution 0.9.x, b2evolution 1.10.x, CSS, PHP
Published on 08/05/07 @ 07:25:00 pm using 254 words, and has 43777 views
A while back I found myself needing the ability to uniquely identify each blog on my b2evolution system. I wanted to be able to display blog-specific CSS styles and header imagery, while using the same b2evo skin across the entire site, rather than… more »

Automatic Polling of B2Evolution Antispam Update List

Published by Andrew Hreschak in Web Development, b2evolution 0.9.x, PHP
Published on 09/20/05 @ 02:52:00 pm using 165 words, and has 57415 views
In b2evolution 0.9.x automatically updating the antispam database involves the creation of a local file which will process the new entries and add them to the database. First, create a file in your b2evolution blog's /admin/ folder (in this example we… more »

B2Evolution Code for Linkblog Inclusion

Published by Andrew Hreschak in Web Development, b2evolution 0.9.x, PHP
Published on 09/15/05 @ 09:57:00 pm using 100 words, and has 83062 views
The following block of PHP code will insert a blogroll or linkblog into the sidebar of your b2evolution 0.9.x blog. A blogroll is an aggregatated listing of external links which are stored, typically, on a dedicated 'linkblog' blog on a b2evolution… more »

B2Evolution 'smallhead' Div Source Code

Published by Andrew Hreschak in Web Development, b2evolution 0.9.x, PHP
Published on 09/11/05 @ 06:33:00 pm using 109 words, and has 76400 views
This block of PHP code shows the original 'smallhead' div in a typical b2evo 0.9.x blog skin. It displays the categories, author, post-time, and wordcount of each post. This code is located in the /skins/skinname/_main.php file of a typical b2evo skin,… more »

Sticky Posts for b2evolution 0.9.x

Published by Andrew Hreschak in Web Development, b2evolution 0.9.x, PHP
Published on 09/10/05 @ 07:23:00 pm using 1122 words, and has 38508 views
This PHP hack for b2evo skins gives the ability to designate a particular post in each blog on a b2evolution system as a "sticky post" (i.e. that post will always appear at the top of the blog, and will not be listed chronologically). This is useful for… more »

B2Evolution Hack: Exit to Active Blog

Published by Andrew Hreschak in Web Development, b2evolution 0.9.x, PHP
Published on 09/10/05 @ 06:41:00 pm using 288 words, and has 45366 views
This hack allows you to avoid the annoyingness of exiting to the first blog/stub after creating or editing a post in a sub-blog. In short, it saves a mouse-click and a little confusion... This hack for the b2evolution 0.9.x admin interface only works… more »