[MOD]Signature in Profile v1.0.1/ profilde imza

[url=http://www.phpbbturkey.com/mods.html:34cnv4ga]phpBB 2.0.x MOD Veritabanımızda[/url:34cnv4ga] yayınlanan ve tarafınızca eklenen tüm yeni phpBB 2.0.x sürümleri için MODların duyuruları buradan yapılmaktadır. MODlar hakkında ihtiyacınız olan desteği lütfen [b:34cnv4ga]2.0.x MOD Destek[/b:34cnv4ga] forumuna başlık açarak sorunuz.
Kilitli
Kullanıcı avatarı
pikachu
Kayıtlı Kullanıcı
Mesajlar: 3062
Kayıt: 16.07.2006, 15:32
Konum: ağandon /
İletişim:

[MOD]Signature in Profile v1.0.1/ profilde imza

Mesaj gönderen pikachu »

bu mod sayesinde üyelerinizin profil sayfalarında imzalarını gösterebilirsiniz.

Kod: Tümünü seç

################################################################
## MOD Title: Signatur in Profil
## MOD Author:  killerbees19 < forum@happytec.at > (Christian Schroetter) http://www.happytec.at
## MOD Description: German:
##                  Zeigt die Signatur eines Benutzers im Profil an.
##
##                  English:
##                  This hack adds signatures to member profiles.
##
## MOD Demo:          http://www.forum.happytec.at/profile.php?mode=viewprofile&u=3
## MOD Version:       1.0.0
## MOD Compatibility: 2.0.21 - 2.0.22
##
## Installation Level: Easy
## Installation Time: 5 Minutes
## Files To Edit:   includes/usercp_viewprofile.php
##                  templates/xxx/profile_add_body.tpl
##
## Included Files: N/A
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
################################################################
## Author Notes: 
## 
## 
################################################################
## MOD History: 
## 
##   2006-09-01 - Version 1.0.1
##      - Bugfix
##
##   2006-08-30 - Version 1.0.0
##      - First Release
## 
################################################################
##	
##  Support:		http://www.forum.happytec.at
##  Copyright:	2006 Christian Schrötter
##
################################################################
##
## For security purposes, please check: http://www.happytec.at/download/d_02.php
## 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.phpbb.de/moddb/
##
################################################################
##  Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
################################################################
#
#-----[ OPEN ]--------------------------------------------------
#
includes/usercp_viewprofile.php

#
#-----[ FIND ]--------------------------------------------------
#
		$search = '<a href="' . $temp_url . '">' . sprintf($lang['Search_user_posts'], $profiledata['username']) . '</a>';

#
#-----[ AFTER, ADD ]------------------------------------------
#
//
//Signatur in Profil ANFANG
//
$user_sig = '';
if ( $profiledata['user_attachsig'] && $board_config['allow_sig'] )
{
	include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
	$user_sig = $profiledata['user_sig'];
	$user_sig_bbcode_uid = $profiledata['user_sig_bbcode_uid'];
	if ( $user_sig != '' )
	{
		if ( !$board_config['allow_html'] && $profiledata['user_allowhtml'] )
		{
			$user_sig = preg_replace('#(<)([\/]?.*?)(>)#is', "<\\2>", $user_sig);
		}

		if ( $board_config['allow_bbcode'] && $user_sig_bbcode_uid != '' )
		{
			$user_sig = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($user_sig, $user_sig_bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $user_sig);
		}

		$user_sig = make_clickable($user_sig);

		if ( !$userdata['user_allowswearywords'] )
		{
			$orig_word = !empty($orig_word) ? $orig_word : array();
			$replacement_word = !empty($replacement_word) ? $replacement_word : array();
			obtain_word_list($orig_word, $replacement_word);
			$user_sig = preg_replace($orig_word, $replacement_word, $user_sig);
		}

		if ( $profiledata['user_allowsmile'] )
		{
			$user_sig = smilies_pass($user_sig);
		}

		$user_sig = str_replace("\n", "\n<br />\n", $user_sig);
	
    $template->assign_block_vars('switch_user_sig_block', array());
  }	
}
//
//Signatur in Profil ENDE
//

#
#-----[ FIND ]-------------------------------------------------
#

	'POST_PERCENT_STATS' => sprintf($lang['User_post_pct_stats'], $percentage), 

#
#-----[ AFTER, ADD ]-------------------------------------------------
#
	'USER_SIG' => $user_sig,

#
#-----[ FIND ]------------------------------------------
#

'L_INTERESTS' => $lang['Interests'],

#
#-----[ AFTER, ADD ]------------------------------------------------
#
	
	'L_SIG' => $lang['Signature'],

#
#-----[ OPEN ]---------------------------------------------
# note: do this for every template installed
templates/xxx/profile_view_body.tpl

#
#-----[ FIND ]---------------------------------------------
#
//--></script><noscript>{ICQ_IMG}</noscript></td>
		</tr>
	  </table>
	</td>
  </tr>
</table>

#
#-----[ REPLACE WITH ]-------------------------------------
#
//--></script><noscript>{ICQ_IMG}</noscript></td>
		</tr>
	  </table>
	</td>
  </tr>
  <!-- BEGIN switch_user_sig_block -->
  <tr>
  	<td colspan="2">
  	<table width="100%">
      <tr> 
        <td width="100%" class="catLeft" colspan="2" height="28" align="center"><span class="gen"><strong> {L_SIG} </strong></span></td>
      <tr> 
        <td align = "center" class="row1"><span class="postbody"> {USER_SIG} </span></td>
      </tr>
    </table>
  	</td>
  </tr>
  <!-- END switch_user_sig_block -->
</table>

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM 
phpmod
Kayıtlı Kullanıcı
Mesajlar: 158
Kayıt: 12.11.2006, 21:15
İletişim:

Mesaj gönderen phpmod »

güzel mod.Sağol :wink:
Kullanıcı avatarı
pikachu
Kayıtlı Kullanıcı
Mesajlar: 3062
Kayıt: 16.07.2006, 15:32
Konum: ağandon /
İletişim:

Mesaj gönderen pikachu »

önemli değil. nende olsa ben yazmadım. :D :D
Kullanıcı avatarı
melihonline
Kayıtlı Kullanıcı
Mesajlar: 436
Kayıt: 19.08.2006, 18:48
Konum: Tokat
İletişim:

Mesaj gönderen melihonline »

bi deniyelim :D
FORUM | FORUM 2 | İki insan açtır. Biri bilimi arayan, diğeri ise parayı...
Kullanıcı avatarı
pikachu
Kayıtlı Kullanıcı
Mesajlar: 3062
Kayıt: 16.07.2006, 15:32
Konum: ağandon /
İletişim:

Mesaj gönderen pikachu »

güzel ve basit bir mod. kur görsellik katar.
Kullanıcı avatarı
İnxs
Kayıtlı Kullanıcı
Mesajlar: 40
Kayıt: 08.05.2007, 11:55
Konum: Turkey
İletişim:

Mesaj gönderen İnxs »

ekran görüntüsüde benden :wink:
[ resmi görüntülemek için tıklayın ]
Kullanıcı avatarı
yeniturkBB
Kayıtlı Kullanıcı
Mesajlar: 173
Kayıt: 17.12.2006, 12:51
Konum: İstanbul
İletişim:

Mesaj gönderen yeniturkBB »

sağoL güzel oldu bu :)
.. Oktayusx ! [www.oktayusx.net]
Sedo
Kayıtlı Kullanıcı
Mesajlar: 22
Kayıt: 13.08.2007, 12:54
İletişim:

Re: [MOD]Signature in Profile v1.0.1/ profilde imza

Mesaj gönderen Sedo »

Güzelmiş birader sağolasın.
Kilitli

“2.0.x MOD Duyuruları” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 0 misafir