Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
News Manager
Another tip/patch:

Want to use ISO dates (year-month-day) instead of American/old English dates (month/day/year) when editing NM posts?

- Edit news_manager/inc/posts.php and change line 18:
Code:
$date    = !empty($data) ? date('m/d/Y', strtotime($data->date)) : '';
to this:
Code:
$date    = !empty($data) ? date('Y-m-d', strtotime($data->date)) : '';
- Edit news_manager/template/edit_post.php and change line 99:
Code:
"post-date": { date: true },
to this:
Code:
"post-date": { dateISO: true },

With these 2 changes it should work.

Finally, though not strictly necessary, edit news_manager/lang/en_US.php (and/or other language files you use) and remove or change the mm/dd/yyyy string in the "POST_DATE" definition, like:
Code:
"POST_DATE"           =>  "Publish date (<i>yyyy-mm-dd</i>)",
(If you don't, it'll be confusing for the user.)
Reply
When I upload my GetSimple install from the dev server to live and set all settings right. The CMS tells me I did not CHMOD data and back-up and subfolders to 777 which I did.

And when I upload all news xml files to the /data/posts/ folder. I still don't see the news articles in the CMS nor on the live site.

Donno what to do next..

UPDATE:
You need to upload your posts to

/data/other/news_manager/
Reply
To move/migrate your News Manager data you have to upload:

/data/posts/*.xml
/data/other/news_manager/settings.xml
/data/other/news_manager/posts.xml [1]
/backups/posts/*.xml [2]

[1] Optional: it will be re-created when you create a new post.
[2] If you also want your pages' backups.

Also, if you have changed something in your language file (date format or whatever):
/plugins/news_manager/lang/xx_YY.php
Reply
I have a problem of this type that I would like to in the news was the ability to use HTML, ie (<b>, <img> etc.).

Html to display the changed line 99 in file news_manager/inc/site.php
of
Code:
if ($ excerpt) $ content = nm_create_excerpt ($ content);
on
Code:
if ($ excerpt) $ content = ($ content);
but it has made all the news shows and not just a shortcut.

Please help me how to do a shortcut and html Smile
Reply
Hi!
I am new here Smile
This plug in is realy nice. I would like to use it for instance for Products with custom fields. Is there a way (or another plugin) which could handle this? As a news listing page it works almost perfectly.

Another question: Is there any way to have different "Article" listings. E.g.: News, Products at the same time on different templates?

Thank you!

AD
Reply
News Manager is nice, but only a simple blog/news system.

Other plugins (look for them in Extend and take a look at their support threads):
- Items Manager
- I18N Special Pages + I18N Search...
- I18N Search
- GS Blog, if you want blog/news with custom fields.
Reply
All right! thanks for the info!

AD
Reply
Can somebody help me? Zależmy me on this in the news to be able to use HTML and that was to develop news. Can it be added to the News Media a tag such as # # # and that would mean "more"?

Thank you.
Reply
I've uploaded an updated version of News Manager:
http://get-simple.info/extend/plugin/new...dated/541/

Support thread for the updated version:
http://get-simple.info/forums/showthread.php?tid=3972

Thanks to roog (original author) for all his work on this nice plugin.
Reply
I'm looking to style the last .nm_post different (e.g. remove the border) from all the other .nm_post divs. Any one have a suggestion on how to do this. I've tried .nm_post > :last-child with no luck. Thanks!
Reply
@becca

Quick hack.
New classes .nm_post_1, .nm_post_2, etc. and nm_post_last
Only in main page (not used in archives, tags...)

Attached patched file site.php
Copy/upload to plugins/news_manager/inc

Of course if you later upgrade NM these changes will be lost.


Attached Files
.zip   news_manager_patched_postclasses_site-php.zip (Size: 1.69 KB / Downloads: 4)
Reply
(2012-12-15, 00:15:52)Carlos Wrote: @becca

Quick hack.
New classes .nm_post_1, .nm_post_2, etc. and nm_post_last
Only in main page (not used in archives, tags...)

Attached patched file site.php
Copy/upload to plugins/news_manager/inc

Of course if you later upgrade NM these changes will be lost.

Perfect, worked like a charm! Thanks so much!
Reply
I am using this plugin with "Front-End User Login" to create a private news section, where users have to login first to see updates.

I made the news page a members only page, but once I assigned News Manager to this page, it allows it to be seen without logging in.

Any idea why this would be happening?

Sorry if this should be posted in the other plugins thread.


GS Community Edition with php8.x compatibility, new features and much more!  Support Me


Reply
It must be because both plugins use the content filter, and depending of the order they are executed on a certain server, it will work or not (which is your case).

This problem will probably happen not only with News Manager, but with any plugin that runs in that filter and is not FEUL-aware in some way (I don't know if GS Blog is).

Maybe the FEUL plugin could be modified to run before the content filter so that it works with every plugin...

Meanwhile, you could try this patch for News Manager (not tested). Edit news_manager.php, find function nm_site() and insert this:

PHP Code:
    // patch for FEUL
    
$Feul = new Feul;
    if(
$Feul->checkPerm() != true) return $content;
    
// end patch 

just before this line:

PHP Code:
nm_i18n_merge();
... 

Let me know if it works.

Of course, if you upgrade News Manager you'll have to edit the file again to re-do the patch.
Reply
(2012-12-15, 22:13:32)Carlos Wrote: Let me know if it works.

Of course, if you upgrade News Manager you'll have to edit the file again to re-do the patch.

Thanks Carlos, this worked perfectly.


GS Community Edition with php8.x compatibility, new features and much more!  Support Me


Reply
Hi! Thanks for the plugin! I can't get the dates next to the posts - they are not showing up? Any idea? I am using your latest release.

Thanks!

AD
Reply
I just started using plain GS pages and the 18n search to list a blog page then I just manually type every new posting link in to the component sidebar, was the only SEO optimized way I could figure out how to do it. Wish I had time to spend studying php, would love to create a standardized news blog plugin that stored all of its data the same way pages are stored. All it needs is to store pages with meta data, tags etc and be able to list article titles for recent posts. The SEO is really the best part of Wordpress and was trying to at least clone off some of its blogging backend.

Know Special pages is suppose to be great but the way it formats the URL's for blogs is unacceptable for SEO reasons so ended up stuck using the regular GS pages and just made them all Childs of the blog. Hoping to spend more time studying all of that to maybe get what I want out of it. Unfortunately the only tutorials on it that I was trying to access are of course invalid links.

In my head it sounds simple enough but I cant even type a basic php echo without looking up syntax so doubt that will happen any way soon.

The news manager really would be the best way if i could just squeeze that major SEO requirement out of it. For a single style web site having categories really isnt a big deal with the tag cloud, the no meta description and info storage is what ive been fighting with past few days since most of the content is there and with the inconsistency it does knock off some seo points. I am considering installing a completely separate blogging engine to deal with it because its had me tied up for so long.
Reply
Hi!

Is there a way to integrate a Gallery?

I am using i18n_gallery: (% gallery name=gal-1 %) inside the news manager but only plain text is shown. I also tried to put it inside the source code mode. No luck. In normal pages, this works.

Mayber some php snippet?

Any Idea?

Thank you!!

AD
Reply
Bug 
Hi,
I use News Manager and I think it is a very important plugin for GetSimpe...
Sadly, I discovered a couple of serious bugs:
1) when you use latin character like "è" or "'" in the title, you can't delete the news anymore (except manipulating the xml file);
2) Same thing when you make a post "private", you can't delete it later.
These bugs are in the NM Updated too.

Anyone can help me?
My website made with GetSimple CMS is

Arte & Società
www.artesocieta.eu

An indipendent website about Italian Contemporary Visual Arts
Reply
@D.O.

I cannot reproduce that issue with NM 2.2.6

Could it be you still have a ".xml" file in data/posts, created by NM 2.2.4 before upgrading?

If so, I suggest you delete (or rename) it, and then edit and save some existing post in NM's admin panel, so that the index is updated.
Reply
Okay I will check this and I will inform about it.
So have you correct this bug in your NM Updated version?



(2012-12-20, 06:04:21)Carlos Wrote: @D.O.

I cannot reproduce that issue with NM 2.2.6

Could it be you still have a ".xml" file in data/posts, created by NM 2.2.4 before upgrading?

If so, I suggest you delete (or rename) it, and then edit and save some existing post in NM's admin panel, so that the index is updated.
My website made with GetSimple CMS is

Arte & Società
www.artesocieta.eu

An indipendent website about Italian Contemporary Visual Arts
Reply
(2012-12-19, 22:46:55)D.O. Wrote: Hi,
I use News Manager and I think it is a very important plugin for GetSimpe...
Sadly, I discovered a couple of serious bugs:
1) when you use latin character like "è" or "'" in the title, you can't delete the news anymore (except manipulating the xml file);
2) Same thing when you make a post "private", you can't delete it later.
These bugs are in the NM Updated too.

Anyone can help me?

I had, what sounds to be the same problem, mentioned here, that I couldn't seem to solve. I havnt needed to delete any posts with the latest version, so I guess I will go delete something and see what happens.


GS Community Edition with php8.x compatibility, new features and much more!  Support Me


Reply
Brick 
Well, so we will try a solution together. I found this rough solution. When I can not delete a post, I go into the folder "data / other / news_manager /" and in the file posts.xml, I pull the lines that do not interest me.


(2012-12-20, 07:48:53)islander Wrote:
(2012-12-19, 22:46:55)D.O. Wrote: Hi,
I use News Manager and I think it is a very important plugin for GetSimpe...
Sadly, I discovered a couple of serious bugs:
1) when you use latin character like "è" or "'" in the title, you can't delete the news anymore (except manipulating the xml file);
2) Same thing when you make a post "private", you can't delete it later.
These bugs are in the NM Updated too.

Anyone can help me?

I had, what sounds to be the same problem, mentioned here, that I couldn't seem to solve. I havnt needed to delete any posts with the latest version, so I guess I will go delete something and see what happens.
My website made with GetSimple CMS is

Arte & Società
www.artesocieta.eu

An indipendent website about Italian Contemporary Visual Arts
Reply
@D.O., islander

If any of you have (or can create) some post that cannot be deleted in NM's backend, please zip the post's xml file (from data/posts) and attach it here or via PM, so that I can take a look at it.
Reply
Okay Carlos, I am gonna zip them.

(2012-12-20, 17:19:05)Carlos Wrote: @D.O., islander

If any of you have (or can create) some post that cannot be deleted in NM's backend, please zip the post's xml file (from data/posts) and attach it here or via PM, so that I can take a look at it.
My website made with GetSimple CMS is

Arte & Società
www.artesocieta.eu

An indipendent website about Italian Contemporary Visual Arts
Reply




Users browsing this thread: 1 Guest(s)