Przesunięty przez: Matteo 09-11-2013, 09:29 |
Konkursy |
Autor |
Wiadomość |
JustDoIt!
Pomógł: 115 razy Posty: 869
|
Wysłany: 05-04-2010, 21:55 Konkursy
|
|
|
Konkursy MOD
Moda napisałem dla siebie ale myślę że sie przyda innym osobom
Demo można zobaczyć na http://eGrafika.xaa.pl mod jest sprawdzony ^^ nie zauważyłem żadnych błędów
Kod: |
##############################################################
## MOD Title: Konkursy Mod by Maniek/JustDoIt!
## MOD Author: Maniek/JustDoIt! ( patrykpmail@gmail.com / www.GTa4u.net )
## MOD Description: Dodaje możliwość zarządzania konkursami które sie wyswietlają na wszystkich
## podstronach forum w Panelu administracyjnym konfiguracja w
## PA>KONFIGURACJA>DODATKOWE
## MOD Version: 1.0
## Installation Level: Easy
## Installation Time: ~2 min
## Files To edit : 5 admin/admin_board.php
## templates/subSilver/admin/board_config_body_addons.tpl
## includes/page_header.php
## templates/subSilver/overall_header.tpl
## language/lang_polish/lang_admin.php
############################################################### |
Niżej zapodaje screeny |
Ostatnio zmieniony przez Polaczek 20-08-2010, 20:42, w całości zmieniany 3 razy |
|
|
|
|
Gadatliwa Kasia
|
|
|
|
MagicalFire
Pomógł: 980 razy Posty: 4353
|
Wysłany: 05-04-2010, 21:59
|
|
|
bliższe informacje/ konto testowe |
_________________ nie za takie Przemo walczyliśmy |
|
|
|
|
JustDoIt!
Pomógł: 115 razy Posty: 869
|
Wysłany: 05-04-2010, 22:00
|
|
|
MagicalFire napisał/a: | bliższe informacje/ konto testowe |
po co ? jak wchodzisz na strone i widać zaraz dam screena z PA
user nic nie ustawia tylko admin w PA |
|
|
|
|
emiloski94
Pomógł: 2 razy Posty: 363
|
|
|
|
|
JustDoIt!
Pomógł: 115 razy Posty: 869
|
Wysłany: 06-04-2010, 08:32
|
|
|
złe kodowanie |
|
|
|
|
adrian507120
zbanowany
Pomógł: 29 razy Posty: 746
|
Wysłany: 06-04-2010, 09:49
|
|
|
CHym zwykła tabelka z konfiguracją w pa żadna nowośc. |
|
|
|
|
JustDoIt!
Pomógł: 115 razy Posty: 869
|
Wysłany: 06-04-2010, 10:02
|
|
|
Następną wersję spróbuje zrobić zeby pobierało część treści z tematów z danego forum |
|
|
|
|
emiloski94
Pomógł: 2 razy Posty: 363
|
Wysłany: 06-04-2010, 10:30
|
|
|
Czyli jak to mogę poprawić? Oczywiście to forum testowe z modami robię ristę i fajnie by było jakby wszytskie działały |
|
|
|
|
kevin_
Pomógł: 768 razy Posty: 2680
|
|
|
|
|
emiloski94
Pomógł: 2 razy Posty: 363
|
Wysłany: 06-04-2010, 11:19
|
|
|
I tak nie wiem o co chodzi ;/ |
|
|
|
|
JustDoIt!
Pomógł: 115 razy Posty: 869
|
Wysłany: 06-04-2010, 11:23
|
|
|
wrzuć tam treść pliku overall_header.tpl i przekonwertuj |
|
|
|
|
Master93
Pomógł: 21 razy Posty: 744
|
Wysłany: 06-04-2010, 11:25
|
|
|
fajny modzik Ci powiem zaraz zrobię test u siebie |
|
|
|
|
emiloski94
Pomógł: 2 razy Posty: 363
|
Wysłany: 06-04-2010, 11:28
|
|
|
JustDoIt! napisał/a: | wrzuć tam treść pliku overall_header.tpl i przekonwertuj |
nie działa ani z windows na iso ani z iso na windows |
|
|
|
|
JustDoIt!
Pomógł: 115 razy Posty: 869
|
Wysłany: 06-04-2010, 11:33
|
|
|
daj twój plik overall_header.tpl |
|
|
|
|
Gadatliwa Kasia
|
|
|
|
emiloski94
Pomógł: 2 razy Posty: 363
|
Wysłany: 06-04-2010, 11:35
|
|
|
Kod: | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META_DESC}
{META}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/subBlack/{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 /> <\/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; 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}
<table width="100%" cellspacing="0" cellpadding="4" border="0" align="center">
<tr>
<td class="bodyline">
{FORUM_WARNINGS}
{ROTATE_BANNER_2}{BANNER_TOP}
<!-- BEGIN header -->
<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td><a href="{U_INDEX_PORTAL}"><img src="templates/subBlack/images/logo_phpBB.gif" border="0" alt="{L_INDEX_PORTAL}" vspace="1" /></a>
</td>
<td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME_COLOR}</span><br /><span class="gen">{SITE_DESCRIPTION}<br /><br /></span>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
<!-- BEGIN switch_user_logged_in -->
<a href="{U_FAQ}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a>
<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>
<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>
<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>
<!-- BEGIN statistics -->
<a href="{U_STAT}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_statistics.gif" width="12" height="13" border="0" alt="{L_STATISTICS}" hspace="3" />{L_STATISTICS}</a>
<!-- END statistics -->
<!-- BEGIN download -->
<a href="{U_DOWNLOADS}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_DOWNLOADS}" hspace="3" />{L_DOWNLOADS}</a>
<!-- END download -->
</span></td>
</tr>
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>
<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>
<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>
<!-- BEGIN album -->
<a href="{U_ALBUM}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_ALBUM}" hspace="3" />{L_ALBUM}</a>
<!-- END album -->
<!-- BEGIN chat -->
<a href="{S_JOIN_CHAT}" target="_blank"class="mainmenu"><img src="templates/subBlack/images/icon_mini_login.gif" width="12" height="13" border="0" hspace="3" alt="" />Chat</a>
<!-- END chat -->
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<a href="{U_FAQ}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a>
<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>
<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>
<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>
<!-- BEGIN statistics -->
<a href="{U_STAT}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_statistics.gif" width="12" height="13" border="0" alt="{L_STATISTICS}" hspace="3" />{L_STATISTICS}</a>
<!-- END statistics -->
</span></td>
</tr>
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a>
<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>
<!-- BEGIN album -->
<a href="{U_ALBUM}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_ALBUM}" hspace="3" />{L_ALBUM}</a>
<!-- END album -->
<!-- BEGIN chat -->
<a href="{S_JOIN_CHAT}" target="_blank"class="mainmenu"><img src="templates/subBlack/images/icon_mini_login.gif" width="12" height="13" border="0" hspace="3" alt="" />Chat</a>
<!-- END chat -->
<!-- BEGIN download -->
<a href="{U_DOWNLOADS}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_DOWNLOADS}" hspace="3" />{L_DOWNLOADS}</a>
<!-- END download -->
<!-- END switch_user_logged_out -->
</span></td>
</tr>
</table>
</td>
<!-- BEGIN switch_page_avatar -->
<td align="center" nowrap="nowrap">{MY_AVATAR_IMG}</td>
<!-- END switch_page_avatar -->
</tr>
</table>
<!-- END header -->
<!-- BEGIN simple_header -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th>{SITENAME}</th>
</tr>
<tr>
<td class="cat" align="center">
<!-- BEGIN switch_user_logged_in -->
• <a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a> • <a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a> • <a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a> • <a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a>
<!-- BEGIN statistics -->
• <a href="{U_STAT}" class="mainmenu">{L_STATISTICS}</a>
<!-- END statistics -->
<!-- BEGIN download -->
• <a href="{U_DOWNLOADS}" class="mainmenu">{L_DOWNLOADS}</a>
<!-- END download -->
• <a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a> • <a href="{U_PRIVATEMSGS}" class="mainmenu">{PRIVATE_MESSAGE_INFO}</a> • <a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a>
<!-- BEGIN album -->
• <a href="{U_ALBUM}" class="mainmenu">{L_ALBUM}</a>
<!-- END album -->
<!-- BEGIN chat -->
• <a href="{S_JOIN_CHAT}" target="_blank"class="mainmenu">Chat</a>
<!-- END chat -->
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
• <a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a>
• <a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a> • <a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a> • <a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a>
<!-- BEGIN statistics -->
• <a href="{U_STAT}" class="mainmenu">{L_STATISTICS}</a>
<!-- END statistics -->
• <a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a> • <a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a>
<!-- BEGIN album -->
• <a href="{U_ALBUM}" class="mainmenu">{L_ALBUM}</a>
<!-- END album -->
<!-- BEGIN chat -->
• <a href="{S_JOIN_CHAT}" target="_blank"class="mainmenu">Chat</a>
<!-- END chat -->
<!-- BEGIN download -->
• <a href="{U_DOWNLOADS}" class="mainmenu">{L_DOWNLOADS}</a>
<!-- END download -->
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_report_list -->
• <a href="{switch_report_list.U_REPORT_LIST}" class="mainmenu">{switch_report_list.L_REPORT_LIST}</a>
<!-- END switch_report_list -->
•
</span></td>
</tr>
</table>
<!-- 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}"> {L_BOARD_MSG} </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"> {L_BOARD_MSG} </th>
</tr>
</table>
</div>
<script language="javascript" type="text/javascript">
<!--
if(GetCookie('hm3') == '2') ShowHide('hm', 'hm2', 'hm3');
//-->
</script>
<!-- END switch_enable_board_msg -->
<table width="100%" cellpadding="1" cellspacing="1" border="0" class="forumline">
<tr>
<th align="center" colspan="3">Konkursy</th>
</tr>
<tr>
<td class="catHead"><span class="cattitle"> » Trwajace konkursy </td>
<td class="catHead"><span class="cattitle"> » ZakoĹ„czone konkursy </td>
<td class="catHead"><span class="cattitle"> » Zapisz siÄ™ </td>
</tr>
<tr>
<td class="row1" align="center" width="35%" style="padding: 10px;">{TRWAJACE_KONKURSY}</td>
<td class="row1" align="left" width="30%" style="padding: 15px;">{ZAKONCZONE_KONKURSY}</td>
<td class="row1" align="left" width="35%" style="padding: 15px;" valign="top">{ZAPISZ_SIE}</td>
</tr>
</table> |
|
|
|
|
|
|