Уважаемые пользователи!
C 7 ноября 2020 года phpBB Group прекратила выпуск обновлений и завершила дальнейшее развитие phpBB версии 3.2.
С 1 августа 2024 года phpBB Group прекращает поддержку phpBB 3.2 на официальном сайте.
Сайт официальной русской поддержки phpBB Guru продолжит поддержку phpBB 3.2 до 31 декабря 2024 года.
С учетом этого, настоятельно рекомендуется обновить конференции до версии 3.3.

Локализация phpBBToGo

Ответы на вопросы, связанные с локализацией модов для phpBB 2.0.x
Erlang
phpBB 2.0.15
Сообщения: 1033
Стаж: 19 лет 8 месяцев
Откуда: Москва
Благодарил (а): 293 раза
Поблагодарили: 6 раз
Контактная информация:

Локализация phpBBToGo

Сообщение Erlang »

Интересует локализация МОДа phpBBToGo, точнее файла phpbbtogo.php
С уважением,
Сергей
Iftin
phpBB 2.0.7
Сообщения: 573
Стаж: 18 лет 10 месяцев
Откуда: Moscow
Контактная информация:

Сообщение Iftin »

а что за мод, где скачать его и посмотреть?
ты бы файл выложил.... где мы тебе мод этот найдём!
Erlang
phpBB 2.0.15
Сообщения: 1033
Стаж: 19 лет 8 месяцев
Откуда: Москва
Благодарил (а): 293 раза
Поблагодарили: 6 раз
Контактная информация:

Сообщение Erlang »

Где качал - не помню.

Мод выложил: http://electrosviaz.com/forum/phpBBToGo1.2.2.zip

Реализация: http://electrosviaz.com/phpBBToGo/forums.php
С уважением,
Сергей
Iftin
phpBB 2.0.7
Сообщения: 573
Стаж: 18 лет 10 месяцев
Откуда: Moscow
Контактная информация:

Сообщение Iftin »

ща гляну

Добавлено спустя 29 минут 45 секунд:

phpbbtogo.php документ октрой и вооружись переводчиком и словарём и тогда поймёшь для чего этот мод. Насколько я понял бегло, это мод для вывода информации для мобильников.
Erlang
phpBB 2.0.15
Сообщения: 1033
Стаж: 19 лет 8 месяцев
Откуда: Москва
Благодарил (а): 293 раза
Поблагодарили: 6 раз
Контактная информация:

Сообщение Erlang »

Iftin
в этом файле очень много настроек. Не все понятно.
С уважением,
Сергей
Iftin
phpBB 2.0.7
Сообщения: 573
Стаж: 18 лет 10 месяцев
Откуда: Moscow
Контактная информация:

Сообщение Iftin »

да согласен... там куча настроек для мобильников. Например обрезание текста я там мельком видел под стандарт 150 знаков... но я знаю англ. алфавита 150 можно, а как с русским интеренсо по 70 рубить....
Надо в нём разбираться...

Люди посмотрите документ ,может подскажите нам, что и как лучше с переводом :))


Код: Выделить всё

<?php
############################################################## 
## MOD Title: phpBBToGo 
## MOD Author: timconstan <tim@togoslo.com> (Tim Constantine) http://www.togosolo.com
## MOD Description: 
## 	phpBBToGo is a phpBB mod that lets phpBB web sites display phpBB forums, 
## 		in a mobile web-site friendly format.
## 	It's a turnkey solution for transforming phpBB into a highly customizable, 
## 		mobile web portal.
## 	phpBBToGo will allow your phpBB community members to view your phpBB 
## 		content anytime/anywhere - even without a mobile internet connection!
##
## MOD Version: 1.2.1
## 
## Installation Level: easy 
## Installation Time: 5 Minutes 
## Files To Edit: phpbbtogo.php
## Included Files: phpbbtogo.php, forums.php, topics.php, 
##		thread.php, install.txt
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/ 
############################################################## 
## Author Notes: 
##
## FEATURES
## 	To name some of the features:
## 
## 	- displays topic title, post text and much more
## 	- select which forum(s) to display
## 	- uses phpBB smilies, bbcode and censored words
## 	- display a post on single page, or can span pages
## 	- optionally fetches posts between two dates
## 	- optionally trims postings after a given character 
## 		combination or a specific post length
## 	- can show, or hide, certain types of posts (like Normal, 
## 		Sticky, Announcements, Locked, & Moved)
## 	- show, or hide, poll results
## 	- customize page headers and footers 
## 	- optionally shows a built-in navigation bar
## 	- optionally shows user names and/or ranks
## 	- optionally shows post dates and/or times
## 	- displays topics sorted by date or subject
## 	- optionally fetches replies
## 	- optionally uses span pages
## 	- full control over all options
## 
## REQUIREMENTS
## 	This mod requires phpBB version 2.0.0 or above.
## 
## INSTALLATION
## 	See install.txt
## 
## OPTIONS
## 	MANY more options are documented in phpbbtogo.php.
## 
## SUPPORT
## 	Please visit the support and development forums at
## 
## 		http://phpBBToGo.ToGoSolo.com
## 
## FILE DESCRIPTIONS
##  install.txt
##		installation information
##
## 	phpbbtogo.php
## 		the core file
## 
## 	forums.php
## 		display list of forums
## 
## 	topics.php
## 		display list of topics
## 
## 	thread.php
## 		display topic thread
## 
## CREDITS
## 	phpBBToGo is based, in part, on phpbb_fetch_posts 
## 	by Ca5ey <ca5ey@clanunity.net> Volker Rattel
## 	http://clanunity.net
############################################################## 
## MOD History: 
## 1.0.0
## 		- Initial relase.  
##		- Not an official mod.
## 
## 1.1.0 (not released)
## 		- Uses this standard header
##		- Uses language file for internationalization
##		- Includes phpBB copyright meta tag
##
## 1.1.5
##		- ReadMe.txt file incorporated into this header area
##		- Fully utilizes phpBB DBAL for cross-database capability
##		- Fixes a display bug in forums.php when using bullets
##		- Fixes a display bug in topics.php when using bullets
##
## 1.1.6
##		- Created install.txt (no programming changes)
##
## 1.1.8
##		- Fixed a bug that was preventing mobilizing only 1
## 		  with a forum id other than "1"
##		- Added option to sort by date of last post
##		  Note: $CFG['sort_topics_alpha'] is now $CFG['sort_topics']
##
## 1.2.0
##      - Added default footer text
##		- Changed default $CFG['number_of_posts'] = 15; (was 10)
##		- Fixed a bug that was making the system ignore these settings:
##			- $CFG['show_author_on_topics'] = 0;
##			- $CFG['show_date_on_topics'] = 0;
##			- $CFG['show_time_on_topics'] = 0;
##
## 1.2.1
##      - Fixed a bug that was preventing posts from showing, under
##			certain conditions.
##
## 1.2.2
##      - Fixed a bug that was preventing smilies from showing, under
##			certain conditions.
##		- Standardized on $HTTP_GET_VARS[]; rather than _GET[];
##
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

//
// Configuration
// --------------------------------------------------------------
// Be sure to edit these options.
//

//
// The array of furums to show
//

$CFG['mobile_forums'] = array(1,2);

//
// This path points to the directory where phpBB is installed. Do
// not enter an URL here. The path must end with a trailing
// slash.
//
// Examples:
// forum in /aaa/bbb/ccc/ and script in /aaa/bbb/ccc/
// --> $phpbb_root_path = './';
// forum in /aaa/bbb/ccc/ and script in /aaa/bbb/
// --> $phpbb_root_path = './ccc/';
// forum in /aaa/bbb/ccc/ and script in /aaa/bbb/ddd/
// --> $phpbb_root_path = '../ccc/';
//

$phpbb_root_path = '../phpBB2/';

//
// This setting is needed to make the smilies work properly.
// Enter the URL to your smilie directory without a trailing
// slash. If your smilies are in
// 'http://www.foobar.com/phpBB2/images/smiles' the correct path
// should be '/phpBB2/images/smiles'.
//

$CFG['smilie_url'] = '/phpBB2/images/smiles';

//
// The title of the mobile forums pages
//

$CFG['mobile_title'] = 'phpBBToGo';

//
// Use this option to show additional text at the top of the
// first Mobile Forums page.
//

$CFG['first_page_header'] = '';

//
// Use this option to show additional text at the bottom of the
// first Mobile Forums page.  Although not required, please consider
// leaving this text as-is, or simply adding to it.
//

$CFG['first_page_footer'] = 'Create your own mobile web site at www.togosolo.com!';

//
// Use this option to show additional text at the top of the
// each additional Mobile Forums page.
//

$CFG['next_page_header'] = '';

//
// Use this option to show additional text at the bottom of the
// each additional Mobile Forums page.  Although not required, please consider
// leaving this text as-is, or simply adding to it.
//

$CFG['next_page_footer'] = 'Create your own mobile web site at www.togosolo.com!';

//
// Show the date & time the user last updated 
// the forums on the mobile device.
// Useful if the user "syncs" to get content.
// 0 = disabled
//

$CFG['date_time_on_forum'] = 1;

//
// This lets you specify the date format in the output.
// See http://www.php.net/date for a reference.
//

$CFG['date_format'] = 'm/d';

//
// This lets you specify the time format in the output.
// See http://www.php.net/date for a reference.
//

$CFG['time_format'] = 'h:i A';

//
// Display normal postings?
//

$CFG['show_normal'] = 1;

//
// Display sticky topics?
// 0 = no, 1 = yes
//

$CFG['show_sticky'] = 0;

//
// Display announcement topics?
// 0 = no, 1 = yes
//

$CFG['show_announcement'] = 1;

//
// Display locked topics?
// 0 = no, 1 = yes
//

$CFG['show_locked'] = 1;

//
// Display moved topics (moved with shadow)?
// 0 = no, 1 = yes
//

$CFG['show_moved'] = 1;

//
// Display polls?
// 0 = no, 1 = yes
// 

$CFG['show_poll'] = 1;
$CFG['poll_footer'] = '';

//
// Show category names on list of forums
// 0 = disabled
//

$CFG['category_names'] = 1;

//
// Bullet list of forums
// 0 = disabled
//

$CFG['bullet_forums_list'] = 1;

//
// Bullet list of topics
// 0 = disabled
//

$CFG['bullet_topics'] = 1;

//
// If set, this will show the user name of the author
// on your mobile pages.
// 0 = Don't show
//

$CFG['show_author_on_topics'] = 0;
$CFG['show_author_on_thread'] = 1;

//
// If set, this will show the date posted
// on your mobile pages.
// 0 = Don't show
//

$CFG['show_date_on_topics'] = 0;
$CFG['show_date_on_thread'] = 1;

//
// If set, this will show the time posted
// on your mobile pages.
// 0 = Don't show
//

$CFG['show_time_on_topics'] = 0;
$CFG['show_time_on_thread'] = 1;

//
// If set, this will show the number of comments 
// on the list of topics page.
// 0 = Don't show
//

$CFG['show_comments'] = 1;

//
// Fetch user rank title
//
// IMPORTANT:
//
// THIS WILL ONLY WORK IF EVERY USER FROM THE FETCHED POSTINGS
// HAS A VALID RANK. OTHERWISE THE POSTING WILL NOT BEEN FETCHED.
//
// 0 = no, 1 = yes
//

$CFG['show_ranks'] = 0;

//
// The next several options relate to a "Navigation Bar" that
// can be shown on all pages.
//

//
// If set, this will show the "Navigation Bar"
// on your mobile pages.
// 0 = Don't show
// 1 = Show
//

$CFG['show_nav_bar'] = 0;

//
// This will set the page alignment for the "Navigation Bar"
// on your mobile pages.
// 'left' = align left
// 'center' = align center
// 'right' = align right
//

$CFG['nav_bar_alignment'] = 'right';

//
// These settings can optionally provide a link back to
// your mobile version "Home Page" on the Navigation Bar.
// '' = No link back to a home page
//

$CFG['mobile_home_page_path'] = '';
$CFG['mobile_home_page_title'] = '';

//
// If the list of forums IS your mobile "Home Page"
// indicate that here, and rename forums.php to index.php.
// 0 = the list of forums is NOT your mobile "Home Page"
// 1 = the list of forums IS your mobile "Home Page"
//

$CFG['forums_is_index'] = 1;

//
// If there is only 1 forum, and the list of 
// topics for that forum IS your mobile "Home Page"
// indicate that here, and rename topics.php to index.php.
// 0 = the list of topics is NOT your mobile "Home Page"
// 1 = the list of topics IS your mobile "Home Page"
//

$CFG['topics_is_index'] = 0;

//
// Specify the amount of posts which will be fetched.
// Setting this to 0 will fetch all postings from a forum.
// If you are using span pages this value will determine the
// number of posts per page.
//

$CFG['number_of_posts'] = 15;

//
// If you are using "span_pages_thread" this value will determine the
// number of replies to display per page.
// Use in conjunction with "span_pages_thread".
//

$CFG['number_of_posts_thread'] = 10;

//
// Turn this on if you want to use the span pages feature
// in the list of topics within a forum.
// 0 = off, 1 = on
//

$CFG['span_pages'] = 1;

//
// Turn this on if you want to use the span pages feature
// in the list of replies within a topic.
// 0 = off, 1 = on
//

$CFG['span_pages_thread'] = 1;

//
// If set, this will cut off a posting text after the given
// character combination. Setting this to '<br />' will trim all
// postings after a linebreak. Trimming a posting can result in
// messing up the output if it cuts in the middle of a HTML tag.
// '' = disabled
//

$CFG['trim_character'] = '';

//
// If set, this will cut off the posting text shown
// on the list of topics page after the given
// character combination. Setting this to '<br />' will trim 
// posting after a linebreak. Trimming a posting can result in
// messing up the output if it cuts in the middle of a HTML tag.
// Use in conjunction with 'show_text_on_topics'.
// '' = disabled
//

$CFG['trim_for_topics_character'] = '';

//
// If set, this will cut off a posting text after the given
// number of characters. Setting this to '150' will therefor cut
// off the text after '150' characters. Trimming a posting can
// result in messing up your output if it cuts in the middle of
// a HTML tag. It is recommended for plain text postings only.
// Note: 'trim_number' comes after 'trim_character'. This means
// that the script will first trim for a character combination
// and then for the character amount. You should only use one of
// these methods at time.
// 0 = disabled
//

$CFG['trim_number'] = 0;

//
// If set, this will cut off a topic title after the given
// number of characters.
// 0 = disabled
//

$CFG['topic_trim_number'] = 0;

//
// If set this value determines the time a postings must have to
// be fetched. Setting this to
// $CFG['date_offset_start'] = time() - (14 * 24 * 60 * 60);
// all postings from the last 14 days will be fetched. You can
// combine this with the next CFG option to define a period. The
// start value has to be smaller than the end value:
// PAST (start) --> NOW (end)
//

$CFG['date_offset_start'] = '';

//
// If set this value determines the end period. Setting this to
// $CFG['date_offset_end'] = time() - (7 * 24 * 60 * 60);
// only postings older than seven days will be fetched.
// The default value for this option is
// $CFG['date_offset_end'] = time();
// to prevent (corrupt) postings with a future date from being
// fetched.
//

$CFG['date_offset_end'] = time();

//
// You can specify arbitrary search patterns like
// $CFG['search_string'] = 'pt.post_text LIKE \'%foobar%\'';
// which would only fetch posts which post text contains the word
// foobar. Be sure to escape single colons!
//
// SECURITY NOTE:
//
// CHOOSING WRONG STATEMENTS CAN TAKE DOWN YOUR DATABASE SERVER.
// IF YOU ARE USING THIS FEATURE BE 100% SURE WHAT YOU ARE DOING.
//

$CFG['search_string'] = '';

//
// If set, this will show text from the
// first post on the list of topics page.
// 0 = Don't show
//

$CFG['show_text_on_topics'] = 0;

//
// If set, this will cut off the posting text shown
// on the list of topics page after the given
// number of characters. Setting this to '150' will therefor cut
// off the text after '150' characters. Trimming a posting can
// result in messing up your output if it cuts in the middle of
// a HTML tag. It is recommended for plain text postings only.
// Note: 'trim_for_topics_number' comes after 'trim_for_topics_character'. This means
// that the script will first trim for a character combination
// and then for the character amount. You should only use one of
// these methods at time.
// Use in conjunction with 'show_text_on_topics'.
// 0 = disabled
//

$CFG['trim_for_topics_number'] = 0;

//
// Use this option if you do not wish to show
// replies to a topic on your mobile web site.
// Use in conjunction with 'show_text_on_topics'.
// 0 = disabled
//

$CFG['no_thread'] = 0;

//
// Sort topics alphabetically, rather than by date posted
// 0 = by date of first post
// 1 = alphabetically
// 2 = by date of post or latest reply (phpBB style)
//

$CFG['sort_topics'] = 0;

//
// Sort thread alphabetically, rather than by date posted
// 0 = disabled
//

$CFG['sort_thread_alpha'] = 0;

//
// Turn this on to close the DB connection after the posts have
// been fetched. If you are using the phpBB templates then phpBB
// will close the connection by itself.
// 0 = do not close DB connection, 1 = close DB connection
//

$CFG['close_db'] = 1;

//
// If turned on the script will check if a user has the
// permissions to view the fetched topics. This could result in
// an empty query result so be sure to check if the result
// contains values before you output everything.
// 0 = off, 1 = on
//

$CFG['use_auth'] = 0;

//
// NO CHANGES ARE NEEDED BELOW
//
Erlang
phpBB 2.0.15
Сообщения: 1033
Стаж: 19 лет 8 месяцев
Откуда: Москва
Благодарил (а): 293 раза
Поблагодарили: 6 раз
Контактная информация:

Сообщение Erlang »

Сайт разработчика: www.togosolo.com
С уважением,
Сергей
Erlang
phpBB 2.0.15
Сообщения: 1033
Стаж: 19 лет 8 месяцев
Откуда: Москва
Благодарил (а): 293 раза
Поблагодарили: 6 раз
Контактная информация:

Сообщение Erlang »

Так все и умерло? :cry:
С уважением,
Сергей
Erlang
phpBB 2.0.15
Сообщения: 1033
Стаж: 19 лет 8 месяцев
Откуда: Москва
Благодарил (а): 293 раза
Поблагодарили: 6 раз
Контактная информация:

Сообщение Erlang »

И тишина...
С уважением,
Сергей
Аватара пользователя
edgar
phpBB 2.0.13
Сообщения: 917
Стаж: 18 лет 8 месяцев
Откуда: с Луны свалил...

Сообщение edgar »

Erlang писал(а):И тишина...
Erlang, ну вы даёте! Теме больше года. За это время английский можно было в совершенстве выучить. :lol:
А если по делу говорить, то раз вы в Москве живёте, то попробуйте достать где-то 100 рублей и с ними - на Горбушку или на Царики. Спрашиваете Промт и за минуту он вам сделает построчный перевод. Приведите это в читаемый вид и скиньте. Знатоки вас поправят. Хотя это врядли нужно будет. Я совершенно фигово английский знаю, хуже Промта, но в этом файле всё почти понял. :)
Erlang
phpBB 2.0.15
Сообщения: 1033
Стаж: 19 лет 8 месяцев
Откуда: Москва
Благодарил (а): 293 раза
Поблагодарили: 6 раз
Контактная информация:

Сообщение Erlang »

edgar читай выше.
С уважением,
Сергей
Аватара пользователя
edgar
phpBB 2.0.13
Сообщения: 917
Стаж: 18 лет 8 месяцев
Откуда: с Луны свалил...

Сообщение edgar »

А чего там выше написано? Год назад посоветовали словари и переводчики. И какой результат? Разве можно за год ниасилить страницу английского текста?
Ну если так, спросите у человека знающего. Вот: http://vitaly.chuyakov.ru/viewtopic.php?p=80
Просто имхо если ещё ждать год, то мод станет не актуален вместе со всеми вапами и прочими пережитками прошлого. Вап уже сейчас почти устарел.
Erlang
phpBB 2.0.15
Сообщения: 1033
Стаж: 19 лет 8 месяцев
Откуда: Москва
Благодарил (а): 293 раза
Поблагодарили: 6 раз
Контактная информация:

Сообщение Erlang »

edgar писал(а):А чего там выше написано?
  • там куча настроек для мобильников. Например обрезание текста я там мельком видел под стандарт 150 знаков... но я знаю англ. алфавита 150 можно, а как с русским интеренсо по 70 рубить....
    Надо в нём разбираться...
edgar писал(а):Просто имхо если ещё ждать год, то мод станет не актуален вместе со всеми вапами и прочими пережитками прошлого. Вап уже сейчас почти устарел.
Так МОД давно успешно работает...
С уважением,
Сергей
Iftin
phpBB 2.0.7
Сообщения: 573
Стаж: 18 лет 10 месяцев
Откуда: Moscow
Контактная информация:

Сообщение Iftin »

Erlang

я думаю обрезать не надо под кпк Poket PC, так в них стоит windows mobile. Это же не wap страницы будут, а обычные. Я смотрел примеры по http://vitaly.chuyakov.ru/viewtopic.php?p=80
Аватара пользователя
maryINka
phpBB 1.4.1
Сообщения: 45
Стаж: 17 лет 9 месяцев
Контактная информация:

Сообщение maryINka »

где найти phpBBToGo? ссылка с оф. сайта битая.. ничего не грузится...

Добавлено спустя 2 часа 4 минуты 27 секунд:

ссылка http://phpbbtogo.togosolo.com/phpBBToGo1.2.2.zip не грузится,

а на сайте написано
Coming Soon!
ToGoSolo is being restored and will soon be available, better than before!
есть ли у кого на руках данный мод?
Если не затруднит - выложите пожалуйста!

заранее благодарю!
Закрыто

Вернуться в «Локализация модов для phpBB 2.0.x»