Anyone Use Simple Press Forum Plugin?

Discussion in 'WordPress' started by wiseboke, Jul 24, 2010.

  1. #1
    How to show the lastest topic in home page?
    Like insert some code to do this?
     
    wiseboke, Jul 24, 2010 IP
  2. Alexandros1

    Alexandros1 Peon

    Messages:
    332
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I just installed it over the weekend and am still working to set it up. One tip: while I wasn’t exactly happy with the forum being squeezed onto a page with the blog’s sidebar still intact, I did find a page on the plugin’s home page that gives instructions on how to remove the sidebar so the forum stretches out a little more
     
    Alexandros1, Jul 24, 2010 IP
  3. master-mind

    master-mind Well-Known Member

    Messages:
    91
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    111
    #3
    Yes, I do use it and almost happy with it.

    You can get latest posts on homepage very easily using SimplePress' Template tags. Here is the tutorial they have put together.

    http://wiki.simple-press.com/plugin-api/template-tags/list-template-tags/

    find the php code example
    <?php sf_latest_posts(5); ?>
    Code (markup):
    off course 5 is the number of posts you want to get on homepage.

    there are more tags and examples details available on the link.

    Hope it helps.

    thanks
     
    master-mind, Jul 24, 2010 IP
  4. wiseboke

    wiseboke Peon

    Messages:
    133
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    your code didn't work? I insert it directly in the edit page form.It can't run php code?
     
    wiseboke, Jul 24, 2010 IP
  5. wiseboke

    wiseboke Peon

    Messages:
    133
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I have installed a php exec plugin ,it works now
     
    wiseboke, Jul 24, 2010 IP
  6. wiseboke

    wiseboke Peon

    Messages:
    133
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    now it can output recent posts but in the way I dislike.I want it to output the result in a form
    like this
    1.jpg
     
    wiseboke, Jul 24, 2010 IP
  7. master-mind

    master-mind Well-Known Member

    Messages:
    91
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    111
    #7
    Hi wiseboke,

    Sorry I forgot to mention about you need PHP Exec plugin first.

    For the formatting styles, what you need is a topic not posts. so I am not sure if this function is already there. However it should not be that difficult to create a custom function for your need.

    Thanks
     
    master-mind, Jul 25, 2010 IP