Quote: This Mycode was tested and on MyBB 1.8.14 (works) and displays correctly. However, this code demonstrates problems on MyBB 1.8.15 (lastest stable release) and does not work. There is no guarantee that the code will work for any outdated versions. Make sure you have the most stable version of MyBB.
Hi Folks,
I have converted the iframe code for Google forms which can trigger mod security or posting issues.
Step 1
Admin CP -> Configuration -> MyCode -> Add New MyCode
You should see the page where you can add a new MyCode. Once you are there, you may proceed to step 2.
Step 2
Now we will input some information to get the MyCode from working. Make sure you copy & paste carefully. If you miss a letter or change the coding, it will not work. Please be diligent with the information provided. Only
Title - You may change the name to what you desire.
Google Forms (or any name you desire)
Short Description - I use this as a help text. I do not recommend changing this.[form]GOOGLE FORM URL[/form]
Regular Expression - Do not change this.\[form\](.*?)\-(.*?)\-(.*?)\[/form\]
Replacement - Do not change this.Tip: You may adjust thw width/height numbers to change the size for all forms to your liking. This is optional.
<iframe src="$1" width="760" height="500" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe>
Actual ResultPurpose of MyCode
- Perfect for user surveys for your forum without having users leave the site.
- Make applications for staff on a information thread without having to link a page or template.
- Other possibilities that might fulfill your needs.
Please inform me in this thread if you find any problems with this tutorial. For instance, MyBB versions change the MyCode format, Tutorial was not clear enough, or I am missing content for this MyCode to function correctly.