zb newsbanner :)
Beiträge von dome
-
-
Ich versteh nicht, was du hast...
UndHier bekam ich bisher keine Hilfe, denn das mit dem WP-Grins hab ich auch gemacht. Auch wenn ich Wp-Grins deaktiviere, gehts nich. Was soll ich noch ändern? Hab wenigstens noch nichts gehört...
Wenns bei dir läuft, was hast du außer reinkopieren und aktivieren sonst noch gemacht?
SAG DOCH MAL WAS BEI DIR NICHT FUNKTIONIERT!
kommt eine Fehlermeldung? Kommt nichts? Eventuell auch ein paar Screens.So habe, es auch mal ausprobiert, nur kommt bei mir wenn ich absenden drücke, die Fehlermeldung, dass ich doch bitte einen Text eingeben solle, wobei ich was geschrieben habe.
-
-
jep da haste recht aber es ist keiner dabei oder irgendwo notiert habe dann mal ein bisschen probiert
habe es mit <?php widget_sidebarLogin() ?> probiert bekomme dann jedoch als Fehlermeldung:Warning: Missing argument 1 for widget_sidebarLogin(), called in /usr/export/www/hosting/thelounge/blog/wp-content/themes/df_flower/sidebar.php on line 342 and defined in /usr/export/www/hosting/thelounge/blog/wp-content/plugins/sidebarLogin.php on line 14
Warning: extract() [function.extract]: First argument should be an array in /usr/export/www/hosting/thelounge/blog/wp-content/plugins/sidebarLogin.php on line 16
dann habe ich es mit <?php widget_sidebarLogin($args) ?> versucht
dann kommt nur noch die FehlermeldungWarning: extract() [function.extract]: First argument should be an array in /usr/export/www/hosting/thelounge/blog/wp-content/plugins/sidebarLogin.php on line 16
weiß einer dort bescheid und kann mir Helfen?
Wäre über jede Hilfe dankbar:) -
Betreff hört sich komisch an, aber ich habe die Frage ob ich widgets irgendwie anders in meine sidebar bekomme, weil mein theme keine widgets unterstützt.
[LEFT]Im Moment betrifft es das [size=10]Sidebar Login Widget
Blue Anvil Journal » Blog Archive » A Wordpress Login Widget - Sidebar Login Widget
gruß
[/SIZE][/LEFT] -
so hat sich erledigt, habe den Coder angefragt
Antwort ihr müsst einfach in der Box 'Leading text: '
zb. 1 bis {total} einfügen
gruß:) -
guten abend,
habe da eine Frage
kann ich mit diesem Plugin auch dastellen wie viele Seiten es momentan gibt?
Meine das dann so:1 von 67 <<1 2 3 ... XXX ... 56 57 >>
Hier mal der inhalt des plugins, damit man sich das plugin nicht runter braucht. Hoffe jemand hat Rat.
Danke und GrußPHP
Alles anzeigen/* -------------------------------------------------------------------------------------------- */ function transit($place) { global $pbOptions; if ($place>0) echo '<span class="break">'.$pbOptions["connect"].'</span>'; } // ----------------------------------------------------------------------------- function replaceFirstLast($page) { global $pbOptions, $max_page; switch ($page) { case 1: return $pbOptions['first']; case $max_page: return $pbOptions['last']; default: return $page; } } // ----------------------------------------------------------------------------- function tagReplace($text, $page) { global $max_page; $text = str_replace("{page}", $page, $text); $text = str_replace("{current}", $page, $text); $text = str_replace("{total}", $max_page, $text); return $text; } // ----------------------------------------------------------------------------- // display tooltips function tooltip($page) { global $pbOptions; if ($pbOptions["tooltips"]) return ' title="' . tagReplace($pbOptions["tooltipText"], $page) .'"'; return ""; } // ----------------------------------------------------------------------------- function page($page) { global $pbOptions; echo tagReplace('<a href="' . get_pagenum_link($page) . '"' . tooltip($page) . ">" . replaceFirstLast($page) . "</a>\n", $page); } // ----------------------------------------------------------------------------- function thisPage($page) { global $pbOptions; echo tagReplace('<span class="current">'.replaceFirstLast($page). "</span>\n", $page); } // ----------------------------------------------------------------------------- function previousPage($paged) { global $pbOptions; if ($pbOptions["pdisplay"] == "never") return; if ( ($paged==1) && ($pbOptions["pdisplay"] == "auto") ) return; $text = $pbOptions["prev"]; echo ($paged==1)?'<span class="inactive">'.$text."</span>\n":'<a href="'. get_pagenum_link($paged-1). '"' . tooltip($paged-1).'">'.$text."</a>\n"; } // ----------------------------------------------------------------------------- function nextPage($paged,$max_page) { global $pbOptions; if ($pbOptions["pdisplay"] == "never") return; if ( ($paged==$max_page) && ($pbOptions["ndisplay"] == "auto") ) return; $text = $pbOptions["next"]; echo ($paged==$max_page)?'<span class="inactive">'.$text."</span>\n":'<a href="'. get_pagenum_link($paged+1).'"'.tooltip($paged+1).'">'.$text."</a>\n"; } // ----------------------------------------------------------------------------- function wp_pagebar() { global $paged, $wp_query, $pbOptions,$max_page; if ($wp_query->is_feed) // no need for pagebar in feed return; $showAll = 0; $left = $pbOptions["left"]; $center = $pbOptions["center"]; $right = $pbOptions["right"]; if (is_single() || is_page()) //no need to display pagebar on a single post page return; $max_page = $wp_query->max_num_pages; // get number of pages. ONLY WP >= 2.1!!! if ($max_page <= 1) // only one page -> don't display pagebar return; if (empty($paged)) // If we're on the first page the var $paged is not set. $paged = 1; echo '<div class="wp-pagenavi">'; echo tagReplace($pbOptions["pbText"], $page) . ' '; // it's easy to show all page numbers: // simply loop and exit if (($showAll) || ($max_page <= $left+$center+$right)) { previousPage($paged); for ($i=1;$i<=$max_page;$i++) ($i==$paged)?thisPage($i):page($i); nextPage($paged,$max_page); echo "</div>"; return; } //if // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // left and right if ($paged<$left+$center) { //left previousPage($paged); $lc = $left+$center; for ($i=1;$i<=($lc);$i++) ($i==$paged)?thisPage($i):page($i); // right transit($right); for ($i=$max_page-$right+1;$i<=$max_page;$i++) page($i); nextPage($paged,$max_page); } // left, right and center else if ( ($paged>=$left+$center) && ($paged<$max_page-$right-$center+1) ) { //left previousPage($paged); for ($i=1;$i<=$left;$i++) page($i); transit($left); //center $c = floor($center/2); for ($i=$paged-$c;$i<=$paged+$c;$i++) ($i==$paged)?thisPage($i):page($i); // right transit($right); for ($i=$max_page-$right+1;$i<=$max_page;$i++) page($i); nextPage($paged,$max_page); } // only left and right else { //left previousPage($paged); for ($i=1;$i<=$left;$i++) page($i); transit($left); // right for ($i=$max_page-$right-$center;$i<=$max_page;$i++) ($i==$paged)?thisPage($i):page($i); nextPage($paged,$max_page); } echo "</div>"; } //function /* --------------------------------------------------------------------------- */ function pb_admin_menu() { if (function_exists('add_options_page')) add_options_page('Pagebar', 'Pagebar', 'manage_options', 'pagebar2/pboptions.php'); } /* ---------------------------------------------------------------------------- */ function remove_nav() { echo "\n<style type=\"text/css\">.navigation{display: none;}</style>\n"; } /* ---------------------------------------------------------------------------- */ function add_stylesheet() { global $pbOptions; if ($pbOptions["stylesheet"]=="styleCss") return; $url = get_bloginfo('stylesheet_directory') . '/' . $pbOptions["cssFilename"]; echo "\n\t<link rel=\"stylesheet\" href=\"" . $url . '" ' . "type=\"text/css\" media=\"screen\" />\n"; } /* ---------------------------------------------------------------------------- */ function pagebar_init() { if (! get_option('pagebar')) add_option('pagebar', array("left"=>3,"center"=>5,"right"=>3, "pbText"=>"Pages:", "remove"=>"on", "standard"=>"{page}", "current"=>"{page}", "first"=>"{page}", "last"=>"{page}", "connect"=>"...","next"=>"Next","prev"=>"Prev", "tooltipText"=>"Page {page}", "tooltips"=>"on", "bef_loop"=>"", "aft_loop"=>"on", "footer"=>"", "pdisplay"=>"auto", "ndisplay"=>"auto", "stylesheet"=>"styleCss", "cssFilename"=>"pagebar.css")); } /* ---------------------------------------------------------------------------- */ { $pbOptions = get_option('pagebar'); add_action('activate_pagebar2/pagebar2.php', 'pagebar_init'); add_action('admin_menu', 'pb_admin_menu'); add_action('wp_head', 'add_stylesheet'); if ($pbOptions["bef_loop"]=="on") add_action('loop_start', 'wp_pagebar'); if ($pbOptions["aft_loop"]=="on") add_action('loop_end', 'wp_pagebar'); if ($pbOptions["footer"]=="on") add_action('wp_footer', 'wp_pagebar'); if ($pbOptions["remove"]=="on") add_action('wp_head', 'remove_nav'); } //main ?> -
doch ich habe da Rat
das Plugin nennt sich WP- Grins
WP Grins 1.5 | alexking.orghier kannst du sehen wie es aussieht
The Lounge
(siehst bissle unordentlich aus da ich die pagebar am einbauen bin;))hoffe konnte dir helfen gruß
-
ok danke für die links zwar klappt der eine nicht aber google gibts ja ;)
Pagebar --- elektroelchund wenn du mir kurz sagst wo ich die custom-query-string.php
hinpflanzen soll bist du erlöst:oops:.
dankePS: deine Plugin-Liste ist sehr interessant :mrgreen:
PS²: Mal nebenbei super Support!EDIT:
DANKE ALLES LÄUFT, Habe nicht direkt erkannt, dass es ein plugin ist. danke nochmal. -
-
Hi,
ich suche ein plugin für wp 2.3.2 womit ich sagen kann, dass er nach zb nach 5 oder 7 Blogeinträgen eine neue Seite beginnt.
Habe schon ein bisschne gesucht, aber ehrlich gesagt weiß ich nicht wie ich das Nennen soll und hoffe, dass hier einer ist der mir helfen oder einen Tipp geben kann.
Also es soll hat so ablaufen dass pro Seite immer 5 Beiträge sind und unter den beiträgen dann
<voherige Seite 1-2-3-4.....99 nächste Seite>
ich hoffe ihr versteht was ich meine.
danke im Voraus
gruß