Comments (9)
Doesn't using
```php
require_once MYBB_ROOT."/inc/adminfunctions_templates.php";
find_replace_templatesets(
"index",
"#" . preg_quote('<body>') . "#i",
'<body>{$myVar}'
);
```
work?
require_once MYBB_ROOT."/inc/adminfunctions_templates.php";
find_replace_templatesets(
"index",
"#" . preg_quote('<body>') . "#i",
'<body>{$myVar}'
);
from docs.mybb.com.
Yeah, on GitHub, not on the site. See the link above.
from docs.mybb.com.
Issue on Jekyll tracker: jekyll/jekyll#1262
If we use the {% highlight %}
tags then it'll work without opening and closing PHP tags...
from docs.mybb.com.
Ok. Any docs with PHP in them either have to start with opening PHP tags, or you have to use {% highlight php startinline %}
I'm going to ignore the 1.6 Docs, since I consider those deprecated along with MyBB 1.6 itself. So within the 1.8 Docs, from what I can tell, this affects:
- http://docs.mybb.com/1.8/merge/troubleshooting/
- http://docs.mybb.com/1.8/faq/mail/
- http://docs.mybb.com/1.8/development/standards/
- http://docs.mybb.com/1.8/development/plugins/
- http://docs.mybb.com/1.8/development/plugins/ajax/
- http://docs.mybb.com/1.8/development/plugins/database-methods/
- http://docs.mybb.com/1.8/development/plugins/templates/
- http://docs.mybb.com/1.8/administration/security/recovery/
I'm going to start work on fixing the markup for those so that we can have pretty syntax highlighting. Pages look pretty boring without color mixed in.
from docs.mybb.com.
Welp... Here goes nothing...
Edit: Since the last reference, earliest at top (forgot to tag the issue in the commits!)
a7768d4
67fa75a
11764ce
cb85a42
9f2e640
7fdab44
62679e6
eed2b43
b65b681
from docs.mybb.com.
Aaaand now it should build.
from docs.mybb.com.
Think this is fixed now!
from docs.mybb.com.
Cool!
from docs.mybb.com.
You're alive!? It's been a long time since we've heard/seen anything from you! 😄
from docs.mybb.com.
Related Issues (20)
- update links & remove dead links to mybbsecurity.net HOT 4
- Add a new page for database connection refused HOT 3
- Detailed functions help docs HOT 5
- Secure URLs where possible HOT 2
- how to use HTTPS with mybb HOT 9
- Wrong SFS API registration link
- Mail error 554
- Move documentation files that relate to both MyBB 1.6 and 1.8 but are exclusively available under the 1.6 section
- Port the old Database Restore documentation to 1.8 HOT 3
- Upgrade guide isn't working HOT 4
- Attachments unavailable in translation docs. HOT 2
- Missing information in MyBB Documentation (Recovering a Hacked Forum)
- Backup/Export Data Needs Clarification HOT 1
- Formatting issue: 1.8/faq/database-errors.md HOT 1
- Missing documentation for advanced database configuration
- Add documentation for the Redis cache driver HOT 3
- Refine cookie-related docs about cookie domain and cookie prefix
- SSH Quick Install: incorrect or header missing HOT 1
- upgrade page improvements HOT 7
- cookie generator website HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.mybb.com.