Seite 1 von 1

Diverse Probleme mit der BBCode-Box [ Brauche noch Hilfe! ]

Verfasst: 14.05.2006 21:52
von rockford
Hallo zusammen,

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 ---------------------------------------------
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:

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>
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:

Code: Alles auswählen

Fatal error: Call to a member function on a non-object in /root/common.php on line 224
Wenn ich mir diese Stelle in der common.php jedoch ansehe, sieht sie eigentlich gut aus, oder??

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

Verfasst: 15.05.2006 15:25
von rotuganda
Diese Datei habe ich nicht??? Wie ist das möglich und was soll ich tun?
dann nimm sie doch aus dem orgnial php package? bzw. schau nochmal nach ob du die richtige instal.txt gewählt hast meines wissens liegt eine CH-install.txt bei. wenn du den nicht eingebaut hast auch nicht diese anleitung verwenden ;)
2. Probleme mit den templates

in der install.txt steht folgendes:
zu diesem problem, bin kein held, aber ich meine die anfangs und endzeile gefunden zu haben.

beginn(in deiner datei):

Code: Alles auswählen

<td class="gris1" valign="top">
      <table width="450" border="0" cellspacing="0" cellpadding="2">
ende(bei deiner datei):

Code: Alles auswählen

  <td colspan="9">
           <textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
           </td>
        </tr>
      </table></td>
bei dir ist der teil sehr lang und es schaut mir so aus, als hättest du an der bb-box schon mal rum gemoddet, weiß ich aber nicht?! falls du schon mal gemoddet hattest, bau sicherheitshalber den anderen mod wieder aus?!

ich denke aber wenn du diesen ganzen abschnitt ersetzt könnte es klappen, versuch es mal aber sichere deine dateien vorher ;)

Verfasst: 15.05.2006 19:23
von rockford
Hauptproblem bleibt immer noch diese Meldung:

Code: Alles auswählen

Fatal error: Call to a member function on a non-object in /srv/www/htdocs/web27/html/feetlounge/common.php on line 224

solange dieses Problem vorhanden ist, komme ich nicht ins Forum um zu sehen, ob die templates einwandfrei arbeiten... :(


Weiß niemand Rat?


Gruß
Rockford

Verfasst: 15.05.2006 19:40
von rotuganda
dazu kann ich leider nichts sagen, vielleicht hilft auch googel. kenne mich leider zuwenig aus.

Verfasst: 16.05.2006 21:08
von rockford
kann mir denn niemand sagen, warum ich nicht mehr ins Forum komme? Hier wurden doch schon ganz andere Probleme gelöst.. :(

Verfasst: 22.05.2006 14:19
von Billy Regal
Hi,

nach welche install Datei haste denn den Mod eingebaut,
mod-bbcode_box_reloaded_122a.txt
oder
mod-bbcode_box_reloaded_122a_with_ch_214.txt
(This version is only for Categories Hierarchy 2.1.4.)

Das der Fehler in der common.php auftritt, vielleicht die changes nochmal machen.
Bin keine Leute in php, aber vielleicht hilft es

Gruß Billy

Verfasst: 23.05.2006 00:46
von John Doe
So ists richtig:
common.php

Code: Alles auswählen

//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
include($phpbb_root_path . './includes/functions_bbc_box.'.$phpEx);
//-- fin mod : bbcode box reloaded ---------------------------------------------
Der andere code ist aus der CH-Mod Version.