Üye Renkleri Profilde Ve Konu İçrisinde Gözüksün

bLoOdLusT1912

Kadim Üye
1 Ağu 2007
5,470
41
Invision Power Board IPB Derslerinden Üye Renkleri Profilde Ve Konu İçrisinde Gözüksün :

Düzenlenecek Dosya
./sources/action_public/profile.php


Aç: ./sources/action_public/profile.php

Bul:
Kod:
[ function personal_iframe_comments() ][/COLOR]
[COLOR=white] //-----------------------------------------[/COLOR]
[COLOR=white]           // Load member[/COLOR]
[COLOR=white]           //-----------------------------------------[/COLOR]
 
[COLOR=white]           $member = $this->personal_function_load_member( $member_id );[/COLOR]


Altına Ekle:
Kod:
$member['members_display_name'] = $this->ipsclass->make_name_formatted($member['members_display_name'], $member['mgroup']);



=================================

Bul:
Kod:
[ function personal_iframe_comments() ][/COLOR]
[COLOR=white]//-----------------------------------------[/COLOR]
[COLOR=white]         // Regenerate comments...[/COLOR]
[COLOR=white]         //-----------------------------------------[/COLOR]
 
[COLOR=white]         $this->ipsclass->DB->build_query( array( 'select'   => 'pc.*',[/COLOR]
[COLOR=white]                                                  'from'     => array( 'profile_comments' => 'pc' ),[/COLOR]
[COLOR=white]                                                  'where'    => 'pc.comment_for_member_id='.$member_id . $sql_extra,[/COLOR]
[COLOR=white]                                                  'order'    => 'pc.comment_date DESC',[/COLOR]
[COLOR=white]                                                  'limit'    => array( $start, $comment_perpage ),[/COLOR]
[COLOR=white]                                                  'add_join' => array( 0 => array( 'select' => 'm.members_display_name',[/COLOR]
[COLOR=white]                                                                                   'from'   => array( 'members' => 'm' ),[/COLOR]
[COLOR=white]                                                                                   'where'  => 'm.id=pc.comment_by_member_id',[/COLOR]
[COLOR=white]                                                                                   'type'   => 'left' ),[/COLOR]
[COLOR=white]                                                                       1 => array( 'select' => 'pp.*',[/COLOR]
[COLOR=white]                                                                                   'from'   => array( 'profile_portal' => 'pp' ),[/COLOR]
[COLOR=white]                                                                                   'where'  => 'pp.pp_member_id=m.id',[/COLOR]
[COLOR=white]                                                                                   'type'   => 'left' ),    [/COLOR]
[COLOR=white]                                                                       2 => array( 'select' => 'me.*',[/COLOR]
[COLOR=white]                                                                                   'from'   => array( 'member_extra' => 'me' ),[/COLOR]
[COLOR=white]                                                                                   'where'  => 'me.id=pc.comment_by_member_id',[/COLOR]
[COLOR=white]                                                                                   'type'   => 'left' ) ) ) );[/COLOR]
 
[COLOR=white]         $this->ipsclass->DB->exec_query();[/COLOR]



Bununla Değiştir:
Kod:
//-----------------------------------------[/COLOR]
[COLOR=white]// Regenerate comments...[/COLOR]
[COLOR=white]         //-----------------------------------------[/COLOR]
 
[COLOR=white]         $this->ipsclass->DB->build_query( array( 'select'   => 'pc.*',[/COLOR]
[COLOR=white]                                                  'from'     => array( 'profile_comments' => 'pc' ),[/COLOR]
[COLOR=white]                                                  'where'    => 'pc.comment_for_member_id='.$member_id . $sql_extra,[/COLOR]
[COLOR=white]                                                  'order'    => 'pc.comment_date DESC',[/COLOR]
[COLOR=white]                                                  'limit'    => array( $start, $comment_perpage ),[/COLOR]
[COLOR=white]                                                  'add_join' => array( 0 => array( 'select' => 'm.mgroup,m.members_display_name',[/COLOR]
[COLOR=white]                                                                                   'from'   => array( 'members' => 'm' ),[/COLOR]
[COLOR=white]                                                                                   'where'  => 'm.id=pc.comment_by_member_id',[/COLOR]
[COLOR=white]                                                                                   'type'   => 'left' ),[/COLOR]
[COLOR=white]                                                                       1 => array( 'select' => 'pp.*',[/COLOR]
[COLOR=white]                                                                                   'from'   => array( 'profile_portal' => 'pp' ),[/COLOR]
[COLOR=white]                                                                                   'where'  => 'pp.pp_member_id=m.id',[/COLOR]
[COLOR=white]                                                                                   'type'   => 'left' ),    [/COLOR]
[COLOR=white]                                                                       2 => array( 'select' => 'me.*',[/COLOR]
[COLOR=white]                                                                                   'from'   => array( 'member_extra' => 'me' ),[/COLOR]
[COLOR=white]                                                                                   'where'  => 'me.id=pc.comment_by_member_id',[/COLOR]
[COLOR=white]                                                                                   'type'   => 'left' ) ) ) );[/COLOR]
 
[COLOR=white]         $this->ipsclass->DB->exec_query()[/COLOR]




===========================

Bul:
Kod:
[ function personal_build_comments( $member, $new_id=0, $return_msg='' ) ][/COLOR]
[COLOR=white]//-----------------------------------------[/COLOR]
[COLOR=white]         // Regenerate comments...[/COLOR]
[COLOR=white]         //-----------------------------------------[/COLOR]
 
[COLOR=white]         $this->ipsclass->DB->build_query( array( 'select'   => 'pc.*',[/COLOR]
[COLOR=white]                                                  'from'     => array( 'profile_comments' => 'pc' ),[/COLOR]
[COLOR=white]                                                  'where'    => 'pc.comment_for_member_id='.$member_id.' AND pc.comment_approved=1',[/COLOR]
[COLOR=white]                                                  'order'    => 'pc.comment_date DESC',[/COLOR]
[COLOR=white]                                                  'limit'    => array( 0, $comment_perpage ),[/COLOR]
[COLOR=white]                                                  'add_join' => array( 0 => array( 'select' => 'm.members_display_name',[/COLOR]
[COLOR=white]                                                                                   'from'   => array( 'members' => 'm' ),[/COLOR]
[COLOR=white]                                                                                   'where'  => 'm.id=pc.comment_by_member_id',[/COLOR]
[COLOR=white]                                                                                   'type'   => 'left' ),[/COLOR]
[COLOR=white]                                                                       1 => array( 'select' => 'pp.*',[/COLOR]
[COLOR=white]                                                                                   'from'   => array( 'profile_portal' => 'pp' ),[/COLOR]
[COLOR=white]                                                                                   'where'  => 'pp.pp_member_id=m.id',[/COLOR]
[COLOR=white]                                                                                   'type'   => 'left' ),    [/COLOR]
[COLOR=white]                                                                       2 => array( 'select' => 'me.*',[/COLOR]
[COLOR=white]                                                                                   'from'   => array( 'member_extra' => 'me' ),[/COLOR]
[COLOR=white]                                                                                   'where'  => 'me.id=pc.comment_by_member_id',[/COLOR]
[COLOR=white]                                                                                   'type'   => 'left' ) ) ) );[/COLOR]
 
[COLOR=white]         $this->ipsclass->DB->exec_query();[/COLOR]


Bununla Değiştir:
Kod:
   //-----------------------------------------[/COLOR]
[COLOR=white] // Regenerate comments...[/COLOR]
[COLOR=white]         //-----------------------------------------[/COLOR]
 
[COLOR=white]         $this->ipsclass->DB->build_query( array( 'select'   => 'pc.*',[/COLOR]
[COLOR=white]                                                  'from'     => array( 'profile_comments' => 'pc' ),[/COLOR]
[COLOR=white]                                                  'where'    => 'pc.comment_for_member_id='.$member_id.' AND pc.comment_approved=1',[/COLOR]
[COLOR=white]                                                  'order'    => 'pc.comment_date DESC',[/COLOR]
[COLOR=white]                                                  'limit'    => array( 0, $comment_perpage ),[/COLOR]
[COLOR=white]                                                  'add_join' => array( 0 => array( 'select' => 'm.mgroup,m.members_display_name',[/COLOR]
[COLOR=white]                                                                                   'from'   => array( 'members' => 'm' ),[/COLOR]
[COLOR=white]                                                                                   'where'  => 'm.id=pc.comment_by_member_id',[/COLOR]
[COLOR=white]                                                                                   'type'   => 'left' ),[/COLOR]
[COLOR=white]                                                                       1 => array( 'select' => 'pp.*',[/COLOR]
[COLOR=white]                                                                                   'from'   => array( 'profile_portal' => 'pp' ),[/COLOR]
[COLOR=white]                                                                                   'where'  => 'pp.pp_member_id=m.id',[/COLOR]
[COLOR=white]                                                                                   'type'   => 'left' ),    [/COLOR]
[COLOR=white]                                                                       2 => array( 'select' => 'me.*',[/COLOR]
[COLOR=white]                                                                                   'from'   => array( 'member_extra' => 'me' ),[/COLOR]
[COLOR=white]                                                                                   'where'  => 'me.id=pc.comment_by_member_id',[/COLOR]
[COLOR=white]                                                                                   'type'   => 'left' ) ) ) );[/COLOR]
 
[COLOR=white]         $this->ipsclass->DB->exec_query();[/COLOR]




========================


Bul:
Kod:
[ function personal_build_comments( $member, $new_id=0, $return_msg='' ) ][/COLOR]
[COLOR=white]$comment_html = $this->ipsclass->compiled_templates['skin_profile']->personal_portal_show_comment( $comments, $member, $new_id, $return_msg );[/COLOR]



Üstüne Ekle:
Kod:
$member['members_display_name'] = $this->ipsclass->make_name_formatted($member['members_display_name'], $member['mgroup']);




======================

Bul:
Kod:
[ function personal_portal_view() ][/COLOR]
[COLOR=white]$this->page_title = $member['members_display_name'] . ' - ' . $this->ipsclass->lang['page_title_pp'];[/COLOR]



Bununla Değiştir:
Kod:
$this->page_title = strip_tags($member['members_display_name']) . ' - ' . $this->ipsclass->lang['page_title_pp'];




=====================

Bul:
Kod:
[ function personal_portal_set_information( $member, $noids=0 ) ][/COLOR]
[COLOR=white]//-----------------------------------------[/COLOR]
[COLOR=white]         // Long display names[/COLOR]
[COLOR=white]         //-----------------------------------------[/COLOR]
 
[COLOR=white]         $member['members_display_name_short'] = $this->ipsclass->txt_truncate( $member['members_display_name'], 16 );[/COLOR]



Bununla Değiştir:
Kod:
 //-----------------------------------------[/COLOR]
[COLOR=white]// Long display names[/COLOR]
[COLOR=white]//-----------------------------------------[/COLOR]
[COLOR=white]$member['members_display_name_short'] = $this->ipsclass->make_name_formatted($this->ipsclass->txt_truncate($member['members_display_name'], 16), $member['mgroup']);[/COLOR]
[COLOR=white]         $member['members_display_name'] = $this->ipsclass->make_name_formatted($member['members_display_name'], $member['mgroup']);[/COLOR]



======================

Bul:
Kod:
[ function view_profile() ][/COLOR]
[COLOR=white]$info['group_title'] = $this->ipsclass->cache['group_cache'][ $member['mgroup'] ]['g_title'];[/COLOR]


Bununla Değiştir:
Kod:
[COLOR=white] $info['group_title'] = $this->ipsclass->make_name_formatted($this->ipsclass->cache['group_cache'][$member['mgroup']]['g_title'], $member['mgroup']);[/COLOR]



======================

Bul:
Kod:
[ function view_profile() ][/COLOR]
[COLOR=white]$info['members_display_name'] = $member['members_display_name'];[/COLOR]


Bununla Değiştir:
Kod:
   $info['members_display_name'] = $this->ipsclass->make_name_formatted($member['members_display_name'], $member['mgroup']);


===============


Kaydet Ve Upload Et

NOT= Dosyalarınızın YEdeğini ALmayı Unutmayınız
 
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.