Color Grupda Hata
Color Grupda Hata
Arkadaşlar color grup modunu kurdum sitenin heryerinde atatdığım renkler gözüküo ama bir tek kimler çevrimci kısmında ayarladığım renk grubu çıkmıyor
örnk:admin rengini siyah yaptım konularda falan siyah gözüküyor fakat kimler çevrimci kısmında ilk baştaki gibi kırmızı gözüküyor yardımlarınızı bekliyorum
örnk:admin rengini siyah yaptım konularda falan siyah gözüküyor fakat kimler çevrimci kısmında ilk baştaki gibi kırmızı gözüküyor yardımlarınızı bekliyorum
modda herhangi bir sorun yok arkadaşlar, modu düzgün kurun yaptıklarınızı kontrol edin.
Nerede takılıyorsanız açıkca şunu yaptık böyle oldu diye açıklamalı yazın.
Renkler kimler çevrimiçinde gözükmüyorsan 2 hatanız olabilir
1. üstlerde phpBB-TR'nin dediğine bakın eklemişmisiniz, çünkü o değişiklik rütbe renklerini gösteriyor.
2- yönetimden renk gruplarını açıp kullanıcı atamamışsınızdır. Admin grubu açacaksınız ve o gruba adminleri üye yapacaksınız.
Nerede takılıyorsanız açıkca şunu yaptık böyle oldu diye açıklamalı yazın.
Renkler kimler çevrimiçinde gözükmüyorsan 2 hatanız olabilir
1. üstlerde phpBB-TR'nin dediğine bakın eklemişmisiniz, çünkü o değişiklik rütbe renklerini gösteriyor.
2- yönetimden renk gruplarını açıp kullanıcı atamamışsınızdır. Admin grubu açacaksınız ve o gruba adminleri üye yapacaksınız.
Kod: Tümünü seç
##############################################################
## MOD Title: Color Groups Throughout
## MOD Author: RMcGirr83 < email address is protected > (Rich McGirr) http://betraythis.com
## MOD Description: This mod will place the colors from the above mod into
## search, last poster in viewforum, groups, newest registered
## user, the moderator of a forum and corrects an issue
## within viewonline
##
##
## MOD Version: 1.0.0 (initial)
##
## Installation Level: Moderate
## Installation Time: 20 Minutes
## Files To Edit: 5
## groupcp.php
## search.php
## index.php
## viewforum.php
## language/lang_english/lang_main.php
## Included Files:
## none
##############################################################
## For security purposes, please check: http://www.phpbbhacks.com/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbbhacks.com/
##############################################################
## Author Notes:
##
##
## 1. Compatibility
## -----------
## This MOD is phpBB 2.0.21 compliant and may work with previous versions
##
## 2. Requirements
## -----------
## Color Groups by Billy Sauls (aka nivisec) must be installed for this
## mod to function
##
##############################################################
## MOD History:
##
##
## 2006-06-20 - Version 1.0.0
## - Initial Release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ BEGIN COLOR OF THE MODERATOR ]-------------------------
#
#
#-----[ OPEN ]------------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------------
#
$forum_moderators[$row['forum_id']][] = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '">' . $row['username'] . '</a>';
#
#-----[ REPLACE WITH ]----------------------------------------
#
$forum_moderators[$row['forum_id']][] = color_group_colorize_name($row['user_id']);
#-----[ END COLOR OF THE MODERATOR ]--------------------------
#
#
#-----[ BEGIN NEWEST USER COLOR GROUP ]-----------------------
#
#
#-----[ OPEN ]------------------------------------------------
#
index.php
#
#-----[ FIND ]---------------------------------
#
'NEWEST_USER' =>sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'),
#
#-----[ REPLACE WITH ]------------------------------------------------
#
'NEWEST_USER' => sprintf($lang['Newest_user'], color_group_colorize_name($newest_uid)),
#
#-----[ OPEN ]------------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------------
#
$lang['Newest_user'] = 'The newest registered user is <b>%s%s%s</b>'; // a href, username, /a
#
#-----[ REPLACE WITH ]------------------------------------------
#
$lang['Newest_user'] = 'The newest registered user is <b>%s</b>'; // Color Group Mod
#
#-----[ END NEWEST USER COLOR GROUP ]---------------------------
#
#
#-----[ BEGIN SEARCH COLOR GROUP ]------------------------------
#
#
#-----[ OPEN ]--------------------------------------------------
#
search.php
#
#
#-----[ FIND ]--------------------------------------------------
#
include($phpbb_root_path . 'includes/functions_search.'.$phpEx);
#
#-----[ AFTER, ADD ]----------------------------------------
#
include_once($phpbb_root_path.'includes/functions_color_groups.'.$phpEx);
#
#-----[ FIND ]--------------------------------------------------
#
$topic_author = ( $searchset[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $searchset[$i]['user_id']) . '">' : '';
$topic_author .= ( $searchset[$i]['user_id'] != ANONYMOUS ) ? $searchset[$i]['username'] : ( ( $searchset[$i]['post_username'] != '' ) ? $searchset[$i]['post_username'] : $lang['Guest'] );
$topic_author .= ( $searchset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : '';
#
#-----[ REPLACE WITH ]-------------------------------------------
#
$topic_author = ($searchset[$i]['user_id'] == ANONYMOUS ) ? (($searchset[$i]['post_username'] != '' ) ? $searchset[$i]['post_username'] : $lang['Guest'] ) : color_group_colorize_name($searchset[$i]['user_id']);
#
#-----[ FIND ]---------------------------------------------------
#
$last_post_author = ( $searchset[$i]['id2'] == ANONYMOUS ) ? ( ($searchset[$i]['post_username2'] != '' ) ? $searchset[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $searchset[$i]['id2']) . '">' . $searchset[$i]['user2'] . '</a>';
#
#-----[ REPLACE WITH ]--------------------------------------------
#
$last_post_author = ( $searchset[$i]['id2'] == ANONYMOUS ) ? ( ($searchset[$i]['post_username2'] != '' ) ? $searchset[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : color_group_colorize_name($searchset[$i]['id2']);
#
#-----[ END SEARCH COLOR GROUP ]------------------------------
#
#
#-----[ BEGIN GROUP COLOR GROUP ]------------------------------
#
#
#-----[ OPEN ]------------------------------------------------
#
groupcp.php
#
#-----[ FIND ]------------------------------------------------
#
include($phpbb_root_path . 'common.'.$phpEx);
#
#-----[ AFTER, ADD ]----------------------------------------
#
include_once($phpbb_root_path.'includes/functions_color_groups.'.$phpEx);
#
#-----[ FIND ]--------------------------------
#
'MOD_USERNAME' => $username,
#
#-----[ REPLACE WITH ]--------------------------------------------
#
'MOD_USERNAME' => color_group_colorize_name($user_id, true),
#
#-----[ FIND ]------------------------------------------------
#
'USERNAME' => $username,
#
#-----[ REPLACE WITH ]--------------------------------------------
#
'USERNAME' => color_group_colorize_name($user_id, true),
#
#-----[ END GROUP COLOR GROUP ]------------------------------
#
#
#-----[ BEGIN LAST POSTER COLOR GROUP ]------------------------------
#
#
#-----[ OPEN ]------------------------------------------------
#
viewforum.php
#
#-----[ FIND ]------------------------------------------------
#
$last_post_author = ( $topic_rowset[$i]['id2'] == ANONYMOUS ) ? ( ($topic_rowset[$i]['post_username2'] != '' ) ? $topic_rowset[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $topic_rowset[$i]['id2']) . '">' . $topic_rowset[$i]['user2'] . '</a>';
#
#-----[ REPLACE WITH ]--------------------------------------------
#
$last_post_author = ( $topic_rowset[$i]['id2'] == ANONYMOUS ) ? ( ($topic_rowset[$i]['post_username2'] != '' ) ? $topic_rowset[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : color_group_colorize_name($topic_rowset[$i]['id2']);
#
#-----[ END LAST POSTER COLOR GROUP ]------------------------------
#
#
#-----[ BEGIN FIX VIEWONLINE ]------------------------------
#
#
#-----[ OPEN ]------------------------------------------------
#
viewonline.php
#
#-----[ FIND ]------------------------------------------------
#
include_once($phpbb_root_path.'includes/functions_color_groups.'.$phpEx);
$username = color_group_colorize_name($user_id, true);
# $user_id is not defined
#
#
#-----[ REPLACE WITH ]--------------------------------------------
#
include_once($phpbb_root_path.'includes/functions_color_groups.'.$phpEx);
$username = color_group_colorize_name($row[user_id], true);
#
# $row[user_id] is used instead
#-----[ BEGIN FIX VIEWONLINE ]------------------------------
#
#----- EOM ------------------------------
#
Kimler çevrimiçi
Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 2 misafir