vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v2.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 08-03-2006, 09:18 AM
bitHacker bitHacker is offline
Junior Member
 
Join Date: Jan 2006
Posts: 5
Default Can't Validate XHTML on my site...

I am using vB 3.5.4 and vbAdvanced 2.1 and I wanted to validate my site,
and I have this error:

Code:
<br...<span class="smallfont">
I am using the news.php module, and as you can see, it cut's the <br> before the end of the tag... anyway how I can solve this?

needless to say that because of it, there is no <br> where one needed to be

Thanks in advanced
Reply With Quote
  #2  
Old 08-03-2006, 09:53 AM
bitHacker bitHacker is offline
Junior Member
 
Join Date: Jan 2006
Posts: 5
Default Re: Can't Validate XHTML on my site...

I have found the line in the news.php that cut's the entrie message to the small one, can any one help me modify it ?

PHP Code:
$news['message'] = substr($news['message'], 0strrpos(substr($news['message'], 0$mod_options['portal_news_maxchars']), ' ')) . '...' construct_phrase($vbphrase['read_more'], $vbulletin->options['bburl'], $news['threadid'], $session['sessionurl']); 
Reply With Quote
  #3  
Old 08-03-2006, 11:25 AM
Zachery's Avatar
Zachery Zachery is offline
Super Moderator
 
Join Date: Jan 2004
Posts: 3,157
Default Re: Can't Validate XHTML on my site...

Don't modify the size of your news?
__________________
Zachery
vBadvanced Support & SysAdmin

Reply With Quote
  #4  
Old 08-03-2006, 12:00 PM
bitHacker bitHacker is offline
Junior Member
 
Join Date: Jan 2006
Posts: 5
Default Re: Can't Validate XHTML on my site...

modify it won't help, what if the <br /> will be someplace else ?

I wan't to make it more efficiant, so that wherever the<br /> will be, the ... won't cut it.
Reply With Quote
  #5  
Old 08-03-2006, 02:10 PM
Zachery's Avatar
Zachery Zachery is offline
Super Moderator
 
Join Date: Jan 2004
Posts: 3,157
Default Re: Can't Validate XHTML on my site...

No I mean modify the size of the news you allow, if you only allow 500 characters change it to 1000 or 10000 that way it won't get cutoff.
__________________
Zachery
vBadvanced Support & SysAdmin

Reply With Quote
  #6  
Old 08-03-2006, 03:13 PM
bitHacker bitHacker is offline
Junior Member
 
Join Date: Jan 2006
Posts: 5
Default Re: Can't Validate XHTML on my site...

each post is diffrent, if I cahnge the number it won't matter, other posts can still cut off...

I don't want to display the entrie post, just the start of it till a certin point.

all I need Is a way to make sure, It doesn't cut any HTML tags...
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
can't validate new posts ryans Bugs From 1.0.1 3 12-30-2005 04:43 PM
Xhtml Shadowsong Feedback & Suggestions 0 07-31-2004 07:50 AM


All times are GMT -4. The time now is 05:17 AM.

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.