[ABD] Arcade Room 0.6.9c

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.
Locked
User avatar
digitalchaos13
Registered User
Posts: 91
Joined: Sun Sep 23, 2007 4:24 pm

Re: [Beta] Arcade Room 0.6.9

Post by digitalchaos13 »

please read previous posts, the like and info is there, just read. :roll:
digifad
Registered User
Posts: 2
Joined: Tue Nov 13, 2007 2:52 pm

search please

Post by digifad »

Please add a search utility to future versions...

I went ahead and put a temporary placeholder on my site. Keep in mind it is a very simple search and has been through limited testing.

Add this after line 27 of arcade_body.html and after line 32 of viewcategory_body.html (both live in ./styles/prosilver/template/)
this just adds the search form to the left nav. if you like, put the form anywhere you want.

Code: Select all

            <div class="panel bg3">
                <div class="inner"><span class="corners-top"><span></span></span>
                    <dl><dt style="text-align:center"><strong>Search Arcade</strong></dt>
                    <dd><hr /></dd></dl>
                    <form action="./arcadesearch.php" method="post" id="searchb">
                        <fieldset>
                            <input name="k" id="k" type="text" maxlength="128" title="Search for keywords" class="inputbox search" value="Search..." onclick="if(this.value=='Search...')this.value='';" onblur="if(this.value=='')this.value='Search...';" /> 					<input class="button2" value="Search" type="submit" />
                        </fieldset>
                    </form>
                <span class="corners-bottom"><span></span></span></div>
            </div>
Then create a file called arcadesearch.php in your forum root.
this is the search results page. it's almost the same thing as viewcategory.php. just modified to look for keywords instead of categories.

Code: Select all

<?php
/** 
*
* @package phpAR
* @version $Id: arcadesearch.php
* @copyright (c) 2007 gfxPros
* @website http://www.gfx-pros.com
* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
*
*/

/**
* @ignore
*/
define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_posting.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
include($phpbb_root_path . 'includes/file_functions.' . $phpEx);

$action	= request_var('action', '');
$game_id = request_var('g', 0);
$offset = request_var('start', 0);
$keyword = utf8_normalize_nfc(request_var('k', '', true));
$keyword = str_replace('Search...', '', $keyword);
$theprintkeyword = str_replace('"', '"', $keyword);
$theprintkeyword = str_replace('>', '>', $theprintkeyword);
$theprintkeyword = str_replace('<', '<', $theprintkeyword);

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('mods/arcade');
$user->setup('posting');
// End session management

// Output page
page_header($user->lang['ARCADE']);

$template->set_filenames(array(
	'body' => 'viewcategory_body.html'
));

// Check if games can be favorited
$sql = 'SELECT COUNT(setting_id) AS row_count FROM ' . AR_SETTINGS_TABLE . ' WHERE setting_id = 5 AND setting_value = 1';
$result = $db->sql_query($sql);
$row_count = (int) $db->sql_fetchfield('row_count');
if ($row_count)
{
	$allow_favorites = true;
}
else
{
	$allow_favorites = false;
}
$db->sql_freeresult($result);

$template->assign_block_vars('navlinks', array(
	'FORUM_NAME'	=> $user->lang['ARCADE'],
	'U_VIEW_FORUM'	=> append_sid("{$phpbb_root_path}arcade.$phpEx", '', true, $user->session_id))
);

if ($keyword!="")
{
	$sql_addition = 'WHERE game_enabled = 1 AND (game_name LIKE "%' . $keyword . '%" OR game_description LIKE "%' . $keyword . '%")';
	$sql_addition_extra = ' WHERE (game_name LIKE "%' . $keyword . '%" OR game_description LIKE "%' . $keyword . '%")';

	$sql = 'SELECT COUNT(game_id) AS row_count FROM ' . AR_GAMES_TABLE . ' WHERE game_enabled = 1 AND (game_name LIKE "%' . $keyword . '%" OR game_description LIKE "%' . $keyword . '%")';
	$result = $db->sql_query($sql);
	$total_games = (int) $db->sql_fetchfield('row_count');

}
else
{
	$sql_addition = 'WHERE game_enabled = 1';

	if ($user->data['user_type'] == USER_FOUNDER)
	{
		// Generate Pagination
		$sql = 'SELECT COUNT(game_id) AS row_count FROM ' . AR_GAMES_TABLE;
		$result = $db->sql_query($sql);
		$total_games = (int) $db->sql_fetchfield('row_count');
	}
	else
	{
		// Generate Pagination
		$sql = 'SELECT COUNT(game_id) AS row_count FROM ' . AR_GAMES_TABLE . ' WHERE game_enabled = 1';
		$result = $db->sql_query($sql);
		$total_games = (int) $db->sql_fetchfield('row_count');
	}

}

$pagination = generate_pagination(append_sid("{$phpbb_root_path}arcadesearch.$phpEx", "k=$keyword", true, $user->session_id), $total_games, 10, $offset);

$template->assign_vars(array(
	'CAT_NUM_GAMES'	=> $total_games,
	'PAGINATION' 	=> $pagination,
	'PAGE_NUMBER' 	=> on_page($total_games, 10, $offset),
));

// Grab game details for category display
$sql = 'SELECT favorite_game
	FROM ' . AR_FAVORITES_TABLE . '
	WHERE favorite_user = ' . $user->data['user_id'];
$result = $db->sql_query($sql);
$count = 1;
while ($row = $db->sql_fetchrow($result))
{
	if ($count < 2)
	{
		$sql_addition2 = 'WHERE game_id = ' . $row['favorite_game'] . ' AND game_enabled = 1';
	}
	else
	{
		$sql_addition2 .= ' OR game_id = ' . $row['favorite_game'] . ' AND game_enabled = 1';
	}
	$count++;
}
$db->sql_freeresult($result);

// Check Favorite games count
$sql = 'SELECT COUNT(game_id) AS row_count FROM ' . AR_GAMES_TABLE . ' ' . $sql_addition2;
$result = $db->sql_query($sql);
$total_games = (int) $db->sql_fetchfield('row_count');
$template->assign_vars(array(
	'L_FAV_GAMES'	=> '(' . $total_games . ')',
	'S_FAVORITES'	=> true
));

// Check if guests can view the arcade
$sql = 'SELECT COUNT(setting_id) AS row_count FROM ' . AR_SETTINGS_TABLE . ' WHERE setting_id = 1 AND setting_value = 1';
$result = $db->sql_query($sql);
$row_count = (int) $db->sql_fetchfield('row_count');
if ($row_count)
{
	$template->assign_vars(array(
			'S_VIEW'		=> true
	));
}
$db->sql_freeresult($result);

if ($user->data['user_type'] == USER_FOUNDER)
{
	// Grab game details for a total count
	$sql = 'SELECT COUNT(game_id) AS row_count FROM ' . AR_GAMES_TABLE;
	$result = $db->sql_query($sql);
	$row_count = (int) $db->sql_fetchfield('row_count');
	if ($row_count > 0)
	{
		$template->assign_vars(array(
			'L_NUM_GAMES'	=> '(' . $row_count . ')',
			'S_ARCADE'		=> true,
			'S_ALL_GAMES'	=> true
		));
	}
	else
	{
		$template->assign_vars(array(
			'S_ARCADE'		=> true,
			'S_ALL_GAMES'	=> false
		));
	}
	$db->sql_freeresult($result);
}
else
{
	// Grab game details for a total count
	$sql = 'SELECT COUNT(game_id) AS row_count FROM ' . AR_GAMES_TABLE . ' WHERE game_enabled = 1';
	$result = $db->sql_query($sql);
	$row_count = (int) $db->sql_fetchfield('row_count');
	if ($row_count > 0)
	{
		$template->assign_vars(array(
			'L_NUM_GAMES'	=> '(' . $row_count . ')',
			'S_ARCADE'		=> true,
			'S_ALL_GAMES'	=> true
		));
	}
	else
	{
		$template->assign_vars(array(
			'S_ARCADE'		=> true,
			'S_ALL_GAMES'	=> false
		));
	}
	$db->sql_freeresult($result);
}

if ($keyword!="")
{
	$row['category_name'] = 'Searching All Games for ' . $theprintkeyword;
}
else
{
	$row['category_name'] = 'All Games';
	$template->assign_vars(array(
		'S_IN_ALL_GAMES'			=> true
	));
}
$template->assign_vars(array(
	'CATEGORY_NAME'		=> $row['category_name'],
	'S_ARCADE'			=> true
));

$template->assign_block_vars('navlinks', array(
	'FORUM_NAME'	=> $row['category_name'],
	'U_VIEW_FORUM'	=> append_sid("{$phpbb_root_path}arcadesearch.$phpEx", 'k=' . $keyword, true, $user->session_id))
);
$db->sql_freeresult($result);

// Grab game details for category display
$sql = 'SELECT category_id, category_name
	FROM ' . AR_CATEGORIES_TABLE . '
	ORDER BY category_name';
$result = $db->sql_query($sql);

while ($row = $db->sql_fetchrow($result))
{
	// Grab game details for a total count for the category
	$sql = 'SELECT COUNT(game_category) AS row_count FROM ' . AR_GAMES_TABLE . ' WHERE game_enabled = 1 AND game_category = ' . $row['category_id'];
	$result2 = $db->sql_query($sql);
	$row_count = (int) $db->sql_fetchfield('row_count');
	$db->sql_freeresult($result2);
	
	// Send vars to template
	$template->assign_block_vars('categoryrow', array(
			'CATEGORY_ID'			=> $row['category_id'],
			'CATEGORY_NAME'			=> $row['category_name'],
			'CATEGORY_COUNT'		=> '(' . $row_count . ')'
	));
}
$db->sql_freeresult($result);

// Check if guests can view the arcade
$sql = 'SELECT COUNT(setting_id) AS row_count FROM ' . AR_SETTINGS_TABLE . ' WHERE setting_id = 1 AND setting_value = 1';
$result = $db->sql_query($sql);
$row_count = (int) $db->sql_fetchfield('row_count');
if ($row_count)
{
	$template->assign_vars(array(
			'S_VIEW'		=> true
	));
}
if ($user->data['user_id'] != ANONYMOUS)
{
	$template->assign_vars(array(
			'S_VIEW'		=> true
	));
}
$db->sql_freeresult($result);

// Grab game details for game display based on date added
$sql = 'SELECT *
	FROM ' . AR_GAMES_TABLE . '
	' . $sql_addition . '
	ORDER BY game_id DESC
	LIMIT 3';
$result = $db->sql_query($sql);

while ($row = $db->sql_fetchrow($result))
{
	if ($row['game_rating'] >  0)
	{
		$rstars = "<img src='$phpbb_root_path/arcade/images/star_" . $row['game_rating'] . ".gif' alt='" . $row['game_rating'] . "' />";
	}
	else
	{
		$rstars = "<img src='$phpbb_root_path/arcade/images/star.gif' alt='0' />";
	}
	// Send vars to template
	$template->assign_block_vars('latestrow', array(
			'GAME_ID'			=> $row['game_id'],
			'GAME_NAME'			=> $row['game_name'],
			'GAME_IMAGE'		=> $row['game_image'],
			'GAME_PLAYS'		=> $row['game_plays'],
			'GAME_RATING'		=> $rstars,
			'GAME_NUM_RATINGS'	=> $row['game_num_ratings'],
			'GAME_SIZE'			=> get_file_size("arcade/" . $row['game_filename'])
	));
}
$db->sql_freeresult($result);

// Grab game details for game display based on plays
$sql = 'SELECT *
	FROM ' . AR_GAMES_TABLE . '
	' . $sql_addition . '
	ORDER BY game_plays DESC
	LIMIT 3';
$result = $db->sql_query($sql);

while ($row = $db->sql_fetchrow($result))
{
	if ($row['game_rating'] >  0)
	{
		$rstars = "<img src='$phpbb_root_path/arcade/images/star_" . $row['game_rating'] . ".gif' alt='" . $row['game_rating'] . "' />";
	}
	else
	{
		$rstars = "<img src='$phpbb_root_path/arcade/images/star.gif' alt='0' />";
	}
	// Send vars to template
	$template->assign_block_vars('playedrow', array(
			'GAME_ID'			=> $row['game_id'],
			'GAME_NAME'			=> $row['game_name'],
			'GAME_IMAGE'		=> $row['game_image'],
			'GAME_PLAYS'		=> $row['game_plays'],
			'GAME_RATING'		=> $rstars,
			'GAME_NUM_RATINGS'	=> $row['game_num_ratings'],
			'GAME_SIZE'			=> get_file_size("arcade/" . $row['game_filename'])
	));
}
$db->sql_freeresult($result);

// Grab game details for game display based on rating
$sql = 'SELECT *
	FROM ' . AR_GAMES_TABLE . '
	' . $sql_addition . '
	ORDER BY game_rating DESC, game_num_ratings DESC
	LIMIT 3';
$result = $db->sql_query($sql);

while ($row = $db->sql_fetchrow($result))
{
	if ($row['game_rating'] >  0)
	{
		$rstars = "<img src='$phpbb_root_path/arcade/images/star_" . $row['game_rating'] . ".gif' alt='" . $row['game_rating'] . "' />";
	}
	else
	{
		$rstars = "<img src='$phpbb_root_path/arcade/images/star.gif' alt='0' />";
	}
	// Send vars to template
	$template->assign_block_vars('ratingrow', array(
			'GAME_ID'			=> $row['game_id'],
			'GAME_NAME'			=> $row['game_name'],
			'GAME_IMAGE'		=> $row['game_image'],
			'GAME_PLAYS'		=> $row['game_plays'],
			'GAME_RATING'		=> $rstars,
			'GAME_NUM_RATINGS'	=> $row['game_num_ratings'],
			'GAME_SIZE'			=> get_file_size("arcade/" . $row['game_filename'])
	));
}
$db->sql_freeresult($result);

// Grab game details for game display of games in the category
if ($user->data['user_type'] == USER_FOUNDER && $keyword == "")
{
	$sql = 'SELECT *
		FROM ' . AR_GAMES_TABLE . $sql_addition_extra . '
		ORDER BY game_name
		LIMIT ' . $offset . ',10';
	$result = $db->sql_query($sql);
}
else
{
	$sql = 'SELECT *
		FROM ' . AR_GAMES_TABLE . '
		' . $sql_addition . '
		ORDER BY game_name
		LIMIT ' . $offset . ',10';
	$result = $db->sql_query($sql);
}
while ($row = $db->sql_fetchrow($result))
{
	if ($row['game_rating'] >  0)
	{
		$rstars = "<img src='$phpbb_root_path/arcade/images/star_" . $row['game_rating'] . ".gif' alt='" . $row['game_rating'] . "' />";
	}
	else
	{
		$rstars = "<img src='$phpbb_root_path/arcade/images/star.gif' alt='0' />";
	}
	
	// Check if game can be has reverse scoring
	$sql = 'SELECT COUNT(game_id) AS row_count FROM ' . AR_GAMES_TABLE . ' WHERE game_id = ' . $row['game_id'] . ' AND game_rev_score = 1';
	$result3 = $db->sql_query($sql);
	$row_count = (int) $db->sql_fetchfield('row_count');
	if ($row_count)
	{
		$rev_scoring = 'ASC';
	}
	else
	{
		$rev_scoring = 'DESC';
	}
	$username = '';
	// Get highest score for game
	$sql = 'SELECT highscore_user, highscore
		FROM ' . AR_HIGHSCORES_TABLE . '
		WHERE highscore_game = ' . $row['game_id'] . '
		ORDER BY highscore ' . $rev_scoring;
	$result2 = $db->sql_query($sql);
	$row2 = $db->sql_fetchrow($result2);
	$highest_score = str_replace('.0', '', $row2['highscore']);
	$highest_score_user = $row2['highscore_user'];
	$db->sql_freeresult($result2);
	if ($highest_score)
	{
		// Grab game details for a total count for the category
		$sql = 'SELECT username, user_colour
			FROM ' . USERS_TABLE . '
			WHERE user_id = ' . (int) $highest_score_user;
		$result2 = $db->sql_query($sql);
		$row2 = $db->sql_fetchrow($result2);
		$username = ' - ' . get_username_string('full', $highest_score_user, $row2['username'], $row2['user_colour'], $row2['username']);
		$db->sql_freeresult($result3);
	}
	if ($highest_score == 0)
	{
		$highest_score = '-';
	}
	if ($row['game_enabled'] == 0)
	{
		$disabled = true;
	}
	else
	{
		$disabled = false;
	}
	
	// Send vars to template
	$template->assign_block_vars('gamerow', array(
			'GAME_ID'			=> $row['game_id'],
			'GAME_NAME'			=> $row['game_name'],
			'GAME_DESC'			=> $row['game_description'],
			'GAME_IMAGE'		=> $row['game_image'],
			'GAME_PLAYS'		=> $row['game_plays'],
			'GAME_RATING'		=> $rstars,
			'GAME_NUM_RATINGS'	=> $row['game_num_ratings'],
			'GAME_SIZE'			=> get_file_size("arcade/" . $row['game_filename']),
			'GAME_HIGH_SCORE'	=> $highest_score . $username,
			'S_DISABLED'		=> $disabled
	));
}
$db->sql_freeresult($result);

page_footer();

?>
User avatar
kateland
Registered User
Posts: 198
Joined: Wed Nov 22, 2006 7:08 pm
Location: Philadelphia, PA
Contact:

Re: [Beta] Arcade Room 0.6.9

Post by kateland »

Hire wrote:So.. How can I fix it? Where I need to put this ++ on viewtopic?
http://gleasonator.com/patrikstar/phpBB ... hp?f=2&t=5
here's your love letter
you bloodletter
you disappointed every time
hoaXter
Registered User
Posts: 24
Joined: Fri Jul 20, 2007 6:52 pm

Re: [Beta] Arcade Room 0.6.9

Post by hoaXter »

I have a problem, if you look in the Arcade people have trophies but when you go and look at their profiles they have 0 next to the 3 trophies even though the arcade says they have trophies...any ideas?
UrbanWasteland[DOT]net
More Than Just Entertainment
User avatar
digitalchaos13
Registered User
Posts: 91
Joined: Sun Sep 23, 2007 4:24 pm

Re: [Beta] Arcade Room 0.6.9

Post by digitalchaos13 »

hoaXter wrote:I have a problem, if you look in the Arcade people have trophies but when you go and look at their profiles they have 0 next to the 3 trophies even though the arcade says they have trophies...any ideas?
please read previous posts. this has been answered several times!
hoaXter
Registered User
Posts: 24
Joined: Fri Jul 20, 2007 6:52 pm

Re: [Beta] Arcade Room 0.6.9

Post by hoaXter »

Well...thx, I am glad you took the time to help me out. :roll:
UrbanWasteland[DOT]net
More Than Just Entertainment
AngelMike
Registered User
Posts: 150
Joined: Fri Jan 27, 2006 9:28 pm
Location: The Netherlands, Holland
Contact:

Re: [Beta] Arcade Room 0.6.9

Post by AngelMike »

Hi,

I Installed Arcade room 0.6.9
On my forum, 3.0 RC7


Highscores -Uitgeschakeld

Recent Wins -Uitgeschakeld

Uitgeschakelt, means its deactivated.
how can i activate this?
and where to download the games?
Last edited by AngelMike on Sun Nov 18, 2007 12:59 am, edited 2 times in total.
AngelMike
Registered User
Posts: 150
Joined: Fri Jan 27, 2006 9:28 pm
Location: The Netherlands, Holland
Contact:

Re: [Beta] Arcade Room 0.6.9

Post by AngelMike »

this is fixed.

btw you knwo what would be cool.
If you could import games tru an url.
Cus there a lot of fun games out there wich arent downloadable.
deathmaker
Registered User
Posts: 20
Joined: Tue Jun 15, 2004 4:36 pm
Location: Indiana
Contact:

Re: [Beta] Arcade Room 0.6.9

Post by deathmaker »

NO GUEST ACCESS:

This is a small modification that will change the message for guest that access your Arcade Room when you have guest access disabled in the ACP.
I am sure there is a more simple way to do this but it worked good for me and the acrade mod is great.

Files to edit:arcade_body.html

Files included:0

Note:
You can modifiy the wording within the fileds sections to whatever you want.


As always before you begin any modifications make a backup of all files that are to be changed.

Open:phpbb3/styles/yourtemplate/arcade_body.html

Find:

Code: Select all

<h2>{L_ARCADE} {L_AR_VERSION}</h2>
    <p>{L_GUEST}</p>
Replace with:

Code: Select all

<h2>Sorry the "Arcade Room" is restricked to members only</h2>
    <p>The administrators of this website has chosen not to allow guest access to the arcade section, if you would like to become a member and have full access to the arcade section and much more then please use the register link below.
IT IS FREE
If you are already a registered member then Please login before trying to access the arcade room.
Thank you.
</p><br /><center>
<a class="gensmall" href="{U_REGISTER}">Click Here To Register</a></center>
<br />
DEMO:http://ndpclan.com/ndpmain/ndpforums/arcade.php
User avatar
nedka
Registered User
Posts: 162
Joined: Tue Jun 28, 2005 8:55 am
Location: Ho Chi Minh City
Name: Khoa Nguyen

Re: [Beta] Arcade Room 0.6.9

Post by nedka »

AngelMike wrote:and where to download the games?
Hi, there have 101 games for Arcade Room are waiting for you... :D
http://vinabb.com/viewforum.php?f=105
VinaBB - Republic of phpBB
User avatar
digitalchaos13
Registered User
Posts: 91
Joined: Sun Sep 23, 2007 4:24 pm

Re: [Beta] Arcade Room 0.6.9

Post by digitalchaos13 »

Has anyone had any luck trying to get the pnFlashgames or the iBPArcade games to work on this arcade?
zachpl
Registered User
Posts: 175
Joined: Wed Nov 15, 2006 2:40 am

Re: [Beta] Arcade Room 0.6.9

Post by zachpl »

Patrik has said this will probably be in a upcoming update.
AngelMike
Registered User
Posts: 150
Joined: Fri Jan 27, 2006 9:28 pm
Location: The Netherlands, Holland
Contact:

Re: [Beta] Arcade Room 0.6.9

Post by AngelMike »

nedka wrote:
AngelMike wrote:and where to download the games?
Hi, there have 101 games for Arcade Room are waiting for you... :D
http://vinabb.com/viewforum.php?f=105

thnx man!
now just one problem, how to enable high scores :S
Cus it still say its disabled :S
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: [Beta] Arcade Room 0.6.9

Post by ChriZathens »

deathmaker wrote: Open:phpbb3/styles/yourtemplate/arcade_body.html

Find:

Code: Select all

<h2>{L_ARCADE} {L_AR_VERSION}</h2>
    <p>{L_GUEST}</p>
Replace with:

Code: Select all

<h2>Sorry the "Arcade Room" is restricked to members only</h2>
    <p>The administrators of this website has chosen not to allow guest access to the arcade section, if you would like to become a member and have full access to the arcade section and much more then please use the register link below.
IT IS FREE
If you are already a registered member then Please login before trying to access the arcade room.
Thank you.
</p><br /><center>
<a class="gensmall" href="{U_REGISTER}">Click Here To Register</a></center>
<br />
DEMO:http://ndpclan.com/ndpmain/ndpforums/arcade.php
Nice try, man !!! :D

One suggestion (alternation, to be honest):
Open:phpbb3/styles/yourtemplate/arcade_body.html

Find:

Code: Select all

<h2>{L_ARCADE} {L_AR_VERSION}</h2>
    <p>{L_GUEST}</p>
Replace with:

Code: Select all

<h2>{L_ARCADE_NO_GUESTS}</h2>
    <p>{L_ARCADE_NO_GUESTS_EXPLAIN}</p><br />
<center><a class="gensmall" href="{U_REGISTER}">{L_ARCADE_REGISTER}</a></center>
<br />
Open : language/yourlanguage/common.php

Find:

Code: Select all

	'AND'							=> 'And',
After, add

Code: Select all

'ARCADE_NO_GUESTS'                                =>'Sorry the Arcade Room is restricted to members only',
'ARCADE_NO_GUESTS_EXPLAIN'                  =>' The administrators of this website has chosen not to allow guest access to the arcade section, if you would like to become a member and have full access to the arcade section and much more then please use the register link below.<br />IT IS FREE<br />If you are already a registered member then Please login before trying to access the arcade room.<br />
Thank you.',
'ARCADE_REGISTER'                                  =>'Click Here To Register',
This way the message won't be hardcoded, thus customisable for any language you are using.. ;)

I have a little something with multilingual stuff :D

P.S.: I haven't tested the stuff I posted
P.S2: Instead of common.php you can use the language file of the arcade mod...
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
User avatar
SlAiD
Registered User
Posts: 104
Joined: Sun Aug 03, 2003 6:18 pm
Location: Lisbon - Portugal
Contact:

Re: [Beta] Arcade Room 0.6.9

Post by SlAiD »

Any ETA to let us install it on other styles?
Can we try with the manual changes or it will not work at all?


SL
Locked

Return to “[3.0.x] Abandoned MODs”