Using Code in Our Posts
#1
Tech Support (Parent and Student Access)/Using Code in Our Posts
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 [&nbsp] didn't work.

Gratefully,
Dawn, Georgia
"Knowledge is love and light and vision."  Helen Keller
Blogging at the CMER Blog.
Reply
#2
Tech Support (Parent and Student Access)/RE: Using Code in Our Posts
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.) [cheesy grin]
Reply
#3
Tech Support (Parent and Student Access)/RE: Using Code in Our Posts
It is PHP code. The insert PHP code button is just to the right of the pound sign. See my screen shot below.

   
Reply
#4
Tech Support (Parent and Student Access)/RE: Using Code in Our Posts
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.
Reply
#5
Tech Support (Parent and Student Access)/RE: Using Code in Our Posts
(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. :-(
Reply
#6
Tech Support (Parent and Student Access)/RE: Using Code in Our Posts
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.
The following 1 user Likes Dawn Rhymer's post:
  • MelisaH
Reply
#7
Tech Support (Parent and Student Access)/RE: Using Code in Our Posts
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.
Phyllis in Ukraine, with Jaan (AO grad), Raia (AO grad), Asya (age 17), Bogdan (age 13)
Reply
#8
Tech Support (Parent and Student Access)/RE: Using Code in Our Posts
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....
Phyllis in Ukraine, with Jaan (AO grad), Raia (AO grad), Asya (age 17), Bogdan (age 13)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  too many auto-subscribe posts to follow, how to unsubscribe MichelleDee 2 5,785 08-14-2023, 05:44 AM
Last Post: MichelleDee
  How to see all posts on entire forum by date HannahA 11 21,758 07-17-2023, 02:14 PM
Last Post: HannahA
  In Search of Posts Sammie2 5 11,200 06-22-2023, 05:31 AM
Last Post: Sammie2
  Can no longer edit my old posts Rebecca G 20 35,805 06-18-2022, 09:28 AM
Last Post: lklivingston
  Quote Appearing in New Posts Sandy O 8 14,623 10-06-2021, 02:08 AM
Last Post: Sandy O
  I can't get used to the new "New Posts" icon Kelly Cumbee 15 29,818 09-11-2021, 04:54 AM
Last Post: lklivingston
  Moderated Posts lesliegid 10 19,157 04-23-2021, 03:50 PM
Last Post: Maysaa
  I Can't See Average Number of Posts Per Day Maysaa 5 9,913 04-16-2021, 10:09 PM
Last Post: lklivingston
  Reading posts in a given time frame HC... 2 5,833 11-09-2015, 04:16 AM
Last Post: HC...
  find moved posts Friederike 3 6,424 08-11-2015, 03:38 PM
Last Post: MelisaH



Users browsing this thread: 1 Guest(s)