[RC1] Sound @ PM v.1.2.0 (en)

Ready Projects

[RC1] Sound @ PM v.1.2.0 (en)

Postby Sekuro » 08 Oct 2011, 21:21

Sound@PM
(based on Alert new PM with sound by nedka)

MOD-Title: Sound@Pm
MOD-Version: 1.2.0
MOD-Autor: 4seven

MOD-Beschreibung: This Mod plays a MP3-Sound on new PM's

phpBB-Version: phpBB 3.0.x
phpBB-Sprachen: de, en (follows)
phpBB-Styles: prosilver, subsilver2

------

Screens: (New screens follows)
ucp prosilver
ucp subsilver2
acp 1
acp 2

-------

Demo: http://4seven.bplaced.net/forum/2/index.php
You must take 2 users and two browsers to check this out.
In UCP you find all settings under Board Settings.
Just write a PM from test to tester and ... dont move ;)
un: test / pw: testuser
un: tester / pw: tester

Download:
sound_at_pm_v_1.2.0.zip
(1.19 MiB) Downloaded 1978 times

----------------------------

Features:

- Sound on PM via PopUp ("You have mail")
- U can serve up to 8 Sounds for your users:
- (ACP > General > Private message settings)
- ACP User-Administration (ACP > Users and groups > Manag Users):
- Switch mod On/Off - User On/Off-State - Which MP3 is active on user
- ACP MP3-List with Easy Drag Function to insert in Sound-Fields
- Empty Soundfile-Fields in ACP are invisible in Soundfile-Menu in UCP
- Mod can switched global off in ACP. The UCP-Menu is off than
- ACP-Soundcheck

- Sound can be switched off from user in UCP (Default > Off)
- MP3-Switch-Field in UCP only sightable, if Soundfile is checked
- By first activation in UCP the 1st Sound > Default-Sound
- Active Sound is marked in UCP
- UCP-Soundcheck
- xhtml 1.0 strict valid

New in v 1.2.0:

- Ajax Sound Message without Popup (per user settings)
- Additional Refresh of "(x new Messages)-Display"
- If Ajax is active, PopUp-Function is automatically de-activated
- Ajax Intervall can be set in ACP
- Ajax can be switched global in ACP and per user in ACP/UCP
- No Site-refresh needed
- Manuell "Refreshs" trough "moving in Forum" are ignored
- Ajax Sound Message ignores new Tabs, Browser oder Programwindows

----------------------------------

Before installing of mod make shure ,
that the PopUp Function for new PM's works well.

If not, than check
if overall_header.html's have following Code:

prosilver

Code: Select all
   <!-- IF S_USER_PM_POPUP -->
      if ({S_NEW_PM})
      {
         var url = '{UA_POPUP_PM}';
         window.open(url.replace(/&amp;/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
      }
   <!-- ENDIF -->


subsilver2

Code: Select all
<!-- IF S_USER_PM_POPUP -->
   if ({S_NEW_PM})
   {
      popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
   }
<!-- ENDIF -->


-------------------

If you want to have the option > "Pop up window on new private message:"
for all users global active, read here.

- activate/deactivate Sound@PM for all user > SQL:

activate for all

update phpbb3b_users set `user_sound_pm` = 1;


deactivate for all

Code: Select all
update phpbb3b_users set `user_sound_pm` = 0;


Important: Change Prefix in sql :wink:
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 241
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900


Return to phpBB RC's

Who is online

Users browsing this forum: No registered users and 1 guest

cron