• 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

Comment Pagination

January 2nd, 2015

Access comments individually. Originally I wanted the most recent first but I haven't hacked a way to reorder the numbers last to first so I couldn't link to a comment by place

[/skins/my_skin/_item.feedback.inc.php]

around line 175
added new variable $mrf (most frequent first) and set it to empty if there is no title or technically no comment.

Code

if( empty($disp_title) )
    {  // Still no title
      $disp_title[] = T_('No feedback yet');
      $mrl =  "";
    }
      else $mrl =  "<em> Most Recent Last</em>";
 
if( $params['disp_section_title'] )
    {  // Display title
      echo $params['before_section_title'].'    ';
      echo implode( ', ', $disp_title);
      echo $mrl;
      echo $params['after_section_title'];
    }

  roger
 


_item_feedback.inc.php

December 29th, 2014

Changes.

  1. Removed some comments at beginning so code begins at line 7
  2. Line 126 commented out as it creates unwanted vertical space
  3. Lines 128 to 164 Commented out to remove links to pings and trackback
  4. Line 184 Insert new line echo "<em> Most Recent First</em>";
  5. Line 227 Insert but unused code //echo "<div class='center'>Page " . $CommentList->page . " of " . implode( ', ', $disp_title) . ": <em>Latest First</em></div>";
  6. Line 270 Check out comment

    Code

    'userpage' or 'userurl' or 'userurl>userpage' or 'userpage>userurl'
  7. Lines 321 and 322 Insert

    Code

    if (!isset($current_User) )
      unset($params['disp_comment_form']);
  roger
 


<< 1 ... 24 25 26 ...27 ...28 29 30 ...31 ...32 33 34 ... 67 >>
  •  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!