vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v2.0 Support > Bugs & Issues > Bugs From 2.0 RC1

 
 
Thread Tools Display Modes
  #1  
Old 06-06-2005, 12:35 AM
Torqued Torqued is offline
Senior Member
 
Join Date: Oct 2004
Posts: 122
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  
Old 06-06-2005, 01:56 AM
FightRice FightRice is offline
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  
Old 06-06-2005, 08:37 AM
Torqued Torqued is offline
Senior Member
 
Join Date: Oct 2004
Posts: 122
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  
Old 06-06-2005, 10:08 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
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  
Old 06-06-2005, 11:26 AM
Torqued Torqued is offline
Senior Member
 
Join Date: Oct 2004
Posts: 122
Default Re: Post icons not showing up in news on front page...

That did it! Thanks Brian!
  #6  
Old 06-06-2005, 11:54 AM
MotoUp MotoUp is offline
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.
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Only one news attatchment showing up on front page? kyzen Troubleshooting / "How do I..." Questions 2 05-06-2005 12:51 AM
Buttons on front page not showing up gnawph Troubleshooting / "How do I..." Questions 1 02-26-2005 08:51 PM
Showing which forum a news post is from .. Slave Troubleshooting / "How do I..." Questions 2 01-28-2005 10:58 AM


All times are GMT -4. The time now is 08:42 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.