spires Posted July 8, 2006 Share Posted July 8, 2006 HIWhenever i post a question i just copy my code onto the page. But i've noticed that everyone else on here use the code box. hows this done?Thanks :) Quote Link to comment https://forums.phpfreaks.com/topic/14017-creating-the-code-box-that-you-all-seem-to-be-using-on-this-forum/ Share on other sites More sharing options...
paul2463 Posted July 8, 2006 Share Posted July 8, 2006 Hi to place the code box around the code you have to use the code tags which are difficult to show as they poroduce a code box if typed so I will place them inside some quotes to try and show them, here we go [code]"code" and to end "/code"[/code]replace the quote marks with square brackets such as [****][quote]and to make it a quote and not a code box place the word "quote" inside the square brackets without the quote marks[/quote] Quote Link to comment https://forums.phpfreaks.com/topic/14017-creating-the-code-box-that-you-all-seem-to-be-using-on-this-forum/#findComment-54731 Share on other sites More sharing options...
Prismatic Posted July 8, 2006 Share Posted July 8, 2006 [.code]Code Here[./code]Minus the .'s Quote Link to comment https://forums.phpfreaks.com/topic/14017-creating-the-code-box-that-you-all-seem-to-be-using-on-this-forum/#findComment-54735 Share on other sites More sharing options...
spires Posted July 8, 2006 Author Share Posted July 8, 2006 [code]Thanks Guys[/code] Quote Link to comment https://forums.phpfreaks.com/topic/14017-creating-the-code-box-that-you-all-seem-to-be-using-on-this-forum/#findComment-54737 Share on other sites More sharing options...
Prismatic Posted July 8, 2006 Share Posted July 8, 2006 Also, to show bbcode not processed, use the [.nobbc][./nobbc] tagsSee,[nobbc][i]Not italics![/i][/nobbc] Quote Link to comment https://forums.phpfreaks.com/topic/14017-creating-the-code-box-that-you-all-seem-to-be-using-on-this-forum/#findComment-54739 Share on other sites More sharing options...
spires Posted July 8, 2006 Author Share Posted July 8, 2006 [i]Cool, i'll give a go thanks[/i] Quote Link to comment https://forums.phpfreaks.com/topic/14017-creating-the-code-box-that-you-all-seem-to-be-using-on-this-forum/#findComment-54742 Share on other sites More sharing options...
wildteen88 Posted July 8, 2006 Share Posted July 8, 2006 Hi spires when you go to post a message you should get a big textarea and then above that there should be loads of buttons above it that have letters and images on them, such as this: [img]http://www.phpfreaks.com/forums/Themes/default/images/bbc/bold.gif[/img] for making [b]bold[/b] text. To make your code to go into a code box you can click this [img]http://www.phpfreaks.com/forums/Themes/default/images/bbc/code.gif[/img] button to insert BBCode tags when posting a reply. Also have a [url=http://www.phpfreaks.com/forums/index.php?action=help;page=post#bbcref]read of this page[/url] for a complete list of all BBCodes available and what each one does. Quote Link to comment https://forums.phpfreaks.com/topic/14017-creating-the-code-box-that-you-all-seem-to-be-using-on-this-forum/#findComment-54744 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.