![]() |
Quote BBCode conditional for the second post in a thread Hello everyone* Recently we've decided to implement Google Ads in our forums and* as a first step* we used this hack - http://www.vbulletin.org/forum/showthread.php?t=222389 Now* instead of [maxposts] == 1 we used 2* so the ad will always be displayed in the second reply on the page. However* there's a "snag" with the Quote BBCode* as seen below: Attachment 39333 The problem is the table width* which by default is 100%. If we were to change this to 76%* the issue would be solved: Attachment 39332 The second "however" comes from the fact that we don't want to globally change the Quote BB Code* just for the second reply on every page. To that end* we went to Admin CP -> Styles & Templates -> Style Manager -> « » -> BB Code Layout Templates -> bbcode_quote And tried to use the following conditional for the main table: HTML Code: Unfortunately* the quote output is still always displayed with 100% width* which means that we haven't set the conditional correctly :confused: Any advice on how to overcome this problem would be greatly appreciated :o Attached Images |
الساعة الآن 05:54 PM |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir