[ABD] phpBB Arcade 2.0.RC5

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
KillBill.
Registered User
Posts: 625
Joined: Tue Jun 02, 2009 4:07 pm

Re: [RC] phpBB Arcade 2.0.RC1

Post by KillBill. »

I check Deep Freeze

The Score variable, identification is not possible, because it is activated on your path protection.

Acp/arcade/Path settings/IBPro arcade games -> NO

I check Clash'N Slash: Worlds Away

ftp conect and find

gamedata/clashnslashworldsawayTh/v32game.txt

delete v32game.txt file

;)
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica

Re: [RC] phpBB Arcade 2.0.RC1

Post by Jessica »

thank you so much!!!!!!! they submit now!!
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
User avatar
KillBill.
Registered User
Posts: 625
Joined: Tue Jun 02, 2009 4:07 pm

Re: [RC] phpBB Arcade 2.0.RC1

Post by KillBill. »

Jessica wrote:thank you so much!!!!!!! they submit now!!
You see, right fix the problem than to manually enter a score for the game. ;)
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica

Re: [RC] phpBB Arcade 2.0.RC1

Post by Jessica »

yeah you're right. (:
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
vipaka
Registered User
Posts: 493
Joined: Sun Aug 28, 2011 7:25 pm

Re: [RC] phpBB Arcade 2.0.RC1

Post by vipaka »

Does this mod have an official FAQ? If not, would you want it if I made one for it?
Curious about my work? See it for yourself.
Image
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica

Re: [RC] phpBB Arcade 2.0.RC1

Post by Jessica »

I think it does. there's a user guide in the ACP.....but whether or not users can access it (outside the ACP)...I don't know

edit: oh wait that's for forum admins. never mind
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
vipaka
Registered User
Posts: 493
Joined: Sun Aug 28, 2011 7:25 pm

Re: [RC] phpBB Arcade 2.0.RC1

Post by vipaka »

Jessica wrote:I think it does. there's a user guide in the ACP.....but whether or not users can access it (outside the ACP)...I don't know

edit: oh wait that's for forum admins. never mind
I'll just make a user version of that then.
Edit: No can do, looks like all the questions are directed at admins installing and using the mod.
Curious about my work? See it for yourself.
Image
User avatar
KillBill.
Registered User
Posts: 625
Joined: Tue Jun 02, 2009 4:07 pm

Re: [RC] phpBB Arcade 2.0.RC1

Post by KillBill. »

vipaka wrote:If not, would you want it if I made one for it?

yes :D
vipaka
Registered User
Posts: 493
Joined: Sun Aug 28, 2011 7:25 pm

Re: [RC] phpBB Arcade 2.0.RC1

Post by vipaka »

Okay. :) I'll upload and link you to the files when I get them respectable looking.

Edit: Link to the files: https://www.yousendit.com/download/T2dk ... VWxwdmNUQw

They'll be valid til nov 13th, they're in zip format. Direct browser to root/arcade_faq.php to see the page after copying them over. The arcade_faq.php file is a bit messy with its "Title" for the page if you wanna spiff it up. Right now its just defaulting to the FAQ page title, and I didn't feel like fighting with it anymore tonight.
Curious about my work? See it for yourself.
Image
User avatar
KillBill.
Registered User
Posts: 625
Joined: Tue Jun 02, 2009 4:07 pm

Re: [RC] phpBB Arcade 2.0.RC1

Post by KillBill. »

vipaka wrote:Okay. :) I'll upload and link you to the files when I get them respectable looking.

Edit: Link to the files: https://www.yousendit.com/download/T2dk ... VWxwdmNUQw

They'll be valid til nov 13th, they're in zip format. Direct browser to root/arcade_faq.php to see the page after copying them over. The arcade_faq.php file is a bit messy with its "Title" for the page if you wanna spiff it up. Right now its just defaulting to the FAQ page title, and I didn't feel like fighting with it anymore tonight.
I can not download.

you language file to write.

add
languages/en/mods/help_faq_arcade.php

and faq.php edit

find

Code: Select all

	case 'bbcode':
		$l_title = $user->lang['BBCODE_GUIDE'];
		$user->add_lang('bbcode', false, true);
	break;
after add

Code: Select all

	case 'arcade':
		$user->add_lang('mods/arcade');
		$l_title = $user->lang['ARCADE_FAQ_HELP'];        
		$user->add_lang('mods/faq_arcade', false, true);
	break; 

Code: Select all

http://example.com/faq.php?mode=arcade#faqlinks
I hope you understand ;)
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica

Re: [RC] phpBB Arcade 2.0.RC1

Post by Jessica »

I have several suggestions for the arcade

when you go to a user's high scores, it lists all the games that the user has played, but not all of them are the ones the user is a champion of. there should be some sort of sorting method that allows users to see all actual high scores by other users.

also, we should be able to sort by date, plays etc in the user's games list ("highscore" list I mean)
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
User avatar
KillBill.
Registered User
Posts: 625
Joined: Tue Jun 02, 2009 4:07 pm

Re: [RC] phpBB Arcade 2.0.RC1

Post by KillBill. »

Jessica wrote:I have several suggestions for the arcade

when you go to a user's high scores, it lists all the games that the user has played, but not all of them are the ones the user is a champion of. there should be some sort of sorting method that allows users to see all actual high scores by other users.

also, we should be able to sort by date, plays etc in the user's games list ("highscore" list I mean)
Good idea
vipaka
Registered User
Posts: 493
Joined: Sun Aug 28, 2011 7:25 pm

Re: [RC] phpBB Arcade 2.0.RC1

Post by vipaka »

Okay well here are the raw codes then.

arcade_faq.php in root directory

Code: Select all

<?php
/**
*
* @package phpBB3
* @version $Id$
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/

    define('IN_PHPBB', true);

    // Specify the path to you phpBB3 installation directory.
    $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
    $phpEx = substr(strrchr(__FILE__, '.'), 1);
    // The common.php file is required.
    include($phpbb_root_path . 'common.' . $phpEx);
    include($phpbb_root_path . '/includes/functions_display.' . $phpEx);


  // Start session management
    $user->session_begin();
    $auth->acl($user->data);
    $user->setup(array('mods/shop', 'mods/points'));
	$user_id = $user->data['user_id'];

global $template, $user, $shop, $db, $config, $phpEx, $phpbb_root_path;

$user->add_lang('mods/arcade_faq', false, true);


// Load shop template
$template->set_filenames(array(
	'body' => 'arcade_faq.html')
);


    /*
     * basic example of the assign block vars for the templates
     * This basically will allow you to easily display a block or array of data in a template
     * this is useful for pets such as SQL queries to the database and displaying them in your templates.
     */



// Pull the array data from the lang pack
$switch_column = $found_switch = false;
$help_blocks = array();
foreach ($user->help as $help_ary)
{
	if ($help_ary[0] == '--')
	{
		if ($help_ary[1] == '--')
		{
			$switch_column = true;
			$found_switch = true;
			continue;
		}

		$template->assign_block_vars('faq_block', array(
			'BLOCK_TITLE'		=> $help_ary[1],
			'SWITCH_COLUMN'		=> $switch_column,
		));

		if ($switch_column)
		{
			$switch_column = false;
		}
		continue;
	}

	$template->assign_block_vars('faq_block.faq_row', array(
		'FAQ_QUESTION'		=> $help_ary[0],
		'FAQ_ANSWER'		=> $help_ary[1])
	);
}



// Lets build a page ...
$template->assign_vars(array(
		'L_BACK_TO_TOP'				=> $user->lang['BACK_TO_TOP'],
		'ARCADE_FAQ_TITLE'		=> 'Arcade FAQ',

	'SWITCH_COLUMN_MANUALLY'	=> (!$found_switch) ? true : false,
));

    
    // Page title, this language variable should be defined in the language file you setup at the top of this page.
    page_header($user->lang['MY_TITLE']);



    // Completing the script and displaying the page.
    page_footer();
?>
langauge/en/mods/help_arcade_faq.php

Code: Select all

<?php
/**
*
* help_faq [English]
*
* @package language
* @version $Id$
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
$help = array(
	array(
		0 => '--',
		1 => 'Playing Games'
	),
	array(
		0 => 'Why can’t I play a game/submit a score?',
		1 => 'There are several reasons why this could occur. First, check that you are logged in, as games are not available to guests(or bots). If so, contact the board administrator with the specifics about your problem playing games or submitting a score.'
	),
	
	array(
		0 => 'How do I get points for playing games?',
		1 => 'Points are awarded automatically after you win a high score for a game, with or without submitting a comment beside your score. Certain games may grant more points than others. If you are not receiving points for winning new high scores, please contact the board administrator with the specifics about your problem earning points.'
	),
	array(
		0 => 'Why is (a specific game) not available?',
		1 => 'This site is run on phpbb, and the arcade is run on the arcade game mod for phpbb. That said, only certain games have been created within that mod. Additionally, many games are also protected by copyrights that prevent them from being duplicated on sites other than the original site they were created on.'
	),
	array(
		0 => 'Why are there no new games?',
		1 => 'If a game has been on the site for more than a specific amount of days, it will no longer be considered new.'
	),
	array(
		0 => 'How do I rate/favorite a game?',
		1 => 'At the bottom of the main games page, there is a list of all the games available on the site. Beside them are two icons, a heart outline and 5 star outlines. To rate a game, simply click on the number of stars you think it deserves, and to favorite it, click the heart.'
	),
	array(
		0 => 'How do I play a game in a popup window?',
		1 => 'Scroll down to the bottom of the main games page, and click Play in new window to play a game in a popup window.'
	),
	array(
		0 => 'How do I get a high score?',
		1 => 'You must earn a higher score than the current high score for that game.',
	),
	array(
		0 => 'What are game statistics?',
		1 => 'The arcade records which users have played a game, how many times they have played it, and their total time playing any and all games. If they have a high score, it is also included with their statistics.',
	),
	array(
		0 => 'What can I control on the arcade?',
		1 => 'In your user control panel you can change whether or not to receive a PM with a high score loss, the number of games to show on the front page, how to display the games(alphabetically or otherwise), and your game challenge settings.',
	),
	array(
		0 => 'Where can I suggest a new game or feature for the arcade?',
		1 => 'Contact the board administrator with your request.'
	),
	array(
		0 => 'I have a question that is’nt answered here, where can I get help?',
		1 => 'Contact the board administrator for more help.'
	),
	array(
		0 => '--',
		1 => '--'
	),
	array(
		0 => '--',
		1 => 'Game Challenges'
	),
	array(
		0 => 'What are game challenges?',
		1 => 'Game challenges are a feature that lets you wager your points against another user, based on who wins a particular game. You can set the amount to wager, and challenges can be accepted or declined by the user you challenge. The winner of the game wins the points, which are deducted from the user who lost.'
	),
	array(
		0 => 'How do I enable/disable challenges or challenge messages?',
		1 => 'Challenges are automatically set to enabled when you register. To disable them, go to your user control panel, and then click the Games tab. There you should see a Challenges sidetab on the left, where you can click to Enable or Disable. This is also where you can disable PMs for challenges.'
	),
	array(
		0 => 'What is different about my challenge statistics and my regular arcade statistics?',
		1 => 'Your challenge statistics are unique to the challenge aspect of the arcade. Your overall arcade statistics are not shown on this page, only your challenge statistics. The regular statistics page on the challenge page shows the high scores for all challenges.'
	),
	array(
		0 => 'How can I challenge another user to a particular game?',
		1 => 'On the main challenge page, there is a dropdown list for all the games, friends, and users who are accepting challenges. You can challenge any of these users to a game by selecting it from the dropdown list and submitting your challenge.'
	),
	array(
		0 => 'How do I know if I’ve been challenged?',
		1 => 'Initially, a PM is sent to all users who receive a challenge. If you disable this, you will have to check the challenge page to see whether or not another user has challenged you.'
	),
	array(
		0 => 'How do I refuse a challenge?',
		1 => 'Ignore it for more than a week and it will automatically expire. You will have to manually delete the challenge PM notification message in your inbox though, those are not automatically deleted.'
	),
	array(
		0 => 'Do we have to play the game at the same time during a challenge?',
		1 => 'No. Users can accept a challenge and then wait 6 days before playing a challenge if the want. After that, the challenge will automatically expire.'
	),
);

?>
styles/prosilver/templates/arcade_faq.html

Code: Select all

<!-- INCLUDE overall_header.html -->

<h2>{L_ARCADE_FAQ_HELP}</h2>


<div class="panel bg1" id="faqlinks">
	<div class="inner"><span class="corners-top"><span></span></span>
		<div class="column1">
		<!-- BEGIN faq_block -->
			<!-- IF faq_block.SWITCH_COLUMN or (SWITCH_COLUMN_MANUALLY and faq_block.S_ROW_COUNT == 4) -->
				</div>

				<div class="column2">
			<!-- ENDIF -->

			<dl class="faq">
				<dt><strong>{faq_block.BLOCK_TITLE}</strong></dt>
				<!-- BEGIN faq_row -->
					<dd><a href="#f{faq_block.S_ROW_COUNT}r{faq_block.faq_row.S_ROW_COUNT}">{faq_block.faq_row.FAQ_QUESTION}</a></dd>
				<!-- END faq_row -->
			</dl>
		<!-- END faq_block -->
		</div>
	<span class="corners-bottom"><span></span></span></div>
</div>



<div class="clear"></div>

<!-- BEGIN faq_block -->
	<div class="panel <!-- IF faq_block.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
		<div class="inner"><span class="corners-top"><span></span></span>

		<div class="content">
			<h2>{faq_block.BLOCK_TITLE}</h2>
			<!-- BEGIN faq_row -->
				<dl class="faq">
					<dt id="f{faq_block.S_ROW_COUNT}r{faq_block.faq_row.S_ROW_COUNT}"><strong>{faq_block.faq_row.FAQ_QUESTION}</strong></dt>
					<dd>{faq_block.faq_row.FAQ_ANSWER}</dd>
					<dd><a href="#faqlinks" class="top2">{L_BACK_TO_TOP}</a></dd>
				</dl>
				<!-- IF not faq_block.faq_row.S_LAST_ROW --><hr class="dashed" /><!-- ENDIF -->
			<!-- END faq_row -->
		</div>

		<span class="corners-bottom"><span></span></span></div>
	</div>
<!-- END faq_block -->

<!-- INCLUDE jumpbox.html -->

    
<!-- INCLUDE overall_footer.html -->  
Curious about my work? See it for yourself.
Image
Peter77sx
Registered User
Posts: 3260
Joined: Wed Nov 09, 2005 2:51 pm

Re: [RC] phpBB Arcade 2.0.RC1

Post by Peter77sx »

Someone help me understand the concept of
Restart of the GAME NAME must be confirmed in order to avoid unwanted action.

Is this just incase people use the pop-up and they might actually then click on full page of the same game?

or does it show up because there was recorded visit but no score submitted?


what "un wanted action" specifically?

Thanks
User avatar
KillBill.
Registered User
Posts: 625
Joined: Tue Jun 02, 2009 4:07 pm

Re: [RC] phpBB Arcade 2.0.RC1

Post by KillBill. »

@vipaka:Only the language file you need.

Return to “[3.0.x] Abandoned MODs”