Bem-vindo ao Portugal Paranormal. Por favor, faça o login ou registe-se.
Total de membros
19.424
Total de mensagens
369.448
Total de tópicos
26.915
  • Preciso de ajuda antes que parta o computador
    Iniciado por mestrecruz
    Lido 3.860 vezes
0 Membros e 1 Visitante estão a ver este tópico.
mestrecruz
Tenho um fórum SMF e tenho instalado um Pack com o LIKE mas o like está me aparecer em branco e fica pouco visível
alguém me pode dizer onde posso alterar a cor?
obrigado


Estes são os ficheiros arquivados

1.License bytes)
2.README.md (2999 bytes)
3.Sources/LikePosts/DB/LikePostsAdminDB.php (5085 bytes)
4.Sources/LikePosts/DB/LikePostsDB.php (12707 bytes)
5.Sources/LikePosts/DB/LikePostsProfileDB.php (5065 bytes)
6.Sources/LikePosts/DB/LikePostsStatsDB.php (16489 bytes)
7.Sources/LikePosts/JSON.php (34014 bytes)
8.Sources/LikePosts/LikePosts.php (10465 bytes)
9.Sources/LikePosts/LikePostsAdmin.php (9563 bytes)
10.Sources/LikePosts/LikePostsData.php (3420 bytes)
11.Sources/LikePosts/LikePostsProfile.php (3686 bytes)
12.Sources/LikePosts/LikePostsRouter.php (7259 bytes)
13.Sources/LikePosts/LikePostsStats.php (3821 bytes)
14.Sources/LikePosts/LikePostsUtils.php (8288 bytes)
15.Sources/LikePosts/LikeUnlikePosts.php (3801 bytes)
16.Sources/LikePosts/index.php (218 bytes)
17.Themes/default/LikePostsAdmin.template.php (9767 bytes)
18.Themes/default/LikePostsProfile.template.php (3651 bytes)
19.Themes/default/LikePostsStats.template.php (5495 bytes)
20.Themes/default/css/LikePosts.css (9541 bytes)
21.Themes/default/images/LikePosts/index.php (218 bytes)
22.Themes/default/images/LikePosts/no_avatar.png (651 bytes)
23.Themes/default/images/LikePosts/preloader.gif (34411 bytes)
24.Themes/default/images/LikePosts/progress_bar.gif (10710 bytes)
25.Themes/default/languages/LikePosts.english.php (7569 bytes)
26.Themes/default/languages/LikePosts.russian-utf8.php (10790 bytes)
27.Themes/default/languages/LikePosts.turkish.php (7780 bytes)
28.Themes/default/scripts/LikePosts/LikePosts.js (33546 bytes)
29.Themes/default/scripts/LikePosts/LikePosts.min.js (19925 bytes)
30.Themes/default/scripts/LikePosts/index.php (218 bytes)
31.changelog.md (4647 bytes)
32.installer/Modification.xml (8182 bytes)
33.installer/index.php (218 bytes)
34.installer/install.php (7670 bytes)
35.installer/installHooks.php (1933 bytes)
36.installer/uninstall.php (1947 bytes)
37.package-info.xml (1738 bytes)
38.readme.txt (3076 bytes)

linha-1
<?php

/**
* @package manifest file for Like Posts
* @version 2.0.5
* @author Joker (http://www.simplemachines.org/community/index.php?action=profile;u=226111)
* @copyright Copyright (c) 2014, Siddhartha Gupta
* @license http://www.mozilla.org/MPL/MPL-1.1.html
*/

/*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Initial Developer of the Original Code is
*  Joker (http://www.simplemachines.org/community/index.php?action=profile;u=226111)
* Portions created by the Initial Developer are Copyright (C) 2012
* the Initial Developer. All Rights Reserved.
*
* Contributor(s): Big thanks to all contributor(s)
* emanuele45 (https://github.com/emanuele45)
*
*/
linha-33
function template_lp_admin_info() {
   global $context, $txt, $scripturl;

   echo '
   <div class="cat_bar">
      <h3 class="catbg">
         <span class="ie6_header floatleft">', $txt['lp_admin_panel'] ,'</span>
      </h3>
   </div>
   <p class="windowbg description">', isset($context['like_posts']['tab_desc']) ? $context['like_posts']['tab_desc'] : $txt['rp_general_desc'] ,'</p>';
   
   // The admin tabs.
      echo '
   <div id="adm_submenus">
      <ul class="dropmenu">';
   
      // Print out all the items in this tab.
      $menu_buttons = $context[$context['admin_menu_name']]['tab_data'];
      foreach ($menu_buttons['tabs'] as $sa => $tab)
      {
         echo '
         <li>
            <a class="', ($menu_buttons['active_button'] == $tab['url']) ? 'active ' : '', 'firstlevel" href="', $scripturl, '?action=admin;area=likeposts;sa=', $tab['url'],'"><span class="firstlevel">', $tab['label'], '</span></a>
         </li>';
      }
   
      // the end of tabs
      echo '
      </ul>
   </div><br class="clear" />';

   echo '
   <div class="cat_bar">
      <h3 class="catbg">
         ', $context['like_posts']['tab_name'] ,'
      </h3>
   </div>';
linha -72
function template_lp_admin_general_settings() {
   global $context, $txt, $scripturl;

   template_lp_admin_info();

   echo '
   <div id="admincenter">
      <form action="'. $scripturl .'?action=admin;area=likeposts;sa=savegeneralsettings" method="post" accept-charset="UTF-8">
         <div class="windowbg2">
            <span class="topslice"><span></span></span>
               <div class="content">';

               foreach ($context['config_vars'] as $config_var) {
                  echo '
                  <dl class="settings">
                     <dt>
                        <span>'. $txt[$config_var['name']] .'</span>';
                        if (isset($config_var['subtext']) && !empty($config_var['subtext'])) {
                           echo '
                           <br /><span class="smalltext">', $config_var['subtext'] ,'</span>';
                        }
                     echo '
                     </dt>
                     <dd>';

                     if($config_var['type'] === 'check') {
                        echo '
                        <input type="checkbox" name="', $config_var['name'], '" id="', $config_var['name'], '"', ($config_var['value'] ? ' checked="checked"' : ''), ' value="1" class="input_check" />';
                     } elseif ($config_var['type'] === 'text') {
                        echo '
                        <input type="text" name="', $config_var['name'], '" id="', $config_var['name'], '" value="', $config_var['value'], '"', ($config_var['size'] ? ' size="' . $config_var['size'] . '"' : ''), ' class="input_text" />';
                     }

                     echo '
                     </dd>
                  </dl>';
               }

               echo '
               <input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
               <input type="submit" name="submit" value="', $txt['lp_submit'], '" tabindex="', $context['tabindex']++, '" class="button_submit" />';
     
               echo '
               </div>
            <span class="botslice"><span></span></span>
         </div>
   
      </form>
   </div>
   <br class="clear">'
linha -124
function template_lp_admin_permission_settings() {
   global $context, $txt, $scripturl, $modSettings;

   template_lp_admin_info();

   echo '
   <div id="admincenter">
      <form action="'. $scripturl .'?action=admin;area=likeposts;sa=savepermissionsettings" method="post" accept-charset="UTF-8">
         <div class="windowbg2">
            <span class="topslice"><span></span></span>
               <div class="content">';

               foreach ($context['like_posts']['groups_permission_settings'] as $perm) {
                  $permVals = isset($modSettings[$perm]) && strlen($modSettings[$perm]) > 0 ? (explode(',', $modSettings[$perm])) : '';

                  echo ' <fieldset>';
                  echo '<legend onclick="lpObj.likePostsUtils.selectInputByLegend(event, this)" data-allselected="" class="cursor_pointer">' . $txt['lp_perm_' . $perm] . '</legend>';
               
                  foreach ($context['like_posts']['groups'] as $group) {
                     echo '
                        <input' . (is_array($permVals) && in_array($group['id_group'], $permVals) ? ' checked="checked"' : '') . ' id="' . $group['id_group'] . '" type="checkbox" name="' . $perm . '[]" value="' . $group['id_group'] . '" /> <label for="' . $group['id_group'] . '">' . $group['group_name'] . '</label><br />';
                  }
                  echo ' </fieldset>';
               }


               echo ' <fieldset>
                  <legend onclick="lpObj.likePostsUtils.selectInputByLegend(event, this)" data-allselected="" class="cursor_pointer">' . $txt['lp_guest_permissions'] . '</legend>';

                  foreach ($context['like_posts']['guest_permission_settings'] as $perm) {
                     echo '
                        <input' . (isset($modSettings[$perm]) && !empty($modSettings[$perm]) ? ' checked="checked"' : '') . ' type="checkbox" name="' . $perm . '" value="1" /> <label>' . $txt['lp_perm_' . $perm] . '</label><br />';
                  }
               echo ' </fieldset>';

               echo '
               <input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
               <input type="submit" name="submit" value="', $txt['lp_submit'], '" tabindex="', $context['tabindex']++, '" class="button_submit" />';
     
               echo '
               </div>
            <span class="botslice"><span></span></span>
         </div>
   
      </form>
   </div>
   <br class="clear">';

linha-173
function template_lp_admin_board_settings() {
   global $context, $txt, $scripturl, $modSettings;

   template_lp_admin_info();

   echo '
   <div id="admincenter">
      <form action="'. $scripturl .'?action=admin;area=likeposts;sa=saveboardsettings" method="post" accept-charset="UTF-8">
         <div class="windowbg2">
            <span class="topslice"><span></span></span>
            <div class="content" id="lp_board_settings">';

            $activeBoards = isset($modSettings['lp_active_boards']) && strlen($modSettings['lp_active_boards']) > 0 ? (explode(',', $modSettings['lp_active_boards'])) : '';

            foreach ($context['categories'] as $key => $category) {
               echo ' <fieldset>';
               echo '<legend onclick="lpObj.likePostsUtils.selectInputByLegend(event, this)" data-allselected="" class="cursor_pointer">' . $category['name'] . '</legend>';
           
               foreach ($category['boards'] as $board) {
                  echo '<div class="', isset($board['child_level']) && !empty($board['child_level']) ? 'lp_child_board': '' ,'">
                     <input' . (is_array($activeBoards) && in_array($board['id'], $activeBoards) ? ' checked="checked"' : '') . ' id="' . $board['id'] . '" type="checkbox" name="active_board[]" value="' . $board['id'] . '" /><label for="' . $board['name'] . '">' . $board['name'] . '</label></div>';
               }
               echo ' </fieldset>';
            }
            echo '
            </div>
            <div class="lp_admin_board_footer">
               <input type="checkbox" value="0" onclick="lpObj.likePostsAdmin.selectAllBoards(event, this)" /><label>' . $txt['lp_select_all_boards'] . '</label><br /><br />
               <input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
               <input type="submit" name="submit" value="', $txt['lp_submit'], '" tabindex="', $context['tabindex']++, '" class="button_submit" />
            </div>
         </div>
   
      </form>
   </div>
   <br class="clear">'

linha-211
function template_lp_admin_recount_stats() {
   global $context, $txt, $scripturl, $modSettings;

   template_lp_admin_info();

   echo '
   <div id="admincenter">
      <div class="windowbg2">
         <span class="topslice"><span></span></span>
            <div class="content">';

   echo '
            <fieldset><legend>', $txt['lp_recount_likes'], '</legend>
               <div class="lp_admin_recount_text">
                  ', $txt['lp_check_likes'], '
               </div>
               <div class="lp_admin_recount_btn">
                  <span class="floatright">
                     <input type="submit" value="Run task now" class="button_submit" onclick="lpObj.likePostsAdmin.optimizeLikes(event); return false;">
                  </span>
               </div>
               <div class="member_count_precentage"></div>
            </fieldset>';

   echo '
            <fieldset><legend>', $txt['lp_remove_duplicate_likes'], '</legend>
               <div class="lp_admin_recount_text">
                  ', $txt['lp_remove_duplicate_likes_desc'], '
               </div>
               <div class="lp_admin_recount_btn">
                  <span class="floatright">
                     <input type="submit" value="Run task now" class="button_submit" onclick="lpObj.likePostsAdmin.removeDupLikes(event, {}); return false;">
                  </span>
               </div>
               <div class="member_count_precentage"></div>
            </fieldset>';

   echo '
            <fieldset><legend>', $txt['lp_recount_total_likes'], '</legend>
               <div class="lp_admin_recount_text">
                  ', $txt['lp_reset_total_likes_received'], '
               </div>
               <div class="lp_admin_recount_btn">
                  <span class="floatright">
                     <input type="submit" value="Run task now" class="button_submit" onclick="lpObj.likePostsAdmin.recountStats(event, {}); return false;">
                  </span>
               </div>
               <div class="member_count_precentage"></div>
            </fieldset>';

   echo '
            </div>
         <span class="botslice"><span></span></span>
      </div>
   </div>
   <div class="like_posts_overlay hide_elem"></div>
   <br class="clear">';
}

?>

Só preciso de saber o sitio para mudar obrigado

Se bem me lembro das aulas de programação deverás ter um ficheiro css que permite editar cores e tipos de letras.
parto do principio que deve de ser ai.
Enquanto te podes mexer, treina o corpo. Quando não te podes mexer, treina a mente.