[Tutorial] Instalare thanks for posts • Tutoriale PHPBB3 • Forum CS Gothic - Tutoriale Counter Strike - Server CS
It is currently 23 May 2012, 02:19












Mobile Payments by Fortumo



 Page 1 of 3 [ 18 mesaje ]  Go to page 1, 2, 3  Next
Your Ad Here
Author Message
 Post subject: [Tutorial] Instalare thanks for posts
PostPosted: 09 Sep 2011, 20:44 
Membru Fidel
User avatar

Joined: 26 Dec 2010, 15:38
Posts: 521
Location: Craiova
Multumiri date: 31
Multumiri primite: 71
Nume Steam: alecs-zeus
Arma Preferata: mp5
Harta Preferata: de_dust2
Server preferat: PUBLIC
Cunostinte_CS: Foarte slabe
Detinator Server: NU
Detinator Steam: DA
Sex: Masculin
Puncte Reputatie: 1645
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Your Ad Here
Descriere: Ii poti multumi unui user.

Versiune :1.3.1

Timp de instalare : In jur de 15 minute

Autor: Палыч

Download mod: http://www.phpbb.com/community/viewtopic.php?t=1690905

Fisiere de uploadat
  • root/umil/*.*,
  • root/install_thanks_mod.php,
  • root/thankslist.php,
  • root/toplist.php,
  • root/adm/style/acp_thanks.html,
  • root/adm/style/acp_thanks_refresh.html,
  • root/adm/style/acp_thanks_reput.html,
  • root/adm/style/acp_thanks_truncate.html,
  • root/includes/functions_thanks.php,
  • root/includes/functions_thanks_forum.php,
  • root/includes/acp/acp_thanks.php,
  • root/includes/acp/acp_thanks_refresh.php,
  • root/includes/acp/acp_thanks_reput.php,
  • root/includes/acp/acp_thanks_truncate.php,
  • root/includes/acp/info/acp_thanks.php,
  • root/includes/acp/info/acp_thanks_refresh.php,
  • root/includes/acp/info/acp_thanks_reput.php,
  • root/includes/acp/info/acp_thanks_truncate.php,
  • root/language/en/email/user_thanks.txt,
  • root/language/en/mods/thanks_mod.php,
  • root/language/en/mods/info_ucp_thanks.php,
  • root/language/en/mods/info_acp_thanks.php,
  • root/styles/prosilver/imageset/removethanks.gif,
  • root/styles/prosilver/imageset/thankposts.gif,
  • root/styles/prosilver/template/thanks_results.html,
  • root/styles/prosilver/template/thankslist_body.html,
  • root/styles/prosilver/template/toplist_body.html,
  • root/styles/prosilver/theme/images/icon_thanks.gif,
  • root/styles/prosilver/theme/images/icon_thanks_toplist.gif,
  • root/styles/prosilver/theme/images/reput_block_back.gif,
  • root/styles/prosilver/theme/images/reput_block_red.gif,
  • root/styles/prosilver/theme/images/reput_star_back.gif,
  • root/styles/prosilver/theme/images/reput_star_blue.gif,
  • root/styles/prosilver/theme/images/reput_star_gold.gif

Fisiere de modificat
  • memberlist.php,
  • posting.php,
  • viewforum.php,
  • viewtopic.php,
  • includes/constants.php,
  • includes/functions.php,
  • includes/functions_display.php,
  • includes/acp/acp_styles.php,
  • includes/ucp/ucp_prefs.php,
  • Prosilver
  • styles/prosilver/imageset/imageset.cfg,
  • styles/prosilver/template/forumlist_body.html,
  • styles/prosilver/template/memberlist_view.html,
  • styles/prosilver/template/overall_header.html,
  • styles/prosilver/template/ucp_prefs_personal.html,
  • styles/prosilver/template/viewforum_body.html,
  • styles/prosilver/template/viewtopic_body.html,
  • styles/prosilver/theme/buttons.css,
  • styles/prosilver/theme/colours.css
  • Subsilver
  • styles/subsilver2/imageset/imageset.cfg,
  • styles/subsilver2/template/forumlist_body.html,
  • styles/subsilver2/template/memberlist_view.html,
  • styles/subsilver2/template/overall_header.html,
  • styles/subsilver2/template/ucp_prefs_personal.html,
  • styles/subsilver2/template/viewforum_body.html,
  • styles/subsilver2/template/viewtopic_body.html

Instalare

Deschizi memberlist.php
-Cauti
// Inactive reason/account?

-Adaugi inainte
include($phpbb_root_path . 'includes/functions_thanks.' . $phpEx);   
   $user->add_lang('mods/thanks_mod');   
   output_thanks_memberlist($user_id);

Deschizi posting.php
-Cauta
// Start session management

Adaugi inainte
include($phpbb_root_path . 'includes/functions_thanks.' . $phpEx);

Cauta
$next_post_id = delete_post($forum_id, $topic_id, $post_id, $data);

Adaugi dupa
delete_post_thanks($post_id);

Deschizi viewforum.php
Cauta
// Okay, lets dump out the page ...

Adaugi inainte
if (!function_exists('get_max_topic_thanks'))
{
   include($phpbb_root_path . 'includes/functions_thanks.' . $phpEx);
}
get_max_topic_thanks();
if ($topic_list)
{
   get_thanks_topic_number();
}

Cauta
$s_type_switch = ($row['topic_type'] == POST_ANNOUNCE || $row['topic_type'] == POST_GLOBAL) ? 1 : 0;

Adaugi inainte
if ($config['thanks_topic_reput_view'])
      {
         get_thanks_topic_reput($topic_id);
      }

Deschizi viewtopic.php

Cauta
'PAGE_NUMBER'    => on_page($total_posts, $config['posts_per_page'], $start),

Adaugi dupa
   'START'         => $start,

Cauta
'allow_pm'      => $row['user_allow_pm'],

Adaugi dupa
   'allow_thanks_pm' => $row['user_allow_thanks_pm'],
            'allow_thanks_email' => $row['user_allow_thanks_email'],


Cauta
// Output the posts

Adaugi inainte
if (!function_exists('array_all_thanks'))
{
   include($phpbb_root_path . 'includes/functions_thanks.' . $phpEx);
}
array_all_thanks($post_list);
if (isset($_REQUEST['thanks']) && !isset($_REQUEST['rthanks']))
{
   insert_thanks(request_var('thanks', 0), $user->data['user_id']);
}
if (isset($_REQUEST['rthanks']) && !isset($_REQUEST['thanks']))
{
   delete_thanks(request_var('rthanks', 0), $user->data['user_id']);
}

Cauta
      'L_IGNORE_POST'      => ($row['hide_post']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), '<a href="' . $viewtopic_url . "&amp;p={$row['post_id']}&amp;view=show#p{$row['post_id']}" . '">', '</a>') : '',

Adaugi dupa
'S_FORUM_THANKS'   => ($auth->acl_get('f_thanks', $forum_id)) ? true : false,

Cauta
   if (isset($cp_row['row']) && sizeof($cp_row['row']))

Adaugi inainte
output_thanks($row['user_id']);

Deschizi includes/constants.php
Cauta
// Additional tables

Adaugi dupa
define('THANKS_TABLE', $table_prefix . 'thanks');

Deschizi includes/functions.php

Cauta
   $user_lang = $user->lang['USER_LANG'];

Adaugi dupa
   $user->add_lang('mods/thanks_mod');

Cauta
      'U_MEMBERLIST'         => append_sid("{$phpbb_root_path}memberlist.$phpEx"

Adaugi dupa
      'U_THANKSLIST'         => append_sid("{$phpbb_root_path}thankslist.$phpEx"),
      'U_REPUT_TOPLIST'      => append_sid("{$phpbb_root_path}toplist.$phpEx"),

Cauta
      'S_DISPLAY_MEMBERLIST'   => (isset($auth)) ? $auth->acl_get('u_viewprofile') : 0,

Adaugi dupa
      'S_DISPLAY_THANKSLIST'   => (isset($auth)) ? $auth->acl_get('u_viewthanks') : 0,
      'S_DISPLAY_TOPLIST'      => (isset($auth)) ? $auth->acl_get('u_viewtoplist') : 0,

Deschizi includes/functions_display.php
Cauta
   // Used to tell whatever we have to create a dummy category or not.

Adaugi inainte
   if (!function_exists('get_max_forum_thanks'))
   {
      include($phpbb_root_path . 'includes/functions_thanks_forum.' . $phpEx);
   }
   get_max_forum_thanks();
   foreach ($forum_rows as $row)
   {
      $forum_thanks_rating[] = $row['forum_id'];
   }
   global $cache;
   $cache->put('_forum_thanks_rating', $forum_thanks_rating);
   get_thanks_forum_number();
   $cache->destroy('_forum_thanks_rating');

Cauta
      // Assign subforums loop for style authors

Adaugi inainte
      if ($config['thanks_forum_reput_view'])
      {
         get_thanks_forum_reput($row['forum_id']);
      }

Deschizi includes/acp/acp_styles.php
Cauta
            'icon_back_top', 'icon_contact_aim', 'icon_contact_email', 'icon_contact_icq', 'icon_contact_jabber', 'icon_contact_msnm', 'icon_contact_pm', 'icon_contact_yahoo', 'icon_contact_www', 'icon_post_delete', 'icon_post_edit', 'icon_post_info', 'icon_post_quote', 'icon_post_report', 'icon_user_online', 'icon_user_offline', 'icon_user_profile', 'icon_user_search', 'icon_user_warn', 'button_pm_forward', 'button_pm_new', 'button_pm_reply', 'button_topic_locked', 'button_topic_new', 'button_topic_reply',

Dupa linia
'button_topic_reply',

Adaugi
 'thankposts', 'removethanks',

Deschizi includes/ucp/ucp_prefs.php

Cauta
'allowpm'      => request_var('allowpm', (bool) $user->data['user_allow_pm']),

Adaugi dupa
               'allowthankspm'   => request_var('allowthankspm', (bool) $user->data['user_allow_thanks_pm']),
               'allowthanksemail'   => request_var('allowthanksemail', (bool) $user->data['user_allow_thanks_email']),

Cauta
'user_allow_pm'         => $data['allowpm'],

Adaugi dupa
'user_allow_thanks_pm'   => $data['allowthankspm'],
                     'user_allow_thanks_email'=> $data['allowthanksemail'],

Cauta
'S_ALLOW_PM'      => $data['allowpm'],

Adaugi dupa
               'S_ALLOW_THANKS_PM'   => $data['allowthankspm'],
               'S_ALLOW_THANKS_EMAIL'=> $data['allowthanksemail'],

Pentru Prosilver
Deschizi styles/prosilver/imageset/imageset.cfg
Cauti
img_icon_user_warn = icon_user_warn.gif*20*20

Adaugi dupa
img_thankposts = thankposts.gif*20*20
img_removethanks = removethanks.gif*20*20

Deschizi styles/prosilver/template/forumlist_body.html
Cauti
<!-- IF forumrow.MODERATORS -->

Adaugi inainte
               <!-- BEGIN reput -->
               <!-- IF forumrow.reput.S_THANKS_FORUM_REPUT_VIEW and forumrow.reput.FORUM_REPUT and not S_IS_BOT -->
               <span style="display: block;">
                  <!-- IF forumrow.reput.S_THANKS_REPUT_GRAPHIC -->
                  <span style="display: block; float: left; width: {forumrow.reput.THANKS_REPUT_GRAPHIC_WIDTH}; height: {forumrow.reput.THANKS_REPUT_HEIGHT}; background: URL({forumrow.reput.THANKS_REPUT_IMAGE_BACK});"><span style="display: block; height: {forumrow.reput.THANKS_REPUT_HEIGHT}; width: {forumrow.reput.FORUM_REPUT}; background: URL({forumrow.reput.THANKS_REPUT_IMAGE});"></span></span>&nbsp;
                  <!-- ENDIF -->
               {L_REPUT}:&nbsp;{forumrow.reput.FORUM_REPUT}   
               </span>
               <!-- ENDIF -->
               <!-- END reput -->

Deschizi styles/prosilver/template/memberlist_view.html
cauti
</form>

Adaugi inainte
<script type="text/JavaScript">
function getElement(iElementId)
{
   if (document.all)
   {
      return document.all[iElementId];
   }
   if (document.getElementById)
   {
      return document.getElementById(iElementId);
   }
}

function toggleElement(oElement)
{
   if (oElement.style.display == "none")
   {
      oElement.style.display = "";
   }
   else
   {
      oElement.style.display = "none";
   }
}
</script>

<div class="panel bg1">
   <div class="inner"><span class="corners-top"><span></span></span>
   <h3>{L_GRATITUDES}</h3>
      <dl>
         <dt><strong>{L_GIVEN}:</strong> {POSTER_GIVE_COUNT} {L_THANKS}</dt>
         <dd>
         <!-- IF POSTER_GIVE_COUNT and THANKS_PROFILELIST_VIEW -->
         <a href="javascript: toggleElement( getElement('show_thanks'));">{L_THANKS_LIST}</a>
         <div id="show_thanks" style="display: none;">{THANKS}</div>
         <!-- ENDIF -->
         </dd>
      </dl>      
   <span class="corners-bottom"><span></span></span></div>
</div>
<div class="panel bg2">
   <div class="inner"><span class="corners-top"><span></span></span>
      <dl>
         <dt><strong>{L_RECEIVED}:</strong> {POSTER_RECEIVE_COUNT} {L_THANKS}</dt>
         <dd>
         <!-- IF POSTER_RECEIVE_COUNT and THANKS_PROFILELIST_VIEW -->
         <a href="javascript: toggleElement( getElement('show_thanked'));">{L_THANKS_LIST}</a>
         <div id="show_thanked" style="display: none;">{THANKED}</div>
         <!-- ENDIF -->
         </dd>
      </dl>      
   <span class="corners-bottom"><span></span></span></div>
</div>

Deschizi styles/prosilver/template/overall_header.html
Cauti
<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->

Adaugi dupa
               <!-- IF S_DISPLAY_TOPLIST --><li class="icon-thanks_toplist"><a href="{U_REPUT_TOPLIST}" title="{L_REPUT_TOPLIST}">{L_REPUT_TOPLIST}</a></li><!-- ENDIF -->
            <!-- IF S_DISPLAY_THANKSLIST --><li class="icon-thanks"><a href="{U_THANKSLIST}" title="{L_THANKS_USER}">{L_GRATITUDES}</a></li><!-- ENDIF -->

Deschizi styles/prosilver/template/ucp_prefs_personal.html
Cauti
         <label for="allowpm0"><input type="radio" name="allowpm" id="allowpm0" value="0"<!-- IF not S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
      </dd>
   </dl>

Adaugi dupa
   <dl>
      <dt><label for="allowthankspm1">{L_ALLOW_THANKS_PM}:</label><br /><span>{L_ALLOW_THANKS_PM_EXPLAIN}</span></dt>
      <dd>
         <label for="allowthankspm1"><input type="radio" name="allowthankspm" id="allowthankspm1" value="1"<!-- IF S_ALLOW_THANKS_PM --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
         <label for="allowthankspm0"><input type="radio" name="allowthankspm" id="allowthankspm0" value="0"<!-- IF not S_ALLOW_THANKS_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
      </dd>
   </dl>
   <dl>
      <dt><label for="allowthanksemail1">{L_ALLOW_THANKS_EMAIL}:</label><br /><span>{L_ALLOW_THANKS_EMAIL_EXPLAIN}</span></dt>
      <dd>
         <label for="allowthanksemail1"><input type="radio" name="allowthanksemail" id="allowthanksemail1" value="1"<!-- IF S_ALLOW_THANKS_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
         <label for="allowthanksemail0"><input type="radio" name="allowthanksemail" id="allowthanksemail0" value="0"<!-- IF not S_ALLOW_THANKS_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
      </dd>
   </dl>

Deschizi styles/prosilver/template/viewforum_body.html
Cauti
               <!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} &raquo; {topicrow.FIRST_POST_TIME}

Adaugi dupa
               <!-- BEGIN reput -->
               <!-- IF topicrow.reput.S_THANKS_TOPIC_REPUT_VIEW and topicrow.reput.TOPIC_REPUT and not S_IS_BOT -->
               <span style="display: block;">
                  <!-- IF topicrow.reput.S_THANKS_REPUT_GRAPHIC -->
                  <span style="display: block; float: left; width: {topicrow.reput.THANKS_REPUT_GRAPHIC_WIDTH}; height: {topicrow.reput.THANKS_REPUT_HEIGHT}; background: URL({topicrow.reput.THANKS_REPUT_IMAGE_BACK});"><span style="display: block; height: {topicrow.reput.THANKS_REPUT_HEIGHT}; width: {topicrow.reput.TOPIC_REPUT}; background: URL({topicrow.reput.THANKS_REPUT_IMAGE});"></span></span>&nbsp;
                  <!-- ENDIF -->
               {L_REPUT}:&nbsp;{topicrow.reput.TOPIC_REPUT}
               </span>
               <!-- ENDIF -->
               <!-- END reput -->


Deschizi styles/prosilver/template/viewtopic_body.html

Cauti
               <!-- IF postrow.U_QUOTE --><li class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></li><!-- ENDIF -->

Adaugi dupa
               <!-- IF  not postrow.S_FIRST_POST_ONLY or (not START and postrow.S_ROW_COUNT == 0) -->
                  <!-- IF not postrow.S_POST_ANONYMOUS and postrow.S_FORUM_THANKS and S_USER_LOGGED_IN and not postrow.S_IS_OWN_POST and (not postrow.S_ALREADY_THANKED or postrow.S_REMOVE_THANKS) --><li class="{postrow.THANKS_IMG}"><a href="{postrow.THANKS_LINK}" title="{postrow.THANK_ALT}{postrow.POST_AUTHOR}"></a></li><!-- ENDIF -->               
               <!-- ENDIF -->

Cauti
         <!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
      <!-- ENDIF -->

Adaugi dupa
      <!-- IF postrow.THANKS and postrow.THANKS_POSTLIST_VIEW -->
         <hr />
         <div class="content">
            <!-- IF not postrow.S_POST_ANONYMOUS and not S_IS_BOT-->
            <dl class="postbody small">
               <dt>{postrow.THANK_TEXT}{postrow.POST_AUTHOR_FULL}{postrow.THANK_TEXT_2}</dt>
               <dd>{postrow.THANKS}</dd>
            </dl>
            <!-- ENDIF -->   
         </div>
      <!-- ENDIF -->
      <!-- IF postrow.S_THANKS_POST_REPUT_VIEW and postrow.POST_REPUT and not postrow.S_POST_ANONYMOUS and not S_IS_BOT -->
         <div class="content">
            <dl class="postbody">
               <dt class="small"><strong>{L_REPUT}:</strong>&nbsp;{postrow.POST_REPUT}</dt>
               <dd>
               <!-- IF postrow.S_THANKS_REPUT_GRAPHIC -->
               <div style="width: {postrow.THANKS_REPUT_GRAPHIC_WIDTH}; height: {postrow.THANKS_REPUT_HEIGHT}; background: URL({postrow.THANKS_REPUT_IMAGE_BACK});"><div style="height: {postrow.THANKS_REPUT_HEIGHT}; width: {postrow.POST_REPUT}; background: URL({postrow.THANKS_REPUT_IMAGE});"></div></div>&nbsp;
               <!-- ENDIF -->
               </dd>
            </dl>
         </div>
      <!-- ENDIF -->

Cauti
      <!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->

Adaugi dupa
      <!-- IF not postrow.S_POST_ANONYMOUS and postrow.THANKS_COUNTERS_VIEW -->
         <dd><strong>{L_GIVEN}:</strong><!-- IF postrow.POSTER_GIVE_COUNT < 1 --> {postrow.POSTER_GIVE_COUNT} {L_THANK}<!-- ELSEIF postrow.POSTER_GIVE_COUNT > 1 --> <a href="{postrow.POSTER_GIVE_COUNT_LINK}">{postrow.POSTER_GIVE_COUNT}</a> {L_THANKS}<!-- ELSE --> <a href="{postrow.POSTER_GIVE_COUNT_LINK}">{postrow.POSTER_GIVE_COUNT}</a> {L_THANK}<!-- ENDIF --></dd>
         <dd><strong>{L_RECEIVED}:</strong><!-- IF postrow.POSTER_RECEIVE_COUNT < 1 --> {postrow.POSTER_RECEIVE_COUNT} {L_THANK}<!-- ELSEIF postrow.POSTER_RECEIVE_COUNT > 1 --> <a href="{postrow.POSTER_RECEIVE_COUNT_LINK}">{postrow.POSTER_RECEIVE_COUNT}</a> {L_THANKS}<!-- ELSE --> <a href="{postrow.POSTER_RECEIVE_COUNT_LINK}">{postrow.POSTER_RECEIVE_COUNT}</a> {L_THANK}<!-- ENDIF --></dd>
      <!-- ENDIF -->

Deschide styles/prosilver/theme/buttons.css
Cauta
.sitehome,

Adaugi dupa
 .icon-thanks, .icon-thanks_toplist,

Cauta
/* Set profile icon dimensions */

Adaugi dupa
ul.profile-icons li.thanks-icon   { width: {IMG_THANKPOSTS_WIDTH}px; height: {IMG_THANKPOSTS_HEIGHT}px; }
ul.profile-icons li.removethanks-icon   { width: {IMG_REMOVETHANKS_WIDTH}px; height: {IMG_REMOVETHANKS_HEIGHT}px; }

Deschide styles/prosilver/theme/colours.css
Cauta
.icon-search               { background-image: url("{T_THEME_PATH}/images/icon_search.gif"); }

Adauga dupa
.icon-thanks               { background-image: url("{T_THEME_PATH}/images/icon_thanks.gif"); }
.icon-thanks_toplist         { background-image: url("{T_THEME_PATH}/images/icon_thanks_toplist.gif"); }

Cauta
/* Moderator icons */

Adaugi inainte
.thanks-icon, .thanks-icon a      { background-image: url("{IMG_THANKPOSTS_SRC}"); }
.removethanks-icon, .removethanks-icon a   { background-image: url("{IMG_REMOVETHANKS_SRC}"); }

Pentru Subsilver
Deschizi styles/subsilver2/imageset/imageset.cfg
Cauta
img_icon_topic_unapproved = icon_topic_unapproved.gif*18*19

Adaugi dupa
img_thankposts = thankposts.gif
img_removethanks =  removethanks.gif

Deschizi styles/subsilver2/template/forumlist_body.html
Cauta
            <!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS -->
               <p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
            <!-- ENDIF -->

Inlocuieste cu
               <!-- BEGIN reput -->
               <!-- IF forumrow.reput.S_THANKS_FORUM_REPUT_VIEW and forumrow.reput.FORUM_REPUT and not S_IS_BOT -->
               <span style="display: block;">
                  <!-- IF forumrow.reput.S_THANKS_REPUT_GRAPHIC -->
                  <span style="display: block; float: left; width: {forumrow.reput.THANKS_REPUT_GRAPHIC_WIDTH}; height: {forumrow.reput.THANKS_REPUT_HEIGHT}; background: URL({forumrow.reput.THANKS_REPUT_IMAGE_BACK});"><span style="display: block; height: {forumrow.reput.THANKS_REPUT_HEIGHT}; width: {forumrow.reput.FORUM_REPUT}; background: URL({forumrow.reput.THANKS_REPUT_IMAGE});"></span></span>&nbsp;
                  <!-- ENDIF -->
               {L_REPUT}:{forumrow.reput.FORUM_REPUT}
               </span>
               <!-- ENDIF -->
               <!-- END reput -->
            <!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS -->
               <p class="forumdesc" style="clear: left"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
            <!-- ENDIF -->

Deschide styles/subsilver2/template/memberlist_view.html

Cauta
               <td><!-- IF ACTIVE_TOPIC --><b><a class="gen" href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></b><br /><span class="genmed">[ {ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>
            </tr>
         <!-- ENDIF -->

Adauga dupa
            <tr>
               <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_GIVEN}: </td>
               <td><span class="gen"><b>{POSTER_GIVE_COUNT}</b> {L_THANKS}</span><br /><!-- IF POSTER_GIVE_COUNT and THANKS_PROFILELIST_VIEW --><a href="javascript: toggleElement( getElement('show_thanks'));">{L_THANKS_LIST}</a>
                  <div id="show_thanks" style="display: none;">
                     {THANKS}
                  </div>
                  <!-- ENDIF -->
               </td>
            </tr>
            <tr>
               <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_RECEIVED}: </td>
               <td><span class="gen"><b>{POSTER_RECEIVE_COUNT}</b> {L_THANKS}</span><br /><!-- IF POSTER_RECEIVE_COUNT and THANKS_PROFILELIST_VIEW --><a href="javascript: toggleElement( getElement('show_thanked'));">{L_THANKS_LIST}</a>
                  <div id="show_thanked" style="display: none;">
                     {THANKED}
                  </div>
                  <!-- ENDIF -->
               </td>
            </tr>

Deschide styles/subsilver2/template/overall_header.html
Cauta
<script type="text/javascript">

Adauga inainte
<script type="text/JavaScript">
function getElement(iElementId)
{
   if (document.all)
   {
      return document.all[iElementId];
   }
   if (document.getElementById)
   {
      return document.getElementById(iElementId);
   }
}

function toggleElement(oElement)
{
   if (oElement.style.display == "none")
   {
      oElement.style.display = "";
   }
   else
   {
      oElement.style.display = "none";
   }
}
</script>

Cauta
               <!-- IF S_DISPLAY_MEMBERLIST -->&nbsp; &nbsp;<a href="{U_MEMBERLIST}"><img src="{T_THEME_PATH}/images/icon_mini_members.gif" width="12" height="13" alt="*" /> {L_MEMBERLIST}</a><!-- ENDIF -->

Adaugi dupa
               <!-- IF S_DISPLAY_TOPLIST -->&nbsp; &nbsp;<a href="{U_REPUT_TOPLIST}"><img src="{T_THEME_PATH}/images/icon_mini_toplist.gif" width="15" height="14" alt="*" />{L_REPUT_TOPLIST}</a><!-- ENDIF -->
            <!-- IF S_DISPLAY_THANKSLIST -->&nbsp; &nbsp;<a href="{U_THANKSLIST}"><img src="{T_THEME_PATH}/images/icon_mini_thanks.gif" width="12" height="13" alt="*" /> {L_GRATITUDES}</a><!-- ENDIF -->

Deschide styles/subsilver2/template/ucp_prefs_personal.html
Cauta
<!-- IF S_CAN_HIDE_ONLINE -->

Adauga inainte
<tr>
   <td class="row1" width="50%"><b class="genmed">{L_ALLOW_THANKS_PM}:</b><br /><span class="gensmall">{L_ALLOW_THANKS_PM_EXPLAIN}</span></td>
   <td class="row2"><input type="radio" class="radio" name="allowthankspm" id="allowthankspm1" value="1"<!-- IF S_ALLOW_THANKS_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span>&nbsp;&nbsp;<input type="radio" class="radio" name="allowthankspm" id="allowthankspm0" value="0"<!-- IF not S_ALLOW_THANKS_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td>
</tr>
<tr>
   <td class="row1" width="50%"><b class="genmed">{L_ALLOW_THANKS_EMAIL}:</b><br /><span class="gensmall">{L_ALLOW_THANKS_EMAIL_EXPLAIN}</span></td>
   <td class="row2"><input type="radio" class="radio" name="allowthanksemail" id="allowthanksemail1" value="1"<!-- IF S_ALLOW_THANKS_EMAIL --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span>&nbsp;&nbsp;<input type="radio" class="radio" name="allowthanksemail" id="allowthanksemail0" value="0"<!-- IF not S_ALLOW_THANKS_EMAIL --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td>
</tr>

Deschide styles/subsilver2/template/viewforum_body.html
Cauta
            <!-- IF topicrow.PAGINATION -->
               <p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
            <!-- ENDIF -->

Inlocuieste cu
               <!-- BEGIN reput -->
               <!-- IF topicrow.reput.S_THANKS_TOPIC_REPUT_VIEW and topicrow.reput.TOPIC_REPUT and not S_IS_BOT -->
               <span style="display: block;">
                  <!-- IF topicrow.reput.S_THANKS_REPUT_GRAPHIC -->
                  <span style="float: left; width: {topicrow.reput.THANKS_REPUT_GRAPHIC_WIDTH}; height: {topicrow.reput.THANKS_REPUT_HEIGHT}; background: URL({topicrow.reput.THANKS_REPUT_IMAGE_BACK});"><span style="display: block; height: {topicrow.reput.THANKS_REPUT_HEIGHT}; width: {topicrow.reput.TOPIC_REPUT}; background: URL({topicrow.reput.THANKS_REPUT_IMAGE});"></span></span>&nbsp;
                  <!-- ENDIF -->
               {L_REPUT}:{topicrow.reput.TOPIC_REPUT}
               </span>
               <!-- ENDIF -->
               <!-- END reput -->
            <!-- IF topicrow.PAGINATION -->
               <p class="gensmall" style="clear:left"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
            <!-- ENDIF -->

Cauta
               <!-- IF topicrow.PAGINATION -->
                  <p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
               <!-- ENDIF -->

Inlocuieste cu
               <!-- BEGIN reput -->
               <!-- IF topicrow.reput.S_THANKS_TOPIC_REPUT_VIEW and topicrow.reput.TOPIC_REPUT and not S_IS_BOT -->
               <span style="display: block;">
                  <!-- IF topicrow.reput.S_THANKS_REPUT_GRAPHIC -->
                  <span style="display: block; float: left; width: {topicrow.reput.THANKS_REPUT_GRAPHIC_WIDTH}; height: {topicrow.reput.THANKS_REPUT_HEIGHT}; background: URL({topicrow.reput.THANKS_REPUT_IMAGE_BACK});"><span style="display: block;  height: {topicrow.reput.THANKS_REPUT_HEIGHT}; width: {topicrow.reput.TOPIC_REPUT}; background: URL({topicrow.reput.THANKS_REPUT_IMAGE});"></span></span>&nbsp;
                  <!-- ENDIF -->
               {L_REPUT}:{topicrow.reput.TOPIC_REPUT}
               </span>   
               <!-- ENDIF -->
               <!-- END reput -->
               <!-- IF topicrow.PAGINATION -->
                  <p class="gensmall" style="clear:left"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
               <!-- ENDIF -->

Deschide styles/subsilver2/template/viewtopic_body.html
Cauta
               <!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->

Adauga dupa
               <!-- IF not postrow.S_POST_ANONYMOUS and postrow.THANKS_COUNTERS_VIEW --><br /><b>{L_GIVEN}:</b><!-- IF postrow.POSTER_GIVE_COUNT < 1 --> {postrow.POSTER_GIVE_COUNT} {L_THANK}<!-- ELSEIF postrow.POSTER_GIVE_COUNT > 1 --> <a href="{postrow.POSTER_GIVE_COUNT_LINK}">{postrow.POSTER_GIVE_COUNT}</a> {L_THANKS}<!-- ELSE --> <a href="{postrow.POSTER_GIVE_COUNT_LINK}">{postrow.POSTER_GIVE_COUNT}</a> {L_THANK}<!-- ENDIF --><br /><b>{L_RECEIVED}:</b><!-- IF postrow.POSTER_RECEIVE_COUNT < 1 --> {postrow.POSTER_RECEIVE_COUNT} {L_THANK}<!-- ELSEIF postrow.POSTER_RECEIVE_COUNT > 1 --> <a href="{postrow.POSTER_RECEIVE_COUNT_LINK}">{postrow.POSTER_RECEIVE_COUNT}</a> {L_THANKS}<!-- ELSE --> <a href="{postrow.POSTER_RECEIVE_COUNT_LINK}">{postrow.POSTER_RECEIVE_COUNT}</a> {L_THANK}<!-- ENDIF --><!-- ENDIF -->

Cauta
                        <!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF -->

Adauga dupa
                        <!-- IF  not postrow.S_FIRST_POST_ONLY or (not START and postrow.S_ROW_COUNT == 0) -->
                           <!-- IF not postrow.S_POST_ANONYMOUS and postrow.S_FORUM_THANKS and S_USER_LOGGED_IN and not postrow.S_IS_OWN_POST and (not postrow.S_ALREADY_THANKED or postrow.S_REMOVE_THANKS) --><a href="{postrow.THANKS_LINK}" title="{postrow.THANK_ALT}{postrow.POST_AUTHOR}">{postrow.THANK_IMG}</a>   <!-- ENDIF -->
                        <!-- ENDIF -->   
                        <!-- IF postrow.THANKS and postrow.THANKS_POSTLIST_VIEW and not postrow.S_POST_ANONYMOUS -->
                           <table width="100%" cellspacing="0">
                              <tr valign="middle">
                                 <td class="gensmall" align="{S_CONTENT_FLOW_BEGIN}">
                                 <hr />
                                 {postrow.THANK_TEXT}{postrow.POST_AUTHOR_FULL}{postrow.THANK_TEXT_2} {postrow.THANKS}</td>
                              </tr>
                           </table>
                        <!-- ENDIF -->
                        <!-- IF postrow.S_THANKS_POST_REPUT_VIEW and postrow.POST_REPUT and not postrow.S_POST_ANONYMOUS and not S_IS_BOT -->
                           <table class="content" align="left">
                              <tr class="postbody" align="left">
                                 <td>
                                 <!-- IF postrow.S_THANKS_REPUT_GRAPHIC -->
                                 <div style="float: left; width: {postrow.THANKS_REPUT_GRAPHIC_WIDTH}; height: {postrow.THANKS_REPUT_HEIGHT}; background: URL({postrow.THANKS_REPUT_IMAGE_BACK});"><div style="height: {postrow.THANKS_REPUT_HEIGHT}; width: {postrow.POST_REPUT}; background: URL({postrow.THANKS_REPUT_IMAGE});"></div></div>&nbsp;
                                 <!-- ENDIF -->
                                 <strong>{L_REPUT}:</strong>&nbsp;{postrow.POST_REPUT}
                                 </td>
                              </tr>
                           </table>
                        <!-- ENDIF -->

[*]Dupa ce ati terminat de modificat fisierele ,rulati http://domeniu.ro/forum/install_thanks_mod.php
[*]Nu uitati sa faceti permisiunile din PA>Permisiuni>Permisiuni forum pentru grupuri>Alegeti forumul>Permisiuni avansate>Can thanks for posts>Da
[*]Tutorial creat de PlaY4FuN
[*]Download : Click here


Ultima oară modificat de D4aLicious pe 09 Sep 2011, 22:18, modificat 1 dată în total.


Pentru acest mesaj, autorul D4aLicious a primit multumiri de la: d3v1l
Rating:2.6%
 
Offline
 Profile  
 
 Post subject: Re: [Tutorial] Instalare thanks for posts
PostPosted: 09 Sep 2011, 21:32 
Membru Fidel
User avatar

Joined: 14 Oct 2010, 21:31
Posts: 522
Location: http://www.cs-gothic.ro
Multumiri date: 9
Multumiri primite: 25
Puncte Reputatie: 762
Your Ad Here
Link download?







Image

Image

Edit: Apasa pe Image sau Image daca ti-am fost de folos! ;)
Offline
 Profile  
 
 Post subject: Re: [Tutorial] Instalare thanks for posts
PostPosted: 09 Sep 2011, 21:41 
Administrator
User avatar

Joined: 27 Jun 2010, 12:44
Posts: 12693
Location: www.cs-gothic.ro
Multumiri date: 1483
Multumiri primite: 1366
Arma Preferata: M4A1
Harta Preferata: de_tuscan
Puncte Reputatie: 35971
Your Ad Here
L-am adaugat eu : http://www.phpbb.com/community/viewtopic.php?t=1690905







Reteaua Gothic:
Jocuri Online Image Raspuns.Net Image English Tutorials Image Forum Animale de Companie Image Portal CS

Hosting Servere Image Test CS Image Download CS Gothic 2012 Image Parodie CS-GothicImageEvidenta Redirecte

PhotoshopImageDownload Toolbar Gothic Image Creatii Gothic CS Image Reguli Forum Image Suport CS - Servere
Socializeaza cu Gothic CS Community : [respect-023.gif]
ImageImageImageImageImageImageImageImageYahoo! Mess
Contact: id mess: csgothicro - NU dati add pentru a cere ajutor, acesta se ofera
doar la topicurile de suport de pe forum - nu pe mess, nu prin mesaje private !
Offline
 Profile  
 
 Post subject: Re: [Tutorial] Instalare thanks for posts
PostPosted: 04 Dec 2011, 14:57 
Membru Nou
User avatar

Joined: 03 Dec 2011, 23:56
Posts: 17
Multumiri date: 1
Multumiri primite: 1
Puncte Reputatie: 53
Your Ad Here
l-am instalat cu succes dar nu apare butonul "Thanks"


Offline
 Profile  
 
 Post subject: Re: [Tutorial] Instalare thanks for posts
PostPosted: 04 Dec 2011, 21:18 
Administrator
User avatar

Joined: 27 Jun 2010, 12:44
Posts: 12693
Location: www.cs-gothic.ro
Multumiri date: 1483
Multumiri primite: 1366
Arma Preferata: M4A1
Harta Preferata: de_tuscan
Puncte Reputatie: 35971
Your Ad Here
Pune-l in folderul cu celelalte limbi instalate pe forum, daca ai si romana pune-l si acolo (unde zice de en il pui si in ro)







Reteaua Gothic:
Jocuri Online Image Raspuns.Net Image English Tutorials Image Forum Animale de Companie Image Portal CS

Hosting Servere Image Test CS Image Download CS Gothic 2012 Image Parodie CS-GothicImageEvidenta Redirecte

PhotoshopImageDownload Toolbar Gothic Image Creatii Gothic CS Image Reguli Forum Image Suport CS - Servere
Socializeaza cu Gothic CS Community : [respect-023.gif]
ImageImageImageImageImageImageImageImageYahoo! Mess
Contact: id mess: csgothicro - NU dati add pentru a cere ajutor, acesta se ofera
doar la topicurile de suport de pe forum - nu pe mess, nu prin mesaje private !
Offline
 Profile  
 
 Post subject: Re: [Tutorial] Instalare thanks for posts
PostPosted: 05 Dec 2011, 12:16 
Membru Fidel
User avatar

Joined: 05 Aug 2011, 13:39
Posts: 167
Multumiri date: 9
Multumiri primite: 18
Puncte Reputatie: 324
Your Ad Here
Am pus si in ro ca in en dar tot nu imi apare :|







Image
Da un + si multumesc. Sa fie in bafta ta!Cs-Gothic![/size]
Yahoo! Messenger
Offline
 Profile  
 
 Post subject: Re: [Tutorial] Instalare thanks for posts
PostPosted: 05 Dec 2011, 21:12 
Administrator
User avatar

Joined: 27 Jun 2010, 12:44
Posts: 12693
Location: www.cs-gothic.ro
Multumiri date: 1483
Multumiri primite: 1366
Arma Preferata: M4A1
Harta Preferata: de_tuscan
Puncte Reputatie: 35971
Your Ad Here
Da refresh template, refresh imageset si clear cache.







Reteaua Gothic:
Jocuri Online Image Raspuns.Net Image English Tutorials Image Forum Animale de Companie Image Portal CS

Hosting Servere Image Test CS Image Download CS Gothic 2012 Image Parodie CS-GothicImageEvidenta Redirecte

PhotoshopImageDownload Toolbar Gothic Image Creatii Gothic CS Image Reguli Forum Image Suport CS - Servere
Socializeaza cu Gothic CS Community : [respect-023.gif]
ImageImageImageImageImageImageImageImageYahoo! Mess
Contact: id mess: csgothicro - NU dati add pentru a cere ajutor, acesta se ofera
doar la topicurile de suport de pe forum - nu pe mess, nu prin mesaje private !

Pentru acest mesaj, autorul d3v1l a primit multumiri de la: MorTen
Rating:2.6%
 
Offline
 Profile  
 
Re: [Tutorial] Instalare thanks for posts Top
 
Display posts from previous:  Sort by  
 Page 1 of 3 [ 18 mesaje ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: