Community Feedback

last person joined: 2 days ago 

How is the community doing? Do you have any questions or feedback related for the Airheads Community team? This is the place to let us know.
Expand all | Collapse all

code brackets

This thread has been viewed 3 times
  • 1.  code brackets

    MVP
    Posted Jul 15, 2014 08:06 AM

    When putting a url inbetween code brackets the url still gets shortened.

    Anything marked as 'code' should not be changed in any way (no smileys, no url-shortening, no linebraks, ...).

     

    Any chance to get this 'fixed'?

    See http://community.arubanetworks.com/t5/AAA-NAC-Guest-Access-BYOD/Problem-with-special-type-in-SMS/m-p/186136#M13821 for an example.



  • 2.  RE: code brackets

    Posted Jul 21, 2014 06:36 PM

    I'll second the motion - MAC addresses and command strings are hard to parse with smiles in them.



  • 3.  RE: code brackets

    Posted Jul 23, 2014 05:35 PM

    Hi all,

     

    This should be changed now according to your feedback and suggestions.

     

    Have a great day!



  • 4.  RE: code brackets

    MVP
    Posted Jul 23, 2014 05:37 PM
    :smileyhappy: http://www.google.com/url?q=http%3A%2F%2Fdevelopers.jollypad.com%2Ffb%2Findex.php%3Fdmmy%3D1%26fb_sig_in_iframe%3D1%26fb_sig_iframe_key%3D8e296a067a37563370ded05f5a3bf3ec%26fb_sig_locale%3Dbg_BG%26fb_sig_in_new_facebook%3D1%26fb_sig_time%3D1282749119.128%26fb_sig_added%3D1%26fb_sig_profile_update_time%3D1229862039%26fb_sig_expires%3D1282755600%26fb_sig_user%3D761405628%26fb_sig_session_key%3D2.IuyNqrcLQaqPhjzhFiCARg__.3600.1282755600-761405628%26fb_sig_ss%3DigFqJKrhJZWGSRO__Vpx4A__%26fb_sig_cookie_sig%3Da9f110b4fc6a99db01d7d1eb9961fca6%26fb_sig_ext_perms%3Duser_birthday%2Cuser_religion_politics%2Cuser_relationships%2Cuser_relationship_details%2Cuser_hometown%2Cuser_location%2Cuser_likes%2Cuser_activities%2Cuser_interests%2Cuser_education_history%2Cuser_work_history%2Cuser_online_presence%2Cuser_website%2Cuser_groups%2Cuser_events%2Cuser_photos%2Cuser_videos%2Cuser_photo_video_tags%2Cuser_notes%2Cuser_about_me%2Cuser_status%2Cfriends_birthday%2Cfriends_religion_politics%2Cfriends_relationships%2Cfriends_relationship_details%2Cfriends_hometown%2Cfriends_location%2Cfriends_likes%2Cfriends_activities%2Cfriends_interests%2Cfriends_education_history%2Cfriends_work_history%2Cfriends_online_presence%2Cfriends_website%2Cfriends_groups%2Cfriends_events%2Cfriends_photos%2Cfriends_videos%2Cfriends_photo_video_tags%2Cfriends_notes%2Cfriends_about_me%2Cfriends_status%26fb_sig_country%3Dbg%26fb_sig_api_key%3D9f7ea9498aabcd12728f8e13369a0528%26fb_sig_app_id%3D177509235268%26fb_sig%3D1a5c6100fa19c1c9b983e2d6ccfc05ef&sa=D&sntz=1&usg=AFQjCNFaGgXBs8ayad09eMnc_imFKCwvxw
     

     btw that url is a first hit from google so don't use it on my behalf

     

    <html>
     <head>
      <title>PHP Test</title>
     </head>
     <body>
     <?php echo '<p>Hello World</p>'; ?> 
     </body>
    </html>

     

    <?
    $diary_entries = array('121799','121899','121999','122199','122099','122399','122299',
    '122699','122499','122799','122899','123099','122999','010800','123199','010100',
    '010200','010500','010300','010700','010600','010900','011000','012100','011400',
    '070700','012200','021500','071400','070800','071200','071300','073000','072000',
    '072900','072800','073100','021801','021901','122802','122902','030301','030401',
    '042701');
    sort($diary_entries);
    $as_timestamps = array();
    $i = 0;
    foreach ($diary_entries as $s) {
      $month = substr($s, 0, 2);
      $day = substr($s, 2, 2);
      $year = substr($s, 4, 2);
      $unix_timestamp = mktime(0,0,0, $month, $day, $year);
      print("$s = $unix_timestamp<br>");
      $as_timestamps[$i] = $unix_timestamp;
      $i++;
    }
    sort($as_timestamps);
    print("<br>Now sorted by timestamp, oldest to newest<br>");
    foreach ($as_timestamps as $s) {
      $diary_entry = date("mdy", $s);
      print("$s = $diary_entry<br>");
    }
    
    $last_diary = $as_timestamps[$i-2];
    $diary_entry = date("mdy", $last_diary);
    print("<br>Most recent diary entry is: <b>$diary_entry</b>");
    ?>

     

     

     :) 

     

    fe80::c07:7cf2:1bb:ezz7  :)  84:34:34:46:79:de  mynameisthishere             userrole      01:00:03    802.1x                   accesspoint Wireless            securessid/6c:f3:ff:ff:22:91/a-HT  aaa-dot1x-blah       tunnel        iPad     

     



  • 5.  RE: code brackets

    MVP
    Posted Jul 23, 2014 05:38 PM

    url is still truncated :P

    smileys are still parsed

    output is stil linewrapped



  • 6.  RE: code brackets

    Posted Jul 24, 2014 10:49 PM

    Hi koenv,

     

    Characters for URLs are set at a maximum amount right now.  I would suggest using shorter URLs if at all possible.

    I will escalate this to the Community Manager so they can further look into this.

     

    Thanks for letting me know!