Posts: 4,050
Threads: 316
Likes Received: 5,688 in 2,188 posts
Likes Given: 2,158
Joined: Aug 2013
Tech Support (Parent and Student Access)/Using Code in Our Posts
11-16-2014, 12:52 AM
(This post was last modified: 11-16-2014, 12:53 AM by Dawn Rhymer.)
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,
Dawn, Georgia
"Knowledge is love and light and vision." Helen Keller
Blogging at the CMER Blog.
Posts: 7,620
Threads: 634
Likes Received: 15,910 in 8,046 posts
Likes Given: 2,514
Joined: Jul 2012
Tech Support (Parent and Student Access)/RE: Using Code in Our Posts
11-16-2014, 02:20 AM
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.
"Our aim in Education is to give a Full Life." -- Mom to 4 AO Graduates, Grandma to 3
"Practically, nearly, almost and in all ways visible to normal mortals Invincible" (due to the diplomatic immunity of Admin.)
Posts: 5,261
Threads: 177
Likes Received: 6,609 in 3,394 posts
Likes Given: 17,416
Joined: Jul 2012
Tech Support (Parent and Student Access)/RE: Using Code in Our Posts
11-16-2014, 02:12 PM
It is PHP code. The insert PHP code button is just to the right of the pound sign. See my screen shot below.
Posts: 4,050
Threads: 316
Likes Received: 5,688 in 2,188 posts
Likes Given: 2,158
Joined: Aug 2013
Tech Support (Parent and Student Access)/RE: Using Code in Our Posts
11-16-2014, 02:48 PM
(This post was last modified: 11-16-2014, 02:50 PM by Dawn Rhymer.)
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,
Dawn, Georgia
"Knowledge is love and light and vision." Helen Keller
Blogging at the CMER Blog.
Posts: 5,261
Threads: 177
Likes Received: 6,609 in 3,394 posts
Likes Given: 17,416
Joined: Jul 2012
Tech Support (Parent and Student Access)/RE: Using Code in Our Posts
11-16-2014, 04:16 PM
(11-16-2014, 02:48 PM)Dawn Girl Wrote: 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,
Unfortunately, I cannot help you any more than that.
Posts: 4,050
Threads: 316
Likes Received: 5,688 in 2,188 posts
Likes Given: 2,158
Joined: Aug 2013
Tech Support (Parent and Student Access)/RE: Using Code in Our Posts
11-16-2014, 04:42 PM
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> <html> <body>
<?php echo "My first PHP script!"; ?>
</body> </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.
Dawn, Georgia
"Knowledge is love and light and vision." Helen Keller
Blogging at the CMER Blog.
Posts: 4,708
Threads: 585
Likes Received: 5,991 in 3,482 posts
Likes Given: 423
Joined: Jul 2012
Tech Support (Parent and Student Access)/RE: Using Code in Our Posts
11-19-2014, 12:51 AM
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.
Posts: 4,708
Threads: 585
Likes Received: 5,991 in 3,482 posts
Likes Given: 423
Joined: Jul 2012
Tech Support (Parent and Student Access)/RE: Using Code in Our Posts
11-19-2014, 12:56 AM
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....
|