Posts Tagged with mb

Displaying 1-8 of 8 results.
Resolved: PHP7 Call to undefined function mb_substr() ubuntu
posted by admin on July 19, 2017
I move my Yii1 from shared hosting, where PHP 5.7 to VDS VPS hosting with PHP7.
And I have got some error

Call to undefined function mb_substr()

Server is Linux with Uvuntu 16.04 OSRead more
Resolved: PHP filesize MB/KB conversion
posted by admin on June 18, 2016
How can I convert the output of PHP's filesize() function to a nice format with MegaBytes, KiloBytes etc?

like:
  • if the size is less than 1 MB, show the size in KB
  • if it's between 1 MB - 1 GB show it in MB
  • [*] if it's larger - in GBRead more
    Resolved: Parse error: syntax error, unexpected '[', expecting ')'
    posted by admin on June 3, 2016
    I have error in oscarotero Embed APP.Read more
    Resolved: How do I get a YouTube video thumbnail from URL or embed iframe
    posted by admin on April 9, 2016
    If I have a YouTube video URL, is there any way to use PHP and cURL to get the associated thumbnail from the YouTube API?Read more
    Resolved: Yii 1.1 How to change home name breadcrumbs to another or multilanguage
    posted by admin on March 5, 2016
    In main layout i have this code

    <?php if(isset($this->breadcrumbs)):?>
    <?php $this->widget('zii.widgets.CBreadcrumbs', array(
    'links'=>$this->breadcrumbs,
    )); ?><!-- breadcrumbs -->
    <?php endif ?>


    I want to change the word Home and include multilanguage outputRead more
    Resolved: How to change tumblr video thumbnail
    posted by admin on January 24, 2016
    I was wondering if any of the Tumblr devs can enlighten me on the process how and where they get the thumbnail data from. Is there a general method for retrieval that by that I can conform a document structure to?

    It would also be great if the API allows you to set thumbnail url too, sort of like facebook's opengraph image meta data.Read more
    Resolved: markItUp. BBCode Parser with emotions smiles
    posted by admin on December 25, 2015
    altI want to convert convert markItUp BBCode to HTML tags.
    I have smiles too.Read more
    Resolved: MarkItUp emotions smileys click insert to editor javascript jquery
    posted by admin on December 25, 2015
    altHow to insert markitup smileys to markitup editor.

    <div id="emoticons">
    <a href="#" alt="EMOTION_CODE">
    <img alt="EMOTION_CODE" src="EMOTION_IMG">
    </a>
    <a href="#" alt="EMOTION_CODE">
    <img alt="EMOTION_CODE" src="EMOTION_IMG">
    </a>
    <a href="#" alt="EMOTION_CODE">
    <img alt="EMOTION_CODE" src="EMOTION_IMG">
    </a>
    etc
    </div>
    Read more