Kalender vraagje type phpbb

Installatie lukt niet? Plotseling een foutmelding. Of weet je niet hoe iets werkt. Problemen met phpBB2 kun je in dit archief opzoeken.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
Gebruikersavatar
phpbb fan
Berichten: 148
Lid geworden op: 09 jun 2004, 12:28
Locatie: Temse
Contacteer:

Kalender vraagje type phpbb

Bericht door phpbb fan » 02 jul 2004, 15:15

#############################
#### VERSION PHPBB 2.0.3 ####
#
#
#
#-----[ (VERSION PHPBB 2.0.3) FIND ]------------------------------------------
#

if ( defined('IN_ADMIN') )
{
if( !file_exists($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.'.$phpEx) )
{
$board_config['default_lang'] = 'english';
}

include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx);
}

#
#-----[ (VERSION PHPBB 2.0.3) AFTER, ADD ]------------------------------------------
#

//
// MOD Load Calendar Language File
//
if ( !file_exists($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_calendar.'.$phpEx) )
{
$board_config['default_lang'] = 'english';
}

include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_calendar.' . $phpEx);

// End MOD


####################################
#### VERSION PHPBB 2.0.4 - 2.0.6####
#
#
#
#-----[ (VERSION PHPBB 2.0.4 - 2.0.6) FIND ]------------------------------------------
#

if ( defined('IN_ADMIN') )
{
if( !file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.'.$phpEx)) )
{
$board_config['default_lang'] = 'english';
}

include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx);
}

#
#-----[ (VERSION PHPBB 2.0.4 - 2.0.6) AFTER, ADD ]------------------------------------------
#

//
// MOD Load Calendar Language File
//
if ( !file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_calendar.'.$phpEx)) )
{
$board_config['default_lang'] = 'english';
}

include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_calendar.' . $phpEx);

// End MOD
#
#############################



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

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

else
{
$u_login_logout = 'login.'.$phpEx;
$l_login_logout = $lang['Login'];
}

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

else
{
// Mod Calendar
if (isset($caluser)) {
$u_login_logout = 'login.'.$phpEx.'?redirect=calendar.'.$phpEx;
}
else {
$u_login_logout = 'login.'.$phpEx;
}
// End Mod for Calendar
$l_login_logout = $lang['Login'];
}

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

'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>'),

#
#-----[ AFTER, ADD ]------------------------------------------
#

'L_CALENDAR' => $lang['Calendar'],

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

'U_MEMBERSLIST' => append_sid('memberlist.'.$phpEx),
'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),

#
#-----[ AFTER, ADD ]------------------------------------------
#

'U_CALENDAR' => append_sid('calendar.'.$phpEx),


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

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

<img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>

#
#-----[ AFTER, ADD ]------------------------------------------
#

&nbsp; &nbsp;<a href="{U_CALENDAR}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_calendar.gif" width="12" height="13" border="0" alt="{L_CALENDAR}" hspace="3" />{L_CALENDAR}</a>



#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Ik heb die phpbb 2.0.8, maar die staat er niet tussen.

Mvg,

Mario 8)

Gebruikersavatar
LazyTiger
Berichten: 2000
Lid geworden op: 21 okt 2003, 18:21

Bericht door LazyTiger » 02 jul 2004, 15:20

gewoon die van 2.0.6 pakken.

Gebruikersavatar
phpbb fan
Berichten: 148
Lid geworden op: 09 jun 2004, 12:28
Locatie: Temse
Contacteer:

Bericht door phpbb fan » 02 jul 2004, 15:55

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

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

<img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>

Die vind ik iet terug, ik werk met fisubsilversh, moet je dat dan vervagen?

Mvg,

Mario 8)

cartoontje
Berichten: 1518
Lid geworden op: 29 jun 2003, 10:57
Locatie: Home Sweet Home
Contacteer:

Bericht door cartoontje » 02 jul 2004, 16:02

Die hack is gemaakt voor SubSilver, aangezien dat de standaardtemplate is. Je moet dit stuk dus ff op maat maken voor jouw template! ;)

Zoek in dat bestand naar

Code: Selecteer alles

{L_USERGROUPS}
Kijk dan even naar hoe de code eruit ziet en pas het stukje van de hack op de juiste manier in het bestand in. Het is een beetje cryptisch om uit te leggen, maar je moet die link dus "ombuigen" naar jouw stijl...

Gesloten