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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 606
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 465
  • Total: 465

Turning Forum Posts into articles

Started by nukirk, October 16, 2007, 05:24:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nukirk

Is there a way that I can turn one of the boards into a "blog article" so that when I post an article, it will have the format of an article with comments but without making it look like a forum post?

G6Cad

Not at this time no in the TP Package, but if i remember correctly i think some one asked about this before.
Look in the block code and snippets or do some search on the subject and see if you can find it.

lebisol

Is it the look or the comment feature that you are after?

nukirk

Quote from: lebisol on October 16, 2007, 10:48:55 PM
Is it the look or the comment feature that you are after?

Both actually... the look so that it don't look like a forum post and the comment feature so people can comment on it.

Kinda like... make it Wordpress without Wordpress.

lebisol

#4
I have seen some posts of code used in custom 'recent articles' that you can perhaps modify and hardcode condition in sense of
if membergroup=admin echo 'regular article-with post count displayed'
else
echo' tweaked article display'

If you want to use this as 'real hit counter' then I think you would also need to look for mod/snip that eliminates bot hits.

Lots leg work but there may be something already done.
Look through >> this post<<
All the best!

Zetan

Use SSI functions.

PHP block or article

ssi_boardNews($board = 40.0, $limit = 5, $start = null, $length = 610, $output_method = 'echo');

Board = Board number.. hover over the board title to get the number.
Limit = How many topics to display
Length = Character count

Turn off Article comments.. You will be commenting the static Article and not the content within the Article otherwise.

For an example, my site home page uses SSI functions in the Reviews, News and Gossip.. Events and Releases.
For more info, search SMF.

Your forum install includes:

http://yoursite.com/ssi_examples.php

and

http://yoursite.com/ssi_examples.shtml


texasflats

How would I show the post from 3 different boards on one page? I'm trying to put them in a 3 column table for fishing reports from three different areas. Is that possible?

Anyone?
Thanks in advance.

lebisol

use the code Zetan gave you and repeat it for as many forums you want.

texasflats

I'd tried that already, the first one appears but thats it. Thanks.

This website is proudly hosted on Crocweb Cloud Website Hosting.