Results 1 to 7 of 7
-
2nd May 2010, 07:37 PM #1OPMember
bbcode problem
hello everyone im having trouble with my codebox
and i want you to help and with this , well i want to see your template >> bbcode_code thing . so i will find out where is problem with it
here is my template for bbcode-code
Code:<div class="bbcode_container"> <div class="bbcode_description">{vb:rawphrase code}:</div> <pre class="bbcode_code"<vb:if condition="$vboptions['codemaxlines']"> style="height:<vb:if condition="$blockheight<$vboptions['codemaxlines']">{vb:math {vb:raw blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar mid_fontSize}*2}<vb:else />{vb:math {vb:raw blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar mid_fontSize}}</vb:if>;"</vb:if>>{vb:raw code}</pre> </div>
pak Reviewed by pak on . bbcode problem hello everyone im having trouble with my codebox http://img188.imageshack.us/img188/3823/68998272.png and i want you to help and with this , well i want to see your template >> bbcode_code thing . so i will find out where is problem with it here is my template for bbcode-code <div class="bbcode_container"> Rating: 5
-
2nd May 2010, 08:06 PM #2Member
Your bbcode template is good (same as default)
Code:<div class="bbcode_container"> <div class="bbcode_description">{vb:rawphrase code}:</div> <pre class="bbcode_code"<vb:if condition="$vboptions['codemaxlines']"> style="height:<vb:if condition="$blockheight<$vboptions['codemaxlines']">{vb:math {vb:raw blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar mid_fontSize}*2}<vb:else />{vb:math {vb:raw blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar mid_fontSize}}</vb:if>;"</vb:if>>{vb:raw code}</pre> </div>
-
2nd May 2010, 09:30 PM #3MemberWebsite's:
pspower.us pspimp.net total-noob.orgWhat is wrong with it? The size? Perhaps too large for your likings? Other then that I am kind of clueless to what problem your implying is has...
You can adjust the size in the stylevars
ADMINCP >> STYLES & TEMPLATES >> STYLE MANAGER >> STYLEVARS (in drop down menu @ right of desired theme)
You can change the width in: "Code Block Width (pixels)"
Select desired width & save changes...
Other then that, I apologize if this information was useless, just am unsure to what your trying to achieve.
-
2nd May 2010, 09:40 PM #4OPMember
yes my problem is size , the height is too long , its not auto detectable , if i put 1 line code so it should show code box for 1 line but it is not
-
2nd May 2010, 10:24 PM #5Respected Member
This $vboptions['codemaxlines'] may not be accessible by your bbcode.
Try changing it to a number like 50 to see what happens. I believe there are several spots it is specified in your bbcode.
-
2nd May 2010, 10:28 PM #6OPMember
can you show me ur bbcode so i can change nine from urs
-
2nd May 2010, 10:32 PM #7Respected Member
THis is yours:
Code:<div class="bbcode_container"> <div class="bbcode_description">{vb:rawphrase code}:</div> <pre class="bbcode_code"<vb:if condition="50"> style="height:<vb:if condition="$blockheight<50">{vb:math {vb:raw blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar mid_fontSize}*2}<vb:else />{vb:math {vb:raw blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar mid_fontSize}}</vb:if>;"</vb:if>>{vb:raw code}</pre> </div>
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
BBCode
By MR.KiDO in forum vBulletinReplies: 5Last Post: 4th Oct 2012, 06:50 AM -
[Hiring] PHP Dev for BBCODE
By tarung2010 in forum Completed TransactionsReplies: 0Last Post: 5th Jan 2012, 05:43 PM -
BBcode in worpress problem
By wojtek1988 in forum Webmaster DiscussionReplies: 0Last Post: 17th Aug 2011, 11:46 AM -
Youtube plugin icon/bbcode after "Slide Tag" bbcode?
By CyberAff in forum Feedback and SuggestionsReplies: 9Last Post: 20th May 2011, 03:35 PM -
CMS that allows [bbcode]
By Hatefed in forum Webmaster DiscussionReplies: 2Last Post: 31st Dec 2010, 09:29 AM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...