![]() |
Need Help With My First Product
Hello,,,
This is my first product :) I am so excited about it :D But I have a problem in it :( The Product is to hide some Profiles and I tryed to do that in the plugin but it didn't work so I did it in MEMBERINFO Template. I know what is wrong but I don't know what to do to fix it. Code:
<if condition="$vboptions[on_off]"> PHP Code:
|
You cannot run PHP functions in templates.
|
As I said I know the problem but how can it show the error message because if I use the plugin it will not show the error.
I use this code: PHP Code:
|
You can combine all of that into a single condition...
PHP Code:
Use print_no_permission() |
I am just a newbie so combining would be a hard thing because I need to know where is the errors, but I can't make it better that what you did :)
I don't want to use PHP Code:
I am not sure about PHP Code:
PHP Code:
I don't think there should be template change because the plugin hook is member_start |
The current userinfo is
PHP Code:
Code:
$bbuserinfo PHP Code:
|
I used it like that
PHP Code:
What I want is to hide the profile from all members ex. If the page was Code:
www.example.com/member.php?u=$vbulletin->options['profileid'] |
PHP Code:
|
I did try the code but it dosn't work :(
PHP Code:
|
What hook are you putting it at?
|
All times are GMT. The time now is 03:26 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:
|