![]() |
|
#1
|
|||
|
|||
|
Hi!
While checking around to see why I also had this problem, I found out that all pages with CMPS integration (forum index, forumdisplay, threadview) suffer from duplicate data taken from vB. If you check this page's html source, you'll find the code bellow where the vB content is wrapped by CMPS. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html dir="ltr" lang="en"> <meta name="description" content="Main Forum Description" /> <title>35mm Beta - Main Forum</title> In other pages there are also meta tags. Update: forgot to say that I've also seen this issue in a couple of other sites. Last edited by rbl; 12-28-2004 at 06:14 PM. |
|
#2
|
||||
|
||||
|
I have the same issue. I sovled it by removing those tags from vBa.
__________________
Hypography - Science for Everyonehttp://hypography.com/ - http://hypography.com/forums |
|
#3
|
|||
|
|||
|
Is that wise? What about all other pages *not* integrated with CMPS?
|
|
#4
|
||||
|
||||
|
Don't know yet. I don't have any non-vb pages that are inside vBa yet.
__________________
Hypography - Science for Everyonehttp://hypography.com/ - http://hypography.com/forums |
|
#5
|
|||
|
|||
|
I mean the other vB pages like usercp, buddylist, edit avatar, etc that are not integrated (or at least I suppose they are not because it doesn't make sense to integrate those).
Don't you have issues on those? And btw, how did you remove that from vB? |
|
#6
|
|||
|
|||
|
So, any update on this issue? Is it a bug, a design flaw, a feature?
I'm reluctant to remove the header on every page.. |
|
#7
|
||||
|
||||
|
I'm currently updating my boards to vB 3.0.6 but I'll check after that.
__________________
Hypography - Science for Everyonehttp://hypography.com/ - http://hypography.com/forums |
|
#8
|
||||
|
||||
|
Ooops. Big problems with my showthread.php...header completely gone. But it's there on every other page...so I'm not sure where the problem is. I have reuploaded the style I'm using, as well as the vBadvanced files, but it did not change anything.
|
|
#9
|
||||
|
||||
|
It is a problem with the satellite style from vBstyles, and probably in other styles as well. The HTML bit seems to be included in several templates. When editing it out of the vba templates it works fine, as long as you remember to add it to any page that does not have it already.
__________________
Hypography - Science for Everyonehttp://hypography.com/ - http://hypography.com/forums |
|
#10
|
||||
|
||||
|
I actually ended up doing it the other way - remove it from any template to be used by vBadvanced but not others. That should be the safest way, I assume.
__________________
Hypography - Science for Everyonehttp://hypography.com/ - http://hypography.com/forums |
|
#11
|
||||
|
||||
|
I'll post a new thread about this. I have issues with the default style, too. Maybe I have done something wrong in my installation.
__________________
Hypography - Science for Everyonehttp://hypography.com/ - http://hypography.com/forums |
|
#12
|
|||
|
|||
|
Quote:
Thread calling Brian! Thread calling Brian! C'min Brian! Over! |
|
#13
|
||||
|
||||
|
the way I sorted the extra doctype & stuff was to edit the vba_cmps_include_bottom.php file.
FIND Code:
$nonindex = str_replace( array( Code:
$htmldef = '<html dir="'.$stylevar[textdirection].'" lang="'.$stylevar[languagecode].'">'; $nonindex = str_replace( array( $stylevar[htmldoctype], $htmldef, The first line sets up the <html dir="ltr" lang="en"> to be stripped using $htmldef and the $stylevar[htmldoctype] removes the extra DOCTYPE declaration. I never had a problem with the meta tags or <title> being doubled up though - I guess it would be easy enough to add them into the array as well
__________________
burning the bridges so we'd always dance the dance soon: vBulletin Events Listings Last edited by phlogiston; 01-22-2005 at 09:06 AM. |
|
#14
|
|||
|
|||
|
Ahhh phlogiston, your method works fine, thanks =)
But CMPS is still putting the vB nocache headers into the html. Time to dig into the code... |
|
#15
|
||||
|
||||
|
Brian, could you PLEASE look at this issue.
__________________
Hypography - Science for Everyonehttp://hypography.com/ - http://hypography.com/forums |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|