[MOD] Blog in viewtopic 1.0.1 / Profilde Blog Girdisi

EftelyA

Kadim Üye
22 Kas 2007
9,098
59
EsEs
Açıklama : Profilinizde blogunuzu belirtmeye ve kullanıcıların blogunuza ulaşmanızı sağlayan bir mod .. demoları inceleyebilirsiniz..

/templates/**/images/lang_turkish


demolar :
viewtopic :
http://img99.imageshack.us/img99/142/vi ... emotu0.jpg
profil :
http://img136.imageshack.us/img136/3412 ... emotb2.jpg



Kod:
 [FONT=Courier New]############################################################## 
## MOD Title:      Blog in Viewtopic
## MOD Author:      Lapinox ([email protected]) of phpbb-fr.com
##                      [original mod of reddog (n/a) http://www.reddevboard.com/]
## MOD Description:   This mod adds the function Blog on the board,
##         as for already present MSN Messenger for example
## MOD Version:      1.0.1
## MOD Compatibility:   2.0.15
## 
## Installation Level:   Intermediate
## Installation Time:   15 Minutes (1mn by EasyMOD of Nuttzy)
## Files To Edit:   11
##   viewtopic.php
##   admin/admin_users.php
##   includes/functions_validate.php
##   includes/usercp_register.php
##   includes/usercp_viewprofile.php
##   language/lang_english/lang_main.php
##   templates/subSilver/profile_add_body.tpl
##   templates/subSilver/profile_view_body.tpl
##   templates/subSilver/subSilver.cfg
##   templates/subSilver/viewtopic_body.tpl
##   templates/subSilver/admin/user_edit_body.tpl
##      
## Included Files:   1
##
##   root/templates/subSilver/images/lang_english/icon_blog.gif
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/
## 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/
##############################################################
## Before Adding This MOD To Your Forum, You Should
## Back Up All Files Related To This MOD
##############################################################

############################################################## 
## Pour des raisons de sécurité, vous êtes prier de consulter régulièrement: 
## http://www.phpbb-fr.com/ afin d'obtenir la dernière version de ce MOD.
## Télécharger ce MOD à partir de sites autres que phpBB-fr.com
## peut être dangereux pour votre forum. 
## Par conséquent, phpBB-fr.com n'assurera aucun support pour les MODs absents 
## de leur base de données, consultable sur: 
## http://www.phpbb-fr.com en aucun cas ce mod ne peut ni ne doit se 
## trouver ailleurs que sur phpbb-fr.com
############################################################## 
## Avant d'ajouter ce MOD à votre forum, il vous est fortement conseillé 
## d'effectuer une sauvegarde des éléments que vous allez modifier. 
############################################################## 

## MOD History :
##
##
## 09-06-2005 - Version 1.0.1
##   - Direct Link >> Blog
##
##
## 01-01-2005 - Version 1.0.0
##   - 1.0.3 of skype Messenger
##   - EasyMOD compliant
##
##############################################################

#
#-----[ SQL ]------------------------------------------------
#

ALTER TABLE `phpbb_users` ADD `user_blog` VARCHAR( 255 ) AFTER `user_msnm` ;

#
#-----[ COPY ]------------------------------------------------
#

copy img/icon_blog.gif to templates/subSilver/images/lang_english/icon_blog.gif

#
#-----[ OPEN ]------------------------------------------------
#

viewtopic.php

#
#-----[ FIND ]------------------------------------------------
#
# the lines are too longer

$sql = "SELECT u.username, u.user_id,

#
#-----[ IN-LINE FIND ]---------------------------------------- 
#

, u.user_aim

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
#

, u.user_blog

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

$msn = ( $postrow[$i]['user_msnm'] ) ? '<a href="' . $temp_url . '">' . $lang['MSNM'] . '</a>' : '';

#
#-----[ AFTER, ADD ]------------------------------------------
#

        $blog_img = ( $postrow[$i]['user_blog'] ) ? '<a href="' . $postrow[$i]['user_blog'] . '" target="_userwww"><img src="' . $images['icon_blog'] . '" alt="' . $lang['Visit_blog'] . '" title="' . $lang['Visit_blog'] . '" border="0" /></a>' : '';
        $blog = ( $postrow[$i]['user_blog'] ) ? '<a href="' . $postrow[$i]['user_blog'] . '" target="_userwww">' . $lang['Visit_blog'] . '</a>' : '';
#
#-----[ FIND ]------------------------------------------------
#

$aim_img = '';
$aim = '';

#
#-----[ AFTER, ADD ]------------------------------------------
#

      $blog_img = '';
      $blog = '';

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

'AIM_IMG' => $aim_img,
'AIM' => $aim,

#
#-----[ AFTER, ADD ]------------------------------------------
#

      'BLOG_IMG' => $blog_img,
      'BLOG' => $blog,

#
#-----[ OPEN ]------------------------------------------------
#

admin/admin_users.php

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

$aim = ( !empty($HTTP_POST_VARS['aim']) ) ? trim(strip_tags( $HTTP_POST_VARS['aim'] ) ) : '';

#
#-----[ AFTER, ADD ]------------------------------------------
#

      $blog = ( !empty($HTTP_POST_VARS['blog']) ) ? trim(strip_tags( $HTTP_POST_VARS['blog'] ) ) : '';

#
#-----[ FIND ]------------------------------------------------
#
# the lines are too longer

validate_optional_fields($icq, $aim, $msn,

#
#-----[ IN-LINE FIND ]---------------------------------------- 
#

, $signature

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
#

, $blog

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

$aim = htmlspecialchars(stripslashes($aim));

#
#-----[ AFTER, ADD ]------------------------------------------
#

         $blog = htmlspecialchars(stripslashes($blog));

#
#-----[ FIND ]------------------------------------------------
#
# the lines are too longer

SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) . "',

#
#-----[ IN-LINE FIND ]---------------------------------------- 
#

, user_msnm = '" . str_replace("\'", "''", $msn) . "'

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
#

, user_blog = '" . str_replace("\'", "''", $blog) . "'

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

$yim = htmlspecialchars(stripslashes($yim));

#
#-----[ AFTER, ADD ]------------------------------------------
#

         $blog= htmlspecialchars(stripslashes($blog));

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

$yim = htmlspecialchars($this_userdata['user_yim']);

#
#-----[ AFTER, ADD ]------------------------------------------
#

      $blog = htmlspecialchars($this_userdata['user_blog']);

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

$s_hidden_fields .= '<input type="hidden" name="msn" value="' . str_replace("\"", """, $msn) . '" />';

#
#-----[ AFTER, ADD ]------------------------------------------
#

         $s_hidden_fields .= '<input type="hidden" name="blog" value="' . str_replace("\"", """, $blog) . '" />';

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

'AIM' => $aim,

#
#-----[ AFTER, ADD ]------------------------------------------
#

         'BLOG' => $blog,

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

'L_AIM' => $lang['AIM'],

#
#-----[ AFTER, ADD ]------------------------------------------
#

         'L_BLOG' => $lang['BLOG'],

#
#-----[ OPEN ]------------------------------------------------
#

includes/functions_validate.php

#
#-----[ FIND ]------------------------------------------------
#
# the lines are too longer

function validate_optional_fields(&$icq, &$aim, &$msnm, &$yim,

#
#-----[ IN-LINE FIND ]---------------------------------------- 
#

, &$sig

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
#

, &$blog

#
#-----[ FIND ]------------------------------------------------
#
# the lines are too longer

$check_var_length = array('aim', 'msnm', 'yim',

#
#-----[ IN-LINE FIND ]---------------------------------------- 
#

, 'sig'

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
#

, 'blog'

#
#-----[ OPEN ]------------------------------------------------
#

includes/usercp_register.php

#
#-----[ FIND ]------------------------------------------------
#
# the lines are too longer

$strip_var_list = array('username' => 'username', 'email' => 'email', 'icq' => 'icq',

#
#-----[ IN-LINE FIND ]---------------------------------------- 
#

, 'yim' => 'yim'

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
#

, 'blog' => 'blog'

#
#-----[ FIND ]------------------------------------------------
#
# the lines are too longer

validate_optional_fields($icq, $aim, $msn, $yim,

#
#-----[ IN-LINE FIND ]---------------------------------------- 
#

, $signature

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
#

, $blog

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

$aim = stripslashes($aim);

#
#-----[ AFTER, ADD ]------------------------------------------
#

      $blog = stripslashes($blog);

#
#-----[ FIND ]------------------------------------------------
#
# the lines are too longer

SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) ."', user_icq = '" . str_replace("\'", "''", $icq) . "',

#
#-----[ IN-LINE FIND ]---------------------------------------- 
#

, user_icq = '" . str_replace("\'", "''", $icq) . "'

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
#

, user_blog = '" . str_replace("\'", "''", str_replace(' ', '+', $blog)) . "'

#
#-----[ FIND ]------------------------------------------------
#
# the lines are too longer

$sql = "INSERT INTO " . USERS_TABLE . "   (user_id, username, user_regdate,

#
#-----[ IN-LINE FIND ]---------------------------------------- 
#

, user_msnm

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
#

, user_blog

#
#-----[ FIND ]------------------------------------------------
#
# the lines are too longer

VALUES ($user_id, '" . str_replace("\'", "''", $username) . "',

#
#-----[ IN-LINE FIND ]---------------------------------------- 
#

, '" . str_replace("\'", "''", $msn) . "'

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
#

, '" . str_replace("\'", "''", $blog) . "'

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

'MSN' => $msn,

#
#-----[ AFTER, ADD ]-----------------------------------------
#

               'BLOG' => $blog,

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

$yim = stripslashes($yim);

#
#-----[ AFTER, ADD ]-----------------------------------------
#

   $blog = stripslashes($blog);

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

$yim = $userdata['user_yim'];

#
#-----[ AFTER, ADD ]-----------------------------------------
#

   $blog = $userdata['user_blog'];

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

'AIM' => $aim,

#
#-----[ AFTER, ADD ]-----------------------------------------
#

      'BLOG' => $blog,

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

'L_AIM' => $lang['AIM'],

#
#-----[ AFTER, ADD ]-----------------------------------------
#

      'L_BLOG' => $lang['BLOG'],

#
#-----[ OPEN ]------------------------------------------------
#

includes/usercp_viewprofile.php

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

$yim_img = ( $profiledata['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $profiledata['user_yim'] . '&.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
$yim = ( $profiledata['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $profiledata['user_yim'] . '&.src=pg">' . $lang['YIM'] . '</a>' : '';

#
#-----[ AFTER, ADD ]-----------------------------------------
#

$blog_img = ( $profiledata['user_blog'] ) ? '<a href="' . $profiledata['user_blog'] . '" target="_userwww"><img src="' . $images['icon_blog'] . '" alt="' . $lang['Visit_blog'] . '" title="' . $lang['Visit_blog'] . '" border="0" /></a>' : ' ';
$blog = ( $profiledata['user_blog'] ) ? '<a href="' . $temp_url . '" target="_userwww">' . $profiledata['user_blog'] . '</a>' : ' ';

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

'YIM' => $yim,

#
#-----[ AFTER, ADD ]-----------------------------------------
#

   'BLOG_IMG' => $blog_img,
   'BLOG' => $blog,

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

'L_YAHOO' => $lang['YIM'],

#
#-----[ AFTER, ADD ]-----------------------------------------
#

   'L_BLOG' => $lang['BLOG'],
   'L_VISIT_BLOG' => $lang['Visit_blog'],

#
#-----[ OPEN ]------------------------------------------------
#

language/lang_english/lang_main.php

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

$lang['YIM'] = 'Yahoo Messenger';

#
#-----[ AFTER, ADD ]-----------------------------------------
#

$lang['BLOG'] = 'Blog';
$lang['Visit_blog'] = 'Visit poster\'s Blog';

#
#-----[ OPEN ]------------------------------------------------
#

templates/subSilver/profile_add_body.tpl

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

     <td class="row2">
      <input type="text" class="post"style="width: 150px"  name="yim" size="20" maxlength="255" value="{YIM}" />
     </td>
   </tr>
#
#-----[ AFTER, ADD ]-----------------------------------------
#

   <tr>
     <td class="row1"><span class="gen">{L_BLOG}:</span></td>
     <td class="row2">
      <input type="text" class="post"style="width: 200px"  name="blog" size="25" maxlength="255" value="{BLOG}" />
     </td>
   </tr>

#
#-----[ OPEN ]------------------------------------------------
#

templates/subSilver/profile_view_body.tpl

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

<tr> 
  <td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_MESSENGER}:</span></td>
  <td class="row1" valign="middle"><span class="gen">{MSN}</span></td>
</tr>

#
#-----[ AFTER, ADD ]-----------------------------------------
#

      <tr> 
        <td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_BLOG}:</span></td>
        <td class="row1" valign="middle"><span class="gen">{BLOG_IMG}</span></td>
      </tr>

#
#-----[ OPEN ]------------------------------------------------
#

templates/subSilver/subSilver.cfg

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

$images['icon_msnm'] = "$current_template_images/{LANG}/icon_msnm.gif";

#
#-----[ AFTER, ADD ]-----------------------------------------
#

$images['icon_blog'] = "$current_template_images/{LANG}/icon_blog.gif";

#
#-----[ OPEN ]------------------------------------------------
#

templates/subSilver/viewtopic_body.tpl

#
#-----[ FIND ]------------------------------------------------
#
# the lines are too longer

<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG}

#
#-----[ IN-LINE FIND ]---------------------------------------- 
#

{postrow.MSN_IMG}

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
#

{postrow.BLOG_IMG}

#
#-----[ OPEN ]------------------------------------------------
#

templates/subSilver/admin/user_edit_body.tpl

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

<tr> 
  <td class="row2" colspan="2"><span class="gensmall">{L_PROFILE_INFO_NOTICE}</span></td>
</tr>

#
#-----[ AFTER, ADD ]-----------------------------------------
#

   <tr>
     <td class="row1"><span class="gen">{L_BLOG}</span></td>
     <td class="row2">
      <input class="post" type="text" name="blog" size="35" maxlength="255" value="{BLOG}" />
     </td>
   </tr>

# 
#-----[ SAVE/CLOSE ALL FILES ]-------------------------------- 
# 
# EoM[/FONT]
 

EftelyA

Kadim Üye
22 Kas 2007
9,098
59
EsEs
memberlist.php ' de görüntülenmesini isterseniz ..

demo :
memberlist :
http://img136.imageshack.us/img136/7149 ... emohe3.jpg


Kod:
 [FONT=Courier New][COLOR=#666666]############################################################## 
## MOD Title:      Add-on Blog in Memberlist
## MOD Author:      Lapinox ([email protected]) of phpbb-fr.com
##                      [original add-on of reddog (n/a) http://www.reddevboard.com/]
## MOD Description:   This add-on adds the profile Blog of
##         the users in the memberlist. Require the
##         installation of the mod Blog
## MOD Version:      1.0.1
## MOD Compatibility:   2.0.15
## 
## Installation Level:   easy
## Installation Time:   3 Minutes (1mn by EasyMOD of Nuttzy)
## Files To Edit:   2
##   memberlist.php
##   templates/subSilver/memberlist_body.tpl
## Included Files:   (n/a)
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/
## 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/ 
##############################################################
## Author Notes: (n/a)
############################################################## 
## Before Adding This MOD To Your Forum, You Should
## Back Up All Files Related To This MOD 
##############################################################
## MOD History :
##
## 2004-10-01 - Version 1.0.1
##   - enhanced EasyMOD v0.1.13 compliant
## 2004-06-18 - Version 1.0.0
##   - EasyMod Compliant
##
##############################################################

#
#-----[ OPEN ]------------------------------------------------
#

memberlist.php

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

'L_ICQ' => $lang['ICQ'],

#
#-----[ AFTER, ADD ]------------------------------------------
#

   'L_BLOG' => $lang['BLOG'],

#
#-----[ FIND ]------------------------------------------------
#
# the lines are too longer

$sql = "SELECT username, user_id, user_viewemail,

#
#-----[ IN-LINE FIND ]---------------------------------------- 
#

, user_msnm

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
#

, user_blog

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

$msn = ( $row['user_msnm'] ) ? '<a href="' . $temp_url . '">' . $lang['MSNM'] . '</a>' : '';

#
#-----[ AFTER, ADD ]------------------------------------------
#

      $blog_img = ( $row['user_blog'] ) ? '<a href="' . $postrow[$i]['user_blog'] . '" target="_blank"><img src="' . $images['icon_blog'] . '" alt="' . $lang['BLOG'] . ': ' . $row['user_blog'] . '" title="' . $lang['BLOG'] . ': ' . $row['user_blog'] . '" border="0" /></a>' : '';
      $blog = ( $row['user_blog'] ) ? '<a href="' . $postrow[$i]['user_blog'] . '" target=_blank">' . $lang['BLOG'] . '</a>' : '';

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

'YIM' => $yim,

#
#-----[ AFTER, ADD ]------------------------------------------
#

         'BLOG_IMG' => $blog_img,
         'BLOG' => $blog,

#
#-----[ OPEN ]------------------------------------------------
#

templates/subSilver/memberlist_body.tpl

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

<th class="thTop" nowrap="nowrap">{L_EMAIL}</th>

#
#-----[ AFTER, ADD ]------------------------------------------
#

     <th class="thTop" nowrap="nowrap">{L_BLOG}</th>

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

<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"> {memberrow.EMAIL_IMG} </td>

#
#-----[ AFTER, ADD ]------------------------------------------
#

     <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"> {memberrow.BLOG_IMG} </td>

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

<td class="catBottom" colspan="8" height="28"> </td>

#
#-----[ IN-LINE FIND ]---------------------------------------- 
#

colspan="8"

# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 

colspan="9"

# 
#-----[ SAVE/CLOSE ALL FILES ]-------------------------------- 
# 
# EoM[/COLOR][/FONT]
 

MegameDam

Yeni üye
4 Tem 2021
2
0
36
Wild Terra 2: New Lands скачать торрент бесплатно на пк
trashgame.net›13293-wild-terra-2-new-lands.html
Wild Terra 2: New Lands предлагает игроку погрузиться в удивительное MMORPG-приключение, где можно сосредоточится на гринде, постепенно улучшая свои навыки при выполнении заданий.


131150jfcdohz8b8bqdiij.jpg

131149gwbb4zuibqrskduq.jpg

131149m1198iz2suiuue5w.jpg
 
Ü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.