Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - MultiformeIngegno
Features / Getty Images autoembed
« on March 9th, 2014, 07:31 PM »
A few days ago Getty Images announced the ability to directly embed their images (without watermark) in any website using their iframe which adds credits at the bottom of the image. On it's already been added the possibility to auto-embed the image simply adding a link to the image. Would be great to have the same here, or maybe a plugin? :)
Archived fixes / follow_me() bug, shows up from time to time.
« on January 28th, 2014, 12:13 AM »
Just for the records it happened again now (Firefox 26.0)
Archived fixes / select has visibility:hidden on create new topic
« on January 26th, 2014, 11:13 PM »
Default is as attachment 'wedge1'. If I set visibility:visible I see as attachment 'wedge2'
Code: [Select]
$input = preg_replace('`(#[^"<]*)`e', 'str_replace("~", "-", "$1")', $input);

What should I replace this line with to avoid being flooded with errors on PHP 5.5.x ? :angel: :eheh:
Off-topic / Perch
« on December 1st, 2013, 11:28 PM »
I discovered this CMS today:

Seems ok!
Off-topic / CSS issue
« on September 30th, 2013, 08:06 PM »
Nao you're a css genius so you have to help me :P
Here's my website:

As you can see when hovering the primary menu, a .sub-menu appears. Problem is I can't find a way to have that sub-menu positioned just under the start of the primary menu. If you change resolution the sub-menu position changes... I tried everything... fixed width, position:relative, fixed, etc... :^^;:
Off-topic / Page load bottleneck
« on June 4th, 2013, 10:52 AM »!/d3pSnc/

I can see it takes 1.66 seconds to load the 7.1KB of index.php... what can cause this slowness?
Server configuration? Because it's all "wait" time!
Off-topic / json_decode and arrays
« on May 24th, 2013, 05:06 PM »
Code: [Select]
$track_data json_decode($json);

echo '<ul>';
    foreach (
$track_data as $data)
        if (!empty(
$data)) {
$text $data->track[0]->artist->{'#text'};
'<li><span>'; echo $text; echo '</span></li>';

How can I have $text for every array (track[0], track[1], track[2], track[n]) in respective <li>s?
Off-topic / jQuery(document).ready function issue
« on May 14th, 2013, 12:25 AM »
Code: [Select]
jQuery(document).ready(function() {
  helpers : {
   title : { type : 'float' }
      beforeShow: function(){
       this.title = '<div>'+jQuery(this.element).next('div').html()+'</div>';

tpl: {
  next: '<a title="Avanti" class="fancybox-nav fancybox-next"><span></span></a>',
  prev: '<a title="Indietro" class="fancybox-nav fancybox-prev"><span></span></a>'


The first part (.fancybox) is "ignored", the second (a.fancybox) is taken into account. If I remove the second, the first is taken into account. -_-
Off-topic / json_decode transforms dot in comma
« on May 12th, 2013, 04:10 PM »
Here's the JSON input:

I do a json_decode
Code: [Select]
<?php <a target="_blank" style="color:darkgrey" rel="nofollow" href="'.htmlentities($value->location->latitude).',+'.htmlentities($value->location->longitude).'">mappa</a?>

But instead of dots for GPS coords it outputs commas... O_O
Original: LAT 41.917866942 LONG 12.873182618
json_decode: LAT 41,917866942 LONG 12,873182618

It's not htmlentities fault, I tried disabling it and it still outputs commas.
Off-topic / for(i=1;i<j;i++)
« on May 5th, 2013, 03:36 PM »
What does this mean?

Code: [Select]
var i, j=mkArray.length-1;
// Keeping the first and last one
for(i=1;i<j;i++) {

I have a map with 3 markers set at loadtime. Then I have a function to calculate a route (so in the map 2 new markers are set, with a total of 5). I'm trying to remove the first 3 markers to leave just the route markers when route is calculated. I first pushed markers in an array with mkArray.push(marker);. Then the code above should remove the 3 initial markers.

The code does something, you can see it here (to test you can enter "Ostia" in input box). As you can see  it removes the first marker when route is calculated. It's a starting point but I need to remove all markers except the 2 related to the route. :D
Off-topic / Pass text to a url through input form
« on April 27th, 2013, 07:11 PM »
I need a box where users type an address and when they press the "Go" button they're pointed to: `` (where of course INPUT_VALUE is the address typed in the box).

I'm looking for the cleanest solution. Is this possible with just HTML (or Javascript is needed)? :)

EDIT: Not jQuery.
Off-topic / Jekyll
« on March 31st, 2013, 07:55 PM »
Jekyll is a blog-aware, static site generator in Ruby

Seems interesting :)
Off-topic / GetSimple CMS
« on March 31st, 2013, 07:23 PM »
I've never heard of it...

It's XML based.. uhm, performances would not appreciate it :P