• b2evo
  • Front Page
  • Contact
  • Login
  • reset page

Far Fields

  • Andromeda ¦ First Contact
  • Blush ¦ Private
  • Dad ¦ Private
  • Vyaj ¦ Immigration & Asylum Cases

Near Fields

  • My Bits
  • Behind the Sceanic
  • vOw ¦ Vegan Organic Wholefood

Old Fields

  • 1996 Site
  • Old Search Site

Blogs

  • b2Evo ¦ Blog techie stuff
  • eLf ¦ Updates on the land
  • blInk ¦ Some useless links
  • spAce ¦ Thoughts on being
  • j&j ¦ Prospectors of Kern
  • av0id ¦ How I Got Here

Login to see commentsUpdated: August 24th, 2013

Created: 24/08/13

I have added code to limit comments to being seen only by members

in
posts.main.php, page.main.php and single.main.php

Example: in single.main (version $Id: single.main.php,v 1.7 2007/11/24 21:31:22 fplanque Exp $)

before
skin_include( '_item_feedback.inc.php', array

if(isset($current_User) and ($current_User->level)>1){
skin_include( '_item_feedback.inc.php', array

and put a banner informing users of this when not logged in
After <div id="content" class="column">

<?php
if(!isset($current_User) )
{
echo ('<div class="page_action">Only logged in users can see comments to posts')</div>');
}
?>

  roger
print   Print     
 
  •  Paged Index of 133 Posts

  • Last nineteen

    • Add html figure tag
    • Validation 7.2.5
    • elfgifs_plugin
    • Add sub text button
    • [autocorrect] validation
    • Versions & Database
    • Math Terms & Plugin
    • My Search Hack
    • figure tag
    • evobar toolbar
    • Front Page Collections #
    • Move to a new line using CSS not <br />
    • Version 6.10.6 & php 7
    • Stuck on Version 6.10.5
    • Limit Login Attempts
    • 6.10.5
    • Add Number to Comment
    • 6.10.4
    • v 6.10.*
  • Search


Valid HTML 5.0    ubuntu link    duckduckgo link    b2evolution link    firefox link    Creative Commons Licence    Valid CSS!