MyBB Community Forums

Full Version: DLGuard - Use their PHP at top of index.php?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am using the default template, V 1.6 and I'm having a devil of a time with this. What I want to do is put the DLGuard php code AT THE VERY TOP of the index.php page to make it into a paid membership site.

Can DLGuard be used with mybb in this way?

All the best

Barry
Uh, do you just want it at the top of index.php, or every page?
Thanks for the reply Pyridine

Now that you mention it, I suppose every page...I assume that if I just put it at the top of index.php that the other pages will be open to public scrutiny? Is that right?

All the best

Barry
Templates & Style >> Templates >> *Theme* >> Header Templates >> header

Should place is at he very beginning I would think.
MyBB doesn't support PHP in the template system without a plugin by Yumi.
(2011-03-13, 06:44 PM)Aristotle Wrote: [ -> ]MyBB doesn't support PHP in the template system without a plugin by Yumi.

Oh I didn't know it used PHP. If it does you'll need this plugin: http://mybbhacks.zingaburga.com/showthread.php?tid=260