vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Bugs & Other Issues

 
 
Thread Tools Display Modes
  #1  
Old 04-07-2005, 09:15 PM
gatorsfootball gatorsfootball is offline
Member
 
Join Date: Feb 2005
Location: Atlanta, GA
Posts: 60
Question Images on News not showing up

The images in the News blocks will not display, but rather the link and link image are displayed instead. Can anyone tell me what I am doing wrong?

Images are "enabled" by the way

the-armory.net

Also, I am logged in as an administrator, so it does not seem to be a permissons problem.
  #2  
Old 04-07-2005, 10:35 PM
mholtum's Avatar
mholtum mholtum is offline
I ******* single moms.
 
Join Date: May 2004
Location: Tempe, Arizona
Posts: 1,938
Default Re: Images on News not showing up

make sure everyone including non registered visitors have the permissions to view attatchments. I am not logged in and when I click it it asks me to log in so it is a permissions thing.
  #3  
Old 04-08-2005, 02:05 AM
gatorsfootball gatorsfootball is offline
Member
 
Join Date: Feb 2005
Location: Atlanta, GA
Posts: 60
Default Re: Images on News not showing up

I enabled attachment download for unregistered users, so you can see it here:
http://www.the-armory.net/vb3/showthread.php?t=6825

But you cannot see it here:
http://www.the-armory.net/vb3/cmps_index.php?

NOTE: As you can see, they are both from the same thread
  #4  
Old 04-08-2005, 02:58 AM
Milk Man Milk Man is offline
tgimm.com Webmaster
 
Join Date: Feb 2005
Location: New Zealand
Posts: 239
Default Re: Images on News not showing up

try using the link of the image and insert image when posting a thread instead of using an attacthment.
__________________
tgimm.com- A fun community that you can discuss anything you want.
  #5  
Old 04-08-2005, 10:12 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Images on News not showing up

Try looking in your forum/modules/news.php file for this:
PHP Code:
thumbnailLENGTH(thumbnail
Replace with:
PHP Code:
IF(thumbnail_filesize 010) AS hasthumbnailthumbnailLENGTH(thumbnail
The find:
PHP Code:
$news['thumbnail'
Replace with this:
PHP Code:
$news['hasthumbnail'
And that should take care of the problem.
  #6  
Old 04-08-2005, 02:59 PM
gatorsfootball gatorsfootball is offline
Member
 
Join Date: Feb 2005
Location: Atlanta, GA
Posts: 60
Talking Re: Images on News not showing up

Thanks Brian...
  #7  
Old 04-08-2005, 03:18 PM
gatorsfootball gatorsfootball is offline
Member
 
Join Date: Feb 2005
Location: Atlanta, GA
Posts: 60
Default Re: Images on News not showing up

I just replaced the code Brian, but I get this error message:

Quote:
Parse error: parse error, unexpected $ in /var/www/html/vb3/modules/news.php on line 151
I did it twice, so I know I cut and pasted correctly.

Thanks for your help
  #8  
Old 04-08-2005, 03:46 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Images on News not showing up

The 2nd replacement shouldn't be on line 151. And as long as you modified the code correctly it would not give you that error...
  #9  
Old 04-08-2005, 05:12 PM
gatorsfootball gatorsfootball is offline
Member
 
Join Date: Feb 2005
Location: Atlanta, GA
Posts: 60
Default Re: Images on News not showing up

Quote:
Originally Posted by Brian
The 2nd replacement shouldn't be on line 151. And as long as you modified the code correctly it would not give you that error...
It worked....

Thanks Brian
Attached Files
File Type: php news.php (7.8 KB, 23 views)

Last edited by gatorsfootball; 04-08-2005 at 05:38 PM.
  #10  
Old 05-09-2006, 09:47 AM
NemoTech NemoTech is offline
Member
 
Join Date: Oct 2005
Posts: 35
Default Re: Images on News not showing up

Quote:
Originally Posted by mholtum
make sure everyone including non registered visitors have the permissions to view attatchments. I am not logged in and when I click it it asks me to log in so it is a permissions thing.
How would one go about allowing non-registered users to view images?
 


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
Some Images Not Showing Up duhh Troubleshooting / "How do I..." Questions 5 02-16-2005 06:58 PM
Images/icons not showing up Realist Troubleshooting & Problems 1 01-27-2005 10:29 AM


All times are GMT -4. The time now is 06:39 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.