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)
-   -   Add-On Releases - v3 Arcade - Professional vBulletin Gaming (vB4) (https://vborg.vbsupport.ru/showthread.php?t=253211)

indyprocentral 05-25-2012 11:04 PM

Since upgrading to 4.2, after playing a game instead of submitting the score it redirects to the activity stream page.

Gemma 05-26-2012 03:19 PM

Quote:

Originally Posted by indyprocentral (Post 2332882)
Since upgrading to 4.2, after playing a game instead of submitting the score it redirects to the activity stream page.

Did you apply the index.php edit stated in the post above yours?

Gemma 05-26-2012 07:25 PM

Until an update is released for 4.2 you can follow these steps to set up the arcade navigation system. Shouldn't take any more than a few minutes to do.

1. Disable the plugin - Arcade Navbar Link
2. In the new Navigation Manager, create an Arcade Tab

Active: Yes
Product: v3 Arcade
Title: Arcade
Target URL: arcade.php
Tab Script(s): arcade

3. Now we will create an Arcade Games Link

Active: Yes
Product: v3 Arcade
Title: Arcade Games
Target URL: arcade.php
Parent: Arcade

4. Next, we want to create a View Leaderboard link

Active: Yes
Product: v3 Arcade
Title: View Leaderboard
Target URL: arcade.php?do=leaderboard
Parent: Arcade

5. Now, we need to create a Tournaments dropdown menu. In the Navigation Manager go back to the Arcade Tab we created in step 2 and from the dropdown box choose Add Menu

Product: v3 Arcade
Active: Yes
Title: Tournaments
Parent: Arcade

6. Now we can populate the dropdown menu, first up is Your Tournaments. In the Navigation Manager you should now see a record for Tournaments (Menu); select Add Link

Product: v3 Arcade
Active: Yes
Title: Your Tournaments
Target URL: arcadetourmnt.php?do=viewyour
Parent: Tournaments

You now want to create the rest of the tournament links following the same steps but replacing the Title and Target URL as follows -

Title: Tournaments Awaiting Players
Target URL: arcadetourmnt.php?do=viewwaiting

Title: Active Tournaments
Target URL: arcadetourmnt.php?do=viewactive

Title: Finished Tournaments
Target URL: arcadetourmnt.php?do=viewfinished

Title: Start A Tournament
Target URL: arcadetourmnt.php?do=newtourmnt

7. Now, one final link to create for Edit Your Settings, in the Arcade (Tab) record select Add Link

Active: Yes
Product: v3 Arcade
Title: Edit Your Arcade Settings
Target URL: profile.php?do=editarcade
Parent: Arcade

Linux123 05-27-2012 06:30 PM

Instead of saying you do have permissions to access this page if a user is not allowed to view arcade how can I change it to a custom message? Thanks

Gemma 05-27-2012 06:34 PM

Quote:

Originally Posted by Linux123 (Post 2333580)
Instead of saying you do have permissions to access this page if a user is not allowed to view arcade how can I change it to a custom message? Thanks

What message are you trying to change??

Linux123 05-27-2012 06:49 PM

Quote:

Originally Posted by Gemma (Post 2333582)
What message are you trying to change??

If say a user group does have access to view the arcade you get a message which says:

Code:

User, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

I want it to change that so I can have a custom message like "Hey there, you can't access this yet, read more on how to get access here"

Gemma 05-28-2012 08:00 AM

Quote:

Originally Posted by Linux123 (Post 2333586)
If say a user group does have access to view the arcade you get a message which says:

Code:

User, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

I want it to change that so I can have a custom message like "Hey there, you can't access this yet, read more on how to get access here"

It uses vbulletin's built-in permission system and error messages, so you would either need to either create a new error message phrase in the AdminCP and have reference to it in arcade.php where you would like it to appear.

Or, an easier method would be to use conditionals and create your own message within the template. For example, in your v3ARCADE_PLAY template search for:

Code:

<!-- main -->
            <div class="blockrow">{vb:raw flashcode}</div>

And replace it with:

Code:

<!-- main -->
<vb:if condition="$show['guest']">
<div class="standard_error">
    <h2 class="blockhead">Arcade Error Message</h2>
    <div class="blockbody formcontrols">
               
                <p class="blockrow">Sorry, guests cannot play games in the arcade, you must be a registered member of {vb:raw vboptions.bbtitle} to play games and submit scores.<br/><br/> This will also allow you to compete on our arcade leaderboards, play tournaments or challenge other players to a 1v1 match.<br/><br/> Registration is quick, free and simple. Click <a href="register.php">HERE</a> to join our site.</p>
    </div>
</div></vb:if>
<vb:if condition="$show['member']"><div class="blockrow">{vb:raw flashcode}</div></vb:if>

Changing the message (red bit) to suit yourself.

Amaury 05-28-2012 08:09 PM

So we've had our arcade disabled since February 27th because of the whole exploit thing.

We still have version 2.0.3, the bad version, and the download that's available here is 2.0.3, so where can the patch be found?

I'd like to know so I can direct our owner here so we can get our arcade back up and running!

Thanks!

Gemma 05-28-2012 08:32 PM

Quote:

Originally Posted by Amaury25 (Post 2334025)
So we've had our arcade disabled since February 27th because of the whole exploit thing.

We still have version 2.0.3, the bad version, and the download that's available here is 2.0.3, so where can the patch be found?

I'd like to know so I can direct our owner here so we can get our arcade back up and running!

Thanks!

v3 Arcade has never had any security issues, so you don't have a 'bad version' and you haven't disabled this arcade 'because of the whole exploit thing'. The version here is the latest version (2.0.3A)

Amaury 05-28-2012 08:48 PM

Quote:

Originally Posted by Gemma (Post 2334033)
v3 Arcade has never had any security issues, so you don't have a 'bad version' and you haven't disabled this arcade 'because of the whole exploit thing'. The version here is the latest version (2.0.3A)

Sorry, wrong thread. Just found what I was looking for.

So, wait, our arcade has been the OP's here the whole time if it's 2.0.3? I guess we had a different arcade than KH-Vids.Net Forum.


All times are GMT. The time now is 03:40 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.02146 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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