GS Blog v1.4 - 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: GS Blog v1.4 (/showthread.php?tid=3200) |
GS Blog v1.4 - lr - 2012-06-08 lr Wrote:Hi I installed and the blog is running great apart from image upload /save in the edit post area FIXED.. old hosting 1and1 account. I had added to php.ini magic_quotes_gpc = off but adding to the main directory was not enough. Added it also to sub directories admin and plugin/blog and the error disappeared. GS Blog v1.4 - dima-s - 2012-06-09 Hello! Have some questions Is it possible on the index page to show excerpts of recent posts, and on the blog page - full posts? Now I use <?php show_blog_category('recent'); ?> on the index page and <?php show_all_blog_posts(); ?> on the blog page. Sorry for the google-translate GS Blog v1.4 - jimbo_on_travels - 2012-06-10 @mikeh - I was thinking of calendar image dates for blogs like the ones shown in the following example: http://www.smashingmagazine.com/2008/02/22/gallery-of-date-stamps-and-calendars/ Your blog plugin is great! Thanks for sharing this with the community GS Blog v1.4 - shawn_a - 2012-06-11 My rss feed isnt being parsed properly. when i validate it it says Sorry This feed does not validate. line 11, column 68: XML parsing error: <unknown>:11:68: not well-formed (invalid token) [help] which contains the <link> Perhaps it needs to be encoded ? Also it seems that the htaccess link doesn't work when fancy urls is off. GS Blog v1.4 - islander - 2012-06-11 Is it be possible, on the summaries page, to display the date of the post under the title? GS Blog v1.4 - mikeh - 2012-06-12 jimbo_on_travels Wrote:@mikeh - I was thinking of calendar image dates for blogs like the ones shown in the following example: Please let me know your favorite choice from the examples shown. shawn_a Wrote:My rss feed isnt being parsed properly. I will look into the rss feed, it definitely should validate (and originally did). I originally made the .htaccess example not show (if pretty urls are off) on purpose to avoid confusion from users. I assume you think I should show it regardless? islander Wrote:Is it be possible, on the summaries page, to display the date of the post under the title? This will be included in the next version. GS Blog v1.4 - lr - 2012-06-12 dima-s Wrote:Hello! Have some questions............. ditto it would be great to have this. <?php show_blog_recent_posts(); ?> is great, a really easy to use code snippet, but it would be great if you could easily pass excerpt and date to other pages. Can anyone guide on changing the code to do this for now? great plugin! GS Blog v1.4 - mikeh - 2012-06-12 lr Wrote:dima-s Wrote:Hello! Have some questions............. ditto it would be great to have this. Go to the below url, copy the entire show_blog_recent_posts() function and use it to replace the show_blog_recent_posts() function in blog.php Once you have done this you can optionally provide 2 parameters. One to decide whether to show excerpts, and another to define the excerpt length. Explained below Example: Code: <?php show_blog_recent_posts(true, 350); ?> parameter 1: $excerpt=false The first param is false by default. If you do not wish to display excerpts, do not place any parameters in the function. If you do want to show excerpts, this should be true (as in above example). parameter 2: $excerpt_length=null The second parameter defines the length of the excerpt. If you do not provide the second parameter (and the first param is true), it will default to the excerpt length defined on the blog settings page. GS Blog v1.4 - focoves - 2012-06-12 mikeh Wrote:[link=https://gist.github.com/2911434]Link To Gist Coding[/link]Great Mike ! really nice !! a smaill contribution: add the READ MORE thing at the end of the excerpt is just adding like this echo '<li><a href="'.$url.'">'.$title.'</a><p class="blog_recent_posts_excerpt">'.$excerpt.' ... <a href="'.$url.'">READ FULL</a></p></li>'; Thank you man! GS Blog v1.4 - radio - 2012-06-12 Dear Mikeh I have a problem with the position of the sidebar since I installed GS Blog. Please have a look at radio.avanti-papi.ch. The sidebar is below the blog instead of being on the right side. In menu Impressum you can see, where the sidebar should be. Any idea what to do? Thanks in advance MiG GS Blog v1.4 - shawn_a - 2012-06-12 mikeh Wrote:I assume you think I should show it regardless? Well the link is still there regardless, so I don't see how that matters. Plus people probably want to see the details or even change htaccess BEFORE enabling the checkbox. Also to clarify, the setting has to be SAVED not just checked for it to display. Also if you implemented a component callout or a templating method or even just output the date parts in individually classed spans, people can style their own date widgets, I don't see a predefined one needing to be added as a feature. hmm the rss issue might be non encoded ampersands in the links, also the links in the feed don't seem to respect pretty urls. GS Blog v1.4 - islander - 2012-06-12 Here is a slightly updated version of the Spanish lang file. GS Blog v1.4 - lr - 2012-06-12 [link=https://gist.github.com/2911434]Link To Gist Coding[/link] Go to the below url, copy the entire show_blog_recent_posts() function and use it to replace the show_blog_recent_posts() function in blog.php Code: <?php show_blog_recent_posts(true, 350); ?> echo '<li><a href="'.$url.'">'.$title.'</a><p class="blog_recent_posts_excerpt">'.$excerpt.' ... <a href="'.$url.'">READ FULL</a></p></li>'; Thank you !!!! Just perfect GS Blog v1.4 - jimbo_on_travels - 2012-06-13 @mikeh I'd go with the following from that calendar icon site: (they look pretty standard and easy enough to customise for an end user) http://sotak.co.uk/sites/default/files/blog/sotak-calendar-icons.tar_.gz http://www.euphorish.com/files/resources/PNG.zip I've also checked that they're free to use. Thanks for looking at this GS Blog v1.4 - shawn_a - 2012-06-13 This might be a stupid question. I want to add comments to the blog, but I also want comments on select pages on my site. So aside from running 2 comment systems, any way to just use the one with blog for both. Or some other plugin and intergrate it into the blog. I was thinking maybe normal pages can masquerade as blog posts somehow or maybe the code is modular enough i can just insert the blog commenting system. Or maybe even make fake blog posts for each page and then link to those from the normal pages ? GS Blog v1.4 - mikeh - 2012-06-14 shawn_a Wrote:This might be a stupid question. Well if you want to use disqus you can just use the same shortname for your installation on your pages. GS Blog v1.4 - ivo - 2012-06-16 Hello, I have a page for the blogs as per the settings - this is not my homepage, but I want ot add just the latest blog to the front page below the content. I have used the show_blog_recent_posts(true, 350); but it doesn't display image content in the blog. Is there a function that can adjusted to display only the latest blog on the front page (while keeping my blog page)? thanks, Ivo GS Blog v1.4 - ivo - 2012-06-16 My Apologies, it was the post thumbnail that was not displaying and I had troubles trying to display it by incorporating it into the function, irrespective of that I would greatly appreciate a function to display only the latest post on the front page with an excerpt length. cheers, Ivo GS Blog v1.4 - mikeh - 2012-06-20 version 2.0 will not be released as quickly as I hoped. I have many projects to work on right now and do not have the time to finish the update. So you all know the progress. I have a custom fields option fully implemented and configured. I only need to finish the area where the user can layout the custom fields for front-end viewing. Hopefully I can accomplish this within the next 2 weeks. GS Blog v1.4 - shawn_a - 2012-06-20 Can you dump all the fields into an object and pass it globally to a user specified component? It's a lot easier than coding all your config stuff into your plugin, and it's all in one place. GS Blog v1.4 - mikeh - 2012-06-21 shawn_a Wrote:Can you dump all the fields into an object and pass it globally to a user specified component? Well the whole process becomes a bit complicated due to the rules on the settings page. (display thumbnail, tags, date, etc..) GS Blog v1.4 - shawn_a - 2012-06-21 mikeh Wrote:shawn_a Wrote:Can you dump all the fields into an object and pass it globally to a user specified component? hmm, i imagine those would be ignored if people were using their own component for rendering. They could make those decisions on their own in code. Granted this is a advanced user use scenario. GS Blog v1.4 - mikeh - 2012-06-21 shawn_a Wrote:Alright, so in your opinion it is best to completely ignore most of the settings on the settings page if the user opts in to choose a custom display. And what would be the benefit of using a component rather then a text area on the settings page? I think that would just confuse the user or make them go to another place when it could be done on the spot.mikeh Wrote:shawn_a Wrote:Can you dump all the fields into an object and pass it globally to a user specified component? GS Blog v1.4 - focoves - 2012-06-21 mikeh Wrote:Alright, so in your opinion it is best to completely ignore most of the settings on the settings page if the user opts in to choose a custom display. And what would be the benefit of using a component rather then a text area on the settings page? I think that would just confuse the user or make them go to another place when it could be done on the spot. IMHO , mikeh , you are right. It's better having blog settings inside of the component itself. Anyway, thank you for your plugin, it's great. When you can come for 2.0, we'll be waiting for you ! GS Blog v1.4 - shawn_a - 2012-06-21 I don't know, I like components, it gives me a single location to manage all my code modules. Plus it removes all that overhead form your plugin, you don't have to code a codemirror textarea since we already have a mechanism for this. i18n search does this and I found it much more pleasant to work with than the way , say item manager did. Of course if you implement a textarea, users can always just call their own component inside it, so doesn't really affect us. Was just thinking of ways to make plugin authoring easier than having code inputs all over the place. Maybe in core we can have components register with the system and all show up in component editor, but remain linked to the plugin they belong to, so when the plugin is removed, the component can be and vice versa. |