To jest tylko wersja do druku, aby zobaczyć pełną wersję tematu, kliknij TUTAJ
phpBB2 by Przemo
Support forów phpBB2 modified by Przemo

1.12.8 - Medal System 0.4.7 do phpbb2 modified by Przemo 1.12.8

Pawellll1995 - 07-11-2010, 16:56

Gdy ktoś ma więcej niż 1 medal, forum od znacznika "pokaż szczegóły" ( dot. medali) nie pokazuje się, a jak się rozwinie ten znacznik to wszystko jest porozrzucane

mniej więcej tak jak ktoś już dawał ss

cycu098 - 27-11-2010, 13:16

Da się coś z tym zrobic? Bo nie mogę sobie sam poradzic
http://img230.imageshack....311/medaley.jpg

Hellamon - 05-12-2010, 10:52

jak to zrobic ? wytlmaczy ktos
Freaker - 05-12-2010, 11:58

Jak Dodać komuś medal ?
W menu admina mam :




Sorry za białe tło !

cycu098 - 06-12-2010, 19:16

Freaker, wchodzisz na adresforum.pl/medals.php i tam masz swoje medale. Wtedy wybierasz któryś i wpisujesz nick osoby, której chcesz go dac.
cartel - 07-12-2010, 16:10



co jest ?

krystianr - 07-12-2010, 16:14

cartel, wykonaj zapytania do bazy danych od moda które masz w instrukcji
btw. zobacz ten temat : http://www.przemo.org/php...0014#action_sql

cartel - 07-12-2010, 16:26

okey, juz jest ok. a jak wreczyc komus medal ?
Woytec - 07-12-2010, 16:33

Patrz wyżej - http://www.przemo.org/php...p=613795#613795
cartel - 07-12-2010, 16:38

którą linijke dokladnie edytowac ?

[ Dodano: 07-12-2010, 22:44 ]
jak dac komus medal ?
Cytat:
adresforum.pl/medals.php


nie wiem co gdzie jak.. dodac

Ramzes__PL - 10-01-2011, 18:13

Witam. mam z tym małe problemy ;/ jakbym zapodał pliki to mógłby mi ktoś to przerobić ??

[ Dodano: 11-01-2011, 12:58 ]
Ok poradziłem sobie w połowie gorzej z plikami stylu ;/

daje paczkę... jakby ktoś mógł pomóc.

[ Dodano: 12-01-2011, 18:02 ]
w poradniku :

Kod:
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl

#
#-----[ FIND ]------------------------------------------
#
&nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>


#
#-----[ AFTER, ADD ]------------------------------------------
#
&nbsp;<a href="{U_MEDALS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_medal.gif" width="12" height="13" border="0" alt="{U_MEDALS}" hspace="3" />{L_MEDALS}</a>&nbsp;
 


nie mogę dodać :


Kod:
&nbsp;<a href="{U_MEDALS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_medal.gif" width="12" height="13" border="0" alt="{U_MEDALS}" hspace="3" />{L_MEDALS}</a>&nbsp;

bo mam inny styl


całość z overall-header:

Kod:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
  <link href="http://my-viewty.yoyo.pl/templates/siteground-j15-68/favicon.ico" rel="shortcut icon" type="image/x-icon" />
  <meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}"/>
  <meta http-equiv="Content-Style-Type" content="text/css"/>
  <meta name="description" content="Wszystko dla Twojego LG KU990 Viewty." />
  <meta name="ROBOTS" content="INDEX,FOLLOW,ALL"/>
  <meta name="revisit-after" content="2 days"/>

  {META_DESC}
  {META}
  <title>{SITENAME} :: {PAGE_TITLE}</title>
  <script type="text/javascript" src="snowstorm.js"></script>
  <link rel="stylesheet" href="templates/xandgreen/{T_HEAD_STYLESHEET}" type="text/css"/>
    <script language="Javascript" type="text/javascript">
    <!--
    var factive_color = '{T_ACTIVE_COLOR}';
    var faonmouse_color = '{T_ONMOUSE_COLOR}';
    var faonmouse2_color = '{T_ONMOUSE2_COLOR}';
    var l_empty_message = '{L_EMPTY_MESSAGE}';
    var no_text_selected = '{L_NO_TEXT_SELECTED}';
    var cname = '{UNIQUE_COOKIE_NAME}';
    var cpath = '{COOKIE_PATH}';
    var cdomain = '{COOKIE_DOMAIN}';
    var csecure = '{COOKIE_SECURE}';
    <!-- BEGIN switch_enable_pm_popup -->
    if ( {PRIVATE_MESSAGE_NEW_FLAG} )
    {
        window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225, resizable=yes, WIDTH=400');
    }
    <!-- END switch_enable_pm_popup -->
    <!-- BEGIN switch_report_popup -->
    report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT}, resizable=yes, scrollbars=yes, WIDTH={switch_report_popup.S_WIDTH}');
    report.focus();
    <!-- END switch_report_popup -->
    <!-- BEGIN switch_enable_greeting_popup -->
    var greeting_flag = {GREETING_FLAG};
    if ( greeting_flag )
    {
        window.open('{U_GREETING_POPUP}', '_phpbbprivmsg', 'HEIGHT=225, resizable=yes, WIDTH=400');
    }
    <!-- END switch_enable_greeting_popup -->
    //-->
    </script>
    <script language="JavaScript" type="text/javascript" src="images/jsscripts.js"></script>
    <!-- BEGIN overlib -->
    <script language="JavaScript" type="text/javascript" src="templates/{STYLE_NAME}/overlib.js"><!-- overLIB (c) Erik Bosrup --></script>
    <!-- END overlib -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" onload="focus_field('focus');">
<!-- BEGIN body_with_loading -->
<script language="Javascript" type="text/javascript">
<!--
    document.write('<div id="hidepage" style="position: absolute; left:0px; top:0px; height: 100%; width: 100%; background-color: {T_BODY_BGCOLOR}; layer-background-color: {T_BODY_BGCOLOR};"><table width="100%" style="height: 100%"><tr><td align="center" valign="middle"><table width="50%" align="center" style="border: 1px solid {T_BODY_LINK}, solid"><tr><td align="center" class="row1"><span class="genmed"><br /><b>{L_PAGE_LOAD_PLEASE_WAIT}<br /><br /><img src="images/loading.gif" alt=""><br /><br />{PAGE_LOADING_STOP}<br />&nbsp;<\/span><\/td><\/tr><\/table><\/td><\/tr><\/table><\/div>');
//-->
</script>
<!-- END body_with_loading -->
<!-- BEGIN body_without_loading -->
<!-- END body_without_loading -->
<!-- BEGIN overlib -->
<div id="overDiv" style="position:absolute; visibility:hidden; filter: alpha(opacity=85); -moz-opacity: 0.85; z-index: 10"></div>
<!-- END overlib -->
<!-- BEGIN advert -->
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
    <tr>
        <td valign="top">
<!-- END advert -->

<!-- BEGIN forum_thin -->
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="{forum_thin.WIDTH_COLOR_1}">
<tr>
<td align="center">
<table width="{forum_thin.WIDTH_TABLE}" border="0" bgcolor="{forum_thin.WIDTH_COLOR_2}" cellpadding="0" cellspacing="{forum_thin.TABLE_BORDER}">
<tr>
<td align="center">
<!-- END forum_thin -->
<a name="top"></a>{ROTATE_BANNER_1}
      {FORUM_WARNINGS}
         {ROTATE_BANNER_2}{BANNER_TOP}
         <!-- BEGIN header -->
   <table align="center"><tr><td>
<table width="780px" cellspacing="0" cellpadding="10" border="0" align="center">
    <tr>
        <td class="bodyline">
        <table width="100%" cellspacing="0" cellpadding="0" border="0">
            <tr>               
                <td align="center" width="100%" valign="middle"><a href="{U_INDEX_PORTAL}"><img src="templates/xandgreen/images/top.jpg" border="0" alt="{L_INDEX}"></a>
                <table width="100%" border="0" cellpadding="2" cellspacing="0" background="templates/xandgreen/images/menu.gif">
                    <tr>
                        <td height="34" align="center" valign="middle" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a>&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a>&nbsp;
                        <!-- BEGIN switch_user_logged_out -->
                        &nbsp;<a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a>&nbsp;
                        <!-- END switch_user_logged_out -->
                        </span>
                        <td height="34" align="center" valign="middle" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu">{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
                    </tr>
                </table>
                </td>
            </tr>
        </table>

        <br />
         <!-- END header -->
        <!-- BEGIN simple_header -->
        <table width="780px" cellspacing="0" cellpadding="10" border="0" align="center">
    <tr>
        <td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
            <tr>               
                <td align="center" width="100%" valign="middle">{SITENAME_COLOR}
                <table width="100%" border="0" cellpadding="2" cellspacing="0" background="templates/xandgreen/images/menu.gif">
                    <tr>
                        <td height="34" align="center" valign="middle" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a>&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a>&nbsp;
                        <!-- BEGIN switch_user_logged_out -->
                        &nbsp;<a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a>&nbsp;
                        <!-- END switch_user_logged_out -->
                        </span>
                        <td height="34" align="center" valign="middle" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu">{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
                    </tr>
                </table></td>
            </tr>
        </table>

        <br />
         <!-- END simple_header -->
      {ROTATE_BANNER_3}
      <!-- BEGIN switch_enable_board_msg -->
      <div id="hm" style="display: ''; position: relative;">
      <table width="100%" class="forumline" cellspacing="1" cellpadding="3" border="0" align="center">
        <tr>
         <th class="thCornerL" height="25" nowrap="nowrap" onclick="javascript:ShowHide('hm','hm2','hm3');" style="cursor: pointer" title="{L_VHIDE}">&nbsp;{L_BOARD_MSG}&nbsp;</th>
        </tr>
        <tr>
         <td class="row1"><span class="gen">{BOARD_MSG}</span></td>
        </tr>
      </table>
    </div>
    <div id="hm2" style="display: none; position: relative;">
    <table width="100%" class="forumline" cellspacing="1" cellpadding="3" border="0" align="center">
      <tr>
       <th class="thCornerL" height="25" nowrap="nowrap" onclick="javascript:ShowHide('hm','hm2','hm3');" style="cursor: pointer">&nbsp;{L_BOARD_MSG}&nbsp;</th>
      </tr>
    </table>
    </div>
    <script language="javascript" type="text/javascript">
    <!--
    if(GetCookie('hm3') == '2') ShowHide('hm', 'hm2', 'hm3');
    //-->
    </script>
    <!-- END switch_enable_board_msg -->

Hanter14 - 15-01-2011, 22:50

Kod:
DEBUG MODE

SQL Error : 1146 Table 'plwf_cba_pl.phpbb_13medal_cat' doesn't exist

SELECT cat_id, cat_title, cat_order FROM phpbb_13medal_cat ORDER BY cat_order

Line : 804
File : admin_medal.php


O co chodzi?

[ Dodano: 15-01-2011, 22:59 ]
Wgrałem SQL, problem nie ustąpił

d3X - 16-01-2011, 07:23

Hanter14, zauważ że twój prefix tabeli to phpbb_13, więc będą to takie zapytania...

Kod:
CREATE TABLE `phpbb_13medal` (
  `medal_id` mediumint(8) UNSIGNED NOT NULL auto_increment,
  `cat_id` mediumint(8) UNSIGNED NOT NULL default '1',
  `medal_name` varchar(40) NOT NULL,
  `medal_description` varchar(255) NOT NULL,
  `medal_image` varchar(40) NULL,
  PRIMARY KEY  (`medal_id`)
);

CREATE TABLE `phpbb_13medal_user` (
  `issue_id` mediumint(8) UNSIGNED NOT NULL auto_increment,
  `medal_id` mediumint(8) UNSIGNED NOT NULL,
  `user_id` mediumint(8) UNSIGNED NOT NULL,
  `issue_reason` varchar(255) NOT NULL,
  `issue_time` int(11) NOT NULL,
  PRIMARY KEY  (`issue_id`)
);

CREATE TABLE `phpbb_13medal_mod` (
  `mod_id` mediumint(8) UNSIGNED NOT NULL auto_increment,
  `medal_id` mediumint(8) UNSIGNED NOT NULL,
  `user_id` mediumint(8) UNSIGNED NOT NULL,
  PRIMARY KEY  (`mod_id`)
);

CREATE TABLE `phpbb_13medal_cat` (
  `cat_id` mediumint(8) UNSIGNED NOT NULL auto_increment,
  `cat_title` varchar(100) NOT NULL,
  `cat_order` mediumint(8) UNSIGNED NOT NULL default '0',
  PRIMARY KEY  (`cat_id`),
  KEY `cat_order` (`cat_order`)
);

INSERT INTO `phpbb_13config` VALUES ('allow_medal_display', '0');
INSERT INTO `phpbb_13config` VALUES ('medal_display_row', '1');
INSERT INTO `phpbb_13config` VALUES ('medal_display_col', '1');
INSERT INTO `phpbb_13config` VALUES ('medal_display_width', '');
INSERT INTO `phpbb_13config` VALUES ('medal_display_height', '');
INSERT INTO `phpbb_13config` VALUES ('medal_display_order', '');
INSERT INTO `phpbb_13medal_cat` VALUES ('1', 'Default', '10');

Hanter14 - 16-01-2011, 21:55

Masz rację. Jedna liczba i człowiekowi forum leży :D THX ;)
PeterS86 - 22-01-2011, 18:18

Gdzie w viewtopic.php ustawia się odstęp między medalami w widoku tematów pod avatarem?


Powered by phpBB modified by Przemo © 2003 phpBB Group