## Please Try Out Test Posts Here

Discussions about the forum and contents
Posts: 36342
Joined: Sat Dec 20, 2008 5:34 pm
Contact:

### Re: Please Try Out Test Posts Here

hufhouseinvestor wrote:I posted on the personal investor board yesterday but it still hasn't appeared yet so I am testing here...

Welcome! Your post has appeared here: British National Hong Kong based Investor looking to retire in France
To some, the glass is half full. To others, the glass is half empty. To an engineer, it's twice the size it needs to be.

WAF24
Posts: 11
Joined: Wed Dec 14, 2016 5:34 am

### Re: Please Try Out Test Posts Here

LadyGeek wrote:You weren't doing anything wrong, I needed to fix it from my end. Your signature is now working.

My prior post explains why BBCodes are disabled. If anyone wants the wiki logo in their signature, please PM me.

Test-- is this displaying directly under the original or going to the bottom of the forum page?

WAF24
Posts: 11
Joined: Wed Dec 14, 2016 5:34 am

### Re: test post

Teague wrote:
cheese_breath wrote:
in_reality wrote:test response

test conflict with test response.

Getting testy?

Why is this jumping to the bottom of the forum and not directly under this persons response?

Mudpuppy
Posts: 4743
Joined: Sat Aug 27, 2011 2:26 am
Location: Sunny California

### Re: test post

WAF24 wrote:
Teague wrote:
cheese_breath wrote:
in_reality wrote:test response

test conflict with test response.

Getting testy?

Why is this jumping to the bottom of the forum and not directly under this persons response?

Because that's how phpBB works. It's not a threaded display, it's a chronological display. Quotes are the proper way to insert the threaded context for your reply.

Posts: 36342
Joined: Sat Dec 20, 2008 5:34 pm
Contact:

### Re: Please Try Out Test Posts Here

The bottom of the page (and in the User Control Panel) offers several sorting options. Look for "Display posts from previous: "

As Mudpuppy says, it's a flat display - not threaded.

If you want to make the change different from the default settings, the User Control Panel options are here: Edit display options (generic link, will go to your User Control Panel)
To some, the glass is half full. To others, the glass is half empty. To an engineer, it's twice the size it needs to be.

Oicuryy
Posts: 1070
Joined: Thu Feb 22, 2007 10:29 pm

### Re: Please Try Out Test Posts Here

This is a test to see if a bookmarklet can add MathJax to this page to display these AsciiMath expressions like real math.

gMS_30 = 1/((1+r_1))+1/((1+r_1)(1+r_2))+cdots+1/((1+r_1)(1+r_2)cdots(1+r_30))

gMS=sum_(i=1)^n (1/(prod_(j=1)^i(1+r_j)))

Edit: It seems to work. Here is the bookmarklet. It was taken from here.

Code: Select all

javascript:(function(){var%20jsCode=document.createElement('script');jsCode.setAttribute('src','https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=AM_CHTML');document.body.appendChild(jsCode);}());

Ron
Money is fungible | Abbreviations and Acronyms

Mudpuppy
Posts: 4743
Joined: Sat Aug 27, 2011 2:26 am
Location: Sunny California

### Re: Please Try Out Test Posts Here

FYI Ron, it's not working on my browser. It all just looks like escaped markup, not rendered formulas:

gMS_30 = 1/((1+r_1))+1/((1+r_1)(1+r_2))+cdots+1/((1+r_1)(1+r_2)cdots(1+r_30))

When I look at the source code for the post, I also only see the escaped markup as pure text, with no scripting constructs. Since you're using a client-side scripting process, I should be able to see it in the source code even if my browser security blocked it from rendering. I would not be surprised if phpBB removes any bookmarklets or other attempts at using scripting in the post when the submit button is hit.

Posts: 36342
Joined: Sat Dec 20, 2008 5:34 pm
Contact:

### Re: Please Try Out Test Posts Here

Awesome! It works it works in Firefox.

1. Create a new bookmark.
2. Copy Oicuryy's code block into the Location field, save the bookmark.
3. While still on this page, click on the newly created bookmark.

To address mudpuppy's point phpBB (the forum software) is very careful to remove anything that should not be contained in a forum post.

Once phpBB is done with it, the server renders the page and sends it to your browser. This is where the bookmark picks up the page - on the receiving (client) side after the page is processed. phpBB is out of the picture at this point, everything is local to your PC.

FireFox's Inspect Element shows MathJax has been inserted into the page.

Just in case, I should state: Custom page modifications are not supported, YMMV.
To some, the glass is half full. To others, the glass is half empty. To an engineer, it's twice the size it needs to be.

Oicuryy
Posts: 1070
Joined: Thu Feb 22, 2007 10:29 pm

### Re: Please Try Out Test Posts Here

Mudpuppy,

Or you could copy and paste the bookmarklet code into the browser's address field. But most browsers will strip off the javascript: at the front. You will need to type that back in before pressing enter.

Phpbb does not support MathJax or AsciiMath directly. Alex could probably add support. But he likes to keep modifications to a minimum. The bookmarklet gives us users a way to put math expressions in posts and see them in our browsers without any changes to phpbb or bogleheads.org.

Ron

PS Here is how it looks in Safari on an ipad.

Money is fungible | Abbreviations and Acronyms

Posts: 36342
Joined: Sat Dec 20, 2008 5:34 pm
Contact:

### Re: Please Try Out Test Posts Here

Bear in mind that there are a number of math rendering standards. For example, the wiki has implemented Extension:Math which uses MathML. Note that MathJax has been deprecated.

An example is here: Risk and return, scroll down to see the equations.
To some, the glass is half full. To others, the glass is half empty. To an engineer, it's twice the size it needs to be.

FiveK
Posts: 2032
Joined: Sun Mar 16, 2014 2:43 pm

### Re: Please Try Out Test Posts Here

The following link displays a screen shot of a Morningstar table: http://s16.postimg.org/fvzl3q65x/screenshot_88.png

Yet, when trying to include this as an image in a post by bracketing that URL with "img" "/img" (using brackets instead of quotes), I'm getting
It was not possible to determine the dimensions of the image. Please verify that the URL you entered is correct.

This hasn't been a problem for other images. Has something changed?

Posts: 36342
Joined: Sat Dec 20, 2008 5:34 pm
Contact:

### Re: Please Try Out Test Posts Here

That error says there's a problem with the link (or that it's not an image).

There's something wrong with the URL you posted. At the time of this post, clicking on the link directly resulted in an error "Server not found".

I think there's a problem with the image hosting server (not your fault).
To some, the glass is half full. To others, the glass is half empty. To an engineer, it's twice the size it needs to be.

FiveK
Posts: 2032
Joined: Sun Mar 16, 2014 2:43 pm

### Re: Please Try Out Test Posts Here

LadyGeek wrote:That error says there's a problem with the link (or that it's not an image).

There's something wrong with the URL you posted. At the time of this post, clicking on the link directly resulted in an error "Server not found".

I think there's a problem with the image hosting server (not your fault).
Well, that's strange.

I can click on the link directly without problem. Tried going to the main site, http://s16.postimg.org, and had no problem with that.

Tried clearing cache (for that matter, all history for the past hour). Still no problem seeing the image if I click on the URL, but unable to see it as an image in a post. Also tried going to another forum and was able to have the image display there.

But if you can't get to the server, then...?

Mudpuppy
Posts: 4743
Joined: Sat Aug 27, 2011 2:26 am
Location: Sunny California

### Re: Please Try Out Test Posts Here

FiveK wrote:
LadyGeek wrote:That error says there's a problem with the link (or that it's not an image).

There's something wrong with the URL you posted. At the time of this post, clicking on the link directly resulted in an error "Server not found".

I think there's a problem with the image hosting server (not your fault).
Well, that's strange.

I can click on the link directly without problem. Tried going to the main site, http://s16.postimg.org, and had no problem with that.

Tried clearing cache (for that matter, all history for the past hour). Still no problem seeing the image if I click on the URL, but unable to see it as an image in a post. Also tried going to another forum and was able to have the image display there.

But if you can't get to the server, then...?

I can't get to it either. The DNS lookup returns a SERVFAIL response for both IP and SOA (start-of-authority) lookups. Attempting to lookup the nameservers listed on the WHOIS record also returns SERVFAIL. So it looks like their DNS provider is down. You or your ISP have probably cached the DNS lookup, which is not removed when you clear your web browser cache (totally different cache).

Or, for a less technical explanation, check the down for everyone website: http://www.isup.me/postimg.org

FiveK
Posts: 2032
Joined: Sun Mar 16, 2014 2:43 pm

### Re: Please Try Out Test Posts Here

Mudpuppy wrote:I can't get to it either. The DNS lookup returns a SERVFAIL response for both IP and SOA (start-of-authority) lookups. Attempting to lookup the nameservers listed on the WHOIS record also returns SERVFAIL. So it looks like their DNS provider is down. You or your ISP have probably cached the DNS lookup, which is not removed when you clear your web browser cache (totally different cache).

Or, for a less technical explanation, check the down for everyone website: http://www.isup.me/postimg.org
Thanks! I'll just wait and try tomorrow.

Lana1209
Posts: 1
Joined: Tue Mar 14, 2017 9:30 am

test
test
index.php