TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,991
  • Total Topics: 21,323
  • Online today: 545
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 297
  • Total: 297

Auto approve articles to display on Front-page?

Started by Swifty550, March 01, 2011, 04:02:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Swifty550

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.

IchBin

Are they not selecting a category in the first place? That could be why it's not showing on the frontpage automatically.

ZarPrime

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

Swifty550

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.

Swifty550

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.

WillyP

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.

This website is proudly hosted on Crocweb Cloud Website Hosting.