Hi,
also ich habe die neuen dateien hochgeladen und soweit erscheint erstmal keine fehlermeldung mehr.Jedoch erscheitn auch nicht der player,oder ein text der mir sagt das ich keinen flashplayer habe.
lediglich der link ist zu sehen.
woran mag das nun wieder liegen?das plugin ist aktiviert.
Beiträge von lemox
-
-
Hi,
ich wollte das plugin mal testen,habe die php datei in /plugins/ und die andere swf datei in /wordpress/ getan.
leider erscheint nur folgende meldung:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /var/www/web45/html/wordpress/wp-content/plugins/sid_mp3_player.php on line 11woran könntedas liegen,vielleicht weil kein flash player installiert ist?
bye
-
So,hab diesen Beitrag nochmal editiert.Habe zuerst das
</p entfernt,aber daran lags nichts.
Aber ihr glaubt nicht nach welcher Aktion es nun funktioniert und keine Fehler mehr ausgibt:
In der get-author-profile.php war an letzter Stelle bei
hinter dem > ein Leerzeichen,für das blosse Auge nicht zu erkennen,habe auch nur zufällig dort hingeklickt und mir nichts dabei gedacht einmal return zu drücken.
Jetzt funktioniert es
Trotzdem Dankeschön -
1. Das hier ist meine profile.php, dort steht dieser besagte wp-head tag nicht:
PHP
Alles anzeigen<?php /* Template Name: Profile */ ?> <?php get_header(); ?> <div id="main" class="main"> <table width="100%" cellspacing="0" cellpadding="0"> <tr> </tr> </table> <table width="100%" border="0" cellpadding="5" cellspacing="0"> <tr> </tr> <?php if (function_exists('wp_theme_switcher')) { ?> <?php } ?> </table> <table width="100%" cellspacing="0" cellpadding="0"> <tr> </tr> </table> <?php if (have_posts()) : ?> <table width="100%" border="0" cellspacing="0" cellpadding="5"> <?php while (have_posts()) : the_post(); ?> <tr> </tr> <tr> <td></td> </tr> <tr> <td rowspan="2"></td> <td><span class="header-title"><span id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> <?php the_title(); ?> </a></span></span></td> <td rowspan="2"><span class="header-title"><span id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> </a></span></span></td> </tr> <tr> <td> Blogbesitzer und Admin: <?php get_author_profile(1); ?> Name: <?php author_profile('firstname'); ?> <?php author_profile('lastname'); ?> Nickname: <?php author_profile('nickname'); ?> ICQ: <?php author_profile('icq'); ?> AIM: <?php author_profile('aim'); ?> YIM: <?php author_profile('yim'); ?> MSN: <?php author_profile('msn'); ?> Email: <?php author_profile('email'); ?> Website: <?php author_profile('url'); ?> Geschriebene Beiträge: <?php author_profile('posts'); ?> Beiträge des Benutzers: <?php author_profile('posts_link'); ?> Anmerkungen: <?php author_profile('profile'); ?> [/list] Benutzer und Autoren: <?php get_author_profile(2); ?> Name: <?php author_profile('firstname'); ?> <?php author_profile('lastname'); ?> Nickname: <?php author_profile('nickname'); ?> ICQ: <?php author_profile('icq'); ?> AIM: <?php author_profile('aim'); ?> YIM: <?php author_profile('yim'); ?> MSN: <?php author_profile('msn'); ?> Email: <?php author_profile('email'); ?> Website: <?php author_profile('url'); ?> Geschriebene Beiträge: <?php author_profile('posts'); ?> Beiträge des Benutzers: <?php author_profile('posts_link'); ?> Anmerkungen: <?php author_profile('profile'); ?> [/list] <?php get_author_profile(4); ?> Name: <?php author_profile('firstname'); ?> <?php author_profile('lastname'); ?> Nickname: <?php author_profile('nickname'); ?> ICQ: <?php author_profile('icq'); ?> AIM: <?php author_profile('aim'); ?> YIM: <?php author_profile('yim'); ?> MSN: <?php author_profile('msn'); ?> Email: <?php author_profile('email'); ?> Website: <?php author_profile('url'); ?> Geschriebene Beiträge: <?php author_profile('posts'); ?> Beiträge des Benutzers: <?php author_profile('posts_link'); ?> Anmerkungen: <?php author_profile('profile'); ?> [/list] <?php get_author_profile(5); ?> Name: <?php author_profile('firstname'); ?> <?php author_profile('lastname'); ?> Nickname: <?php author_profile('nickname'); ?> ICQ: <?php author_profile('icq'); ?> AIM: <?php author_profile('aim'); ?> YIM: <?php author_profile('yim'); ?> MSN: <?php author_profile('msn'); ?> Email: <?php author_profile('email'); ?> Website: <?php author_profile('url'); ?> Geschriebene Beiträge: <?php author_profile('posts'); ?> Beiträge des Benutzers: <?php author_profile('posts_link'); ?> Anmerkungen: <?php author_profile('profile'); ?> [/list] </p></td> </tr> <tr> <td rowspan="2"></td> <td><?php the_content('Read the rest of this entry »'); ?></td> <td rowspan="2"></td> </tr> <tr> </tr> <tr> <td rowspan="3"></td> <td class="header"><div class="comments"> <div align="left"> <?php edit_post_link('Bearbeiten',''); ?> <?php comments_popup_link('Kommentar schreiben', '1 Kommentar', '% Kommentare'); ?> </div> </div> </td> <td rowspan="3"></td> </tr> <tr> <td><?php comments_template(); ?></td> </tr> <tr> </tr> <?php endwhile; ?> </table> <div class="navigation"> <div class="alignleft"> <table width="100%" border="0" cellpadding="5" cellspacing="0"> <tr><td width="2%" rowspan="2" class="header-date"></td> <td width="98%" colspan="2" class="header-date">Copyright [url="http://wordpress.org/"][/url]© 2005 by [url="mailto:lemox@gmx.de"]lemox[/url] | Powered by [url="http://wordpress.org/"]Wordpress[/url] <div align="left"></div> <div align="left"></div></td> </tr> <tr> <td colspan="2" class="header-date"><?php posts_nav_link('','','« Previous Entries') ?> <span class="alignright"> <?php posts_nav_link('','Next Entries »','') ?> </span></td> </tr> <tr> <td colspan="3" class="header-date"></td> </tr> </table> </div> <div class="alignright"></div> </div> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p> <?php include (TEMPLATEPATH . "/searchform.php"); ?> <?php endif; ?> </div> </div> <?php get_sidebar(); ?> <?php get_footer(); ?> </p>2.Handelt es sich um eine private, nicht gewerbliche Seite, und dort muss weder ein Impressum vorhanden sein, weder noch Name,Email oder gar Telefonnummer.
-
Keiner hat bisher seine Einwände genannt,vielleicht freuen sie sich ja auch,wenn sie eventuell Liebesbriefe bekommen,falls sich jemand in den Schreibstil verliebt *grummel*
ich wollt eigentlich nur die fehler beseitigt haben.
-
so,das plugin läuft nun und ist unter folgendem link zu finden:
http://www.gedankeninferno.de/wordpress/?page_id=51dennoch erscheint im wp-admin bereich oben immernoch besagter fehler:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-admin/admin.php on line 10dazugekommen ist noch:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 7Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 9
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 10
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 11
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-includes/pluggable-functions.php on line 163
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-includes/pluggable-functions.php on line 164
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-includes/pluggable-functions.php on line 165
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-includes/pluggable-functions.php on line 166
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 27
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 28
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 29
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 30
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-includes/pluggable-functions.php on line 129
wenn ich mich auf meiner seite ausloggen möchte.
abgesehen von den fehlern ein schönes plugin,wer mag mich retten?

-
kann mir einer erklären wie dieses plugin genau funktioniert?
ich kann auch nicht wirklich draus erkennen,welchen code ich auf der z.B. author.php wiedergeben muss damit die profile aller user angezeigt werden. -
Genaudasselbe passiert bei mir auch,die neuesten Beiträge werden als erstes angezeigt,jedoch hat der neueste Beitrag immer die Nr.1

Wie kann man das lösen? -
nein,wie unten zu erkennen
PHP
Alles anzeigen<?php /* Plugin Name: Get Author Profile Plugin URI: http://guff.szub.net/get-author-profile Description: Assigns specified author profile information to global variables for use in your weblog. Version: 0.2 Author: Kaf Oseo Author URI: http://szub.net ~Changelog: 0.2 (13-Dec-2004) Added two new variables from outside WordPress' user profile set (but still considered part of it): * $author_posts (number of posts for author) * $author_posts_link (link to all author's posts) There's also a new function: author_profile(). This merely echos the values of the variables--for anyone who prefers doing things the WordPress way. */ function get_author_profile($auth_id) { global $wpdb, $tableusers, $posts, $authordata; global $author_aim, $author_email, $author_firstname, $author_icq, $author_lastname, $author_level, $author_login, $author_msn, $author_nickname, $author_posts, $author_posts_link, $author_profile, $author_url, $author_yim; $author_posts = get_usernumposts($auth_id); $author_posts_link = get_author_link(0, $auth_id, $authordata->user_nicename); $query = $wpdb->get_results("SELECT * FROM $tableusers WHERE ID = '$auth_id' LIMIT 1"); foreach ($query as $profile) { $author_aim = $profile->user_aim; $author_email = $profile->user_email; $author_firstname = $profile->user_firstname; $author_icq = $profile->user_icq; $author_lastname = $profile->user_lastname; $author_level = $profile->user_level; $author_login = $profile->user_login; $author_msn = $profile->user_msn; $author_nickname = $profile->user_nickname; $author_profile = $profile->user_description; $author_url = $profile->user_url; $author_yim = $profile->user_yim; } } function author_profile($info = 'nickname') { global $author_aim, $author_email, $author_firstname, $author_icq, $author_lastname, $author_level, $author_login, $author_msn, $author_nickname, $author_posts, $author_posts_link, $author_profile, $author_url, $author_yim; switch ($info) { case 'aim': echo $author_aim; break; case 'email': echo $author_email; break; case 'firstname': echo $author_firstname; break; case 'icq': echo $author_icq; break; case 'lastname': echo $author_lastname; break; case 'level': echo $author_level; break; case 'login': echo $author_login; break; case 'msn': echo $author_msn; break; case 'nickname': echo $author_nickname; break; case 'posts': echo $author_posts; break; case 'posts_link': echo $author_posts_link; break; case 'profile': echo $author_profile; break; case 'url': echo $author_url; break; case 'yim': echo $author_yim; break; } } ?> -
also ich hab mir das plugin runtergeladen und wenn ich es aktiviere bekomme ich folgende fehlermeldung:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-admin/admin.php on line 10
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-admin/admin.php on line 11
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-admin/admin.php on line 12
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-admin/admin.php on line 13
mehr hab ich ja noch garnicht gemacht,wieso erscheitn dann ein fehler?
-
Hi,
habe mal eine Frage,und zwar möchte ich für jeden Author eine kleine Seite erstellen,wo man Informationen über die jeweillige Person findet.
Wenn man bei einem Beitrag auf den Namen des Author klickt,der den Beitrag geschrieben hat,der mit <?php the_author() ?></p> angezeigt wird,sollte man auf diese Seite gelinkt werden,die dem Author gewidmet ist.
Ist sowas möglich? -
das sieht echt so aus,als würde es klappen,aber wie gibt man da den pfad richtig an?
-
es funktioniert anscheinend nicht mit vodafone,schade.
das plugin läuft unter http://www.gedankeninferno.de/wordpress/wp-mob/view.php
scheinbar funktioniert das plugin zwar,aber vodafone lässt die mms nachrichten nicht durch.
Falls ihr einen anderen Provider habt schickt mal testweise eine Bildnachricht an den MMS Server:
http://www.gedankeninferno.de/wordpress/wp-mob/send.php
Als Empfängernummer gebt ihr die 123 an.
Vielen Dank. -
Und hast du das jetzt mal getestet?würde mich mal interessieren ob das funktioniert
-
zeig mal her wenns bei dir geklappt hat
-
Ich finde deinen Moblog eine sehr gute Sache und würde das auch in meinem weblog verwenden wollen,aber das problem das sich hier stellt ist das, das ich nicht weiss, wie das script mit meinem theme funktioniert
ich benutze kein kubrick und das plugin findet meine templates nicht.
wie kann man die anpassen? -
Also das hier wäre die sidebar:
PHP<div id="sidecolumn" class="sidecolumn"> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="header">Kategorien</td> </tr> <tr> <td class "header"><ul><?php wp_list_cats(); ?>[/list]</td> </tr> </table> </div>und hier der passende css code:
-
Hi,
ich würde gerne mal wissen,wie man in der sidebar eine trennung der kategorieauflistung machen kann.
das soll bedeuten,das zwischen z.B.:Weblog
Privates
usw.ein border ist,der eine abtrennung der zeilen bewirkt.
danke
-
Wie wäre es mit einer Weblog Toplist hier, damit jeder eine Resonanz auf seine Arbeit mit Wordpress bekommt?
-
Würde auch gerne die Doppelpfeile für den Kategorien haben, wie bewerkstellige ich das?