donPablo
Forum Replies Created
-
Forum: Plugins
In reply to: [Basic User Avatars] shortcode to display in posts / pagesok nevermind i fixed it ??
function no_gravatars( $avatar ) {
$filename_terrarium = ‘https://www.terrarium.pl/uploads/profile/photo-thumb-‘.get_the_author_meta(ID).’.jpg’;
$file_headers_terrarium = @get_headers($filename_terrarium);if (stripos($file_headers_terrarium[0],”404″) >0 || (stripos($file_headers_terrarium[0], “302”) > 0 && stripos($file_headers_terrarium[7],”404″) > 0))
{ return preg_replace( “/http.*?gravatar\.com[^\’]*/”, DEFAULT_AVATAR_URL, $avatar ); } else {.
return preg_replace( “/http.*?gravatar\.com[^\’]*/”, ‘https://www.terrarium.pl/uploads/profile/photo-thumb-‘.get_the_author_meta(ID).’.jpg’, $avatar );
}}
Forum: Plugins
In reply to: [Basic User Avatars] shortcode to display in posts / pages<?php echo get_avatar( ’[email protected]’, 64, ‘https://www.example.com/custom-default-avatar.png’, ‘Image Alt Text’ ); ?>
this works but shortcode doesn’t its not parsing anything.. just displaying
[get_avatar id=”[email protected]” size=”64″ default=”https://www.example.com/custom-default-avatar.png” alt”Image Alt Text”]
hmm..2. i tried to use avatar from other forum, [people same id’s] and i didint want to use gravatars i made a code
// nook : usuwanie gravatara, jesli avatara nie ma to pobiera z forum
function no_gravatars( $avatar ) {$filename = ‘https://www.terrarium.pl/uploads/profile/photo-thumb-‘.get_the_author_meta(ID).’.jpg’;
$file_headers = @get_headers($filename);if (stripos($file_headers[0],”404″) >0 || (stripos($file_headers[0], “302”) > 0 && stripos($file_headers[7],”404″) > 0))
{ echo ”; } else {
return preg_replace( “/http.*?gravatar\.com[^\’]*/”, ‘https://www.terrarium.pl/uploads/profile/photo-thumb-‘.get_the_author_meta(ID).’.jpg’, $avatar );
}but today isn’t working :/ it worked yesterday …. lol
Forum: Plugins
In reply to: [Frontend Publishing] multiple categories3. links in site with my articles i mean titles could be links to articles i can maybe do it in php but would be nice if they would be linked by default
Forum: Plugins
In reply to: [Wordpress Tooltips] Categories, synonymsup up ?? i have bought pro version.. help pls
5. so to have turned on tooltips pro i have to turn of normal tooltips and turn on tooltips pro ? can i delete tooltips normal then ?
Forum: Plugins
In reply to: [SEO Auto Links] Better connection by tags??anyone here ?: P
Forum: Plugins
In reply to: [WordPress Related Posts] Related posts slowing site11,000 records in wp_posts but mosts are photos articles around 1300
Forum: Plugins
In reply to: [WordPress Related Posts] Related posts slowing sitecould you contact on my email please? thank you
Forum: Plugins
In reply to: [WordPress Related Posts] Related posts slowing siteyes i got a lot of contents. can w3 cache help with that ? or have to find something else?
Forum: Plugins
In reply to: [Wordpress Tooltips] Categories, synonyms4 https://zoologi.pl/2493-augacephalus-breyeri/ test/test
according to 3. aas you see word “ni?” i got a tooltip “NI” and it works here wrong.Forum: Plugins
In reply to: [Wordpress Tooltips] Categories, synonyms3. i forget i got third thing:
possible to mark tooltips as case sensitive? i mostly use it for shortcuts. [not as setting, just when adding entries]