Ik heb een MOD geïnstalleerd waardoor ik als admin meer invloed heb op de signature van de gebruikers. Na het installeren zie ik echter de pagina 'viewtopic' niet meer...
Mijn 'viewtopic.php' (welke ik aan hem moeten passen voor deze MOD kan je hier vinden (.txt-bestand). Wie-o-wie kan me vertellen hoe ik dit probleem op kan lossen?!
De aanpassingen in viewtopic.php voor de MOD, zoals die in het install-bestand stonden, zijn de volgende:
Code: Selecteer alles
#
#-----[ OPEN ]------------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------------
#
# Warning! These instructions as is are not compliant if Anti-Spam 1.1.1
# is already installed. To use this MOD with Anti-Spam 1.1.1, apply
# the instructions "FIND+AFTER, ADD" above 4 times!
# You must find 4 times the code mentionned, and after each one
# add the new code mentionned!
#
if ( $user_sig != '' && $user_sig_bbcode_uid != '' )
{
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start add - Signatures control MOD
if ( $userdata['user_allowsignature'] != 2 && $board_config['sig_allow_font_sizes'] == 0 )
{
$user_sig = '[size=' . $board_config['sig_max_font_size'] . ':' . $user_sig_bbcode_uid . ']' . $user_sig . '[/size:' . $user_sig_bbcode_uid . ']';
}
// End add - Signatures control MOD
#
#-----[ FIND ]------------------------------------------------
#
if ( $user_sig != '' )
{
$user_sig = make_clickable(
#
#-----[ IN-LINE FIND ]----------------------------------------
#
''
#
#-----[ IN-LINE AFTER, ADD ]----------------------------------
#
&& $board_config['sig_allow_url'] != 0
#
#-----[ FIND ]------------------------------------------------
#
if ( $postrow[$i]['user_allowsmile'] && $user_sig != '' )
#
#-----[ IN-LINE FIND ]----------------------------------------
#
''
#
#-----[ IN-LINE AFTER, ADD ]----------------------------------
#
&& $board_config['sig_allow_smilies'] != 0
#
#-----[ FIND ]------------------------------------------------
#
# NOTE: this is a search by part(s) of code line(s)!
# The original line(s) to find is(are) longer and must look like this (if no MOD has already modify them):
#
# if ( $user_sig != '' )
# {
# $user_sig = '<br />_________________<br />' . str_replace("\n", "\n<br />\n", $user_sig);
# }
#
if ( $user_sig != '' )
{
$user_sig =
}
#
#-----[ IN-LINE FIND ]----------------------------------------
#
''
#
#-----[ IN-LINE AFTER, ADD ]----------------------------------
#
&& $userdata['user_allowsignature'] != 0
#
#-----[ IN-LINE FIND ]----------------------------------------
#
}
#
#-----[ IN-LINE AFTER, ADD ]----------------------------------
#
else $user_sig = '';