Pierre_02
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Google Maps for WordPress] Where do I put the URL addressSorry weblinksontario,
i’ve clicked on the link “See what others are saying…” on my own page plugin… So i thought you were talking about a problem with my Google maps plugin ??
Amicably,
Pierre.
Forum: Plugins
In reply to: [Plugin: Pierre’s Wordspew] Skinnier shoutboxHi feeprinzessin,
i tried to contact you by your shoutbox on your blog but you weren’t online…
So, to be able to hide the horizontal scrollbar on your shoutbox, you should edit the “style.css” (from your theme) line 248 and comment the attribute “width:155px;” then edit “css.php” (in pierres-wordspew folder) uncomment the line 24/* width: 172px; */
and define the width to “145px”.It should do the trick ??
Amicably,
Pierre.
Forum: Plugins
In reply to: [Plugin: Google Maps for WordPress] Where do I put the URL addressHi weblinksontario,
once you have entered your API key in the plugin interface (by clicking on “settings” on the plugins page or in Tools -> Google maps), you can add a special marker to embed your Google maps in your posts or in your pages.
For example :
[map:https://maps.google.ca/maps?f=q&source=embed&hl=en&geocode=&q=400+Gran+Bahama+Boulevard,+Davenport,+Florida&sll=49.891235,-97.15369&sspn=23.158779,45.615234&ie=UTF8&hq=&hnear=400+Gran+Bahama+Blvd,+Davenport,+Polk,+Florida+33897,+United+States&ll=28.333622,-81.654854&spn=0.055981,0.095015&z=14&iwloc=A]
To get an url to use, like in this example, go to Google maps choose a place to show or “load” a saved map by clicking on “My Maps”. You’ll see at the top right corner of the map a “Link” label, click on it, it will show you two fields, get the one with “Paste link in email or IM” and copy it. Then in your post (or in your page) enter[map:the url of the copied link]
and save your article.All should be ok ;).
Amicably,
Pierre.
Forum: Plugins
In reply to: [Plugin: Pierre’s Wordspew] how do you create custom themes?Hi baquila,
theme is not really the good word ?? you can adapt some parameters to fit the look of your blog, but it doesn’t require a full theme implementation.
If you want to change the width, the height, the background, color etc. You can easily change some parameters in the admin interface of the shoutbox, then for advanced customization, you’ll have to manually edit “css.php” that you’ll can find in the “pierres-wordspew” folder ??
Amicably,
Pierre.
Forum: Plugins
In reply to: [Plugin: Pierre’s Wordspew] Private MessageHi lucas_reis,
if you want to send a private message to someone, you must precede your message with @@The_nick_name of the desired user. So, imagine you want to send me a private message on the shoutbox of my blog you’ll wrote :
@@Pierre hello this is my private message ;)
That’s it. Have fun.
PS. Be conscious that’s not totally secure. Someone, by modifying its cookie could be able to read privates messages. But it have to be really curious and have good knowledges to be able to do it.
Amicably,
Pierre.
Forum: Plugins
In reply to: Robust Category Description / Sticky PostsHi all,
The way i use and that i suggest to you is to create a page named “category.php” that you place in your theme folder. Then place the following code in it. The value “11” in the first line of code is the length of my manually defined “Category base” name in the page Options->Permalink plus 2 slash /categorie/ -> length=11. You’ll have to adapt it if you use false permalink (urls with index.php)
$cat_en_cours = substr($_SERVER['REQUEST_URI'],11); $posPage=strpos($cat_en_cours,"page/"); if($posPage>=1) $cat_en_cours = substr($cat_en_cours,0,$posPage); $sous_cat = explode("/", $cat_en_cours); $posSlash=strpos($cat_en_cours,"/"); $cat_en_cours = substr($cat_en_cours,0,$posSlash); query_posts('pagename='.$cat_en_cours); if (have_posts()) : while (have_posts()) : the_post(); update_post_caches($posts); [...] endwhile; endif; $args=array( 'cat'=>$cat, 'paged'=>$paged, 'orderby'=> 'ID', 'order'=> 'desc', ); query_posts($args); if (have_posts()) : while (have_posts()) : the_post(); update_post_caches($posts); [...] endwhile; endif;
By the way if you want to create an introduction to describe your category the only thing you’ll have to do is to create a page in WP with exactly the same name that your category. You’ll be able to use the rich visual editor of WP, add pictures etc without any need to touch in code ;).
Amicably,
Pierre.
Forum: Plugins
In reply to: Duplicate Category Namesand by replacing :
$cat_id = wp_create_category( $cat_name, $parent );
by :
$cat_id = wp_insert_category( array('cat_name' => $cat_name, 'category_parent' => $parent) );
Line 241 in the same file you will be able to add categories on the fly in the “post-new” part ??
Amicably,
Pierre.
Forum: Plugins
In reply to: Shoutbox spam can I use it to my advantageHi, i suggest that you have a try on the latest version of the shoutbox on my blog because i add some stuff to fight spammers and i think that it will be really harder for them to bypass all the filters.
Amicably,
PierreForum: Plugins
In reply to: New Plugin: AJAX Shoutbox (WordSpew)Hi All, i suggest that you have a try on the latest version of the shoutbox on my blog https://pierre.sudarovich.free.fr because i add some stuff to fight spammers and i think that it will be really harder for them to bypass all the filters. Amicably,
Pierre