Page 1 of 1

News Setup

PostPosted: Fri Apr 14, 2006 9:58 am
Author: Eon
To make a news article, this is done pretty much the same way as making a post, except those with news approval access can select the news category in the post and submit it.

To setup News delivery almost everything has to be made in the ACP.

Check your news block is visible on the portal.php (Home) page
From a fresh install it should be title 'Integra News' (or a language variant) wit a further line denoting 'Index | Categories | Arcvhives'. If you do not have this block visible, go ACP> IMPortal> Blocks Management> IntegraMOD Default> and in the Block Edit page make sure the Active?: radio button is selected and submit.

How to change your news Block Title
Go Admin > IMPortal > Blocks Management > and click on the IntegraMOD default page. You will be confronted with a table of the blocks that are visible across most of your board and the two central blocks of Welcome to IntegraMOD and IntegraNews.
Click edit on the line of IntegraNews.
In Block Title: place you News title, such as Guild News.
set Active to yes
Make sure Localise Titlebar is set to No.
This means that your new title will be the same one you set here for all languages. If you require titles in diferent languages, set Localise Titlebar to Yes and edit the respective lang key

Code: Select all
 lang_news_block    


in blocks/language/lang_****/lang_news_block.php $lang['Title_news'] = 'Integra News';
Go to the bottom of this block and Submit.

Configuring your News
Firstly you need to make sure you have set the configuration correctly.

1.Go Admin > News Management > Configuration > Enable news posting - Yes

2.News Mod Base URL - [url=http]http://www.your[/url] domain/root folder if any

3.News Mod Index File - portal.php

4.News Trim Length - Sets the max length for news posts before they are trimmed. (0 = no trim). - 250 if you do not display all is a good alternative

5.News Trim Topic Length - recommend 0

6.Number of Items To Display - 5 (it is worth placing a lower number if you post complete news articles and memory issues may be affected

7.News icons path - normally images/news

8.Enable RSS Sydication - set to No initially, more info to come later.

9.Submit

Setting News Categories and a News forum
All News categories are delineated by category name an an image. You will automatically have a mank of images available, but you may wish to use your own.
If you have specific news images you can upload them to your forum in the /images/news folder. Make sure these filenames have no spaces and only alphanumerc characters in them. It is also worth keeping them fairly small due to the amount of information on your home page.

1.Go Admin > News Management > Categories Select an image and enter an appropriate news catgory, Submit

2.Add more News categories,

3.Go to Admin > Forum Admin > Management +> Create a new forum where News is to be posted/allowed

4.Go to that forum in the Management + page (e.g. Edit Forum)

5.Set News to REG if you wanted other members to submit news or just set it to MOD for moderators or ADMIN so that you can only post news, 6.Submit

7.Resync

8.Go to your newly made news forum > New topic > beneath the Description box is a News Category drop down menu. The default is not a news article so you will have to set this to the appropriate category for each news item you make. Complete at least topic title and subject text then Submit.

9.Goto the Home page and look for your article there.


Note: Once a News Category has been created, Admins can create a News post in any forum.
You may find that if a news post has an image in it, the image is output to guests as a url instead of the image. If so go Admin > General Admin > Configuration + > Profile settings > Reading > Display Images - set to yes. You do not need to override users setting.

If you have enabled registered members to post news, it would be wise to set the news post for approval first before they appear as news in the homepage.

1.Go to Admin > Approval > Edit Forums

2.Edit the forum where news is enabled

3.Tick Enable Approval System

4.Tick Moderate on New Topics and Topic Edits

5.Set the other options as desired (it would be good to have a PM sent to you when a news post is submitted so that you can review it ASAP)

6.Submit

PostPosted: Fri Apr 14, 2006 4:46 pm
Author: Michaelo
Nice one Eon

PostPosted: Fri Apr 14, 2006 4:56 pm
Author: Adrian Rea
Very good Eon :)

A

PostPosted: Fri Apr 14, 2006 4:57 pm
Author: Adrian Rea
actually I did not realise I had the approval bit in the old KB, but it will all help in my rewrite <img>

A

PostPosted: Mon Apr 17, 2006 5:29 am
Author: Eon
Well I actually I robbed you blind A.. I just saw someone post about setting up the news and I know this helped me so I posted it here.

PostPosted: Mon Apr 17, 2006 5:39 am
Author: Adrian Rea
Who said that?!! I can't see him!!! lol

PostPosted: Wed Apr 19, 2006 3:40 pm
Author: DaveSmooth
I'm having trouble with my news feed. I can add news, go to the news page, see the new item, and when I click more it doesn't find it. Some parts of the url are being left off, and I can't figure out where/why?

PostPosted: Sun Apr 23, 2006 8:02 am
Author: Adrian Rea
your news feed http://www.deepprogressions.com/main/news_rss.php looked fine.

the 'more' may be due to the

2.News Mod Base URL - http://www.your domain/root folder if any

3.News Mod Index File - portal.php

Depending on which phpbb upgrade you are up to.

A

PostPosted: Wed Apr 26, 2006 7:24 pm
Author: DaveSmooth
So...what you're saying is my setup should be:

News Mod Base URL - mydomain.com/main (which is the root folder where IM lives)

News Mod Index - portal.php

PHPBB vers. 2.0.19 (I haven't upgraded that yet...will that fix it?)

And thats what my settings are set to. Any other thoughts? And thanks, I do appreciate the help.

I can only actually see the feed in Safari, not IE or Firefox...what browser should I be testing with? I know IE doesn't support RSS.

PostPosted: Mon May 08, 2006 9:21 am
Author: DaveSmooth
OK...I'm making some headway with this. I have a question though. What file would I edit to get rid of the "Index | Categories | Archives" that is at the top of the block? Basically I would like to remove that and replace it with something else....thanks for the help so far.

PostPosted: Mon May 08, 2006 2:27 pm
Author: Adrian Rea
Is it the label you would like to change or remove the whole functions?

A

PostPosted: Tue May 09, 2006 7:23 am
Author: DaveSmooth
OK...this is just not right. I can see the news on my site when I use Safari on a Mac. Now on a pc w/ Firefox or a newsreader, it just doesn't work.

I get this:

Code: Select all
- <rss>- <channel>   <title>deepprogressions dot com</title>   <link>http]]>   </description>   <comments></comments>   </item>  


As well as the following message in Firefox:

"This XML file does not appear to have any style information associated with it. The document tree is shown below."

I get this no matter what site I go to using Firefox on a pc. So, that leads me to believe the RSS is setup more or less correctly on my site since I get the same thing on every other site. Can anybody see the news feed on my site correctly with a pc running any news reader/browser? Although I will probably give up on running news events on the site, I know some of my users actually like the RSS feed to get the skinny fast. Please help!