![]() |
I have a custom application and I want to use vbull login user system. If they are not a member they can't access the resource. How do I do it?
|
Please anyone??
|
I dont know if this is what you are searching for. I did this with my chat. When someone is not registered they receive the template: error_nopermission_loggedout if they are a member they will c the template chat:
PHP Code:
|
or an shorter way: :)
PHP Code:
|
Thanks, you are my saviour. :)
|
I manage to get this working but how do I forward it back fater login from the nopermission page back to 1.php instead it goes back to usercp.php
http://www.certifyexpress.com/exam/bea/1.php |
Then you have 2 copy the content of the error_nopermission_loggedout template, make a new template and change this value:
<input type="hidden" name="url" value="/forum/usercp.php"> And also define in the script your new template name instead of error_nopermission_loggedout ;) |
I'm a little confuse.
Could you give me a sample template? |
You have 2 make a new template. Put in the new template the same code as you have on the template: error_nopermission_loggedout
Now go 2 your new template and look for this line: <input type="hidden" name="url" value="$scriptpath"> And change that to: <input type="hidden" name="url" value="1.php"> Now link in your script to your new template name with the modification instead of referring to error_nopermission_loggedout. Its not tested but it should work :) |
Thanks Lesane! I got it working now.
|
All times are GMT. The time now is 09:20 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|