MyBB Community Forums

Full Version: New php page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
If I decide to add new pages to my forums, will I have to make adjustments anywhere. Besides creating a new file called newpage.php and coding it, is there something else I must do? Add it to the forum software to regcognize the page, etc? I don't want the site to become more vulnerable because I decided to add a new page.
First call the global variable.

Next, you can add variables to it or just evaluate the global templates on the page.

Done.
I have no idea what that means.
Is'nt it much easier to create new pages with this plugin?
http://mods.mybb.com/view/page-manager

I use it, it works great!

Ger
Hmm, I think when he means "call the global variable", it somehow acts like its part of MyBB. So it should work when you add it to a new page, once you have it in, you can start retriving other varibles such as username.

I'll have a go at this in my forum and report back to you.
(2012-04-01, 02:07 PM)Lewes Wrote: [ -> ]Hmm, I think when he means "call the global variable", it somehow acts like its part of MyBB. So it should work when you add it to a new page, once you have it in, you can start retriving other varibles such as username.

I'll have a go at this in my forum and report back to you.

Okay. If he just meant that. That should be easy, just copy a current page and adjust it to your liking. Wanted to make sure if we had to like add it to somewhere to keep track of the new page.
Well, I had to add a template, here it is: http://monkeycore.tk/faq.php

If you reply, I'll give you the instructions but you'll need to register on my forum since its in a REGISTERED only forum.
(2012-04-01, 02:24 PM)Lewes Wrote: [ -> ]Well, I had to add a template, here it is: http://monkeycore.tk/faq.php

If you reply, I'll give you the instructions but you'll need to register on my forum since its in a REGISTERED only forum.

So you will only help people of your forums... why bother posting here?
All you have to do is register, then you can see the code. I want to get credited, the page took a while to figure out how to do.
(2012-04-01, 02:33 PM)Lewes Wrote: [ -> ]All you have to do is register, then you can see the code. I want to get credited, the page took a while to figure out how to do.

If you don't want to help, then don't help. I am not registering on your site. There is a reason I am here and not there.
Pages: 1 2