phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
mobile phone mod

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB Forum
::  
Author Message
euroman
PR0
PR0


Joined: 21 Oct 2006
Posts: 81

mobile phone modPosted: Sat Jan 13, 2007 2:21 pm    Post subject: mobile phone mod

I installed this mod http://www.phpbb.com/phpBB/viewtopic.php?t=304949 on my testsite and it works great.

Installation is very easy - you copy a folder to your forum folder and edit two files:

Code:
Step 5:
OPEN
"http://www.yoursite.com/forum/includes/bbcode.php"

FIND

   global $template;
   $tpl_filename = $template->make_filename('bbcode.tpl');
   $tpl = fread(fopen($tpl_filename, 'r'), filesize($tpl_filename));

REPLACE WITH

   global $template, $bbcode_tpl_file;
   if ( !isset($bbcode_tpl_file) )
   {
      $bbcode_tpl_file = "bbcode.tpl";
   }
   $tpl_filename = $template->make_filename($bbcode_tpl_file);
   $tpl = fread(fopen($tpl_filename, 'r'), filesize($tpl_filename));

Step 6:
OPEN
"http://www.yoursite.com/forum/common.php"

FIND

if( $board_config['board_disable'] && !defined("IN_ADMIN") && !defined("IN_LOGIN") )
{
   message_die(GENERAL_MESSAGE, 'Board_disable', 'Information');
}

REPLACE WITH

if( $board_config['board_disable'] && !defined("IN_ADMIN") && !defined("IN_LOGIN") && !defined("MOPHPBB") )
{
   message_die(GENERAL_MESSAGE, 'Board_disable', 'Information');
}



However on my real forum I get a blank screen.

They adress the blank screen issue in their faq:

Quote:
Q: What should I do if I want to use other language than English?

A: By default, MOPHPBB only provides English language interface. If you want use other language, for example Simplified Chinese, you should make a copy of the "lang_english.php" file in "mo/lang" directory, rename it as "lang_chinese_simplified.php", and translate every string in this file into Chinese.

One thing you should take care, for Simplified Chinese, besides translating the string into Chinese, you should also convert the string into UTF-8 format -- my mobile phone and PC WAP/xHTML simulator does not accept gb2312 character set directly, it accepts UTF-8 format of gb2312. I do not know if this step is necessary for other language, because I can not read other language than Chinese and English.

If UTF-8 format is necessary for your language, it would be a great help if you can find a UTF-8 compliance phpBB of your language, so phpBB and MOPHPBB can work on the same language -- UTF-8 format of your language -- when they read to/write from database. Otherwise, you will have to convert either phpBB or MOPHPBB to UTF-8 format by yourself.

If you want to share your conversion experience, or language file(s) with others, please let me know. Thanks in advance.

Q: What should I do when I get a blank page on MOPHPBB interfaces?

A: It happens when your forum default language is not English. See the above question/answer for detailed solution.


Hovever I have tried it - also using english for guests and I still get a blank screen on my real forum.

My testsite and "real" site are very much alike - only difference is mods. My real forum is modded so the problem must lie there...Can any of you from the code see where the problem might bee? - could it be modrewrite?

EDIT: Found another mod which works sort of: http://www.phpbb.com/phpBB/viewtopic.php?t=148148

Its a browse only mod. I can show pages like tihis:
-http://www.mysite/mobil/topics.php?Id=18&
but not like this:
-http://www.mystite/mobil/topics.php?Id=18&start=15 (where my cell phonse says web no server access) - it works allright on the web...
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15131

mobile phone modPosted: Sun Jan 14, 2007 11:49 am    Post subject: Re: mobile phone mod

Yep, these two are interesting.

I think I'll soon work on one or the other SEO wise Wink

The blank screen thing is most likely caused by an obvious error, like paths, and you end up with blank page because error message are turned off on your server.

If you can access error logs, you'll find more details about it.

Double check all config parameters Wink

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB Forum
Page 1 of 1

Navigation Similar Topics

Jump to: