Using Code in Our Posts - Printable Version +- AmblesideOnline Forums (https://amblesideonline.org/forum) +-- Forum: Welcome Center (https://amblesideonline.org/forum/forumdisplay.php?fid=3) +--- Forum: Tech Support (Parent and Student Access) (https://amblesideonline.org/forum/forumdisplay.php?fid=6) +--- Thread: Using Code in Our Posts (/showthread.php?tid=15418) |
Using Code in Our Posts - Dawn Rhymer - 11-16-2014 What code are we able to use in our posts? Are we just limited to those things in the menu, or can we enter our own code to create things like tables, etc? My issue yesterday was wanting to add some spaces to the beginning of a line and the old school html [ ] didn't work. Gratefully, RE: Using Code in Our Posts - LeslieNoelani - 11-16-2014 I don't know. The code used is different than regular html code, but if you used the right code, it might work. It might be php code. It's whichever code uses [ i ] for italics instead of < i > -- but I think there are more differences than using brackets instead of carats. That might be why the space code didn't work. RE: Using Code in Our Posts - MelisaH - 11-16-2014 It is PHP code. The insert PHP code button is just to the right of the pound sign. See my screen shot below. [attachment=967] RE: Using Code in Our Posts - Dawn Rhymer - 11-16-2014 Melisa, I don't understand this. I just need a nudge in the right direction. This creates a whole separate box for PHP Code. And I have no idea what I'm supposed to be able to do within those brackets. I can use a lot of code right in the post, like [i], [b], [center], etc. What is the point of inserting the formatted PHP code into the post in a separate "box?" I have tried a few times to put some code in there, but my code just shows up character for character of what I wrote. PHP Code: I have no idea what I should put in here. Gratefully, RE: Using Code in Our Posts - MelisaH - 11-16-2014 (11-16-2014, 02:48 PM)Dawn Girl Wrote: Melisa, Unfortunately, I cannot help you any more than that. RE: Using Code in Our Posts - Dawn Rhymer - 11-16-2014 I believe we are limited to what we can code into these posts. We are actually using something called MyCode. It appears to not be PHP. MyCode is a very simplified HTML. I think the PHP box: PHP Code: <!DOCTYPE html> is simply for putting the PHP code in its syntax form into the posts. It automatically put all those colors in there to make it easier to read the code. I don't think that is of importance to us at AO, but I think it must be very important for some of the MyBB forums. I am NOW officially stopping trying to figure this out. I can use the "insert list" buttons. I'll do my best with those. RE: Using Code in Our Posts - Phyllis - 11-19-2014 Yes, that PHP button and the colored formatting it gives is what is used on the MyBB how-to forum, and probably many others. We really don't have much use for it here at all. The code that can be used here is pretty basic. I think spaces at the beginnings of lines should work with just plain spaces. Testing here. Two spaces at the beginning of this line. RE: Using Code in Our Posts - Phyllis - 11-19-2014 Hmm. Yes, my spaces did get stripped out. I was looking for what you could use instead, but my internet connection is in horrible shape today.... |