Archived : Techno Babble

This is the archived version of my b2evolution code blog.
If you require any help regarding b2evolution then
visit it's support forums

You can find my current blogs here
Code : {@link : WafflesOn}
Personal : {@link : InnerVisions}

Playing with a blogrum

Posted on 20th Mar 2008 in : Techno Babble, Skins, Hacks, Plugins & Widgets

Convincing Evo that it's a forum

On the grounds that it's often easier to show something than try explaining it .....go visit the blogrum. Before you ask, no it's not ready for release yet, I need to sort out some permissions stuff to do with comments and tidy up the code and css ..... cos it's a tad messy in there ..... and then it's gonna take a mammoth post to explain what it can do, how, where, why and when. The good news is that it's pretty much just a trick skin with a couple of plugins thrown in, although I have a few more plugins in the works to make it work even more like a forum.

Registration is open, so if you want to have a play then feel free, although guest users can comment in the chatter blogrum so if all you want to do is spam me then there's no need to even register ;)

¥

Tags: blogrum

Tacky Palace 3.0

Posted on 10th Oct 2007 in : Techno Babble, Skins, b2evo 2.0

Welcome to Tacky 3

As you may have noticed, my tacky palace has just had the decorators in. What you probably haven't noticed is that it's now wrapped around b2evolution 2.0.2.alpha|summat .... how cool is that? ..... well, a tad cooler, now it's also running on a linux box as well, so no more windows hacks for clean urls. Of course this means I now have a few plugins that need tweaking and some other bits and bobs like my contact form, but what the hell, life could be far less interesting ;)

¥

Smiley plugin v 1.9.2

Posted on 30th Dec 2006 in : Skins, Plugins & Widgets

Well, this time the skin changes are my fault :p

For those of you running 1.9.2 who are using a customised skin, you need to make the following changes to _feedback.php to make the smilies toolbar appear :-

PHP:

<span style="color:red">echo '<div class="comment_toolbars">';</span>
        <span style="color:red">// CALL PLUGINS NOW:</span>
        <span style="color:red">$Plugins->trigger_event'DisplayCommentToolbar'array() );</span>
        <span style="color:red">echo '</div>';</span>
        // Message field:
        $Form->textarea'p'$comment_content10T_('Comment text'), T_('Allowed XHTML tags').': '.htmlspecialchars(str_replace'><',', '$comment_allowed_tags)), 40'bComment' );
        <span style="color:red">// set b2evoCanvas for plugins</span>
        <span style="color:red">echo '<script type="text/javascript">var b2evoCanvas = document.getElementById( "p" );</script>';</span>

Yeah yeah, so shoot me, at least you can have a smiley toolbar and smilies in comments without hacks now though huh?

If you're running 2.0 then look out for some groovy changes comming up with the smilies plugin, don't bother looking for them yet though as I haven't uploaded the new version ;)

¥

1.9beta skin changes

Posted on 26th Nov 2006 in : Skins

Another version, another set of skin changes. These changes apply to 1.8.5 -> 1.9beta uprades

_main.php
Find this bit of code and amend it accordingly

Code:

display_list( $credit_links, T_('Credits').': ', ' ', '|', ' ', ' ' );
Find this bit of code and delete it

Code:

<link rel="pingback" href="<?php $Blog->disp( 'pingback_url', 'raw' ) ?>" />
Find this bit of code and amend it accordingly

Code:

<?php
      // ------------- START OF INCLUDE FOR COMMENTS, TRACKBACK, PINGBACK, ETC. -------------
      $disp_comments = 1;          // Display the comments if requested
      $disp_comment_form = 1;      // Display the comments form if comments requested
      $disp_trackbacks = 1;        // Display the trackbacks if requested
 
      $disp_trackback_url = 1;    // Display the trackbal URL if trackbacks requested
      $disp_pingbacks = 1;        // Display the pingbacks if requested
      require( dirname(__FILE__).'/_feedback.php' );
      // -------------- END OF INCLUDE FOR COMMENTS, TRACKBACK, PINGBACK, ETC. --------------
 
      locale_restore_previous();  // Restore previous locale (Blog locale)
    ?>
_feedback.php
Find this bit of code and amend it accordingly

Code:

*/
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
 
// --- //
 
if( empty($c) )
{  // Comments not requested
  $disp_comments = 0;          // DO NOT Display the comments if not requested
  $disp_comment_form = 0;      // DO NOT Display the comments form if not requested
}
 
if( empty($tb) || !$Blog->get( 'allowtrackbacks' ) )
{  // Trackback not requested or not allowed
  $disp_trackbacks = 0;        // DO NOT Display the trackbacks if not requested
  $disp_trackback_url = 0;    // DO NOT Display the trackback URL if not requested
}
 
if( empty($pb) )
{  // Pingback not requested
  $disp_pingbacks = 0;        // DO NOT Display the pingbacks if not requested
}
 
if( ! ($disp_comments || $disp_comment_form || $disp_trackbacks || $disp_trackback_url || $disp_pingbacks ) )
{  // Nothing more to do....
  return false;
}
I'll add others as and when I find them

¥

Page archived : 11th Nov 2009
 

X