Topic Closed
4 Posts
4 Plugins

Haloo! and sorry my english

I modifyed "Simpl Event Calendar" plugin for "Simple Blog", it show plog entries in calendar by selected plog categoryes or all posts in calendar admin (also now is possible multiple calendars on page and calendars remember last selected month).

My client needs Event plog for contcerts. 
Is thear a way to add some feature to "Simple Blog" to allow show future posts for public?

At the moment, my changes in "Simple Blog" is (it working): 

file text.php
adding ... $texts[] = 'Pending'; 

file SimpleBlogCommon.php, function WhichPosts... lines is closed

                //exclude future posts
                //$time = SimpleBlogCommon::AStrGet('post_times',$post_id);
                //if( $time > time() ){
                //    continue;
file SimpleBlogCategories.php, function WhichCatPosts ... lines is closed
                //if( $time > time() ){
                //    continue;
file SimpleBlog.php, function SimilarPost ... lines is closed
            //if( $post_times[$post_id] > time() ){
            //    continue;
Do not arhive future posts
file StaticGenerator.php, function GenArchiveGadget after ... echo strftime('%B',$time) My changes in code
            $echo = "";
            foreach($posts as $post_id ){                                
                $time = SimpleBlogCommon::AStrGet('post_times',$post_id);
                if( $time > time() ){
                    $sum = $sum-1;
                $post_title = SimpleBlogCommon::AStrGet('titles',$post_id);
                $echo .=  '<li>';
                $echo .= SimpleBlogCommon::PostLink($post_id, $post_title );
                $echo .= '</li>';
            echo ' ('.$sum.')</a>';
            echo '<ul class="simple_blog_category_posts nodisplay">';
            echo $echo;            



Is possible view ( in "Simple Blog" admin page  -> Posts table )  what category post entry is?

And what ui thinks about opening the gpabox window on place to add a new blogpost and stay on page to see it (and mayby alsow edit date on place and displacement post to another category on place)?  Or this is to complicated to do? :-)

Edited: 3 years ago#10025

Topic Closed



elFinder 2.1.50 in Upcoming Release

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News


Company located in T├│rshavn, Faroe Islands. * Webpage Design * Consultant & Provider of a wide range of programs for visually impaired and dyslextics.

Find out more about our Provider Spotlight

Log In