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)

doubleclick 05-11-2012 07:25 AM

Hello

On the page where you are actually playing a game, where do I go to edit the block on the page where the thumbnail, champ, score to beat, display size, etc is displayed?

thanks,
dc

Gemma 05-11-2012 07:30 AM

Quote:

Originally Posted by doubleclick (Post 2328305)
Hello

On the page where you are actually playing a game, where do I go to edit the block on the page where the thumbnail, champ, score to beat, display size, etc is displayed?

thanks,
dc

Go to your v3ARCADE_PLAY template and all the code in between <!-- right area --> and <!-- /right area--> is the sidebar code that you are looking for.

doubleclick 05-11-2012 09:13 AM

You're the best, Gemma.

I've been trying to narrow down what I would like to put in areas above the forum directory, and have come up with two blocks:

- Tournaments awaiting players
- News and events

Does something like this already exist?

Gemma 05-11-2012 02:28 PM

Quote:

Originally Posted by doubleclick (Post 2328328)
You're the best, Gemma.

I've been trying to narrow down what I would like to put in areas above the forum directory, and have come up with two blocks:

- Tournaments awaiting players
- News and events

Does something like this already exist?

Other than the forum sideblock there isn't anything like that in existence. I like that idea about the tournaments block, I did have a similar idea for tournament information being added to the forum/CMS block but never got around to investigating more. Maybe when I've got some free time and some motivation I'll play around and see what transpires

doubleclick 05-14-2012 09:14 AM

Sorry to be the only one asking questions about this mod. I really am trying to keep the number down...

Is there a line or two of code I can paste into the v3ARCADE_PLAY template so instead of the thumbnail of the game being played, it will display either the avatar or the avatar thumb of the champ? (I'm not sure what it will look like so that's why I'm asking about both instead of just one.)

mystiksven 05-15-2012 05:41 AM

Many thanks :D

learning1234 05-15-2012 07:11 AM

https://vborg.vbsupport.ru/external/2012/05/23.png

I guess i did something wrong .. when i got a high score my avatar moved on left i want it on the center is there a possible way to fix this please..

Gemma 05-15-2012 07:52 AM

Quote:

Originally Posted by learning1234 (Post 2329494)
https://vborg.vbsupport.ru/external/2012/05/23.png

I guess i did something wrong .. when i got a high score my avatar moved on left i want it on the center is there a possible way to fix this please..

Open the v3arcade_postbit_userid_trophy_wrapper template

And replace:
Code:

{vb:raw preWrapperAwards}
With:
Code:

<br/><center>{vb:raw preWrapperAwards}</center><br/>

learning1234 05-15-2012 03:22 PM

Thank you Gemma :)

Gemma 05-19-2012 02:08 PM

Been doing some testing, v3 Arcade together with vB 4.2.0 (beta) work fine.

The index.php file has changed meaning that anyone running vB Suite and IPB games will need to make a small adjustment to where they place the index.php file edit.

require('content.php'); no longer exists but placing the edit above require('forum.php'); will allow the scores to save properly*

*This may change come the 'gold' release of vB 4.2.0 and any update from the arcade team @ vBAdvanced but it works without error just now.

Changes will need to be made to accommodate the new navigation system too

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.

Amaury 05-28-2012 08:57 PM

There is a problem, though.

When trying to access any of its settings in the Admin CP, I get a 404 error page.

Edit: Here's a screenshot:

http://i101.photobucket.com/albums/m.../Arcade404.png

Gemma 05-28-2012 09:08 PM

The error says the file cannot be found. Have you tried re-uploading the files?

Amaury 05-28-2012 09:15 PM

Quote:

Originally Posted by Gemma (Post 2334042)
The error says the file cannot be found. Have you tried re-uploading the files?

I'll have to have our owner do it. I'm only an assistant.

Thanks for the help. :)

BAMGADE800 05-28-2012 09:45 PM

I can't seem to find a fix for after you submit your score it exits the game and goes to a comment, I'd like to continue the game, how can I stop it from leaving the page.

Gemma 05-29-2012 08:59 AM

Quote:

Originally Posted by BAMGADE800 (Post 2334065)
I can't seem to find a fix for after you submit your score it exits the game and goes to a comment, I'd like to continue the game, how can I stop it from leaving the page.

I don't think that is possible the way the arcade is coded, it would require changes to the files and templates, I'd assume you would need to remove the comments code, the current re-direction to the highscore submit/comments page and have the scores submitted 'on the fly' (probably using ajax) then adjust the templates :erm:

Mark.B 05-29-2012 10:48 AM

And also that's not a fix, since it's not broken. It's supposed to do that.

doubleclick 05-29-2012 11:48 AM

Hi Gemma -

Do you and the vbad team prefer questions posted here or on the vbad site or does it even matter to you?

Gemma 05-29-2012 12:10 PM

Quote:

Originally Posted by doubleclick (Post 2334249)
Hi Gemma -

Do you and the vbad team prefer questions posted here or on the vbad site or does it even matter to you?

Doesn't really matter to me, I'm nothing to do with the arcade any more but if I see a post I can help with or offer a solution for then I'll try and reply when I'm online. If you are after a reply from the developers then I'd suggest the vBAdvanced forums.

indyprocentral 05-29-2012 01:52 PM

So since I upgraded to Version 4.2, Whenever you complete a game.. it automatically forwards the user to the Activity Stream page and not the score page. Anyone else have this issue?

Gemma 05-29-2012 02:04 PM

You may need to edit the index.php file - original details here - https://vborg.vbsupport.ru/showpost....&postcount=469

However, the file has changed slightly in vB4.2 so the placement of the code below is different

Code:

require_once('./includes/v3arcade_vbsuite_index_compatibility.php');
https://vborg.vbsupport.ru/showpost....&postcount=730

Amaury 05-29-2012 09:01 PM

Quote:

Originally Posted by Gemma (Post 2333227)
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

I tried this, but when I try to view the links of steps 1-6, it gives me a no permission page.

Gemma 05-29-2012 09:20 PM

Quote:

Originally Posted by Amaury25 (Post 2334458)
I tried this, but when I try to view the links of steps 1-6, it gives me a no permission page.

You will need to set the permissions according to your setup, ie admin, guest, member etc in the Show Permission Name box.

For the AdminCP help
Quote:

This determines which variable(s) in the vBulletin $show array will be used to decide if the element should be displayed. For instance 'member' means it will only display if $show['member'] is true. Multiple variables can be specified by joining them with a dot. All of them must then be true for the element to display.
Or use https://vborg.vbsupport.ru/showthread.php?t=283123 for more options.

Amaury 05-29-2012 09:37 PM

Quote:

Originally Posted by Gemma (Post 2334463)
You will need to set the permissions according to your setup, ie admin, guest, member etc in the Show Permission Name box.

For the AdminCP help


Or use https://vborg.vbsupport.ru/showthread.php?t=283123 for more options.

Fixed it. I had tournaments disabled in the Arcade settings in the Admin CP. I had turned it off when I thought we had the same arcade, the one that had a security issue, that KHV had.

Gemma 05-31-2012 05:22 PM

Quote:

Originally Posted by Amaury25 (Post 2334468)
Fixed it. I had tournaments disabled in the Arcade settings in the Admin CP. I had turned it off when I thought we had the same arcade, the one that had a security issue, that KHV had.

Yeah, that would cause a problem :D

doubleclick 06-01-2012 01:14 AM

1 Attachment(s)
Hello -

Where are the links to challenge someone? This was one of my favorite features of v3arcade, but I can't find it anywhere. I would have asked sooner, but I figured it would eventually jump out at me.

I was just playing some games at an ibpro arcade site, and they have have a nifty feature where a challenge link for each game. When you click it, it opens up a popup window where you can select users by username from a dropdown, or use a search box. I suppose there is something similar here, but I can't for the life of me find it.

Gemma 06-01-2012 06:39 AM

Quote:

Originally Posted by doubleclick (Post 2335261)
Hello -

Where are the links to challenge someone? This was one of my favorite features of v3arcade, but I can't find it anywhere. I would have asked sooner, but I figured it would eventually jump out at me.

I was just playing some games at an ibpro arcade site, and they have have a nifty feature where a challenge link for each game. When you click it, it opens up a popup window where you can select users by username from a dropdown, or use a search box. I suppose there is something similar here, but I can't for the life of me find it.

I agree with you, the challenge feature is one of the best and unique part of v3 Arcade. Unfortunately, it is somewhat a hidden gem.

Firstly, challenges must be enabled globally. Then each user has the option of enabling/disabling challenges on a personal level. For those that have challenges enabled, the only way to actually challenge them to a game (in vB4) is via the arcade tab in their member profile.

doubleclick 06-01-2012 06:35 PM

wow! that is hidden!

Do you know if they have any plans to unhide this. or if a mod is in the works? I really like the way the method I showed you, that lets you choose your opponent from the droptdown. The only improvement I'd make to their presentation would be to have the challenge in the V3ARCADE_PLAY template, right below the plugin you made to "Add to Favorites". I think that would be the most likely spot for user activity. What do you think?

dog-tag 06-02-2012 02:30 PM

After upgrading to 4.2 my forum didn't load v3arcade.

Your above directions worked for me however I had some problems.

For example you said -

Quote:

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
I did everything 100% but nothing worked, just 404errors.

I then removed all the //// signs and it worked fine, and everything loaded up.
I know you understand the slash sign, but for some people it confuses us.


So the above example should have been -

Quote:

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
Note for all noobies, don't paste in the slash sign = remove all of these /


Thanks for this plugin again, it really is fantastic and my users genuinely love it, and have mentioned many many times how much fun they get from it :)

doubleclick 06-03-2012 07:02 PM

Well, I finally figured out how to move the challenge option out of the basement and somewhere easier to find. Not a rocket science solution, but here it is:

I pasted this into the postbit template:

Code:

<b><a href="arcade.php?do=newchallenge&userid={vb:raw post.userid}">Invite {vb:raw post.username} to play a game!</a></b>
Still hope sombody will make the link beside each game, so when a user is playing it, he/she has the option to select a user to challenge like I mentioned above. But making something that fancy is way beyond my abilities.

Gemma 06-04-2012 11:09 AM

Quote:

Originally Posted by doubleclick (Post 2335562)
wow! that is hidden!

Do you know if they have any plans to unhide this. or if a mod is in the works? I really like the way the method I showed you, that lets you choose your opponent from the droptdown. The only improvement I'd make to their presentation would be to have the challenge in the V3ARCADE_PLAY template, right below the plugin you made to "Add to Favorites". I think that would be the most likely spot for user activity. What do you think?

Quote:

Originally Posted by doubleclick (Post 2336259)
Well, I finally figured out how to move the challenge option out of the basement and somewhere easier to find. Not a rocket science solution, but here it is:

I pasted this into the postbit template:

Code:

<b><a href="arcade.php?do=newchallenge&userid={vb:raw post.userid}">Invite {vb:raw post.username} to play a game!</a></b>
Still hope sombody will make the link beside each game, so when a user is playing it, he/she has the option to select a user to challenge like I mentioned above. But making something that fancy is way beyond my abilities.

I believe the challenge link appears in more places in the vB3 version of the arcade but I think it was just a link in the postbit dropdown menu (similar to what you have posted above) and not within the actual game itself.

Do you know what version of IPB arcade and what version of IPB this was running on so I can take a look, it might give me some ideas.


All times are GMT. The time now is 01:11 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.02361 seconds
  • Memory Usage 1,873KB
  • 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
  • (9)bbcode_code_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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