The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Confusing issue with the sidebar
Not sure where else to look for this, but I've managed to get the default vBulletin sidebar added to forumdisplay and showthread by using 2 plugins and some minor edits to the forumdisplay and showthread templates (no file edits now ).
Everything worked just fine when I was doing everything via file and template edits, but now that I've moved the file edits to the plugin system, I ran into a.....very odd issue lol. If in vBulletin Options, I set Store CSS Stylesheets as Files? to No, everything looks as it should. However, if I set Store CSS Stylesheets as Files? to Yes, the sidebar goes all crazy The contents of both plugins are pretty much the same and I'm using the hook locations forumdisplay_complete and showthread_complete... PHP Code:
SHOWTHREAD Code:
FIND: {vb:cssfile toolsmenu.css,postlist.css,showthread.css,postbit.css,options.css,attachment.css,poll.css,lightbox.css} REPLACE WITH: {vb:cssfile toolsmenu.css,postlist.css,showthread.css,postbit.css,options.css,attachment.css,poll.css,lightbox.css,sidebar.css,tagcloud.css,widgets.css} FIND: <!--[if lt IE 8]>{vb:cssfile toolsmenu-ie.css,postlist-ie.css,showthread-ie.css,postbit-ie.css,poll-ie.css}<![endif]--> REPLACE WITH: <!--[if lt IE 8]>{vb:cssfile toolsmenu-ie.css,postlist-ie.css,showthread-ie.css,postbit-ie.css,poll-ie.css,sidebar-ie.css}<![endif]--> FORUMDISPLAY Code:
FIND: {vb:cssfile toolsmenu.css,forumbits.css,forumdisplay.css,threadlist.css,options.css} REPLACE WITH: {vb:cssfile toolsmenu.css,forumbits.css,forumdisplay.css,threadlist.css,options.css,sidebar.css,tagcloud.css,widgets.css} FIND: {vb:cssfile toolsmenu-ie.css,forumbits-ie.css,forumdisplay-ie.css,threadlist-ie.css,options-ie.css} REPLACE WITH: {vb:cssfile toolsmenu-ie.css,forumbits-ie.css,forumdisplay-ie.css,threadlist-ie.css,options-ie.css,sidebar-ie.css} |
#2
|
|||
|
|||
Have you checked for css files not loading or having errors? I usually use the error console in Firefox (although it's been so long I can't remember if it's an add-on or a standard feature).
|
#3
|
||||
|
||||
I just checked it and it all looks fine, did you fix this issue already?
|
#4
|
||||
|
||||
Quote:
--------------- Added [DATE]1323316588[/DATE] at [TIME]1323316588[/TIME] --------------- I set it back to No if anyone wants to take a look again --------------- Added [DATE]1323317209[/DATE] at [TIME]1323317209[/TIME] --------------- Hmm, I think I found the issue . Looking at the templates again.... FORUMDISPLAY HTML Code:
<vb:if condition="$vboptions['storecssasfile']"> {vb:cssfile forumdisplay-rollup.css} <vb:else /> {vb:cssfile toolsmenu.css,forumbits.css,forumdisplay.css,threadlist.css,options.css,sidebar.css,tagcloud.css,widgets.css} </vb:if> HTML Code:
<vb:if condition="$vboptions['storecssasfile']"> {vb:cssfile showthread-rollup.css} <vb:else /> {vb:cssfile toolsmenu.css,postlist.css,showthread.css,postbit.css,options.css,attachment.css,poll.css,lightbox.css,sidebar.css,tagcloud.css,widgets.css} </vb:if> HTML Code:
{vb:cssfile forumdisplay-rollup.css} HTML Code:
{vb:cssfile forumdisplay-rollup.css,sidebar.css,tagcloud.css,widgets.css} HTML Code:
{vb:cssfile showthread-rollup.css} HTML Code:
{vb:cssfile showthread-rollup.css,sidebar.css,tagcloud.css,widgets.css} |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|