vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Dynamics > vBa Dynamics v2.0 Support > Bugs & Issues > Bugs & Issues From v2.0.1

Reply
 
Thread Tools Display Modes
  #1  
Old 10-30-2010, 12:23 AM
ibaker's Avatar
ibaker ibaker is offline
Senior Member
 
Join Date: Feb 2008
Posts: 295
Default Inline attachments showing number

I have an instance of dynamics being used for Articles and in many entries I start the article off with an in-line attached image.

zzz1.jpg

I use the Lean template for the Random module which I edited by adding:
Code:
    <div align="justify">
        {vb:raw entry.pagetext_preview}
    </div>
to get a preview of the entry.

The problem is I get the attachment number showing at the start of the preview:

zzz2.jpg

Is there any way to get rid of the number at the start of the preview?

Thanks
Reply With Quote
  #2  
Old 10-30-2010, 12:05 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Thank you for pointing this out. It looks like vB's functions do allow for that to be stripped out, and it should be. This will be corrected in the next release (v2.0.2), which should be available today.
Or if you would rather apply the fix to your current version manually, just look in the fourm/includes/vba_dyna_functions_cats.php file for this line:
PHP Code:
$entry['pagetext_preview'] = fetch_trimmed_title(htmlspecialchars(strip_bbcode(strip_tags($entry['pagetext_preview']))), $vba_options['dyna_desclength_browse']); 
And replace with this:
PHP Code:
            $entry['pagetext_preview'] = strip_bbcode($entry['pagetext_preview'], falsetruetruetrue);
            
$entry['pagetext_preview'] = fetch_trimmed_title(htmlspecialchars(strip_tags($entry['pagetext_preview'])), $vba_options['dyna_desclength_browse']); 
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
Reply


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
Attachments using [attach] tag not showing tavenger5 Bugs & Issues From v2.0.1 4 10-25-2010 09:28 AM
Attachments not showing in-line ibaker Bugs & Issues From v2.0.0 3 06-24-2010 05:07 PM
Guests showing bad number of users online Masiello Troubleshooting & Problems 1 09-19-2008 01:57 PM
Support inline attachments in News Kirby Feedback & Suggestions 6 02-28-2007 10:53 PM
Inline images not showing in News module noah977 Troubleshooting & Problems 3 04-28-2006 05:51 PM


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