Guest pim16aap2 Posted June 22, 2013 Share Posted June 22, 2013 Hello, I want to make a tab in my header going to /Stats, but only for registered users.This is not the problem, as this can easily be done. The problem is that /Stats is a custom directory, which has got nothing to do with IP:Board.My question would be whether it's possible to somehow disable going to /Stats directly, skipping my site.Here's a demo of the page: http://demo.mctrakr.com/49/ Regards,Pim Link to comment Share on other sites More sharing options...
0 Phun Posted June 22, 2013 Share Posted June 22, 2013 Hmm, what you could do is actually create (or let somebody create) an app for IP.Board and make /stats/ an actual part of your community. That way you would be able to manage who gets to see the page and whatnot and it will look neater inside IP.Board. As far as group permissions go outside of IPB, there has to be some link to IPB to verify group access. So i guess you'll have to either add a seperate login part to the statistics page and use credentials of the forums or make the statistics into an app/hook. Link to comment Share on other sites More sharing options...
0 Lock Down Posted June 22, 2013 Share Posted June 22, 2013 Phun is correct. Do not use straight html. Use a php script the echos the html and check if it is a member trying to execute it. Link to comment Share on other sites More sharing options...
0 Guest pim16aap2 Posted July 1, 2013 Share Posted July 1, 2013 Allright, thank you very much for the replies. Unfortunately, I don't have any php / html knowledge, and I haven't got enough time to learn it atm (it's on my long-term to-do list ), and I haven't got any money I could offer to get someone else to do this for me, so I'll have to let this one go. Link to comment Share on other sites More sharing options...
0 Administrator Tony Posted July 1, 2013 Administrator Share Posted July 1, 2013 The question(s) in this support topic have been answered and the owner has been able to solve the problem. Because of this, the support topic has been closed and moved.If you have other questions, please open a new topic. Link to comment Share on other sites More sharing options...
Question
Guest pim16aap2
Hello,
I want to make a tab in my header going to /Stats, but only for registered users.
This is not the problem, as this can easily be done.
The problem is that /Stats is a custom directory, which has got nothing to do with IP:Board.
My question would be whether it's possible to somehow disable going to /Stats directly, skipping my site.
Here's a demo of the page: http://demo.mctrakr.com/49/
Regards,
Pim
Link to comment
Share on other sites
4 answers to this question
Recommended Posts