Forum integration with the main site

Admin Requests, General Enquiries and Forum Issues
User avatar
weber
Site Admin
Posts: 2936
Joined: Fri, 23 Jan 2009, 17:27
Real Name: Dave Keenan
Location: Brisbane
Contact:

Forum integration with the main site

Post by weber »

This is the HTML generated from the BBcodes above.

BBcodes<br
/>You can use the following Forum Codes to Format your text<br
/><br
/>Typed Forum Code      Converted Code<br
/>Text Formatting<br
/><strong>Bold</strong>      Bold<br
/><em>Italic</em>      Italic<br
/><u>Underline</u>      Underline<br
/><center>Centre</center>      Centre<br
/>Images and Links<br
/><img src="http://example.com/smiley.gif" />      <br
/><a href="http://www.example.com" rel="nofollow">My Link</a>      My Link<br
/><a href="http://www.example.com" rel="nofollow">http://www.example.com</a>      http://www.example.com<br
/><a href="mailto:me@example.com" rel="nofollow">My Email</a>      My Email<br
/>Font<br
/><font face="Arial, Helvetica, sans-serif">Arial</font>      Arial<br
/><font face="Courier New, Courier, mono">Courier</font>      Courier<br
/><font face="Times New Roman, Times, serif">Times</font>      Times<br
/><font face="Verdana, Arial, Helvetica, sans-serif">Verdana</font>      Verdana<br
/>Size<br
/><font size="1">Font Size 1</font>      Font Size 1<br
/><font size="2">Font Size 2</font>      Font Size 2<br
/><font size="3">Font Size 3</font>      Font Size 3<br
/><font size="4">Font Size 4</font>      Font Size 4<br
/><font size="5">Font Size 5</font>      Font Size 5<br
/><font size="6">Font Size 6</font>      Font Size 6<br
/>Font Colours<br
/><font color="BLACK">Black Font</font>      Black Font<br
/><font color="WHITE">White Font</font>      White Font<br
/><font color="BLUE">Blue Font</font>      Blue Font<br
/><font color="RED">Red Font</font>      Red Font<br
/><font color="GREEN">Green Font</font>      Green Font<br
/><font color="YELLOW">Yellow Font</font>      Yellow Font<br
/><font color="ORANGE">Orange Font</font>      Orange Font<br
/><font color="BROWN">Brown Font</font>      Brown Font<br
/><font color="MAGENTA">Magenta Font</font>      Magenta Font<br
/><font color="CYAN">Cyan Font</font>      Cyan Font<br
/><font color="LIME GREEN">Lime Green Font</font>      Lime Green Font<br
/>Quoting<br
/>
<table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Username" alt="Originally posted by Username" style="vertical-align: text-bottom;" /> <strong>Username wrote:</strong><br
/><br
/>Quoted Message With Username</td></tr></table><br
/>
<table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> Quoted Message</td></tr></table><br
/>Code and Fixed Width Data<br
/>
<table width="99%"><tr><td><pre class="BBcode">My Code or Fixed Width Data</pre></td></tr></table><br
/>Hide Content<br
/>
Hidden Post Content, revealed when Member Posts Reply<br
/>Adobe Flash<br
/><embed src="http://www.example.com/flash.swf" allowScriptAccess="never" allowNetworking="internal" quality="high" width=50 height=50 type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/dow ... /embed><br
/>YouTube<br
/><iframe width="560" height="350" src="https://www.youtube-nocookie.com/embed/File Name" frameborder="0" allowfullscreen></iframe><br
/>Emoticons<br
/>Image     Smile     Image     Image     Tongue     Image<br
/>Image     Wink     Image     Image     Cry     Image<br
/>Image     Big smile     Image     Image     LOL     Image<br
/><img src="smileys/smiley11.gif" align="middle" />     Dead     <img src="smileys/smiley11.gif" align="middle" />     Image     Embarrassed     Image<br
/>Image     Confused     Image     Image     Clap     Image<br
/>Image     Angry     Image     <img src="smileys/smiley18.gif" align="middle" />     Ouch     <img src="smileys/smiley18.gif" align="middle" /><br
/>Image     Star     Image     Image     Shocked     Image<br
/>Image     Sleepy     Image     Image     Unhappy     Image<br
/><img src="smileys/smiley14.gif" align="middle" />     Approve     <img src="smileys/smiley14.gif" align="middle" />     <img src="smileys/smiley16.gif" align="middle" />     Cool     <img src="smileys/smiley16.gif" align="middle" /><br
/>Image     Clown     Image     <img src="smileys/smiley15.gif" align="middle" />     Evil Smile     <img src="smileys/smiley15.gif" align="middle" /><br
/><img src="smileys/smiley13.gif" align="middle" />     Disapprove     <img src="smileys/smiley13.gif" align="middle" />     <img src="smileys/smiley22.gif" align="middle" />     Stern Smile     <img src="smileys/smiley22.gif" align="middle" /><br
/>Image     Thumbs Up     Image     <img src="smileys/smiley21.gif" align="middle" />     Thumbs Down     <img src="smileys/smiley21.gif" align="middle" /><br
/>Image     Geek     Image     <img src="smileys/smiley24.gif" align="middle" />     Ermm     <img src="smileys/smiley24.gif" align="middle" /><br
/><img src="smileys/smiley25.gif" align="middle" />     Question     <img src="smileys/smiley25.gif" align="middle" />     <img src="smileys/smiley26.gif" align="middle" />     Pinch     <img src="smileys/smiley26.gif" align="middle" /><br
/><img src="smileys/smiley27.gif" align="middle" />     Heart     <img src="smileys/smiley27.gif" align="middle" />     <img src="smileys/smiley28.gif" align="middle" />     Broken Heart     <img src="smileys/smiley28.gif" align="middle" /><br
/><img src="smileys/smiley29.gif" align="middle" />     Wacko     <img src="smileys/smiley29.gif" align="middle" />     <img src="smileys/smiley30.gif" align="middle" />     Pig     <img src="smileys/smiley30.gif" align="middle" /><br
/><img src="smileys/smiley31.gif" align="middle" />     Hug     <img src="smileys/smiley31.gif" align="middle" />     <img src="smileys/smiley35.gif" align="middle" />     Censored     <img src="smileys/smiley35.gif" align="middle" /><br
/><img src="smileys/smiley33.gif" align="middle" />     Ying Yang     <img src="smileys/smiley33.gif" align="middle" />     <img src="smileys/smiley34.gif" align="middle" />     Nuke     <img src="smileys/smiley34.gif" align="middle" /><br
/><img src="smileys/smiley34.gif" align="middle" />     Exclamation     <img src="smileys/smiley34.gif" align="middle" />     <img src="smileys/smiley38.gif" align="middle" />     Lamp     <img src="smileys/smiley38.gif" align="middle" /><br
/><img src="smileys/smiley39.gif" align="middle" />     Sick     <img src="smileys/smiley39.gif" align="middle" />     [<:o)]     Party     [<:o)]<br
/><img src="smileys/smiley41.gif" align="middle" />     Beer     <img src="smileys/smiley41.gif" align="middle" />     <img src="smileys/smiley42.gif" align="middle" />     Handshake     <img src="smileys/smiley42.gif" align="middle" /><br
/><br
/><br
/>Forum Software by Web Wiz Forums® version 11.01<br
/>Copyright ©2001-2014 Web Wiz Ltd.<br
/>
Last edited by weber on Thu, 13 Nov 2014, 14:26, edited 1 time in total.
One of the fathers of MeXy the electric MX-5, along with Coulomb and Newton (Jeff Owen).
User avatar
weber
Site Admin
Posts: 2936
Joined: Fri, 23 Jan 2009, 17:27
Real Name: Dave Keenan
Location: Brisbane
Contact:

Forum integration with the main site

Post by weber »

The bizarre thing is, what is actually stored in the WebWiz database, and what therefore makes translation of posts a complete bastard, is not HTML or BBCode but an unholy mixture of the two.

Line-breaks and text formatting and links, images and smilies are all stored as HTML, and so when you choose "Edit this post" they must be translated back into BBCode. Does that remind you of a few bugs we've seen over the years?

But other BBCodes, such as [ quote ], [ code ], [ tube ] are left as BBCodes, so that whenever the page is displayed, they must first be translated to HTML.

PhpBB also stores posts as an unholy mixture of BBCode and HTML, but a completely different kind of mixture from that used by WebWiz. PhpBB stores posts mostly as BBCode, and line breaks remain as plain-text carriage-return characters, not as <br /> tags as they are stored in WebWiz, but they still contain some HTML that must be converted back to plain text when you click Edit.
Last edited by rhills on Sat, 22 Jul 2017, 23:24, edited 1 time in total.
One of the fathers of MeXy the electric MX-5, along with Coulomb and Newton (Jeff Owen).
User avatar
weber
Site Admin
Posts: 2936
Joined: Fri, 23 Jan 2009, 17:27
Real Name: Dave Keenan
Location: Brisbane
Contact:

Forum integration with the main site

Post by weber »

Many thanks to everyone for checking that first-pass test-conversion.

Rob gave Coulomb and I passwords to this temporary forum so we could check how profiles and private messages had fared, and check what happened when we tried to edit an existing post.

The good news is, private messages have all been converted (although they have the same kinds of formatting problems as posts, as you would expect).

Some fields of our profiles had not been transferred, although fields exist for them in phpBB. We expect this to be easily fixed. But the biggest problem was edits, which generated the following rather long bug report:

24. We need to be able to see the BBCodes when we edit converted posts in phpBB. Preferably the same BBCodes we see when we edit them in WebWiz. As it stands, if we click "Edit" for a converted post in phpBB, all the text formatting, links, images, smilies, youtubes, quotes and code are _lost_. They just vanish. This is apparently because they have been converted to HTML, and HTML is stripped on Edit. In the case of the text formatting BBCodes ([ b], [ i], [ u], [ center], [ font], [ size], [ color]), [ url], [ img] and smilies (and presumably [ email]), this conversion was done by WebWiz itself, in which case their HTML needs to be converted back to BBCodes for phpBB. In the case of [ tube], [ quote] and [ code] (and presumably [ hide] and [ flash]) they are already BBcodes in WebWiz and only need to be copied over, without converting them to HTML (but converting them to lowercase and inserting a bbcode_uid before every closing square bracket). We also need the [ tube], [ center] and [ font=] BBCodes to be defined in phpBB by adding their patterns and replacements using the appropriate admin control panel. Fixing this bug may fix many others.

In case any of you software engineers out there are wondering what a bbcode_uid is, I did some research and experimentation (which included the four posts above), and turned up the following phpBB tutorial: https://wiki.phpbb.com/Tutorial.Parsing_text.

Anyhow, we decided which bugs Rob can deal with after gConverter have finished, and which were part of gConverter's remit, sent them off to gConverter, and received the following encouraging reply:

"Thank you for your email. We’re currently checking issues in order to fix them."

So we will let you know when we have a second-pass (on the same old snapshot) for you all to take a look at.
Last edited by weber on Mon, 17 Nov 2014, 05:02, edited 1 time in total.
One of the fathers of MeXy the electric MX-5, along with Coulomb and Newton (Jeff Owen).
rhills
Site Admin
Posts: 689
Joined: Fri, 25 Jul 2008, 01:57
Real Name: Rob Hills
Location: Waikiki, WA

Forum integration with the main site

Post by rhills »

Hi All,

Well, it's taken much longer than we expected, but we reckon we've finally got a data conversion that we can run with.

Firstly, I'd like to acknowledge the huge effort from Weber and Coulomb in helping test numerous iterations of the new forum while we got the data conversion bugs ironed out.

I know that a number of you care as deeply as we do about the information in this forum, so I encourage you to go to the test site and check it out: http://forums.aeva.net.au. If you want to log in, use the same Username as you do for this forum, but you'll have to go through the "forgot my password" caper (passwords are about the only thing we can't copy over) or else pm me if you have any problems.

Please also remember that our test forum has been converted using the original data snapshot which is now over a month old, so don't expect to see your latest post there!

Unless anyone discovers any showstoppers in the next 24 hours or so, I plan to start the migration process fairly shortly after that (within a few days).

I'll post more detail about how the final migration will work (with a fresh snapshot of the forum of course) after you've finished your checking.

If you find any major problems in the test forum, please post them here.

Happy Testing!
Rob Hills
AEVA Webmaster
  • 2022 Tesla M3 MIC LR
  • 2014 Mitsubishi Outlander Aspire PHEV
    Petrol Usage to last refill: Jul 2014 - Jul 2022
    Total Petrol: 889.8L
    ODO: 88417
    Av Consumption: 1.01 L/100km
Peter C in Canberra
Senior Member
Posts: 643
Joined: Sun, 27 Jul 2008, 04:05
Real Name: Peter Campbell
Location: Canberra

Forum integration with the main site

Post by Peter C in Canberra »

Thank you to all who put in the effort. My old posts on the test site look just fine to me.
Daihatsu charade conversion 2009-18, Mitsubishi iMiEV 2013-2019, Holden Volt 2018-2019, Hyundai Kona 2019-2023, Hyundai Ioniq 5 2023-present on the ACT's 100% renewable electricity.
User avatar
coulomb
Site Admin
Posts: 6357
Joined: Thu, 22 Jan 2009, 20:32
Real Name: Mike Van Emmerik
Location: Brisbane
Contact:

Forum integration with the main site

Post by coulomb »

Don't forget to check your private messages, if any. I have quite a few, and I found that the formatting in the "Previous post" sections was missing newlines, and had some spaces turned into "capital A with hat" characters. This is no big deal to me, and I certainly don't want it to delay the conversion, but others may have information that would suffer with bad processing of spaces. If so, let us know by posting here; Rob may be able to fix it with a global edit using a script.
MG ZS EV 2021 April 2021. Nissan Leaf 2012 with new battery May 2019.
5650 W solar, 2xPIP-4048MS inverters, 16 kWh battery.
Patching PIP-4048/5048 inverter-chargers.
If you appreciate my work, you can buy me a coffee.
User avatar
jonescg
Senior Member
Posts: 4721
Joined: Thu, 21 Jan 2010, 23:05
Real Name: Chris Jones
Location: Perth, WA.
Contact:

Forum integration with the main site

Post by jonescg »

Thanks Rob, Dave!
AEVA National President, WA branch director.
rhills
Site Admin
Posts: 689
Joined: Fri, 25 Jul 2008, 01:57
Real Name: Rob Hills
Location: Waikiki, WA

Forum integration with the main site

Post by rhills »

Hi All,
The forum migration is finally ready to go.
I plan to shut down this WebWiz forum tomorrow (Tuesday) at around 09:30 UTC (20:30 AEDT, 17:30 WA time), back it up and hand the data over to gConverters. They think the conversion will take 6-7 hours so I hope to have the new (phpBB) forum up and running by Wednesday morning. As soon as it is running, each forum member with a valid email address will receive an email explaining how to log in and reset your password. You will need to reset your password because they are encrypted and that prevents us from copying them over.

If you have any questions about this, please post them here.

Cheers,
Rob Hills
AEVA Webmaster
  • 2022 Tesla M3 MIC LR
  • 2014 Mitsubishi Outlander Aspire PHEV
    Petrol Usage to last refill: Jul 2014 - Jul 2022
    Total Petrol: 889.8L
    ODO: 88417
    Av Consumption: 1.01 L/100km
User avatar
coulomb
Site Admin
Posts: 6357
Joined: Thu, 22 Jan 2009, 20:32
Real Name: Mike Van Emmerik
Location: Brisbane
Contact:

Forum integration with the main site

Post by coulomb »

weber wrote: This is a another test. We want to look at the HTML generated from various BBcodes.
Re-doing this post to make the YouTube video live, etc.
This is now our Test Everything post.


BBcodes
You can use the following Forum Codes to Format your text

Typed Forum Code      Converted Code

Text Formatting
Bold      Bold
Italic      Italic
Underline      Underline
Center (USA)
      Centre using [ center ]
Centre (British)
      Centre using [ centre ]

Images and Links
Image   
And an uploaded image: Image
My Link to Google home page      My Link
http://www.abc.net.au/news      http://www.abc.net.au/news
[url=mailto:me@example.com]My Email[/url]      My Email (me@example.com)

Internal links

Weber and Coulomb's MX-5
      viewtopic.php?title=weber-and-coulombs-mx5&t=980 Internal link to topic, dot-html style
Weber and Coulomb's MX-5
      viewtopic.php?title=weber-and-coulombs-mx5&t=980 Link to topic, /forums missing, dot-html style. Deprecated but possible?
Weber and Coulomb's MX-5
      viewtopic.php?title=weber-and-coulombs-mx5&t=980 Link to topic, thread ID and title style
Novus fibre to USB interface
      viewtopic.php?title=weber-and-coulombs- ... 794#p39794 Internal link absolute with TID, PID, title
Veroboard prototype
      viewtopic.php?t=980&p=15479#p15479 Relative, starts with /forum_posts.asp
Accessing the celltopbmu repository
      viewtopic.php?t=980&p=36932#p36932 Relative, starts with /forums
Flywheel design
      forums/forum_posts.asp?TID=980&PID=25795#25795 Relative, no leading slash, starts with forums/
The (no longer) Latest Patched Firmware Description
      forum_posts.asp?TID=4332&PID=63036&title=pip4048ms-inverter#63036 No leading slash and no forums/

Loo Tech Electricity Amplifier spoof
viewtopic.php?p=15106&t=1237#p15106 Absolute, dot-html style, topic and post
The 6 possible orientations of an optic fibre connector on a BMU
      viewtopic.php?title=weber-and-coulombs- ... 439#p37439 Dot-html link with topic title
Controller for sale
      viewtopic.php?p=34150#p34150&keywords=SP+5402 Dot-html link with topic and keyword

Font
Arial font      Arial font
Courier      Courier font
Times      Times font
Verdana      Verdana font

Size
Font Size 1      Font Size 1
Font Size 2      Font Size 2
Font Size 3      Font Size 3
Font Size 4      Font Size 4
Font Size 5      Font Size 5
Font Size 6      Font Size 6

Font Colours
Black Font      Black Font
White Font      White Font
Blue Font      Blue Font
Red Font      Red Font
Green Font      Green Font
Yellow Font      Yellow Font
Orange Font      Orange Font
Brown Font      Brown Font
Magenta Font      Magenta Font
Cyan Font      Cyan Font
Lime Green Font      Lime Green Font

Quoting
Username wrote:Quoted Message With Username
Quoted Message
Code and Fixed Width Data
My Code or Fixed Width Data
Hide Content
[hide]Hidden Post Content, revealed when Member Posts Reply[/hide]

Adobe Flash


YouTube


Emoticons
Image     Smile     Image     Image     Tongue     Image
Image     Wink     Image     Image     Cry     Image
Image     Big smile     Image     Image     LOL     Image
Image     Dead     Image     Image     Embarrassed     Image
Image     Confused     Image     Image     Clap     Image
Image     Angry     Image     Image     Ouch     Image
Image     Star     Image     Image     Shocked     Image
Image     Sleepy     Image     Image     Unhappy     Image
Image     Approve     Image     Image     Cool     Image
Image     Clown     Image     Image     Evil Smile     Image
Image     Disapprove     Image     Image     Stern Smile     Image
Image     Thumbs Up     Image     Image     Thumbs Down     Image
Image     Geek     Image     Image     Ermm     Image
Image     Question     Image     Image     Pinch     Image
Image     Heart     Image     Image     Broken Heart     Image
Image     Wacko     Image     Image     Pig     Image
Image     Hug     Image     Image     Censored     Image
Image     Ying Yang     Image     Image     Nuke     Image
Image    Exclamation (BBcode gives nuke!) Image    But can force exclamation: Image     Lamp     Image
Image     Sick     Image     [<:o)]    Party (doesn't work on Web Wiz at present)     [<:o)] But can be forced: Image
Image     Beer     Image     Image     Handshake     Image


From Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

[ Edit: Party emoji doesn't work, Exclamation emoji comes out as nuke on Web Wiz ]
[ Edit 2: Some fonts had incorrect names ]
[ Edit: bigger flash animation, non square size. Forced two missing smilies. ]
[ Edit: added test for [ centre ] ]
[ Edit: added internal links ]


Edit: we need some extended characters too.
αβχδεϕγηιφκλμνοπθρστυϖωξψζ
ΑΒΧΔΕΦΓΗΙϑΚΛΜNΟΠΘΡΣΤΥςΩΞΨΖ
≤≥¹²³¤€ð½∞∫°^ 47 μF 10 mΩ “Off Peak” electricity. LiFePO₄ and CO₂.
Sub₁₂₃₄₅₆₇₈₉₀ =≠ ¬«»¶´´´·.
Sub₁çₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓ
´áéíóú†⌥⇧↵±̅̅—–×⎈^¥£∛√̅3 ãõ
Last edited by coulomb on Wed, 19 Jul 2017, 18:05, edited 1 time in total.
MG ZS EV 2021 April 2021. Nissan Leaf 2012 with new battery May 2019.
5650 W solar, 2xPIP-4048MS inverters, 16 kWh battery.
Patching PIP-4048/5048 inverter-chargers.
If you appreciate my work, you can buy me a coffee.
Post Reply