1 sayfadan 1. sayfa

Windows popupla , yeni Ö.M uyari sistemi (canverdekinin aynisi)

İletiTarih: 01.06.2006, 11:38
murtaza
Kod: Tümünü seç
###############################################
##   Hack Title:   Send PM Popup
##   Hack Version:   1.0
##   Author:      Marc Philpott <www.marc-philpott.org.uk>
##   Description:   This hack will create a pop-up window when users
##      click to send a user a PM from a topic.
##   
##   Compatibility:   2.0.0 - 2.0.4
##
##   Installation Level: Easy
##   Installation Time: 30 Seconds
##
##   Files To Edit: 1
##      viewtopic.php
##
##   Author Notes:
##      It's a bit simple, a bit boring, and not for everyone.
##
##   Support:      http://www.phpbbhacks.com/forums
##   Copyright:      © 2003 Send PM Popup 1.0 - Marc Philpott
##
###############################################
##   You downloaded this hack from phpBBHacks.com, the #1 source for phpBB related downloads.
##   Please visit http://www.phpbbhacks.com/forums for support.
###############################################
##
###############################################
##   This hack is released under the GPL License.
##   This hack can be freely used, but not distributed, without permission.
##   Intellectual Property is retained by the hack author(s) listed above.
###############################################

#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php

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

      $temp_url = append_sid("privmsg.$phpEx?mode=post&amp;" . POST_USERS_URL . "=$poster_id");
      $pm_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_pm'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" /></a>';

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

      $temp_url = append_sid("privmsg.$phpEx?mode=post&amp;" . POST_USERS_URL . "=$poster_id");
      $temp_popup = "window.open('$temp_url', 'Send_PM_Popup', 'width=600,height=500,scrollbars=yes');";
      $pm_img = '<a href="#" onClick="' . $temp_popup . '"><img src="' . $images['icon_pm'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" /></a>';

#
#-----[ SAVE & CLOSE ALL FILES ]--------------------------
#
#End




Yalniz bu sadece viewtopicde ise yariyor
Diger seylerede uyarlamak lazim

Index.php falan gibi

Sevgiyle

İletiTarih: 01.06.2006, 11:42
ALEXIS
canverdeki bu değil, yanlış bilgi vermeyin !

İletiTarih: 01.06.2006, 12:21
murtaza
Aslinda ben gaza getirmek istedim
belki sen dogrusunu verirsin diye alex :utan:

Canverdekini ariyom ariyom bulamiyom ne yapiim

Sevgiyle

Cvp: Windows popupla , yeni Ö.M uyari sistemi (canverdekinin aynisi)

İletiTarih: 01.06.2006, 12:31
ALEXIS
Kod: Tümünü seç
##############################################################
## MOD Title: PM Popup Blocker Fix
## MOD Author: tomlevens < tom@tomlevens.co.uk > (Tom Levens) http://www.tomlevens.co.uk/
## MOD Description: The PM notification popup window is blocked by most browsers "Popup Blockers" - this MOD fixes it by displaying the notification as a dialog box instead.
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 3 Minutes
## Files To Edit: includes/page_header.php
##              language/lang_english/lang_main.php
##                templates/subSilver/overall_header.tpl
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## The idea of this mod is quite simple! Browsers featuring "Popup Blockers" stop the user from
## seeing PM notification popup. This MOD gets around this problem by using a dialog box (not
## blocked) for the notification instead of the popup window.
##
## This mod was inspired by the system used in vBulletin (Boo Hiss!) ;)
##
##############################################################
## MOD History:
##
##Ê Ê2004-08-10 - Version 1.0.0
##Ê Ê Ê - Initial Release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php

#
#-----[ FIND ]------------------------------------------
#
   'L_PRIVATEMSGS' => $lang['Private_Messages'],

#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- [+] MOD: PM Popup Blocker Fix --------------------------------------
//-- add
//
   'L_PRIVATEMSG_NEW' => ($userdata['user_new_privmsg'] == 1) ? $lang['You_new_pm'] : $lang['You_new_pms'],
//
//-- [-] MOD: PM Popup Blocker Fix --------------------------------------

#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
$lang['You_new_pm'] = 'A new private message is waiting for you in your Inbox';
$lang['You_new_pms'] = 'New private messages are waiting for you in your Inbox';

#
#-----[ REPLACE WITH ]------------------------------------------
#
# NOTE: This step isn't really necessary. All it does is changes the
# dialog message to tell the user to click OK to display their Inbox.
#
//-- [+] MOD: PM Popup Blocker Fix --------------------------------------
//-- replace
//
//$lang['You_new_pms']       = 'Yeni kişisel mesajlar sizi bekliyor';
//$lang['You_no_new_pm']     = 'Bekleyen yeni kişisel mesajınız yok';
//
$lang['You_new_pm'] = 'A new private message is waiting for you in your Inbox. Click OK to view it.';
$lang['You_new_pms'] = 'New private messages are waiting for you in your Inbox. Click OK to view them.';
//
//-- [-] MOD: PM Popup Blocker Fix --------------------------------------

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

#
#-----[ FIND ]------------------------------------------
#
# NOTE: you will need to do this for all your templates!
#
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" 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 -->

#
#-----[ REPLACE WITH ]------------------------------------------
#
<!-- BEGIN switch_enable_pm_popup -->
<script language="javascript" type="text/javascript">
<!--
// MOD: PM Popup Blocker Fix - by tomlevens (tom@tomlevens.co.uk)
// (4 lines replaced - original lines follow)
//
//   if ( {PRIVATE_MESSAGE_NEW_FLAG} )
//   {
//      window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
//   }
//
   if({PRIVATE_MESSAGE_NEW_FLAG})
   {
      new_pm_prompt = confirm('{L_PRIVATEMSG_NEW}');
      if(new_pm_prompt == true) {
         // Redirect to Inbox if OK is clicked
         window.location = '{U_PRIVATEMSGS}';
      }
      else {
         // Close prompt if cancel is clicked
      }
   }
//
// END MOD
//-->
</script>
<!-- END switch_enable_pm_popup -->

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

İletiTarih: 02.06.2006, 01:21
deep_turtle
çok teşekürler ama sormak istediğim birşey var her tarayıcı destekliyormu peki bunu

İletiTarih: 02.06.2006, 03:20
murtaza
evet benim bildiim
cünkü windows sheysiyle aciyo

Windows kullanmiyanlari bilmem

Sevgiyle

Diş doktorları, Diş hekimleri, Diş hastaneleri ve Diş Klinik

İletiTarih: 03.06.2006, 22:51
AkrepKral
Diş doktorları, Diş hekimleri, Diş hastaneleri ve Diş Klinikleri

1- Halkalı Diş Kliniği

2- Ortodonti Uzmanı

3- Nişantaşı Diş Kliniği

4- Başakşehir Dişçi

5- Bursa Diş Hekimi

6- Bahçelievler Diş Hekimi

Ataşehir'de Veteriner

1- Veteriner Ataşehir

Cvp: Windows popupla , yeni Ö.M uyari sistemi (canverdekinin aynisi)

İletiTarih: 14.06.2006, 13:32
freeemre
peki düzenlenen dosyalardan overall.ftp kendi temamızın ki olucak ya lang main dosyasıda english mi olucak yoksa kullandığım dil olan lang turkish dosyası mı olucak

İletiTarih: 14.06.2006, 14:03
cerxa
sitende hangi dil dosyasını kullanıyorsan o olacak :)