Diverse Probleme mit der BBCode-Box [ Brauche noch Hilfe! ]
Verfasst: 14.05.2006 21:52
Hallo zusammen,
ich habe die bb-code-box eingebaut, und stoße dabei auf folgende Probleme...
1. Eine Datei fehlt:
Diese Datei habe ich nicht??? Wie ist das möglich und was soll ich tun?
2. Probleme mit den templates
in der install.txt steht folgendes:
Jedoch gibt meine posting_body.tpl Diesen Inhalt nicht her.....?
3. Fehlermeldung beim Öffnen des Forums
Wenn ich jetzt die index.php aufrufe heisst es:
Wenn ich mir diese Stelle in der common.php jedoch ansehe, sieht sie eigentlich gut aus, oder??
Jetzt weiß ich nicht mehr weiter ... Würde mich über Eure Hilfe freuen...
Gruß
Rockford
ich habe die bb-code-box eingebaut, und stoße dabei auf folgende Probleme...
1. Eine Datei fehlt:
Code: Alles auswählen
#-----[ OPEN ]------------------------------------------------
#
includes/class_config.php
#
#-----[ FIND ]------------------------------------------------
#
define('TOPICS_ATTR_TABLE', $table_prefix . 'topics_attr');
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
define('BBC_BOX_TABLE', $table_prefix . 'bbc_box');
//-- fin mod : bbcode box reloaded ---------------------------------------------
2. Probleme mit den templates
in der install.txt steht folgendes:
Code: Alles auswählen
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/posting_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<!-- INCLUDE posting_bbcode.tpl -->
#
#-----[ REPLACE WITH ]----------------------------------------
#
<!-- INCLUDE bbc_js_box.tpl -->
#
#-----[ FIND ]------------------------------------------------
#
# this is a partial search : the full lines are longer
#
<td class="row2" valign="top"
<table width="450" border="0"
<tr
<td>
<input type="button" class="button" accesskey="b"
</span></td>
<td>
<input type="button" class="button" accesskey="i"
</span></td>
<td>
<input
</span></td>
<td>
<input
</span></td>
<td>
<input
</span></td>
<td>
<input
</span></td>
<td>
<input
</span></td>
<td>
<input
</span></td>
<td>
<input
</span></td>
</tr>
<tr>
<td colspan
<table
<tr>
<td>
<select name="addbbcode18"
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
</select>
<option value="7"
<option value=
<option value=
<option value=
<option value=
</select>
</span></td>
<td nowrap="nowrap"
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="9"
<input type="text" name="helpbox"
</td>
</tr>
<tr>
<td colspan="9"
<textarea name="message"
</td>
</tr>
</table>
</td>
#
#-----[ REPLACE WITH ]----------------------------------------
#
<td class="row2" valign="top"><table cellspacing="0" cellpadding="2" border="0">
<!-- INCLUDE bbc_display_box.tpl -->
<tr>
<td><textarea name="message" rows="15" cols="76" wrap="virtual" style="width:450px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea></td>
</tr>
</table></td>
3. Fehlermeldung beim Öffnen des Forums
Wenn ich jetzt die index.php aufrufe heisst es:
Code: Alles auswählen
Fatal error: Call to a member function on a non-object in /root/common.php on line 224
Code: Alles auswählen
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
include($config->url('includes/functions_bbc_box'));
//-- fin mod : bbcode box reloaded ---------------------------------------------
if (file_exists('install') || file_exists('contrib'))
{
message_die(GENERAL_MESSAGE, 'Please_remove_install_contrib');
}
Jetzt weiß ich nicht mehr weiter ... Würde mich über Eure Hilfe freuen...
Gruß
Rockford