We offer outstanding professional Joomla!TM extensions.

Professional Joomla! Extensions

Professional Joomla! Extensions

Forum Blogomunity Joomla Extensions p8pBB bridge MODs Installing phpBB Arcade from JeffRusso.net

Member Login



Community Builder

This module is for demo of CB integration.





Forgot login?
No account yet? Register

Latest Forum Activity

Installing phpBB Arcade from JeffRusso.net

Installing and using phpBB MODs with the bridge.
13 posts • Page 1 of 21, 2

Installing phpBB Arcade from JeffRusso.net

Postby Admin » June 27th, 2009, 8:07 am

Better use PUArcade Joomla extension:
http://www.puarcade.com


Wonderfull MOD, and it is complex to make it work with the bridge, though note that it is still experimental.
Here are the instructions with phpBB installed in /phpBB3 folder and Joomla menu alias 'forums'

1. Install arcade as usual, note that templates should be copied to /styles/jprosilver also.

2. Edit .htaccess and remove the lines:
Code: Select all
RewriteCond %{REQUEST_FILENAME} /phpBB3/index.php
RewriteRule (.*) /forums.html?%{QUERY_STRING} [R=301,L]


after
Code: Select all
RewriteEngine On
add:
Code: Select all
#arcade
RewriteCond %{THE_REQUEST} \/forums\/arcade\.html\?mode\=popup\&g\=
RewriteRule (.*) /phpBB3/arcade.php?%{QUERY_STRING} [R=301,L]

RewriteCond %{THE_REQUEST} mode\=d
RewriteCond %{REQUEST_FILENAME} /phpBB3/arcade.php
RewriteRule (.*) /forums/arcade.html?%{QUERY_STRING} [R=301,L]

RewriteRule ^arcade/(.*)$ /phpBB3/arcade/$1 [L,R=301]

RewriteCond %{THE_REQUEST} \/index\.php\?act\=Arcade
RewriteRule (.*) /forums.html?%{QUERY_STRING} [R=301,L]


Where 'forums' is menu alias and 'phpBB3' is phpBB folder name.

3. Edit /phpBB3/arcade.php, after line
Code: Select all
<?php
add:
Code: Select all
// start Blogomunity bridge fix
if (defined('_JEXEC')) {
global $file_functions, $arcade_cache, $auth_arcade, $arcade, $start, $term, $score, $cash, $game_fav_data;
$document =& JFactory::getDocument();
$document->setBase(JURI::base() . ltrim(PHPBB_ROOT_PATH, './'));
}
// end Blogomunity bridge fix


4. Edit /phpBB3/index.php, after line
Code: Select all
$do = request_var('do','');
add:
Code: Select all
// start Blogomunity bridge fix
global $file_functions, $arcade_cache, $auth_arcade, $arcade, $start, $term, $score, $cash, $game_fav_data;
if ((strtolower(@$_GET['act']) == 'arcade' && strtolower($do) == 'newscore') || (strtolower(@$_GET['autocom']) == 'arcade' && $do != 'verifyscore')) {
   echo '<html><body>';
   echo '<form method="post" action="/forums.html" name="adminForm">';
   foreach($_REQUEST as $key=>$value) {
      echo '<input type="hidden" name="', $key, '" value="', $value, '" />';
   }
   echo '</form>';
   echo '<script type="text/javascript">document.adminForm.submit();</script>';
   echo '</body></html>';
   die;   
}
// end Blogomunity bridge fix


5. Edit /phpBB3/includes/arcade/arcade_play.php, BEFORE line
Code: Select all
switch($mode)
add:
Code: Select all
// start Blogomunity bridge fix
if ($mode == 'play') $game_swf = ltrim($game_swf, '.');
// end Blogomunity bridge fix


6. Edit /phpBB3/styles/JPROSILVER/template/arcade/arcade_play_body.html and change:
Code: Select all
<script type="text/javascript" src="includes/arcade/swfobject.js"></script>

to
Code: Select all
<script type="text/javascript" src="{ROOT_PATH}includes/arcade/swfobject.js"></script>

This string is changed in 2 places here.

7. Edit /phpBB3/includes/arcade/arcade_common.php:
change
Code: Select all
if (defined('IN_ADMIN'))
{
   include($phpbb_root_path . 'includes/acp/auth_arcade.' . $phpEx);
   include($phpbb_root_path . 'includes/arcade/arcade_admin_class.' . $phpEx);
}

to
Code: Select all
//if (defined('IN_ADMIN'))
//{
   include($phpbb_root_path . 'includes/acp/auth_arcade.' . $phpEx);
   include($phpbb_root_path . 'includes/arcade/arcade_admin_class.' . $phpEx);
//}



Should work now!
Let he without sin throw the first stone.
User avatar
Admin
Site Admin
Site Admin
 
Posts: 812
Joined: October 21st, 2008, 5:39 pm
Location: index.php
Name: Administrator
Browser: Chrome

Re: Installing phpBB Arcade from JeffRusso.net

Postby Bomzin » June 27th, 2009, 1:34 pm

Cool maybe I'll give it another go .
User avatar
Bomzin
Rookie
Rookie
 
Posts: 38
Joined: March 4th, 2009, 10:15 pm
Name: Neil
Browser: firefox

Re: Installing phpBB Arcade from JeffRusso.net

Postby djserby » June 27th, 2009, 2:02 pm

Thank you more than you could know.
User avatar
djserby
 
Posts: 3
Joined: June 22nd, 2009, 9:51 pm
Name: Ethan Koerten

Re: Installing phpBB Arcade from JeffRusso.net

Postby Admin » June 28th, 2009, 3:16 am

Please note small code change in p.3 (2 lines of code were added).
Let he without sin throw the first stone.
User avatar
Admin
Site Admin
Site Admin
 
Posts: 812
Joined: October 21st, 2008, 5:39 pm
Location: index.php
Name: Administrator
Browser: Chrome

Re: Installing phpBB Arcade from JeffRusso.net

Postby Admin » June 30th, 2009, 5:08 pm

Changes in 2,4,5.
Let he without sin throw the first stone.
User avatar
Admin
Site Admin
Site Admin
 
Posts: 812
Joined: October 21st, 2008, 5:39 pm
Location: index.php
Name: Administrator
Browser: Chrome

Re: Installing phpBB Arcade from JeffRusso.net

Postby liveunict » December 4th, 2009, 4:40 am

Hello this mod works with phpbb 3.0.6 and new jfusion template and p8pbb 1.3?
User avatar
liveunict
Veteran
Veteran
 
Posts: 63
Joined: July 7th, 2009, 7:24 am
Name: vincenzo

Re: Installing phpBB Arcade from JeffRusso.net

Postby Admin » December 4th, 2009, 3:16 pm

liveunict wrote:Hello this mod works with phpbb 3.0.6 and new jfusion template and p8pbb 1.3?

We didn't test JFusion templates.
Let he without sin throw the first stone.
User avatar
Admin
Site Admin
Site Admin
 
Posts: 812
Joined: October 21st, 2008, 5:39 pm
Location: index.php
Name: Administrator
Browser: Chrome

Re: Installing phpBB Arcade from JeffRusso.net

Postby liveunict » December 5th, 2009, 4:24 am

Admin wrote:
liveunict wrote:Hello this mod works with phpbb 3.0.6 and new jfusion template and p8pbb 1.3?

We didn't test JFusion templates.



Ops sorry I mean jprosilver. :oops:
User avatar
liveunict
Veteran
Veteran
 
Posts: 63
Joined: July 7th, 2009, 7:24 am
Name: vincenzo

Re: Installing phpBB Arcade from JeffRusso.net

Postby Admin » December 6th, 2009, 3:49 am

:)
Should work.
Let he without sin throw the first stone.
User avatar
Admin
Site Admin
Site Admin
 
Posts: 812
Joined: October 21st, 2008, 5:39 pm
Location: index.php
Name: Administrator
Browser: Chrome

Re: Installing phpBB Arcade from JeffRusso.net

Postby hornsphinx » January 23rd, 2011, 2:42 am

Any update for this?

Have tryed above with no luck im using phpBB Arcade 1.0.RC10, with phpBB3 3.0.8

I can get it looking all nice in wrapped mode, it goes pear shaped soon as you submit your score.
The score saves then everything goes massive, comes out of wrapped mode.

Be very greatful for any help or an update
thx daren
hornsphinx
 
Posts: 2
Joined: January 13th, 2011, 4:27 pm
Name: daren stemp

Next

13 posts • Page 1 of 21, 2

Return to MODs

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests

 
Copyright © 2008-2012 Blogomunity.com
Trademarks and tradenames used herein are the property of their respective holders.
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. Blogomunity is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.