vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - ibProArcade - professional Arcade System (https://vborg.vbsupport.ru/showthread.php?t=101554)

TonyLuong 11-22-2006 06:32 AM

Thank you. I got it.

MathewC 11-22-2006 09:58 AM

sorted. ;] ty

johnny713 11-23-2006 01:43 AM

Quote:

Originally Posted by SloppyGoat
I had this problem, changed the php memory limit to 10M in my ini, and the problem seems solved.

Can someone tell me where is my ini? Did he mean init.php file in the install folder? Can someone tell me more detail please?

dcasux 11-23-2006 05:31 AM

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!

Bravo 11-23-2006 06:01 AM

Quote:

Originally Posted by dcasux (Post 1123460)
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!

has nothing to do with editing the navbar, add that line like the instructions say.

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

dcasux 11-23-2006 06:11 AM

Quote:

Originally Posted by Bravo2007 (Post 1123464)
has nothing to do with editing the navbar, add that line like the instructions say.

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

Thank you for the reply.

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?

Bravo 11-23-2006 06:19 AM

Quote:

Originally Posted by dcasux (Post 1123470)
Thank you for the reply.

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?

the first option in 'Group Permission' is for "Unregistered / Not Logged In"
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

MrZeropage 11-23-2006 09:22 AM

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">
...show Arcade-Link...
</if>


dcasux 11-23-2006 04:11 PM

Quote:

Originally Posted by MrZeropage (Post 1123516)
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">
...show Arcade-Link...
</if>


I'm glad you caught the meaning of my post.

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!

Magz 11-24-2006 12:40 AM

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
  • Page Generation 0.08792 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (7)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete