Wer spielt was? - Mod gesucht
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
- powersilie
- Mitglied
- Beiträge: 822
- Registriert: 09.10.2004 13:35
- Wohnort: Österreich
- Kontaktdaten:
Wer spielt was? - Mod gesucht
Hallo!
Möchte für meinen Arcade Mod im "Wer ist online?" Bereich vor jedem User, der gerade spielt, ein Mini-Icon des jeweiligen Spieles haben.
Beim Arcade Mod Support gibt es eine Anleitung, aber die ist chaotisch und unübersichtlich. Ich finde nicht mal die Stelle in der includes/functions_arcade.php .
Er hat auch irgendwas geschrieben, daß es mit CH Mod nicht klappen soll - kann aber damit nichts anfangen.
So: hat jemand diesen "Who's playing what" Mod in einer lesbaren Ausführung und funktioniert der auch?
Danke und lg
Powersilie
Möchte für meinen Arcade Mod im "Wer ist online?" Bereich vor jedem User, der gerade spielt, ein Mini-Icon des jeweiligen Spieles haben.
Beim Arcade Mod Support gibt es eine Anleitung, aber die ist chaotisch und unübersichtlich. Ich finde nicht mal die Stelle in der includes/functions_arcade.php .
Er hat auch irgendwas geschrieben, daß es mit CH Mod nicht klappen soll - kann aber damit nichts anfangen.
So: hat jemand diesen "Who's playing what" Mod in einer lesbaren Ausführung und funktioniert der auch?
Danke und lg
Powersilie
- powersilie
- Mitglied
- Beiträge: 822
- Registriert: 09.10.2004 13:35
- Wohnort: Österreich
- Kontaktdaten:
Hallo!
Der Text ist kurz, kann ich so reinkopieren:
lg
Powersilie
P.S.: mit viel gutem Willen gehts sicher, aber wenn der dann nicht funzt?
Der Text ist kurz, kann ich so reinkopieren:
Code: Alles auswählen
############################################################## # #-----[ =
OPEN=20
]------------------------------------------ # =
includes/functions_arcade.php #=20
#-----[ FIND ]------------------------------------------
# ?> # =
#-----[=20
BEFORE ADD ]------------------------------------------ # function=20
ina_find_image($game_path, $game_name, $image_path =3D "", =
$phpbb_root_path =3D=20
'./') { global $arcade; if ( $image_path =3D=3D "") { if(=20
@file_exists($phpbb_root_path . $arcade->arcade_config['games_path'] =
.=20
$game_name .".gif") ) { $image_path =3D $phpbb_root_path .=20
$arcade->arcade_config['games_path'] . $game_name . '.gif'; } else =
if(=20
@file_exists($phpbb_root_path . $game_path . $game_name .".gif") ) { =
$image_path=20
=3D $phpbb_root_path . $game_path . $game_name . '.gif'; =
@copy($image_path,=20
$arcade->arcade_config['games_path'] . $game_name .".gif"); } else {=20
$image_path =3D $phpbb_root_path . =
$arcade->arcade_config['games_default_img'];=20
} } else if ( strlen( $image_path ) < 5 ) { $image_path =3D =
$phpbb_root_path .=20
$game_path . '/' . $game_name . $image_path; } return $image_path; } # =
#-----[=20
OPEN ]------------------------------------------ # OPEN =
includes/page_header.php=20
# #-----[ FIND ]------------------------------------------ # if=20
(defined('SHOW_ONLINE')) { # #-----[ AFTER ADD=20
]------------------------------------------ #=20
include_once($phpbb_root_path.'includes/functions_arcade.'.$phpEx); # =
#-----[=20
FIND ]------------------------------------------ # $sql =3D "SELECT =
u.username,=20
u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in,=20
s.session_ip FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s WHERE =
u.user_id =3D=20
s.session_user_id AND s.session_time >=3D ".( time() - 300 ) . "=20
$user_forum_sql ORDER BY u.username ASC, s.session_ip ASC"; # #-----[ =
REPLACE=20
WITH ]------------------------------------------ # $sql =3D "SELECT =
u.username,=20
u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in,=20
s.session_ip, g.game_name, g.game_path, g.image_path, g.game_desc FROM=20
".USERS_TABLE." u, ".SESSIONS_TABLE." s LEFT JOIN ".iNA_SESSIONS." z ON=20
u.user_id =3D z.user_id LEFT JOIN ".iNA_GAMES." g ON z.game_name =3D =
g.game_name=20
WHERE u.user_id =3D s.session_user_id AND s.session_time >=3D ".( =
time() - 300 )=20
. " $user_forum_sql ORDER BY u.username ASC, s.session_ip ASC"; # =
#-----[ FIND=20
]------------------------------------------ # if ( =
$row['session_logged_in'] ) {=20
# #-----[ AFTER ADD ]------------------------------------------ # =
$image_path =3D=20
ina_find_image($row['game_path'],$row['game_name'],$row['image_path'],'./=
../');=20
# #-----[ FIND ]------------------------------------------ # if (=20
$row['user_allow_viewonline'] ) { $user_online_link =3D '<A=20
href=3D"http://www.phpbb-arcade.com/'%20.%20append_sid(" .? $style_color =
.=20
?=3D" . $row['user_id']) . '" POST_USERS_URL=20
profile.$phpEx?mode=3D'viewprofile&"'>' . $row['username'] . '</A>'; =
$logged_visible_online++; } # #-----[ REPLACE WITH=20
]------------------------------------------ # if ( =
$row['user_allow_viewonline']=20
) { if($row['game_name']) { $user_online_link =3D '<IMG height=3D15=20
alt=3D"'.$row['game_desc'].'" src=3D"" width=3D15 border=3D0> <A=20
href=3D"http://www.phpbb-arcade.com/'%20.%20append_sid(" .? $style_color =
.=20
?=3D" . $row['user_id']) . '" POST_USERS_URL=20
profile.$phpEx?mode=3D'viewprofile&"'>' . $row['username'] . '</A>'; =
} else {=20
$user_online_link =3D '<A =
href=3D"http://www.phpbb-arcade.com/'%20.%20append_sid("=20
.? $style_color . ?=3D" . $row['user_id']) . '" POST_USERS_URL=20
profile.$phpEx?mode=3D'viewprofile&"'>' . $row['username'] . '</A>'; =
}=20
$logged_visible_online++; } # #-----[ SAVE AND CLOSE=20
]------------------------------------------ # </BODY></HTML>
Powersilie
P.S.: mit viel gutem Willen gehts sicher, aber wenn der dann nicht funzt?
frag mal sausebaby, die hat das drin, kannst dich entweder anmelden http://www.sausebaby-tour.de/gamesboard/portal.php oder ihr auf meinem board eine pn schicken.
Besucht mich mal http://www.das-gameboard.de phpbb3 testboard http://www.das-gameboard.com
Re: Wer spielt was? - Mod gesucht
Ganz schön große Töne!powersilie hat geschrieben:Beim Arcade Mod Support gibt es eine Anleitung, aber die ist chaotisch und unübersichtlich.

Schon mal versucht, den Download-Hinweis umzusetzen?
Quelle: Who's Playing What on IndexdEfEndEr hat geschrieben:When downloading
Rick Click the Download link and use SAVE AS
Wohl kaum! Dann hättest du nicht dieses Chaos :/ easy
- powersilie
- Mitglied
- Beiträge: 822
- Registriert: 09.10.2004 13:35
- Wohnort: Österreich
- Kontaktdaten:
Ok, Easy 1:0 für Dich - Danke!
Aber sei mir nicht bös, ist ja auch der Arcade 2.1.8 nicht ganz ohne. Wenn man nicht dort im Support drin ist, dann weiß man nicht, daß da einige Zusätze notwendig sind, sonst gibts Fehlermeldungen.
Da sitzt man rum und grübelt, was man falsch gemacht hat .... gar nichts hat man falsch gemacht, es fehlte bloß was
Ich hab Gott sei Dank hier im Forum den Hinweis auf diese Anleitung bekommen und dann hats geklappt.
lg
Powersilie
Aber sei mir nicht bös, ist ja auch der Arcade 2.1.8 nicht ganz ohne. Wenn man nicht dort im Support drin ist, dann weiß man nicht, daß da einige Zusätze notwendig sind, sonst gibts Fehlermeldungen.
Da sitzt man rum und grübelt, was man falsch gemacht hat .... gar nichts hat man falsch gemacht, es fehlte bloß was

Ich hab Gott sei Dank hier im Forum den Hinweis auf diese Anleitung bekommen und dann hats geklappt.
lg
Powersilie
Re: Wer spielt was? - Mod gesucht
link ist down, hat jemand noch zu hand.easygo hat geschrieben:Ganz schön große Töne!powersilie hat geschrieben:Beim Arcade Mod Support gibt es eine Anleitung, aber die ist chaotisch und unübersichtlich.![]()
Schon mal versucht, den Download-Hinweis umzusetzen?
Quelle: Who's Playing What on IndexdEfEndEr hat geschrieben:When downloading
Rick Click the Download link and use SAVE AS
Wohl kaum! Dann hättest du nicht dieses Chaos :/ easy
mfg
Re: Wer spielt was? - Mod gesucht
ich such den auch
http://www.Florian-Fromlowitz.de.gg <-- Fanpage
http://www.TimWiese-Fanpage.de.vu <-- Fanpage
http://keeperboard.ohost.de <--- Für alle Fußball & Mini Games Fans/ Registrieren&Mitmachen !
http://www.TimWiese-Fanpage.de.vu <-- Fanpage
http://keeperboard.ohost.de <--- Für alle Fußball & Mini Games Fans/ Registrieren&Mitmachen !
Re: Wer spielt was? - Mod gesucht
hi,
Code: Alles auswählen
##############################################################
## MOD Title: Who's Playing What on Index
## MOD Author: wizzzzzzzz
## MOD Version: 1.0.0 (First Release)
## #######################################################
##
## Installation Level: (Easy)
## Installation Time: 1-2 Minutes
## Files To Edit: includes/functions_arcade.php
## includes/page_header.php
###########################################################
##
## Included Files: non
##
############################################################
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
#############################################################
##
## This is a MOD for phpbb v2.0.+ The phpbb group has all rights to the
## phpbb source. They can be contacted at :
##
## I-Net : www.phpbb.com
## E-Mail: support@phpbb.com
##
################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
includes/functions_arcade.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE ADD ]------------------------------------------
#
function ina_find_image($game_path, $game_name, $image_path = "", $phpbb_root_path = './')
{
global $arcade;
if ( $image_path == "")
{
if( @file_exists($phpbb_root_path . $arcade->arcade_config['games_path'] . $game_name .".gif") )
{
$image_path = $phpbb_root_path . $arcade->arcade_config['games_path'] . $game_name . '.gif';
}
else if( @file_exists($phpbb_root_path . $game_path . $game_name .".gif") )
{
$image_path = $phpbb_root_path . $game_path . $game_name . '.gif';
@copy($image_path, $arcade->arcade_config['games_path'] . $game_name .".gif");
}
else
{
$image_path = $phpbb_root_path . $arcade->arcade_config['games_default_img'];
}
}
else if ( strlen( $image_path ) < 5 )
{
$image_path = $phpbb_root_path . $game_path . '/' . $game_name . $image_path;
}
return $image_path;
}
#
#-----[ OPEN ]------------------------------------------
#
OPEN includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
if (defined('SHOW_ONLINE'))
{
#
#-----[ AFTER ADD ]------------------------------------------
#
include_once($phpbb_root_path.'includes/functions_arcade.'.$phpEx);
#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip
FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s
WHERE u.user_id = s.session_user_id
AND s.session_time >= ".( time() - 300 ) . "
$user_forum_sql
ORDER BY u.username ASC, s.session_ip ASC";
#
#-----[ REPLACE WITH ]------------------------------------------
#
$sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip, s.SearchBot, g.game_name, g.game_path, g.image_path, g.game_desc
FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s
LEFT JOIN ".iNA_SESSIONS." z ON u.user_id = z.user_id
LEFT JOIN ".iNA_GAMES." g ON z.game_name = g.game_name
WHERE u.user_id = s.session_user_id
AND s.session_time >= ".( time() - 300 ) . "
$user_forum_sql
ORDER BY u.username ASC, s.session_ip ASC";
#
#-----[ FIND ]------------------------------------------
#
if ( $row['session_logged_in'] )
{
#
#-----[ AFTER ADD ]------------------------------------------
#
$image_path = ina_find_image($row['game_path'],$row['game_name'],$row['image_path'],'./../');
#
#-----[ FIND ]------------------------------------------
#
if ( $row['user_allow_viewonline'] )
{
$user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>';
$logged_visible_online++;
}
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( $row['user_allow_viewonline'] )
{
if($row['game_name'])
{
$user_online_link = '<img src="'.$image_path.'" alt="'.$row['game_desc'].'" border="0" width="15" height="15" /> <a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>';
}
else
{
$user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>';
}
$logged_visible_online++;
}
#
#-----[ SAVE AND CLOSE ]------------------------------------------
#
Gruß Laubi
Re: Wer spielt was? - Mod gesucht
Das ist aber der ganze normale "Who playing what" Mod (der übrigens nicht funktioniert , hatte ihn heute eingebaut).
Im ersten post steht "der who playing what" mod , für/in "Wer is online" .
Naja ich hätte gerne beide .aber leider funktioniert der nicht.
Im ersten post steht "der who playing what" mod , für/in "Wer is online" .
Naja ich hätte gerne beide .aber leider funktioniert der nicht.
double78 hat geschrieben:hi,
Code: Alles auswählen
############################################################## ## MOD Title: Who's Playing What on Index ## MOD Author: wizzzzzzzz ## MOD Version: 1.0.0 (First Release) ## ####################################################### ## ## Installation Level: (Easy) ## Installation Time: 1-2 Minutes ## Files To Edit: includes/functions_arcade.php ## includes/page_header.php ########################################################### ## ## Included Files: non ## ############################################################ ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ############################################################# ## ## This is a MOD for phpbb v2.0.+ The phpbb group has all rights to the ## phpbb source. They can be contacted at : ## ## I-Net : www.phpbb.com ## E-Mail: support@phpbb.com ## ################################################################ ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ############################################################## # #-----[ OPEN ]------------------------------------------ # includes/functions_arcade.php # #-----[ FIND ]------------------------------------------ # ?> # #-----[ BEFORE ADD ]------------------------------------------ # function ina_find_image($game_path, $game_name, $image_path = "", $phpbb_root_path = './') { global $arcade; if ( $image_path == "") { if( @file_exists($phpbb_root_path . $arcade->arcade_config['games_path'] . $game_name .".gif") ) { $image_path = $phpbb_root_path . $arcade->arcade_config['games_path'] . $game_name . '.gif'; } else if( @file_exists($phpbb_root_path . $game_path . $game_name .".gif") ) { $image_path = $phpbb_root_path . $game_path . $game_name . '.gif'; @copy($image_path, $arcade->arcade_config['games_path'] . $game_name .".gif"); } else { $image_path = $phpbb_root_path . $arcade->arcade_config['games_default_img']; } } else if ( strlen( $image_path ) < 5 ) { $image_path = $phpbb_root_path . $game_path . '/' . $game_name . $image_path; } return $image_path; } # #-----[ OPEN ]------------------------------------------ # OPEN includes/page_header.php # #-----[ FIND ]------------------------------------------ # if (defined('SHOW_ONLINE')) { # #-----[ AFTER ADD ]------------------------------------------ # include_once($phpbb_root_path.'includes/functions_arcade.'.$phpEx); # #-----[ FIND ]------------------------------------------ # $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s WHERE u.user_id = s.session_user_id AND s.session_time >= ".( time() - 300 ) . " $user_forum_sql ORDER BY u.username ASC, s.session_ip ASC"; # #-----[ REPLACE WITH ]------------------------------------------ # $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip, s.SearchBot, g.game_name, g.game_path, g.image_path, g.game_desc FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s LEFT JOIN ".iNA_SESSIONS." z ON u.user_id = z.user_id LEFT JOIN ".iNA_GAMES." g ON z.game_name = g.game_name WHERE u.user_id = s.session_user_id AND s.session_time >= ".( time() - 300 ) . " $user_forum_sql ORDER BY u.username ASC, s.session_ip ASC"; # #-----[ FIND ]------------------------------------------ # if ( $row['session_logged_in'] ) { # #-----[ AFTER ADD ]------------------------------------------ # $image_path = ina_find_image($row['game_path'],$row['game_name'],$row['image_path'],'./../'); # #-----[ FIND ]------------------------------------------ # if ( $row['user_allow_viewonline'] ) { $user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>'; $logged_visible_online++; } # #-----[ REPLACE WITH ]------------------------------------------ # if ( $row['user_allow_viewonline'] ) { if($row['game_name']) { $user_online_link = '<img src="'.$image_path.'" alt="'.$row['game_desc'].'" border="0" width="15" height="15" /> <a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>'; } else { $user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>'; } $logged_visible_online++; } # #-----[ SAVE AND CLOSE ]------------------------------------------ #
http://www.Florian-Fromlowitz.de.gg <-- Fanpage
http://www.TimWiese-Fanpage.de.vu <-- Fanpage
http://keeperboard.ohost.de <--- Für alle Fußball & Mini Games Fans/ Registrieren&Mitmachen !
http://www.TimWiese-Fanpage.de.vu <-- Fanpage
http://keeperboard.ohost.de <--- Für alle Fußball & Mini Games Fans/ Registrieren&Mitmachen !