Forum Replies Created
-
In reply to: Disallow Non logged users on certain pages
@romansb that can also be a gud way. . only to take care that it doesn’t temper some of your plugins functioning as its a very old plugin.
In reply to: Disallow Non logged users on certain pages@gbsu
change this linebp_core_redirect( bp_core_get_root_domain() );to where you want your page to redirect
for eg.bp_core_redirect( bp_core_get_root_domain()."/sign-up");Hello, Does anyone knows any other solution for this?
Hello @danbp . .
That didnt actually helped. Function Reference/add menu page Seems to be like a helping hand but i am not able to understand it fully.@bphelp i have tried this tutorial, but it doesnt seem to work well. o may be i am missing something and i am not able to figure out. but as far as know i followed almost all the steps mentioned in the tutorial.
In reply to: Disallow Non logged users on certain pages@mrjarbenne this is what exactly i wanted. . thnx pal. .
In reply to: Disallow Non logged users on certain pages@chatty24 is there anything else i can try in this?
In reply to: Disallow Non logged users on certain pagesand one more thing. . i managed to sort the above error by just putting two dots before my page url. but the wiered thing is that when i try to login, it again takes me to my register page 😀
In reply to: Disallow Non logged users on certain pagesI tried adding it even into functions.php but it still has the same behavior. It is unable to find the Server path. Instead it directly points to my page. For example my path is localhost/expo_social/welcome but it redirects to localhost/welcome thereby showing the page not found error.
In reply to: Disallow Non logged users on certain pagesHello @chatty24 . . thanks for stopping by and luking into the problem. As u suggested, i have included your code in my bp-custom.php. it does prevent it from going to any other page but it ends up going on to a page not found error and i found that its not pointing to the exact url even after changing to my custom link.