Got a question
How do you turn off a page in dolphin based upon their membership level and friend status? And I’m not talking about from the admin section. I need to know the scripts that are used to run checks to see if a member is a friend of someone or that is joined to a certain group. So when the page loads I can run these checks. If they are not a friend I need to know how to bring up the page access denied page.
Warm regards
|
Could really use some help with this. |
You can use Page Access Control module; built into Dolphin, to control page access.
The friends part will require custom coding unless you are talking about the profile page. Members can limit who can see their pages based on friendship.
Geeks, making the world a better place |
If they are not a friend I need to know how to bring up the page access denied page.
That cannot be done using PAC.
ManOfTeal.COM a Proud UNA site, six years running strong! |
We are looking at inc/classes/BxDolPageView.php right now.
The BxDolPageView function, around Line 114, we are trying to turn a page off that is inherited from the base dolphin template. Or redirect them if the page can not be turned off from here.
So these questions remain:
- how can we run a check for the page that is in the process of loading and prevent it before it is displayed?
- One would think that there has to be a reference to the page that is about to be loaded up. This has to be a php script of some sort. But which script?
Any help in this matter would be appreciated.
|
If you are asking for help on a lot of custom code work, you probably won't get it. If you have a question on specific code; either Boonex or you have written, then you might get some answers. Geeks, making the world a better place |
not asking for a lot of help... just asking if anyone knows where the process starts. We can do the coding. just need a little help in finding the proper scripts.
thanks for your input geek-girl you are one awesome geek. when we figure out this process... which we will. i will tell you about it.
|
I'm having trouble with pulling the groupid in BxDolPageView ... any ideas?
|
I'm having trouble with pulling the groupid in BxDolPageView ... any ideas?
I sent you a PM, that change can be done for $35US..
ManOfTeal.COM a Proud UNA site, six years running strong! |