TinyPortal

Development => Support => Topic started by: Swifty550 on March 01, 2011, 04:02:27 PM

Title: Auto approve articles to display on Front-page?
Post by: Swifty550 on March 01, 2011, 04:02:27 PM
Hey, I'd just like to say what a great portal you guys have made! :)

I use the selected topics + articles only on the front-page and wanted to know if there is anyway I can automatically make the articles display on the front-page?

More depth - I have given the Global Moderator permissions to submit HTML/BBC articles and auto approve. It seems I still have to approve their article into a category, and then make it show on the front-page.

Is there any alternatives to make it easier?

Thanks.
Title: Re: Auto approve articles to display on Front-page?
Post by: IchBin on March 01, 2011, 04:41:04 PM
Are they not selecting a category in the first place? That could be why it's not showing on the frontpage automatically.
Title: Re: Auto approve articles to display on Front-page?
Post by: ZarPrime on March 01, 2011, 04:43:13 PM
Swifty550,

I doubt that you'd be able to have some sort of auto-approve.  In other words, someone will have to approve them, whether it be you or someone else that you have given permission to make the approvals.  I'll have to look into this further by looking at permissions but I can't do this right now, maybe tonight.

One thing I should mention though --> Make sure that you fully trust the person or persons that you are giving permission to for creating html articles.  BBC isn't so bad, but html can be easily abused.

ZarPrime
Title: Re: Auto approve articles to display on Front-page?
Post by: Swifty550 on March 01, 2011, 04:51:09 PM
Hey Zarprime,

Thank you for your reply. I do trust the person, but I have disabled the PHP permission as I realised that wont be needed. Thank you for the warning though.

Also, is there a code for a block so I can display posts from a certain category/board? Something like a Board news. I can't to seem to find anything.

Thanks.
Title: Re: Auto approve articles to display on Front-page?
Post by: Swifty550 on March 01, 2011, 04:56:28 PM
Quote from: IchBin on March 01, 2011, 04:41:04 PM
Are they not selecting a category in the first place? That could be why it's not showing on the frontpage automatically.

No they are not. I still have to select a category to approve to. I've even tried as uncategorised with no luck.
Title: Re: Auto approve articles to display on Front-page?
Post by: WillyP on March 07, 2011, 06:15:12 PM
Quote from: Swifty550 on March 01, 2011, 04:51:09 PM
Also, is there a code for a block so I can display posts from a certain category/board? Something like a Board news. I can't to seem to find anything.

This is what I use:
echo'<h3>Soupe Du Jour:</h3><br />';
ssi_boardNews($board = 10.0, $limit = 1, $start = null, $length = 3500, $output_method = 'echo');
echo'<hr />';


Change 10.0 to whatever board number. Limit = 1, is the number of topics to show.  3500, is the number of characters, I use that to keep the page from being too unbalanced, and visitors can read more if the post is truncated. Links to examples in my siggy.