![]() |
Thank you. I got it.
|
sorted. ;] ty
|
Quote:
|
I'm not a php guy, and I've installed this great hack! I love it.
I want to modify how my navbar works, though. In the instructions it says to add this code to the navbar: <td class="vbmenu_control"><a href="arcade.php?$session[sessionurl_q]">Arcade</a></td> In editing the navbar, I would like to have the Arcade option only show up on the navbar if the user group has the rights to the arcade. Thank you! |
Quote:
its a simple option in the AdminCP go to the 'AdminCP' and expand 'Arcade' Click 'Group Permission' then just look for the Usergroup you want to edit and under "Level of Access" switch it to "Can't view or play Arcade" let me know if that helps |
Quote:
I guess I didn't explain well enough. I don't want the navbar text showing up on the navbar unless the user has logged into vBulletin and has rights to the arcade, similar to the quick links option, etc. I hope this helps to explain it further. Any other thoughts? |
Quote:
switch that to "Can't View or Play Arcade" IE if there not resgistered or not logged in it should not display. though i dont know how that works for the navbar, im not sure if it makes it disappear. if you have tried it tell me what happends |
to change the disaplay in navbar you need to alter the code in the navbar-template and include a check if the user is logged in or not. Just wrap the check around the Arcade-Link
Code:
<if condition="$bbuserinfo[userid]!=0"> |
Quote:
Your idea does get me closer to what I want, however, is there a more granular code than this that would verifiy if the user has the rights to the arcade system, and if not, don't display the "Arcade" text in the navbar? I don't know the code, but I would guess there'd be a variable that could be referenced that would determine group rights. I do thank you immensely for the first piece of the puzzle! |
Ive searched the threads, and found 1 reference to following error, bt no answer.
Its so frustrating when users beat a high score and get this.... Fatal error: Existing data passed is not an array Called set_existing in /home/magical/public_html/arcade/includes/functions_databuild.php on line 164 Called build_forum_counters in /home/magical/public_html/arcade/arcade.php(3364) : eval()'d code on line 34 Called eval in /home/magical/public_html/arcade/arcade.php on line 3364 Called storescore in /home/magical/public_html/arcade/arcade.php on line 3293 Called post_score in /home/magical/public_html/arcade/arcade.php on line 330 Called arcade in /home/magical/public_html/arcade/arcade.php on line 4968 Called include in /home/magical/public_html/arcade/index.php(63) : eval()'d code on line 18 Called eval in /home/magical/public_html/arcade/index.php on line 63 in /includes/class_dm.php on line 235 I am not using any Portal, and have vbux installed. any ideas? regards |
All times are GMT. The time now is 01:30 PM. |
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:
|