So you can also make a new template file for certain pages and use the
directly in that template file?
Code:
<?php show_blog_category($category); ?>
GetSimple Blog
|
So you can also make a new template file for certain pages and use the
Code: <?php show_blog_category($category); ?>
2014-05-16, 09:11:02
(2014-05-16, 08:43:54)datiswous Wrote: So you can also make a new template file for certain pages and use the Yes, that is correct. Doing that does not require the Dyn pages plugin.
Check out my website: JohnStray.com
2014-05-17, 03:45:36
Let me qualify this question first: This installation is on a free host, but the minimum server config is met for GS installation. PHP just barely makes the bar at 5.2.17. I'm perfectly prepared to hear that the server is somehow deficient.
Repro Complete setup First run GS, no errors Ensure Health Check doesn't complain Theme is Innovation with Plugins Add GS Blog 3.1.2 Start GS Receive two errors in sequence Debug mode shows same, nothing additional Code: [16-May-2014 13:14:28] PHP Warning: Invalid argument supplied for foreach() in /home/a4979543/public_html/plugins/gs-blog/class/primary/Blog.php on line 151 Code: [16-May-2014 13:14:28] PHP Warning: usort() [<a href='function.usort'>function.usort</a>]: The argument should be an array in /home/a4979543/public_html/plugins/gs-blog/class/primary/Blog.php on line 163 Here's the screenshot:
2014-05-17, 05:20:45
(This post was last modified: 2014-05-17, 05:41:49 by johnstray2001.)
snooze,
Once you installed the plugin and activated it, did you go to the new blog tab or not? If not, go there first and allow the plugin to create it required files (this will happen automatically when you go to the blog tab for the first time). What I think is happening here (primary class Blog.php): Code: Line 137: $all_posts = glob(BLOGPOSTSFOLDER."/*.xml"; // returning false Code: Line 138: if(count($all_posts) < 1) // Basically if false less than 1 I will add a check for this in the next version to prevent this from happening. In the mean time, just go to the blog tab in admin and create the required files as I said above. That should make line 137 return true instead, like it is supposed to for no posts. Edit: Just check that /data/blog has the permission 0755, not 0644. When uploading via FTP, 0644 is commonly the default with most hosting providers. So you might also want to check that /data and /backups have 0755 permission too. Do this recursively.
Check out my website: JohnStray.com
2014-05-17, 08:57:21
Attached is the shot of the screen that appears immediately after clicking the Blog tab, so it was created.
Permissions are /data/blog was 755
2014-05-17, 09:45:54
Hello, and thanks for the hard work on GS Blog!
I was wondering if the RSS importer will ever support formatting/images as found in a wordpress rss2 feed? The reason that I ask is that I'd like to feed my newly created GS blog with the feed of my posts on a couple of other blogs which are in wordpress. If this was possible, it would be a neat feature! Thanks again, ~CalonDdraig
2014-05-17, 10:03:15
(This post was last modified: 2014-05-17, 10:11:27 by johnstray2001.)
snooze,
It might just be because of the way the glob() function works under your version of PHP. Either way, it'll be fixed in the next version. Edit: From the PHP Manual for glob() (so, the error could well be because of your server environment): Code: Note: CalonDdraig, I will look into adding that ability to the rss autoimporter. Thanks for the request.
Check out my website: JohnStray.com
2014-05-17, 10:05:28
Thanks for that johnstray, and thanks for a great plugin
2014-05-18, 08:24:19
John:
This might not be a big deal to many who want to use with Markdown Markup, but it might be. GS Blog supplies its own HTML editor setting. The Markdown instructions are to deactivate the HTML editor. Once done, Markdown syntax creates styled entries as expected. When you add GS Blog, new posts have the HTML editor present. Someone wishing to use Markdown in blog posts would need to use a separate editor and export HTML for pasting in their post. I'm not a dyed-in-the-wool Markdown user but I know a few. If you say, By design, it's fine with me. If you want more specific repro steps, I'll write it up.
2014-05-18, 09:22:40
what when it will be too much posts in site ? i think it should be a paggination in back-end view posts: to 25-50- 100 post or custom value.
great help @johnstray2001 with recent posts thank You!
user plugin: scroll to top
2014-05-18, 17:58:15
(This post was last modified: 2014-05-18, 18:02:56 by johnstray2001.)
Snooze,
I had no idea that GetSimple had a markdown editor. Can't say I've come across that anywhere, but I'll look into that. Could you point me in the direction of where to find info about that on the get-simple site? Xxdex, Pagination on the back end, a good idea. I'll look into that too.
Check out my website: JohnStray.com
2014-05-19, 03:11:20
(This post was last modified: 2014-05-19, 03:13:07 by johnstray2001.)
Version 3.1.3 is now available on Extend.
This version includes the following changes: Back End (Admin) UI Improvements:
Check out my website: JohnStray.com
2014-05-19, 04:26:27
Snooze,
I had no idea that GetSimple had a markdown editor. Can't say I've come across that anywhere, but I'll look into that. Could you point me in the direction of where to find info about that on the get-simple site?[quote] http://get-simple.info/extend/plugin/mar...arkup/744/ Most recent update was in Dec 2013, but does not include 3.3 as supported version. I works with 3.3.1.
Carlos also made a markdown plugin some time ago:
http://get-simple.info/forums/showthread...2#pid32482 I only tested the other one snooze revered to which seems to work fine in 3.3.1 . I missed some sort of shortlist of Markdown syntax, so I used the wj-notepad plugin to bring an image with md-syntax.
2014-05-19, 07:48:44
(2014-05-19, 07:25:25)datiswous Wrote: Carlos also made a markdown plugin some time ago: Yes but it's a bit crappy. I'm still using it sometimes but it has some issues. When I have the time I want to do another, more robust one (if no one has developed one before) - One that stores content as (encoded) html too (like GS), as opposed to csevanwell's plugin (and Zegnat's very old one which worked the same way) (Sorry for the offtopic...)
2014-05-19, 07:57:45
(2014-05-19, 07:48:44)Carlos Wrote: Yes but it's a bit crappy. I'm still using it sometimes but it has some issues. When I have the time I want to do another, more robust one...What I actually miss is a toolbar in the source view of ckeditor, or when ckeditor is not enabled. Just like it works in this forum (so you can read the code tags), but with html or (preferably) markdown instead of bbcode.
2014-05-19, 08:31:28
(2014-05-19, 07:25:25)datiswous Wrote: Carlos also made a markdown plugin some time ago: Ca Carlos also assumed News Manager much in the way John did for GS Blog. I wouldn't lose any sleep over this, unless it is discovered that GS Blog is the bad guy. As I mentioned, it does override the app editor setting.
2014-05-19, 08:45:21
(2014-05-17, 08:57:21)snooze Wrote: Attached is the shot of the screen that appears immediately after clicking the Blog tab, so it was created. John: 3.1.3 is broken in a completely different way on that wonky free hosting. Once the plugin is activated, I get: Code: Parse error: syntax error, unexpected '}' in /home/a4979543/public_html/plugins/gs-blog/inc/common.php on line 18
2014-05-19, 09:38:56
(2014-05-19, 08:45:21)snooze Wrote:(2014-05-17, 08:57:21)snooze Wrote: Attached is the shot of the screen that appears immediately after clicking the Blog tab, so it was created. If this error, change code in files /gs-blog/inc/common.php: Code: /* Define Constants to: Code: /* Define Constants
In the GS Blog Settings, these fields appear to offer the option of changing text that appears as links to next/previous actions.
Maybe I've got it wrong, but then what does it do? When I make a change, I still see << Go back to the previous page, etc.
2014-05-20, 17:15:05
(This post was last modified: 2014-05-20, 17:17:04 by johnstray2001.)
Jano and snooze,
The PHP error occurred because of a stupid syntax error. The semi-colon at the end of the line should have been before the curly braces, not after. So, Code: if(!defined(BLOGFILE)){define('BLOGFILE', 'gs-blog')}; Code: if(!defined(BLOGFILE)){define('BLOGFILE', 'gs-blog');} I picked up on this about 10 minutes after I uploaded 3.1.3, then quickly fixed it and re-uploaded it. A new major update version will be out shortly that has this problem fixed. snooze, Those links refer to the "<< Older posts" and "Newer posts >>" links on the main blog page. I think I will remove those options anyway and move them to the language files where I think they should be so that they will actually change based on language.
Check out my website: JohnStray.com
2014-05-21, 19:00:20
Version 3.2.0 has just been released on Extend. This version is a major update that contains a number of improvements, changes, and fixes with the most focus put onto the RSS Auto-Importer and the Admin areas. I have done my best to eliminate all stupid syntax errors this time, with significant testing across my 2 testing environments.
What's New in Version 3.2.0 Back End (Admin) UI Improvements:
A security update (version 3.2.1) will follow in the next couple of days or so that will include fixes to file security and some minor visual changes in Admin. A feature update (Version 3.2.2) will follow about a week later which will include a new feature of the RSS Auto-Importer. Thumbnail support will be added to the RSS Auto-Importer so that when posts are imported, a thumbnail will be downloaded (based on the first <img> tag of the content) then attached to the post.
Check out my website: JohnStray.com
does not work /admin/load.php?id=gs-blog&settings=main#htaccess
https://www.dropbox.com/s/k207cggv7rj974....01.21.png in frontEndFunctions.php line 106 and 107 Code: <?php if(($blogSettings["displayauthor"] == 'Y') && (!empty($author))) {echo '<span class="blog_post_author">'.i18n_r(BLOGFILE.'/BY').' '.$author.'</span> <span class="separator"> '.i18n_r(BLOGFILE.'/SEPARATOR').' <span>';} ?> Code: 'SEPARATOR' => "|",
2014-05-22, 02:04:06
Oleg06,
I found a couple of typos in the en_US language file, plus one string that was missing (pointed out by a PM I received). Also, language files other than English have not had strings added to them yet because no translators have come on board yet. I thought i18n_r() was supposed to default to en_US though, but it appears from your screenshot that it doesn't.
Check out my website: JohnStray.com
in RSS
Code: <p>Душа моя озарена неземной радостью, как эти чудесные весенние утра, которыми я наслаждаюсь от всего Code: <h3 class="floated" style="float:left;"><?php i18n(LANGFILE.'/VERSION_STATUS'); ?></h3> Code: 'SEPARATOR' => "|", |
« Next Oldest | Next Newest »
|