warped1
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Photozoom] Change color of menu textOh, and this topic can be closed…
Forum: Themes and Templates
In reply to: [Photozoom] Change color of menu text@ilovewpcom: the customer liked the dark footer more….
@snehal: Thank you! That indeed did the trick…
Forum: Plugins
In reply to: [The Events Calendar] Location on mobileExcellent, that did the trick! Thank you very much….
I’ve also tried the Photonic Gallery plugin and it functions flawlessly with Flickr. It just doesn’t display Flickr photo’s and Youtube video’s simultaneously, though.
So what can I do to get your plugin to work?
Update: my hosting provider tested this using a Flickr script and that works. It’s using the Flickr API though, how does your plugin retrieve Flickr data?
If I use a page to link to the Flickr site directly it works as well. Is there a way I can get more logging from your plugin on what fails?I’ll add the php code of the test script below:
<?php function attr($s, $attrname) { // return html attribute preg_match_all('#\s*(' . $attrname . ')\s*=\s*["|\']([^"\']*)["|\']\s*#i', $s, $x); if (count($x) >= 3) return $x[2][0]; else return ""; } // id = id of the feed // n = number of thumbs function parseFlickrFeed($id, $n) { $url = "https://api.flickr.com/services/feeds/photos_public.gne?id={$id}&lang=it-it&format=rss_200"; $s = file_get_contents($url); preg_match_all('#<item>(.*)</item>#Us', $s, $items); $out = ""; for ($i = 0; $i < count($items[1]); $i++) { if ($i >= $n) return $out; $item = $items[1][$i]; preg_match_all('#<link>(.*)</link>#Us', $item, $temp); $link = $temp[1][0]; preg_match_all('#<title>(.*)</title>#Us', $item, $temp); $title = $temp[1][0]; preg_match_all('#<media:thumbnail([^>]*)>#Us', $item, $temp); $thumb = attr($temp[0][0], "url"); $out .= "<a href='$link' target='_blank' title=\"" . str_replace('"', '', $title) . "\"><img src='$thumb'/></a>"; } return $out; } ?> <div> <ul style="list-style-type: none;"> <li><?php echo parseFlickrFeed("51126072@N04", 9); ?> </li> <li><?php echo parseFlickrFeed("59471898@N04", 20); ?> </li> </ul> </div>
It happens with Youtube video’s as well (errormessage has YOUTUBE instead of FLICKR), and I’ve found clues that indicate an issue with my hosting provider, so I’ve reported an incident with them.
I’ve already solved this: I created a menu for every menu-section and made a pulldown menu with all the menus….
Forum: Themes and Templates
In reply to: [Bluestreet] Menu section displays menu items like blogpostsSorry, wrong forum. Let’s close this.