Results 1 to 6 of 6

Thread: Post icons not showing up in news on front page...

  1. #1

    Default Post icons not showing up in news on front page...

    Upgraded to v2.0rc1.

    Post icons are not showing up on the News items on the front page.

    I tried disabling and re-enabling in the config, but still no worky.

    Post icons show up fine in the Latest Topics module.

    My site is @ http://www.torqued.org/news

  2. #2
    Senior Member
    Join Date
    Feb 2005
    Posts
    151

    Default Re: Post icons not showing up in news on front page...

    Run the installer again, and edit your paths.Make sure they are correct for everything

  3. #3

    Default Re: Post icons not showing up in news on front page...

    Quote Originally Posted by FightRice
    Run the installer again, and edit your paths.Make sure they are correct for everything
    I already did that.

    Besides, the post icons are showing up correctly in the Latest Topics module.

    And the icons were showing up in the News module before the upgrade.

  4. #4
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,467

    Default Re: Post icons not showing up in news on front page...

    If you'll look in your news.php file for this code:
    PHP Code:
    if ($mod_options['portal_news_legacy']) 
    Add this right above it:
    PHP Code:
                    $blockbullet $vba_style['portal_blockbullet'];
                    if (
    $mod_options['portal_news_showicon'])
                    {
                        
    $vba_style['portal_blockbullet'] = '';
                        if (
    $news['threadiconpath'])
                        {
                            
    $vba_style['portal_blockbullet'] = '<img alt="" border="0" src="' $news['threadiconpath'] . '" title="' $news['threadicontitle'] . '" />';
                        }
                    } 
    Then find:
    PHP Code:
                    else
                    {
                        eval(
    '$newsbits .= "' fetch_template('adv_portal_newsbits') . '";');
                    } 
    And add this right below:
    PHP Code:
                    $vba_style['portal_blockbullet'] = $blockbullet


    Then look in your adv_portal_newsbits template for this code:
    Code:
    <td class="thead"><a href="$vboptions[bburl]/showthread.php?t=$news[threadid]">$news[title]</a></td>
    Replace with this:
    Code:
    <td class="thead"><if condition="$mod_options['portal_news_showicon']">$vba_style[portal_blockbullet]</if> <a href="$vboptions[bburl]/showthread.php?t=$news[threadid]">$news[title]</a></td>
    And that should take care of the problem.

  5. #5

    Default Re: Post icons not showing up in news on front page...

    That did it! Thanks Brian!

  6. #6
    Senior Member
    Join Date
    Jul 2004
    Posts
    221

    Default Re: Post icons not showing up in news on front page...

    Thanks. I like having the icons there.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Only one news attatchment showing up on front page?
    By kyzen in forum Troubleshooting / "How do I..." Questions
    Replies: 2
    Last Post: 05-06-2005, 12:51 AM
  2. Buttons on front page not showing up
    By gnawph in forum Troubleshooting / "How do I..." Questions
    Replies: 1
    Last Post: 02-26-2005, 09:51 PM
  3. Showing which forum a news post is from ..
    By Slave in forum Troubleshooting / "How do I..." Questions
    Replies: 2
    Last Post: 01-28-2005, 11:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •