GetSimple Blog - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: GetSimple Blog (/showthread.php?tid=6238) |
RE: GetSimple Blog - pigsound - 2017-12-02 hi, i installed dynpages successfully - i use it on a blog page for blog posts of one certain category (as described in this forum on page 1 for user xxdex). it worked for about 30 minutes, then suddenly the page is showing all blog posts with all categories and xdebug is throwing the following errors: i am not sure if the errors are caused by dynpages or gs-blog. can you give me a hint on what the problem might be? RE: GetSimple Blog - datiswous - 2017-12-06 You can test it on a normal page to see if it works there. RE: GetSimple Blog - pigsound - 2017-12-07 (2017-12-06, 20:48:45)datiswous Wrote: You can test it on a normal page to see if it works there. thanks – but also normal pages show the xdebug-errors and don't show only the selected category posts. insted, all posts -– no matter what category – are displayed. RE: GetSimple Blog - Carlos - 2017-12-07 Looks like there's some error in your component code. Like a $workshop variable that has not been initialized... RE: GetSimple Blog - pigsound - 2017-12-07 (2017-12-07, 02:22:03)Carlos Wrote: Looks like there's some error in your component code. Like a $workshop variable that has not been initialized... the funny thing is: it worked at first. then after some minutes and out of the blue (i had not edited anything in the plugin settings, scripts,...) the errors came up and the posts were shown no matter what category. what could i do? reinstall the plugin and all its referring data xml files? RE: GetSimple Blog - bensayers - 2017-12-09 (2017-11-24, 01:31:14)johnstray2001 Wrote: @pigsound: I'm not sure if I can help with this. I can't seem to find anything that could be causing the issues your having. If anyone else has any ideas, please feel free to make some suggestions... Hi John, I'm having the same problem (I think). The DATE_DISPLAY in /gs-blog/lang/en_US.php is set to '%B %e, %Y' - this formatting only seems to apply to the main blog, not when using show_blog_recent_posts. This is what I see in recent posts: 2017-11-26 10:28:34. I've read every comment on this forum at least a half-dozen times but don't see a solution. Any idea what I'm doing wrong? UPDATE: A few other issues I've had since originally writing this post - wondering if you can provide any insight... Sorry for all of the questions but the support website doesn't seem to have any information. 1) i18n Search - the posts aren't showing up in search results, is there a way to fix that? 2) No meta data for posts:
4) Recent Post date formatting mentioned above 5) Posts aren't included in sitemap.xml 3.4.3 plugin will not stay activated - snoozeburg - 2018-04-20 In a new installation, gs-blog.php shows in the list on the Plugin page and it can be activated. Once done, clicking on the Blog tab causes the plugin to deactivate (crash?) and the Blog tab disappears. Required directories are writable. Snooze RE: GetSimple Blog - snoozeburg - 2018-04-20 In debug mode this message is received: Warning: call_user_func_array() expects parameter 1 to be a valid callback, function '' not found or invalid function name in /srv/disk4/2175727/www/lexluthor.eu5.net/admin/load.php on line 39 RE: GetSimple Blog - Carlos - 2018-04-28 Latest version in Extend (listed as 3.4.3, though the plugin says 3.4.2) doesn't work with PHP 5.3 - crashes the site until you remove it. With debug mode: Code: Parse error: syntax error, unexpected '[' in [...]plugins\gs-blog.php on line 19 RE: GetSimple Blog - snoozeburg - 2018-07-24 (2018-04-20, 07:27:56)snoozeburg Wrote: In debug mode this message is received: Anything on this behavior? Same happens with a MAMP installation. RE: GetSimple Blog - ragou - 2018-08-14 Hi, Blog is working fine, but there is a problem I can't solve. I create few categories. When blog shows all categories there are 8 posts on a page, but if I choose one category, all of posts are shown. But in some category I have 100 posts. How can I set tne number of post shown in particular category. Thanks. RE: GetSimple Blog - lotova - 2018-08-19 Hello everybody, I have a strange problem with this plugin. If I copy it into the required directory and then enable it in the Plugins tab everything seems OK at first glance. But it disables any other plugin which reload of the Plugins tab testifies - one other plugin is disabled. The disabled plugin cannot be enabled then till the GetSimple Blog plugin is disabled again. I checked the file /data/other/plugins.xml and found this: every installed plugin gets its record in this file (between <item></item> tags); but if I install and enable the plugin GetSimple Blog the first record in the file is replaced by <item><plugin><![CDATA[user-managment.php]]></plugin><enabled><![CDATA[false]]></enabled></item> (with the misspelling quoted) - this way the plugin the record of which was in the first place here is disabled in user administration and cannot be enabled again (its record is no longer present in the file). The misspelling user-managment.php leads me to the file /plugins/gs-blog/inc/common.php where it says PHP Code: if($phpfiles[0] !== 'user-managment.php') { # Only reorder if user-managment is not first and so on but I cannot manage it further (I don't understand purpose of the condition) so I must ask for help. The plugin is of most recent version (3.4.3) by the way. RE: GetSimple Blog - johnstray2001 - 2018-08-19 @bensayers: I'm not sure what you mean with that... The function show_blog_recent_posts() doesn't output any date... 1. I may have to do some more extensive testing with the i18n_search plugin. I'm not too sure why they are not showing up in results. 2. Better metadata management is in the works for the next version (3.5.0). Follow GitHub Issue #104 3. I've never encountered this one before either. I will check this out and see what I can find. 5. SiteMap inclusion is a new feature in 3.5.0. Follow GitHub Issue #48 @snoozeburg: I need more information to be able to figure that php warning out. Please install xdebug and send me the stack trace. @Carlos: Use php 5.4 or later. If for whatever reason you do need to use 5.3, you could try this workaround (not tested): PHP Code: # Change the following from: @lotova: This has already been fixed in the next version (3.5.0 beta). Refer GitHub Issue #116. Download the GitHub Repo and install the blog from there. Version 3.4.4 is now available! - johnstray2001 - 2018-08-24 Version 3.4.4 is now available on Extend
This version includes the following changes:
This is an interim bugfix release just to address the few known bugs that currently exist from the previous version, allowing for successful use of the plugin until such time the next major release becomes available. Bug Fixes:
Back End (Admin) Changes:
WARNING: This release drops support for the Multi User plugin, because it's too old, appears to have been abandoned, and has too many bugs to be compatible. If you are actively using that plugin in combination with this plugin, all permissions relating to GSBlog will no longer apply and all users will have full control. If you'd like to update but retain support for Multi User, please review commit 692f7ea and revert those changes (This will not be supported). RE: GetSimple Blog - ragou - 2018-11-09 Hi everybody, How to add viber in share section? RE: GetSimple Blog - Lazy-Crocodile - 2019-03-04 Hi johnstray2001, GS-Blog is great. Is it possible to extend the function "show_blog_recent_posts" with a parameter "category"? This would be fine,cause i want to show only the recent posts of a specified category Best regars Markus RE: GetSimple Blog - johnstray2001 - 2019-03-05 @Lazy-Crocodile: This can be archived using the function `return_blog_category('categoryname');`. This will return an array of posts from the given category that you can then loop over and display the posts how you wish. For example: PHP Code: foreach ( return_blog_category( 'Category Name' ) as $slug => $filename ) { RE: GetSimple Blog - johnstray2001 - 2019-03-05 @ragou: Modify the file "layout-list.php" to include the code block for the Viber share widget. This will add the widget to every post. RE: GetSimple Blog - chainsaw81 - 2019-03-07 Hi, first thank you very much for this Plugin!!! But i have one problem mit the german special characters like ä ö ü in the date function. Can you help me please? I get this in frontend and backend am M�rz 7, 2019 RE: GetSimple Blog - Riianna - 2019-03-18 I use this snippet in template show_blog_recent_posts(null, null, null, null) to show post title, but how to show post title from specifig gategory and only one post title and/or latest post title?. RE: GetSimple Blog - Lazy-Crocodile - 2019-03-18 Hi Rihanna, here an Example. I hope this helps: function GetTeamNews($showallgroups=false) { if (return_special_field('blog')=="" && ! $showallgroups)return; $result = return_blog_category( return_special_field('blog')); $cnt=0; if(count($result)) { echo '<div class="row">'; foreach ($result as $slug => $filename ) { if ($cnt<1 || ($showallgroups && $cnt <> 5)) { echo "<div class='col-lg-6 col-sm-12'>"; $cnt++; //print_r( getXML( $filename['filename'])); $post = getXML( $filename['filename']); $title = (string) $post->title; $author = (string) $post->author; $date = strtotime($post->date); $content = html_entity_decode( $post->content ); $team =$showallgroups?"$post->category: ":""; echo "<h4>$team $title<span style='font-size:80%;'><br>vom ".date('d.m.Y', $date)."</h4>"; if ($post->thumbnail !="") echo "<a href ='/index.php?id=news&post=$post->slug'><img src='/data/uploads/$post->thumbnail' style='float:right; padding-left:2em;padding-bottom:2em;width:50%; '/></a>"; if ($showallgroups ) { $article = explode("</p>",$content); echo $article[0]."</p>"; echo $article[1]."</p>"; echo "<p><a href ='/index.php?id=news&post=$post->slug'>weiterlesen ...</a></p>"; } else echo $content; echo "</div>\n"; if ($cnt %2 ==0) { echo "</div>\n<div class='row'>\n"; } } } echo '<div class="row">'; } } RE: GetSimple Blog - elubben - 2019-03-29 Seem to be somewhat brain dead with getting this to work on my site.... Installed the blog, works great but code Code: <?php show_blog_categories(); ?> Is there a way to get it to work on a page??? Thanks Gene RE: GetSimple Blog - datiswous - 2019-03-29 You use a component for the sidebar? Did you try to to put it in a component and place the component on the page via Dynpages plugin? See here: http://get-simple.info/forums/showthread.php?tid=6238&pid=45175#pid45175 There might be an easier solution, I didn't read all the posts and the documentation on GitHub is somewhat lacking. Edit: See also the following 2 posts for an alternative method: http://get-simple.info/forums/showthread.php?tid=6238&pid=45176#pid45176 RE: HOW TO: Show individual categories on their own pages - elubben - 2019-03-30 (2014-05-16, 08:21:21)johnstray2001 Wrote: xxdex, RE: GetSimple Blog - noobxj9 - 2019-04-05 Is it possible to add pagination to archive ,tag and category listing? In main blog page they show as set in admin but if you list posts by tag or by category or by archive all posts show and its a pretty long page when you have 150 posts. Everything else works as expected and i really like this plugin. Thanks. |