sesli Özel Mesaj

phpBB 2.0.x sürümleri için MODlar hakkında ihtiyacınız olan desteği buradan sorarak alabilirsiniz.
Kilitli
lion
Kayıtlı Kullanıcı
Mesajlar: 147
Kayıt: 22.08.2006, 05:59
İletişim:

sesli Özel Mesaj

Mesaj gönderen lion »

selam Arkadaslar ben bu modu kurdum ama

calismiyor

sadece bunu yapmadim overall_header.tpl de ki

icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>
cükü orda böyle bi code yokki overall_header.tpl de

bu konuda yardim edermisiniz
#-----[ OPEN ]-------
#
#

templates/yourtemplate/overall_header.tpl

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

icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>

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

icon_mini_message.gif" width="12" height="13" border="0" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>

#
#
#

Kod: Tümünü seç

 
########################################################################################## 
## 
## MOD Title:    Postmessage with a Flash Sound
## MOD Version:  1.1 (phpBB 2.0.6)
## Autor:        Norbert
## Support:    www.forum.gsx1100g.de/
##
## What is it: When an new PN comes in, at the top of the Messageboad you can read:
## "You have 1 new messages". With this Mod you can hear the popular Sound "You god mail" as a Flashfile. 
##
## Files to work on:     2
##			     language/lang_english/lang_main.php
##                                                        templates/your favorite Template/overall_header.tpl
##
## new Files:          1
##
##			     post.swf
##
##
## alternative Sounds:    different sounds as swf Files
##                        (if you don't like the mailvoice, rename one of the other *.swf in post.swf 
##                        and copy it into the rootdirectory of your phpbb)
##
## 
########################################################################################## 
## 
## Notice: 
## 
## On probably almost all of the actual webbrowsers the Macromedia Flashplugin is installed. 
## We only use the SWF File as a Container for the mp3 Soundfile. 
##
## Safety Notice: first safe all your Files and the Database.
##
########################################################################################## 
#
#
#-----[ OPEN ]------------------------------------------
#
#

 language/lang_english/lang_main.php

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

$lang['New_pms'] = 'You have %d new messages'; // You have 2 new messages
$lang['New_pm'] = 'You have %d new message'; // You have 1 new message

#
#-----[ CHANGE WITH]------------------------------------------
#

//
// PM with sound
//

$lang['New_pms'] = 'You have %d new messages<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="1" height="1"><param name=movie value="post.swf"><param name=quality value=high><embed src="post.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="1" height="1"></embed></object>'; // You have 2 new messages
$lang['New_pm'] = 'You have %d new message<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="1" height="1"><param name=movie value="post.swf"><param name=quality value=high><embed src="post.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="1" height="1"></embed></object>'; // You have 1 new message

//
// end PM with sound
//

#
#-----[ KOPIE FILE ]------------------------------------------
#

 post.swf into the root of the Board. 
 Exactly in the same Directory as the index.php or login.php is in.

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

templates/yourtemplate/overall_header.tpl

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

 icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a> 

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

icon_mini_message.gif" width="12" height="13" border="0" hspace="3" />{PRIVATE_MESSAGE_INFO}</a> 

#
#
#
#-----[ SAVE AND CLOSE]------------------------------------------
#
#
# That's all, simple enough?
#

End of Mod

########################################################################################## 
########################################################################################## 

Kullanıcı avatarı
kelkirpi
Kayıtlı Kullanıcı
Mesajlar: 291
Kayıt: 06.09.2006, 13:36
Konum: İstanbul
İletişim:

Mesaj gönderen kelkirpi »

phpbb 2.0.22 de subsilver temasında var o kısım.. Sen hangi sürüm ve hangi temayı kullanıyorsun.. Subsilver dan farklıysa buraya ekle, bi bakalım..
lion
Kayıtlı Kullanıcı
Mesajlar: 147
Kayıt: 22.08.2006, 05:59
İletişim:

Mesaj gönderen lion »

sagol kardes ilgin icin tesekkür ederim

yo benimki

fisubsilversh

vu sekilde


Kod: Tümünü seç


{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/fisubsilversh/{T_HEAD_STYLESHEET}" type="text/css" />
<link rel="shortcut icon" href="./favicon.ico" />
<script language="JavaScript" type="text/javascript" src="includes/toggle_display.js"></script>
<!-- BEGIN switch_enable_pm_popup -->
<script type="text/javascript">
<!--
	if ( {PRIVATE_MESSAGE_NEW_FLAG} )
	{
		window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
	}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<script type="text/javascript">
<!--
var phpEx = '{PHPEX}';
var POST_FORUM_URL = '{POST_FORUM_URL}';
var POST_TOPIC_URL = '{POST_TOPIC_URL}';
var POST_POST_URL = '{POST_POST_URL}';
var ajax_page_charset = '{S_CONTENT_ENCODING}';
var S_SID = '{S_SID}';
var ajax_core_defined = 0;
var phpbb_root_path = '{PHPBB_ROOT_PATH}';
//-->
</script>

<script type="text/javascript" src="includes/javascript/ajax_core.js"></script>

<script language="Javascript" type="text/javascript"> 
<!-- 
function setCheckboxes(theForm, elementName, isChecked)
{
    var chkboxes = document.forms[theForm].elements[elementName];
    var count = chkboxes.length;

    if (count) 
	{
        for (var i = 0; i < count; i++) 
		{
            chkboxes[i].checked = isChecked;
    	}
    } 
	else 
	{
    	chkboxes.checked = isChecked;
    } 

    return true;
} 
//--> 
</script>
<!-- Start add - Birthday MOD -->
{GREETING_POPUP}
<!-- End add - Birthday MOD -->
<script type="text/javascript">
<!--
window.status = "{PRIVATE_MESSAGE_INFO}";
// -->
</script>
<!-- Start add - Protect user account MOD -->
{PASSWD_POPUP}
<!-- End add - Protect user account MOD -->
<!-- BEGIN switch_absence -->
<script language="Javascript" type="text/javascript">
<!--
	window.open('{U_ABSENCE_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
//-->
</script>
<!-- END switch_absence -->
</head>
<body>
<!-- Start add - Complete banner MOD -->
<!-- BEGIN switch_Banners -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><div align="center">{BANNER_1_IMG}</div></td></tr>
<tr><td><div align="center">{BANNER_2_IMG}</div></td></tr>
</table>
</td>
<td width="60%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><div align="center">{BANNER_3_IMG}</div></td></tr>
<tr><td><div align="center">{BANNER_4_IMG}</div></td></tr>
</table>
</td>
<td width="20%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><div align="center">{BANNER_5_IMG}</div></td></tr>
<tr><td><div align="center">{BANNER_6_IMG}</div></td></tr>
</table>
</td>
</tr>
</table>
<!-- END switch_Banners -->
<!-- End add - Complete banner MOD -->
<a name="top" id="top"></a>
<table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<table class="topbkg" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr> 
<td> <img src="templates/fisubsilversh/images/phpbb2_logo.jpg"border="0" width="574" height="105" alt=""> </td>
<td align="center" width="100%"> 
<img src="templates/fisubsilversh/images/cellpic_bkg.jpg"border="0" width="114" height="105" alt=""> </td> 
<td> <img src="templates/fisubsilversh/images/phpbb2_logor.jpg"border="0" width="114" height="105" alt=""> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr> 
<td align="center" class="topnav">&nbsp;
 <a href="{U_INDEX}"title="Foren Übersicht"onMouseOver="cfcfcf.src='templates/fisubsilversh/images/start.gif';"onMouseOut="cfcfcf.src='templates/fisubsilversh/images/start1.gif';"> 
            <img name="cfcfcf"src="templates/fisubsilversh/images/start1.gif"border="0"></a>
<a href="chat"title="Chat"onMouseOver="cicici.src='templates/fisubsilversh/images/chat.gif';"onMouseOut="cicici.src='templates/fisubsilversh/images/chat1.gif';"> 
            <img name="cicici"src="templates/fisubsilversh/images/chat1.gif"border="0"></a>
<a href="{U_PORTAL}"title="Portal ÜberSicht"onMouseOver="fffff.src='templates/fisubsilversh/images/portal.gif';"onMouseOut="fffff.src='templates/fisubsilversh/images/portal1.gif';"> 
            <img name="fffff"src="templates/fisubsilversh/images/portal1.gif"border="0"></a>
<a href="{U_FAQ}"title="Häufig Gestellte Fragen"onMouseOver="hjkkk.src='templates/fisubsilversh/images/faq.gif';"onMouseOut="hjkkk.src='templates/fisubsilversh/images/faq1.gif';"> 
            <img name="hjkkk"src="templates/fisubsilversh/images/faq1.gif"border="0"></a>
<a href="{U_GROUP_CP}"title="Teammitglieder"onMouseOver="sususu.src='templates/fisubsilversh/images/benutzergruppen.gif';"onMouseOut="sususu.src='templates/fisubsilversh/images/benutzergruppen1.gif';"> 
            <img name="sususu"src="templates/fisubsilversh/images/benutzergruppen1.gif"border="0"> </a>
<a href="{U_SEARCH}"onMouseOver="dududu.src='templates/fisubsilversh/images/suchen.gif';"onMouseOut="dududu.src='templates/fisubsilversh/images/suchen1.gif';"> 
            <img name="dududu"src="templates/fisubsilversh/images/suchen1.gif"border="0"></a>
<!-- BEGIN switch_user_logged_in -->
<a href="{U_SEARCH_NEW}"onMouseOver="auauau.src='templates/fisubsilversh/images/neue.gif';"onMouseOut="auauau.src='templates/fisubsilversh/images/neue1.gif';"> 
            <img name="auauau"src="templates/fisubsilversh/images/neue1.gif"border="0"></a>
<a href="{U_PRIVATEMSGS}"title=" Private Nachrichten "onMouseOver="oioioi.src='templates/fisubsilversh/images/private.gif';"onMouseOut="oioioi.src='templates/fisubsilversh/images/private1.gif';"> 
            <img name="oioioi"src="templates/fisubsilversh/images/private1.gif"border="0"></a>
<a href="{U_PROFILE}"title=" Profil Einstellungen"onMouseOver="cucucu.src='templates/fisubsilversh/images/profil.gif';"onMouseOut="cucucu.src='templates/fisubsilversh/images/profil1.gif';"> 
            <img name="cucucu"src="templates/fisubsilversh/images/profil1.gif"border="0"></a> 
<a href="{U_LOGIN_LOGOUT}"title=" Auf Wieder Schreiben"onMouseOver="pupupu.src='templates/fisubsilversh/images/logout.gif';"onMouseOut="pupupu.src='templates/fisubsilversh/images/logout1.gif';"> 
            <img name="pupupu"src="templates/fisubsilversh/images/logout1.gif"border="0"> </a></td>           
<!-- END switch_user_logged_in -->

<!-- BEGIN switch_user_logged_out -->
<a href="{U_REGISTER}"title="Zur Kostenlosen Registrierung "onMouseOver="ababab.src='templates/fisubsilversh/images/register.gif';"onMouseOut="ababab.src='templates/fisubsilversh/images/register1.gif';"> 
            <img name="ababab"src="templates/fisubsilversh/images/register1.gif"border="0"></a>
<a href="{U_PRIVATEMSGS}"title=" Einloggen, um private Nachrichten zu lesen  "onMouseOver="oioioi.src='templates/fisubsilversh/images/private.gif';"onMouseOut="oioioi.src='templates/fisubsilversh/images/private1.gif';"> 
            <img name="oioioi"src="templates/fisubsilversh/images/private1.gif"border="0"></a>
             <a href="{U_LOGIN_LOGOUT}"title=" Herzlich Willkommen"onMouseOver="cbcbcb.src='templates/fisubsilversh/images/login.gif';"onMouseOut="cbcbcb.src='templates/fisubsilversh/images/login1.gif';"> 
            <img name="cbcbcb"src="templates/fisubsilversh/images/login1.gif"border="0"></a> </td>
<!-- END switch_user_logged_out -->
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"></td><td class="tblbot"></td><td class="tblr"></td></tr></table>
{CALENDAR_BOX}
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td>


Kullanıcı avatarı
kelkirpi
Kayıtlı Kullanıcı
Mesajlar: 291
Kayıt: 06.09.2006, 13:36
Konum: İstanbul
İletişim:

Mesaj gönderen kelkirpi »

Sende farklı bi modda yüklü.. Yani mesaj ikonunun üzerine geldiğinde değişen bir resim söz konusu.. Dolayısıyla bu modu kurmak senin için zor da olabilir kolayda.. Diğer değişiklikleri yapıp, takıldığın yeri yoksay ve overall_header.tpl ni at foruma.. Bakalım ne olacak..

Tabii yedek almayı unutma..
lion
Kayıtlı Kullanıcı
Mesajlar: 147
Kayıt: 22.08.2006, 05:59
İletişim:

Mesaj gönderen lion »

hm yani nasil yapmaliyim simdi bunu

bu overal header tpl i yapmasam olmuyor

ama nasil yapmaliyim ozaman bu header tpl de

mümkünse verdigim kod da yapa bilirmisin
Kilitli

“2.0.x MOD Destek” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 7 misafir