[FONT=Times New Roman][size=12]Hallo zusammen,[/SIZE][/FONT]
[FONT=Times New Roman][size=12]mein Ziel war es den Schülern meiner Schulklasse einen Chat auf ihrer Blogseite zur Verfügung zu stellen. Hierzu soll auf der Sidebar ein Link erscheinen, der den Chatraum öffnet. ....[/SIZE][/FONT][COLOR=black][FONT=Arial]das Plugin: [/FONT][/COLOR][FONT=Arial][COLOR=#ff0000]Geesee[/COLOR][/FONT][COLOR=black][FONT=Arial] Chat entschieden und die WP-Variante geladen und im Adminbereich aktiviert. Im WP-Geesee-Menü fand ich den Hinweis: [/FONT][/COLOR]
[COLOR=black][/COLOR]
[COLOR=black][FONT=Lucida Sans Unicode]To add Geesee chat link to your sidebar, add the following code into the sidebar.php of your current WordPress theme on a place, where you want the link to appear.[/FONT][/COLOR]
[COLOR=black][FONT=Lucida Sans Unicode]<?php wp_add_geesee_chat(); ?>[/FONT][/COLOR]
[FONT=Times New Roman][size=12]Nun habe ich keinerlei (wirklich gar keine) Kenntnis von Programmierung. Die Sidebar.php sieht bei mir folgendermaßen aus:[/SIZE][/FONT]
[size=12][FONT=Times New Roman]<div id="sidebar">[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<ul>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php /* Widgetized sidebar, if you have the plugin installed. */ [/FONT][/SIZE]
[size=12][FONT=Times New Roman]if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> [/FONT][/SIZE]
[size=12][FONT=Times New Roman]<li>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php include (TEMPLATEPATH . '/searchform.php'); ?>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]</li>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<li><h2>Autor</h2>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<p>A little something about you, the author. Nothing lengthy, just an overview.</p>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]</li>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]-->[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php if ( is_404() || is_category() || is_day() || is_month() || [/FONT][/SIZE]
[size=12][FONT=Times New Roman]is_year() || is_search() || is_paged() ) { [/FONT][/SIZE]
[size=12][FONT=Times New Roman]?> <li> [/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php /* If this is a 404 page */ if (is_404()) { ?>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php /* If this is a category archive */ } elseif (is_category()) { ?>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<p>du durchsuchst derzeit das Archiv der <?php single_cat_title(''); ?> [/FONT][/SIZE]
[COLOR=red][size=12][FONT=Times New Roman]<?php wp_add_geesee_chat(); ?>[/FONT][/SIZE][/COLOR]
[size=12][FONT=Times New Roman]Kategorie.</p>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php /* If this is a daily archive */ } elseif (is_day()) { ?>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<p>du durchsuchst derzeit das <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('url'); ?></a> Archiv[/FONT][/SIZE]
[size=12][FONT=Times New Roman]nach <?php the_time('l,'); ?> den <?php the_time('j. F Y'); ?>.</p>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<p>du durchsuchst derzeit das <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('url'); ?></a> Archiv[/FONT][/SIZE]
[size=12][FONT=Times New Roman]nach dem Monat <?php the_time('F Y'); ?>.</p>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<p>du durchsuchst derzeit das <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('url'); ?></a> Archiv[/FONT][/SIZE]
[size=12][FONT=Times New Roman]nach dem Jahr <?php the_time('Y'); ?>.</p>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php /* more links to find */ } elseif (is_search()) { ?>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<p>du hast das <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('url'); ?></a> Archiv nach[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<strong>'<?php the_search_query(); ?>'</strong> durchsucht. Wenn du in den Ergebnissen nichts gefunden hast, helfen dir eventuell die folgenden Links.</p>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php /* If this is not a specified archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<p>du durchsuchst derzeit das <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('url'); ?></a> Archiv.</p>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php } ?>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]</li> <?php }?> [/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php wp_list_pages('title_li=<h2>Seiten</h2>' ); ?>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<li><h2>Archiv</h2>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<ul>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php wp_get_archives('type=monthly'); ?>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]</ul>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]</li>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php wp_list_categories('show_count=1&title_li=<h2>Kategorien</h2>'); ?>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> [/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php wp_list_bookmarks(); ?>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<li><h2>Meta</h2>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<ul>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php wp_register(); ?>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<li><?php wp_loginout(); ?></li>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<li><a href="http://wordpress-deutschland.org/" title="WordPress Deutschland">WPD</a></li>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php wp_meta(); ?>[/FONT][/SIZE]
[COLOR=red][size=12][FONT=Times New Roman]<?php wp_add_geesee_chat(); ?>[/FONT][/SIZE][/COLOR]
[size=12][FONT=Times New Roman]</ul>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]</li>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php } ?>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]<?php endif; ?> [/FONT][/SIZE]
[size=12][FONT=Times New Roman]</ul>[/FONT][/SIZE]
[size=12][FONT=Times New Roman]</div>[/FONT][/SIZE]
[FONT=Times New Roman][size=12]Die beiden roten Markierungen zeigen wo ich den Code bislang erfolglos platziert hatte.[/SIZE][/FONT]
[FONT=Times New Roman][size=12]Was mache ich falsch? [/SIZE][/FONT][FONT=Times New Roman][size=12]LG[/SIZE][/FONT]
[FONT=Times New Roman][size=12]James[/SIZE][/FONT]