phpBB, Яндекс и rss |
Метки: seo phpBB yandex rss яндекс индексация |
Шаблон для danneo cms - рефакторинг таблиц стилей |
code:
.formtext { padding-left:10px; padding: 5px;
code:
border-top: 1px solid #C6C6C6;
border-right: 1px solid #C6C6C6;
border-bottom: 3px solid #C6C6C6;
border-left: 1px solid #C6C6C6;
code:
background: #2D82B6 url(../images/topugol.gif) no-repeat top left;
background-color: #2D82B6;
code:
border-left-width: 120px;
border-left-style: solid;
border-left-color: #f1f1f1;
Метки: css верстка шаблон default danneo |
Шаблон для danneo cms |
Метки: community верстка шаблон default danneo |
Текст вместо кнопок |
code:
<td class="profile"><strong><a href="#wrapheader">{L_BACK_TO_TOP}</a></strong></td>
<td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- IF postrow.U_PROFILE --><a href="{postrow.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF --> </div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF not S_IS_BOT --><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- ENDIF --> </div></td>
code:
{PROFILE_IMG}
code:
{L_PROFILE}
code:
{PM_IMG}
code:
{L_PM}
code:
{EMAIL_IMG}
code:
{L_EMAIL}
code:
{EDIT_IMG}
code:
{L_EDIT}
code:
{QUOTE_IMG}
code:
{L_QUOTE}
Метки: phpBB olympus стили subsilver2 кнопки |
Кнопки в prosilver |
code:
img_button_topic_reply = button_topic_reply.gif*25*96
Метки: phpBB olympus prosilver стили кнопки |
Полупрозрачность png в internet explorer 6 (png ie) |
code:
<public:component>
<public:attach event="onpropertychange" onevent="propertyChanged()" />
<script>
var supported = /MSIE (5\.5)|[6789]/.test(navigator.userAgent) && navigator.platform == "Win32";
var realSrc;
var blankSrc = "blank.gif";
if (supported) fixImage();
function propertyChanged() {
if (!supported) return;
var pName = event.propertyName;
if (pName != "src") return;
// if not set to blank
if ( ! new RegExp(blankSrc).test(src))
fixImage();
};
function fixImage() {
// get src
var src = element.src;
// check for real change
if (src == realSrc) {
element.src = blankSrc;
return;
}
if ( ! new RegExp(blankSrc).test(src)) {
// backup old src
realSrc = src;
}
// test for png
if ( /\.png$/.test( realSrc.toLowerCase() ) ) {
// set blank image
element.src = blankSrc;
// set filter
element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" +
src + "',sizingMethod='scale')";
}
else {
// remove filter
element.runtimeStyle.filter = "";
}
}
</script>
</public:component>
code:
<style>
img {
behavior: url("png.htc");
}
</style>
code:
var blankSrc = "blank.gif";
code:
var blankSrc = "http://site.ru/blank.gif";
code:
behavior: url("png.htc");
code:
behavior: url("http://site.ru/png.htc");
Метки: стили дизайн фикс баг css |
BB-код создания ссылки на профиль пользователя |
code:
[user]{TEXT}[/user]
code:
<a href="memberlist.php?mode=viewprofile&un={TEXT}">{TEXT}</a>
Метки: phpBB olympus bb-код |
Шаблонные переменные в phpBB |
|
Ссылки в новом окне/новой вкладке |
code:
Modification name: Prime Links
Author: primehalo
Modification description: This MOD will fix links inside posts so that local links are correctly classified as such. It will also apply a target to external links.
Modification version: 1.0.6
Метки: phpBB olympus моды ссылки |
[HOWTO] Вывод html только для определенной группы (phpBB) |
code:
$tz = ($user->data['user_id'] != ANONYMOUS) ? strval(doubleval($user->data['user_timezone'])) : strval(doubleval($config['board_timezone']));
code:
$sql = 'SELECT group_id, group_name
FROM ' . GROUPS_TABLE . '
ORDER BY group_name ASC';
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
code:
'PRIVATE_MESSAGE_INFO_UNREAD' => $l_privmsgs_text_unread,
code:
'S_GROUP_ID' => $row['group_id'],
code:
<!-- IF S_GROUP_ID == 7 -->
your text
<!-- ENDIF -->
Метки: phpBB olympus стили |
Open Slaed 1.1 |
Панель администратора
Администраторы, Блоки и баннеры, Категории, Комментарии, База данных, Редактор, Дополнительные поля, Группы, Языки, Сообщения, Модули, Рейтинги, RSS каналы, Безопасность, Конфигурации, Файловый редактор, Пользователи.
Системные модули
Обратная связь, Содержание, Каталог файлов, Новости, Опросы, Личный отдел пользователя, Резервное копирование базы данных, RSS Информер, Рекомендовать сайт, Поиск по сайту, Редактор TinyMCE, Редактор Spaw 2, Редактор FCKeditor, Топ пользователи.
Интеграция с форумами
Общая регистрация и авторизация с самыми популярными и актуальными на сегодняшний день форумами: Invision Power Board, phpBB, vBulletin, SMF.
Метки: slaed OPEN версия релиз |
phpBB 3.0.2 |
code:
* [Fix] Ability to set permissions on non-mysql dbms (Bug #24955)
* [Fix] Fixed blank style on setups having no username defined within config.php (Bug #25065)
* [Fix] Made the compress_tar class tolerate archives that do not properly have their archived contents listed (Bug #14429 / thanks to JRSweets for his patch)
* [Fix] Moved topics should not count towards the number of topics in a forum (Bug #14648 / thanks to Schumi for his patch)
* [Fix] Properly check for invalid characters in MySQL DB prefixes during install (Bug #18775)
* [Fix] Bring the PostgreSQL backup system back to working order (Bug #22385)
* [Fix] Update correct theme for cached styles in style.php (Bug #25805)
* [Fix] Correctly determine safe mode for temp file creation in functions_upload.php (Bug #23525)
* [Fix] Correctly sort by rank in memberlist (Bug #24435)
* [Fix] Purge cache after database restore (Bug #24245)
* [Fix] Correctly display subforum read/unread icons from RTL in FF3, Konqueror and Safari3+. (thanks arod-1 for the fix, related to Bug #14830)
* [Fix] Added missing form token in acp (thanks NBBN).
* [Fix] Do not remove whitespace in front of url containing the boards url and no relative path appended (Bug #27355)
* [Fix] reset forum notifications in viewtopic (Bug #28025)
* [Fix] corrected link for searching post author's other posts (Bug #26455)
* [Fix] HTTP Authentication supports UTF-8 usernames now (Bug #21135)
* [Fix] Topic searches by author no longer return invalid results (Bug #11777)
* [Fix] Delete drafts and bookmarks when deleting an user. (#27585, thanks Schumi for the fix)
* [Fix] Set last_post_subject for new topics. (#23945)
* [Fix] Allow moving posts to invisible forums. (#27325)
* [Fix] Don't allow promoting unapproved group members (#16124)
* [Fix] Correctly fetch server name if using non-standard port (#27395)
* [Fix] Regular expression for email matching in posts will no longer die on long words.
* [Fix] Do not display ban message if direct call to cron. (thanks Dog Cow for reporting)
* [Fix] Correctly display double-colon on special conditions within highlighted php source (Bug #26795)
* [Fix] Increase storage capacity of titles/subjects due to specialchared content (Bug #25235)
* [Fix] Catch invalid username wildcard ban (we do not support these) (Bug #29305)
* [Fix] Fix (email)-domain checks for those having DNS prefixes set (Bug #29635)
* [Change] Adjust truncate_string() to be able to adjust the maximum storage length.
* [Change] Sort the tables at the database table backup screen
* [Change] For determining the maximum number of private messages in one box, use the biggest value from all groups the user is a member of (Bug #24665)
* [Change] Show email ban reason on registration. Additionally allow custom errors properly returned if using validate_data(). (Bug #26885)
* [Change] Don't allow redirects to different domains. (thanks nookieman)
* [Feature] Added optional referer validation of POST requests as additional CSRF protection.
* [Feature] Added optional stricter upload validation to avoid mime sniffing in addition to the safeguards provided by file.php. (thanks to Nicolas Grekas for compiling the list).
* [Feature] Streamlined banning via the MCP by adding a ban link to the user profile. Also pre-fills ban fields as far as possible.
* [Feature] Added ACP logout to reset an admin session.
* [Sec] Only allow urls gone through redirect() being used within login_box(). (thanks nookieman)
Метки: phpBB 3.0.2 olympus release |
Поисковые боты в phpBB |
Метки: phpBB 3.0.1 olympus поисковые боты yandex яндекс рамблер индексация |
Смайлики в phpBB 3 |
Метки: phpBB 3.0.1 olympus смайлики geek ботан |
Небольшая ошибка в prosiver (phpBB 3.0.1) |
code:
pmlist li.pm_foe_colour, .pm_foe_colour {
code:
.pmlist li.pm_foe_colour, .pm_foe_colour {
Метки: phpBB 3.0.1 olympus prosilver css баг |
Londonvasion |
Метки: phpBB community londonvasion |
Редирект при авторизации в danneo |
PHP:
@setcookie(USERCOOKIE,$print_cookie,NEWTIME + $setting['cookexpire'],"/");
redirect("index.php?dn=user&to=index");
}
font>
PHP:
redirect("index.php?dn=user&to=index");
font>
PHP:
//redirect("index.php?dn=user&to=index");
if (isset($_SERVER['HTTP_REFERRER']))
{
redirect($_SERVER['HTTP_REFERER']);
} else {
redirect("index.php?dn=user&to=index");
}
font>
PHP:
if(preparse($usermain['logged'],THIS_INT)==1 && preparse($usermain['userid'],THIS_INT)>0){
redirect("index.php?dn=user&to=index");
}
font>
PHP:
redirect("index.php?dn=user&to=index");
font>
PHP:
//redirect("index.php?dn=user&to=index");
if (isset($_SERVER['HTTP_REFERRER']))
{
redirect($_SERVER['HTTP_REFERER']);
} else {
redirect("index.php?dn=user&to=index");
}
font>
Метки: user авторизация danneo интерграция |
Интеграция phpBB и danneo cms, небольшой хак |
PHP:
'user_inactive_time' => $user_inactive_time,
);
font>
PHP:
// for danneo's table [by FladeX]
$user_cmspass = md5($data['new_password']);
font>
PHP:
$user_id = user_add($user_row, $cp_data);
font>
PHP:
// Duplicate user in cms database [by FladeX]
cmsuser_add($user_row, $user_id, $user_cmspass);
font>
PHP:
return $user_id;
}
font>
PHP:
function cmsuser_add($user_row, $user_id, $user_cmspass)
{
global $db, $user, $auth, $config, $phpbb_root_path, $phpEx;
$username = $user_row['username'];
$user_email = strtolower($user_row['user_email']);
$user_regdate = $user_row['user_regdate'];
$sql = "INSERT INTO danneo_users (userid, uname, upass, umail, regdate, activate) VALUES ('$user_id', '$username', '$user_cmspass', '$user_email', '$user_regdate', 1)";
$db->sql_query($sql);
}
font>
Метки: phpBB 3.0.0 olympus интеграция danneo пользователи регистрация |
Slaed 2.6 lite |
Метки: slaed lite релиз 2.6 |
Danneo cms |
Метки: danneo cms 0.52 xhtml gpl интеграция phpBB slaed |