|
| IP: |
n/a |
| Rang: |
|
| Registrierung: |
19.09.2004, 02:29 |
| Homepage: |
http://www.nychenne.com |
| Wohnort: |
Fehmarn |
| |
 Supporter mit 438 Punkte, 282 Beiträge |
|
Hi zusammen!  Ich habe mal die Codes für Youtube und MyVideo eingebaut. Im Forum selbst erhalte ich keine Fehlermeldungen, aber im Fehler-Log werden folgende Fehler ausgegeben: Code: 1 2 3 4 5 6 7 8 9 10 11 12
| Undefined index: bbcode_prompt_myvideo Anfrage: /board/index.php?action=new_post&fid=6&tid=45&site=1 Backtrace:
* /usr/local/pem/vhosts/16697/webspace/httpdocs/board/src/posting_form.php, 616 [get_bbcode_for_post()] * /usr/local/pem/vhosts/16697/webspace/httpdocs/board/src/posting_form.php, 274 [bs_postingform::get_bbcode_for_post()] * /usr/local/pem/vhosts/16697/webspace/httpdocs/board/src/posting_form.php, 381 [bs_postingform::get_textarea()] * /usr/local/pem/vhosts/16697/webspace/httpdocs/board/src/posting_form.php, 215 [bs_postingform::_get_post_form()] * /usr/local/pem/vhosts/16697/webspace/httpdocs/board/modules/new_post.php, 79 [bs_postingform::get_content()] * /usr/local/pem/vhosts/16697/webspace/httpdocs/board/src/page.php, 131 [bs_module_new_post::run()] * /usr/local/pem/vhosts/16697/webspace/httpdocs/board/src/page.php, 55 [bs_page::_display_module()] * /usr/local/pem/vhosts/16697/webspace/httpdocs/board/index.php, 110 [bs_page::bs_page()] | und Code: 1 2 3 4 5 6 7 8 9 10 11 12
| Undefined index: bbcode_prompt_youtube Anfrage: /board/index.php?action=new_post&fid=6&tid=45&site=1 Backtrace:
* /usr/local/pem/vhosts/16697/webspace/httpdocs/board/src/posting_form.php, 616 [get_bbcode_for_post()] * /usr/local/pem/vhosts/16697/webspace/httpdocs/board/src/posting_form.php, 274 [bs_postingform::get_bbcode_for_post()] * /usr/local/pem/vhosts/16697/webspace/httpdocs/board/src/posting_form.php, 381 [bs_postingform::get_textarea()] * /usr/local/pem/vhosts/16697/webspace/httpdocs/board/src/posting_form.php, 215 [bs_postingform::_get_post_form()] * /usr/local/pem/vhosts/16697/webspace/httpdocs/board/modules/new_post.php, 79 [bs_postingform::get_content()] * /usr/local/pem/vhosts/16697/webspace/httpdocs/board/src/page.php, 131 [bs_module_new_post::run()] * /usr/local/pem/vhosts/16697/webspace/httpdocs/board/src/page.php, 55 [bs_page::_display_module()] * /usr/local/pem/vhosts/16697/webspace/httpdocs/board/index.php, 110 [bs_page::bs_page()] | Hat die jemand auch? Ach ja, ich habe den Code wie folgt drin in der config: im Bereich $bbcode Code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| /*Youtube*/ 'y' => array( 'tag' => 'y', 'type' => 'inline', 'content' => 'movie', 'replacement' => '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/<!--TEXT-->"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/<!--TEXT-->" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>', 'param' => 'no', 'allow_nesting' => false, 'allowed_content' => array( 'inline' => true ) ), /*Youtube Ende*/ /*MYVIDEO*/ 'my' => array( 'tag' => 'my', 'type' => 'inline', 'content' => 'movie', 'replacement' => '<object width="470" height="406"><param name="movie" value="http://www.myvideo.de/movie/<!--TEXT-->"></param><param name="wmode" value="transparent"></param><embed src="http://www.myvideo.de/movie/<!--TEXT-->"type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>', 'param' => 'no', 'allow_nesting' => false, 'allowed_content' => array( 'inline' => true ) ), /*MYVIDEO Ende*/
| und in Bereich $bbcode_bar Code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| /*youtube*/ 'separator', 'y' => array( 'type' => 'image', 'image' => 'bbcode/youtube.png"', 'width' => 20, 'height' => 20, 'prompt_text' => 'prompt_youtube' ), /*youtube*/ /*MyVideo*/ 'my' => array( 'type' => 'image', 'image' => 'bbcode/myvideo.png"', 'width' => 20, 'height' => 20, 'prompt_text' => 'prompt_myvideo', ), /*MyVideo*/
| *LoL* Fehler gefunden... ich war nur blind... in nenne es in der lang_index my und y also musste ich es so: Code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| /*youtube*/ 'separator', 'y' => array( 'type' => 'image', 'image' => 'bbcode/youtube.png"', 'width' => 20, 'height' => 20, 'prompt_text' => 'prompt_y' ), /*youtube*/ /*MyVideo*/ 'my' => array( 'type' => 'image', 'image' => 'bbcode/myvideo.png"', 'width' => 20, 'height' => 20, 'prompt_text' => 'prompt_my', ), /*MyVideo*/
| auch im Code der bbcode.php benennen. Greetz Henne
Dieser Beitrag wurde insgesamt 3 mal editiert. Das letzte mal 24.08.2007, 22:54 von Hendriks_Island.
|
|