anyone now how to add this mod off the Redirect and add it on the list so users can sign up keep sending me back to splash page
thanks
http://www.boonex.com/m/RPX_Integration_Login_for_D7
* Deanos Redirect Guests to splash.php - Code Add - Start */ /* NOTE: If this is a dolphin page that uses the dolphin template system then this */ /* may cause a loop. */ if ((int)$_COOKIE['memberID'] == 0) { if ( $_page['header'] != 'Join' && $_page['header'] != 'About Us' && $_page['header'] != 'Privacy Policy' && $_page['header'] != 'Terms of use' && $_page['header'] != 'FAQ' && $_page['header'] != 'Invite a friend' && $_page['header'] != 'Contact us' && $_page['header'] != 'Help' && $_page['header'] != 'Advice' && $_page['header'] != 'Forgot Password?' ) { header('Location: ' . BX_DOL_URL_ROOT . 'splash.php'); } } /* Deanos Redirect Guests to splash.php - Code Add - End */
|
LejT
i would answer you on this, but seems that a better explanation of what you are saying is needed here? if you are using something released from Deano, i am more than certain that there is adequate instructions, and if you are confused about the instructions, I think a post on Deanos module support thread would help you a great deal.
i read your post about six times, and couldnt understand what you are asking.
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
I have install the JanRain Integration Facebook/Twitter/Etc mod
i am using the Deanos Redirect Guests to splash.php code works great
I am trying to find a way to add JanRain Integration Facebook/Twitter/Etc mod so it don't Redirect the mod ( if someone is using this mod it doesn't Redirect them back to the splash.php login or joining
something like $_page['header'] != 'live join ' &&
|
|
Thats just it. You need the header of that page. I might be able to find out what it is if i had a URL to your site. I don't have the mod so i do not know the answer without closer examination.
https://www.deanbassett.com |
It might be this.
After this line
$_page['header'] != 'Join' &&
Add this line.
$_page['header'] != 'Sign in - Powered by Janrain' &&
https://www.deanbassett.com |
Ok idk what happen but when i click on the Forgot Password the link work i fill in all the information and click send and it goes back to the splash.php any way i can fix this thanks
anyone now how to add this mod off the Redirect and add it on the list so users can sign up keep sending me back to splash page
thanks
http://www.boonex.com/m/RPX_Integration_Login_for_D7
* Deanos Redirect Guests to splash.php - Code Add - Start */ /* NOTE: If this is a dolphin page that uses the dolphin template system then this */ /* may cause a loop. */ if ((int)$_COOKIE['memberID'] == 0) { if ( $_page['header'] != 'Join' && $_page['header'] != 'About Us' && $_page['header'] != 'Privacy Policy' && $_page['header'] != 'Terms of use' && $_page['header'] != 'FAQ' && $_page['header'] != 'Invite a friend' && $_page['header'] != 'Contact us' && $_page['header'] != 'Help' && $_page['header'] != 'Advice' && $_page['header'] != 'Forgot Password?' ) { header('Location: ' . BX_DOL_URL_ROOT . 'splash.php'); } } /* Deanos Redirect Guests to splash.php - Code Add - End */
|
Ok idk what happen but when i click on the Forgot Password the link work i fill in all the information and click send and it goes back to the splash.php any way i can fix this thanks
anyone now how to add this mod off the Redirect and add it on the list so users can sign up keep sending me back to splash page
thanks
http://www.boonex.com/m/RPX_Integration_Login_for_D7
* Deanos Redirect Guests to splash.php - Code Add - Start */ /* NOTE: If this is a dolphin page that uses the dolphin template system then this */ /* may cause a loop. */ if ((int)$_COOKIE['memberID'] == 0) { if ( $_page['header'] != 'Join' && $_page['header'] != 'About Us' && $_page['header'] != 'Privacy Policy' && $_page['header'] != 'Terms of use' && $_page['header'] != 'FAQ' && $_page['header'] != 'Invite a friend' && $_page['header'] != 'Contact us' && $_page['header'] != 'Help' && $_page['header'] != 'Advice' && $_page['header'] != 'Forgot Password?' ) { header('Location: ' . BX_DOL_URL_ROOT . 'splash.php'); } } /* Deanos Redirect Guests to splash.php - Code Add - End */
After the line
$_page['header'] != 'Advice' &&
Try adding
$_page['header'] != 'Recognized' &&
This is not really one of my official mods. This was something custom someone requested in the forums. I can't even find the orignal topic. So i don't really maintain this between dolphin versions.
https://www.deanbassett.com |
again your the best i use that but i put it under $_page['header'] != 'Forgot Password?' been working on this all day yesterday thanks for always answering
Ok idk what happen but when i click on the Forgot Password the link work i fill in all the information and click send and it goes back to the splash.php any way i can fix this thanks
anyone now how to add this mod off the Redirect and add it on the list so users can sign up keep sending me back to splash page
thanks
http://www.boonex.com/m/RPX_Integration_Login_for_D7
* Deanos Redirect Guests to splash.php - Code Add - Start */ /* NOTE: If this is a dolphin page that uses the dolphin template system then this */ /* may cause a loop. */ if ((int)$_COOKIE['memberID'] == 0) { if ( $_page['header'] != 'Join' && $_page['header'] != 'About Us' && $_page['header'] != 'Privacy Policy' && $_page['header'] != 'Terms of use' && $_page['header'] != 'FAQ' && $_page['header'] != 'Invite a friend' && $_page['header'] != 'Contact us' && $_page['header'] != 'Help' && $_page['header'] != 'Advice' && $_page['header'] != 'Forgot Password?' ) { header('Location: ' . BX_DOL_URL_ROOT . 'splash.php'); } } /* Deanos Redirect Guests to splash.php - Code Add - End */
After the line
$_page['header'] != 'Advice' &&
Try adding
$_page['header'] != 'Recognized' &&
This is not really one of my official mods. This was something custom someone requested in the forums. I can't even find the orignal topic. So i don't really maintain this between dolphin versions.
|
You could have done it that way also.
The key is the two && at the end of the line. The last line does not have them. And it have to be that way. Reason i specified the line above it.
https://www.deanbassett.com |
It didn't work when i did it. (before).... change all code to the comment tag /* */ and see what page it took me to and look in forgot.php and saw that Recognized was the header so i copy that...... and used Recognized with and without && maybe i missed something but thanks (it working now)
You could have done it that way also.
The key is the two && at the end of the line. The last line does not have them. And it have to be that way. Reason i specified the line above it.
|