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}

« Comments from registered members onlyTest post »

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

¥

2 comments

Comment by stk { @link http://randsco.com/ } on 30/01/07

Finally, summat you did actually helped me!   :p

Addl. notes: (for a v1.8.2 -> v1.9.2 upgrade) including non-skin stuff



1) pre-rendering cache size (TEXT to MEDIUMTEXT) & post_content (TEXT to MEDIUMTEXT)

2) why does b2evo invite you to modify the feedback file ["you can replace this file with the full handler (in /blogs) and customize it!"] ... then they keep changing the handler file + functions? :>

3) Core file modification to /inc/MODEL/items/_item.class.php (delete "name=[blah]" from <a> [class="bMore"] b/c NAME is deprecated in XHTML v1.1

Comment by ¥åßßå on 30/01/07
The first sign of age is having to use huge text sizes .......

the second sign is having to leave yourself notes all over the web just so you can remember shit :|

¥
Page archived : 11th Nov 2009
 

X