Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke Mods
Author Message
slackervaara
Worker
Worker



Joined: Aug 26, 2007
Posts: 236

PostPosted: Sun Mar 28, 2010 8:45 am Reply with quote

A few members of my PHP-Nuke 7.6 site complains that the forum should be more friendly to surfers with mobile phones. I have read that there are mods available for phpbb to make it more mobile friendly. Have anyone here adapted and made their forum more mobile friendly?
 
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Sun Mar 28, 2010 9:42 pm Reply with quote

I played around with media specific CSS a bit, but don't have a mobile device to test. It would only work for CSS based themes such as RavenIce.. Working on a braille setup atm, however the approach is similar so I'll add this to the list; and your welcome to try it out when it's ready...

Although I'm a little behind right now, and my internet is barely working @ 64k... Sad
Hope to be up-and-running again soon with a new connection, or I may be subject to go crazy Twisted Evil
 
View user's profile Send private message Visit poster's website
slackervaara







PostPosted: Mon Mar 29, 2010 11:50 pm Reply with quote

I have found some info about it. There seems to be a mod phpBBToGo, but it is complex. This might also be an alternative:
http://www.mobileonlinestyle.com/index.php?proj=mophpbb&id=download
 
slackervaara







PostPosted: Thu Apr 01, 2010 12:29 am Reply with quote

I have taken a look at Mobile Online Proxy, which seems easy to install and without modifications of PHP-Nuke itself.

There are two lines in the cfg-file that I find a bit strange:

Code:


// User Agent cookies directory location.  You should set it to somewhere that end users can not access.
define('FLX_UA_COOKIE_DIR', '../../cookies/');

// logs directory location.  You should set it to somewhere that end users can not access.
define('FLX_LOG_DIR', '../../logs');


Should I make directories on my server for cookies and logs? Shall I put full path or only from root?
 
slackervaara







PostPosted: Sun Apr 04, 2010 12:26 am Reply with quote

Mobile Online Proxy will probably not work, as it introduces a new index.php instead of index.php of PHPNuke. In addition it probably will not work with phpBB2, but maybe phpBB3.

phpBBToGo seems more interesting, as it uses phpBB2 and is an addon. No modification of Nuke files is needed. However, modifications of the phpBBToGo is needed to get it to work for PHP-Nuke. Might be something for RavenNuke project to take a look at.
http://www.phpbbhacks.com/download/1843
 
slackervaara







PostPosted: Sun May 02, 2010 9:30 am Reply with quote

I have tried to get phpBBToGo to work under PHP-Nuke:

Changed line 157 in phpbbtogo,php to:

$phpbb_root_path = '../modules/Forums/';

But then I get these error messages, when I try to use the module:

Warning: include(includes/constants.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\nuke\modules\Forums\common.php on line 200

Warning: include() [function.include]: Failed opening 'includes/constants.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\nuke\modules\Forums\common.php on line 200

Warning: include(includes/template.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\nuke\modules\Forums\common.php on line 201

Warning: include() [function.include]: Failed opening 'includes/template.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\nuke\modules\Forums\common.php on line 201

Warning: include(includes/sessions.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\nuke\modules\Forums\common.php on line 202

Warning: include() [function.include]: Failed opening 'includes/sessions.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\nuke\modules\Forums\common.php on line 202

Warning: include(includes/auth.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\nuke\modules\Forums\common.php on line 203

Warning: include() [function.include]: Failed opening 'includes/auth.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\nuke\modules\Forums\common.php on line 203

Warning: include(includes/functions.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\nuke\modules\Forums\common.php on line 204

Warning: include() [function.include]: Failed opening 'includes/functions.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\nuke\modules\Forums\common.php on line 204

Warning: include(db/db.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\nuke\modules\Forums\common.php on line 205

Warning: include() [function.include]: Failed opening 'db/db.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\nuke\modules\Forums\common.php on line 205

Fatal error: Call to undefined function encode_ip() in C:\xampp\htdocs\nuke\modules\Forums\common.php on line 217

common.php starting with line 200:

Code:


   include("includes/constants.php");
    include("includes/template.php");
    include("includes/sessions.php");
    include("includes/auth.php");
    include("includes/functions.php");
    include("db/db.php");


phpbbtogo.php is available here:
http://www.filefactory.com/file/b16g282/n/phpbbtogo.php
 
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Sun May 02, 2010 10:28 am Reply with quote

I use wap-2-go for my sites mobile needs. http://mobile.trickedoutnews.com/ click on the community link for the forums.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
slackervaara







PostPosted: Sun May 02, 2010 10:33 am Reply with quote

Is wap-2-go easy to install?
 
slackervaara







PostPosted: Sun May 02, 2010 10:39 am Reply with quote

If I change common.php to:

Code:


include("../includes/constants.php");
    include("../includes/template.php");
    include("../includes/sessions.php");
    include("../includes/auth.php");
    include("../includes/functions.php");
    include("../db/db.php");


Error messages vanish, but instead I get this error:
Fatal error: Class 'sql_db' not found in C:\xampp\htdocs\nuke\db\db.php on line 90

db.php line 90:
Code:


$db = new sql_db($dbhost, $dbuname, $dbpass, $dbname, false);
 
nuken







PostPosted: Sun May 02, 2010 11:45 am Reply with quote

On a regular phpnuke site it work right out of the box. Just upload and install. On a RavenNuke site, you have to add an extra line in of code in the module. The only other thing I did was add some missing language files and that was it. I also had to modify mine for the NSN GR Downloads I use, if you use standard downloads it does not need any changes.
 
slackervaara







PostPosted: Sun May 02, 2010 12:00 pm Reply with quote

Does login work for members with wap-2-go?
 
nuken







PostPosted: Sun May 02, 2010 12:02 pm Reply with quote

No. His next release is supposed to have the your account working.
 
slackervaara







PostPosted: Fri May 07, 2010 11:01 am Reply with quote

One person told me that only simpler mobile phones have problems with sites and forums. If they change to Opera Mini browser on the phone they can access normally sites and forums. Does anyone know it this is true?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke Mods

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©