Janni
unregistriert
Popup bei neuer PN
Hallo,
ich bin auf der Suche nach einem kleinen Addon was es für die Version 1.6.03 / 1.6.1 mal gab. Jedes mal, wenn man eine IM bekam, ging immer ein kleines Fenster auf.
Gibt es das für die Version 1.6.4 auch? Habe schon überall gesucht, doch finde leider nichts.
Danke!
ich bin auf der Suche nach einem kleinen Addon was es für die Version 1.6.03 / 1.6.1 mal gab. Jedes mal, wenn man eine IM bekam, ging immer ein kleines Fenster auf.
Gibt es das für die Version 1.6.4 auch? Habe schon überall gesucht, doch finde leider nichts.
Danke!
Schau einfach mal hier nach, wnens da nicht ist, gibts das leider noch nicht: http://www.kit-ressource.de/include.php?…ex.php&nornav=1
Ich verwende auch die MyP-Version.
Das hier habe ich auch mal gefunden.
http://www.pimpyourkit.de/include.php?pa…p&contentid=127
Allerdings nie getestet. Ist auch nicht für 1.6.4. Aber vielleicht kann man das anpassen (lassen)
.
Das hier habe ich auch mal gefunden.
http://www.pimpyourkit.de/include.php?pa…p&contentid=127
Allerdings nie getestet. Ist auch nicht für 1.6.4. Aber vielleicht kann man das anpassen (lassen)
. Janni
unregistriert
Ja, für 1.6.1 habe ich das auch, doch ich würde das gern für 1.6.4 haben. (ohne Sprachausgabe)
Vielleicht ist ja jemand so freundlich und kann mir sagen, wie man das für die Version 1.6.4 anpasst. Der Code ist ja nur eine Zeile lang.
Navbox_community.php
Vielleicht ist ja jemand so freundlich und kann mir sagen, wie man das für die Version 1.6.4 anpasst. Der Code ist ja nur eine Zeile lang.
Navbox_community.php
|
|
PHP-Quelltext |
1 |
if (intval($imstatus_info=imstatus())>0) eval("echo \"".getTemplate("MyP/MyP_IM")."\";");
|
sollte so klappen
Wobei das Template "MyP_IM" dann in den Ordner "pkinc/publictpl/MyP" gehört.
Kann sein dass das Template auch noch angepasst werden muss.
Oben in der PHP Datei noch evtl. folgendes einfügen (wenn nicht schon vorhanden)
|
|
Quellcode |
1 |
if (intval($imstatus_info=imstatus())>0) eval("echo \"". pkTpl("MyP/MyP_IM")."\";");
|
Wobei das Template "MyP_IM" dann in den Ordner "pkinc/publictpl/MyP" gehört.
Kann sein dass das Template auch noch angepasst werden muss.
Oben in der PHP Datei noch evtl. folgendes einfügen (wenn nicht schon vorhanden)
|
|
Quellcode |
1 2 |
if(!defined('pkFRONTEND') || pkFRONTEND!='public')
die('Direct access to this location is not permitted.');
|
Janni
unregistriert
Klasse, danke. Nur wo genau muss ich das denn nun einfügen? Bei der Version 1.6.1 waren nur 15 Zeilen, und hier 81.
navbox.community.php
navbox.community.php
|
|
PHP-Quelltext |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
<?php
# PHPKIT Web Content Management System
# --------------------------------------------
# Copyright (c) 2002-2007 Gersöne & Schott GbR
#
# This file / the PHPKIT-software is no freeware!
# For further informations please vistit our website
# or contact us via email:
#
# Diese Datei / die PHPKIT-Software ist keine Freeware!
# Für weitere Information besuchen Sie bitte unsere
# Webseite oder kontaktieren uns per E-Mail:
#
# Website : http://www.phpkit.de
# Mail : info@phpkit.de
#
# YOU ARE NOT AUTHORISED TO CREATE ILLEGAL COPIES OF THIS
# FILE AND/OR TO REMOVE THIS INFORMATIONS
#
# SIE SIND NICHT BERECHTIGT, UNRECHTMÄSSIGE KOPIEN DIESER
# DATEI ZU ERSTELLEN UND/ODER DIESE INFORMATIONEN ZU ENTFERNEN
if(!defined('pkFRONTEND') || pkFRONTEND!='public')
die('Direct access to this location is not permitted.');
$boxlinks=array();
#login/logout
if(!pkGetUservalue('id'))
{
if($config['nb_community_box']!=2)
$boxlinks[0]=pkHtmlLink(pkLink('login'),pkGetLang('login'),'','pknidcommunity0','pkcontent_a_'.$navalign);
else
{
$form_action=pkLink('','','login=1');
$login_remove_path=pkEntities($ENV->getvar('QUERY_STRING'));
$lang_username=pkGetLang('username');
$lang_password=pkGetLang('password');
$lang_bl_login=pkGetLang('bl_login');
eval("\$boxlinks[0]=\"".pkTpl("navigation/community_loginform")."\";");
$boxlinks[1]=pkHtmlLink(pkLink('login','lostpassword'),pkGetLang('password_lost?'),'','','pkcontent_a_'.$navalign);
}
}
else
$boxlinks[0]=pkHtmlLink(pkLink('','','logout=1'),pkGetLang('logout'),'','','pkcontent_a_'.$navalign);
#memberlist
if(getrights(pkGetConfig('member_infoshow')))
$boxlinks[2]=pkHtmlLink(pkLink('userslist'),pkGetLang('users'),'','','pkcontent_a_'.$navalign);
#register & users >> profile
if(intval(pkGetUservalue('id'))>0)
{
$boxlinks[3]=pkHtmlLink(pkLink('userprofile'),pkGetLang('profile'),'','','pkcontent_a_'.$navalign);
if(pkGetUservalue('imoption'))
{
if(pkGetUserMessageCount())
{
$boxlinks[4]=pkHtmlLink(pkLink('privatemessages','','imid=new'),pkGetSpecialLang('private_message'),'','','pkcontent_a_'.$navalign,pkGetSpecialLang('private_message'));
}
else
$boxlinks[4]=pkHtmlLink(pkLink('privatemessages'),pkGetLang('pn_center'),'','','pkcontent_a_'.$navalign,pkGetLang('write_private_message'));
}
#admin link
if(adminaccess('adminarea'))
$boxlinks[5]=pkHtmlLink(pkLinkAdmin(),pkGetLang('administration'),'','','pkcontent_a_'.$navalign);
}
elseif(pkGetConfig('user_registry')!=0)
$boxlinks[3]=pkHtmlLink(pkLink('registration'),pkGetLang('register'),'','','pkcontent_a_'.$navalign);
return $boxlinks;
?>
|
ich hab den Sound hier drin
navbox.satus.php
navbox.satus.php
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
<?php
# PHPKIT Web Content Management System
# --------------------------------------------
# Copyright (c) 2002-2007 Gersöne & Schott GbR
#
# This file / the PHPKIT-software is no freeware!
# For further informations please vistit our website
# or contact us via email:
#
# Diese Datei / die PHPKIT-Software ist keine Freeware!
# Für weitere Information besuchen Sie bitte unsere
# Webseite oder kontaktieren uns per E-Mail:
#
# Website : http://www.phpkit.de
# Mail : info@phpkit.de
#
# YOU ARE NOT AUTHORISED TO CREATE ILLEGAL COPIES OF THIS
# FILE AND/OR TO REMOVE THIS INFORMATIONS
#
# SIE SIND NICHT BERECHTIGT, UNRECHTMÄSSIGE KOPIEN DIESER
# DATEI ZU ERSTELLEN UND/ODER DIESE INFORMATIONEN ZU ENTFERNEN
if(!defined('pkFRONTEND') || pkFRONTEND!='public')
die('Direct access to this location is not permitted.');
$boxlinks=array();
pkLoadFunc('user');
$phpkit_status=phpkitstatus();
#userinfo
if(pkGetUservalue('id'))
{
$since=number_format(((pkTIME-pkGetUservalue('logtime'))/60),0,",",".");
$time=formattime(pkGetUservalue('logtime'),'','time');
$usernick=pkEntities(pkStringCut(pkGetUservalue('nick')));
$lang_online_since=pkGetSpecialLang('online_since',$since,$time);
$pnalert='';
if(pkGetUserMessageCount())
$pnalert='<a href="include.php?path=privatemessages&imid=new"><img border="0" width="20" height="16" alt="Neue Nachricht" src="http://www.deine HP/Pfad zum Bild/newim.gif" /><bgsound src="http://www.deine HP/Pfad zum Sound" loop="1"></a>';
eval("\$boxlinks[0]=\"".pkTpl("navigation/status_userinfo")."\";");
}
#visitors
$ctoday=$phpkit_status['counter_today'];
$cyesterday=$phpkit_status['counter_yesterday'];
$ctotal=$phpkit_status['counter_total'];
$lang_visitors=pkGetLang('visitors');
$lang_today=pkGetLang('today');
$lang_yesterday=pkGetLang('yesterday');
$lang_total=pkGetLang('total');
eval("\$boxlinks[1]=\"".pkTpl("navigation/status_visitors")."\";");
#online users
$online_list='';
if(is_array($phpkit_status['online_user']))
{
foreach($phpkit_status['online_user'] as $userinfo)
{
if(pkUserOnline($userinfo['user_id']))
$online_list.=(empty($online_list) ? '' : ', ').pkUserProfilelink($userinfo['user_id'],$userinfo['user_nick'],NULL,true,'small');
}
if(!empty($online_list))
$online_list.=' '.pkGetLang('and').' ';
}
$online_list.=pkGetSpecialLang('guests',$phpkit_status['online_guests']);
$lang_users_and_guests=pkGetLang('users_and_guests');
$lang_registered_users_online=pkGetSpecialLang('registered_users_online',intval($phpkit_status['user_counter']),$online_list);
eval("\$boxlinks[2]=\"".pkTpl("navigation/status_reguser")."\";");
return $boxlinks;
?>
|
Ähnliche Themen
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
Avatar im popup vergrössert anzeigen
(9. Mai 2008, 14:51)
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
ERROR IN: INSERT phpkit_record SET record_referer
(3. April 2008, 16:12)
-
Web | Allgemein »-
script popup autoopen
(27. März 2008, 14:00)
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
Vorschaufunktion für Nachrichten und editierte Beiträge
(15. Februar 2008, 17:43)


