28 comments found

sanchez4 Purchased

I’m using this with a PHP based CMS and need to modify where the php file is located mb-content.php & mb-comment.php

Also, it would be helpful to be able to drop the .php file extension, is this possible?

SOHN
SOHN Author

Hi,

If you want to change mb-content.php and mb-comment.php location you need to edit the javascript file (metrobox.dev.js) in “js/’ folder.

Open the metrobox.dev.js, then search “content/metrobox/” you will see the file path settings (line 390 for mb-content and line 661 for mb-comment). You can change the path (and file extension) to where you like.

About ”.php” file extension you can edit at file path settings or use “ext” param to change file extension.

I am making an only HTML version for this plugin and will be released in next time. If you are interested in HTML version you can email me to get it soon or wait for an official release.

Kind regards.

Default-user
sanchez4 Purchased

Ok thanks, it looks like I’ll need the HTML version as the PHP is conflicting with my CMS, will email you now

SOHN
SOHN Author

Hi,

I replied your email. Please check your inbox.

Kind regards.

Hi. Just bought this item but it seems i am going to need an HTML version. Could you provide me with one? Thanks.

SOHN

Hi,

I replied your email and sent you the HTML version in the email.

Kind regards.

Hello SOHN,

I just bought your product and have tried installing it but to no avail. I am not using php. Please could you provide me with the HTML version.

Thanks.

Your product description says that files included are: JavaScript JS, HTML, CSS, PHP. But after downloading the product I found out that there is no single HTML file. I think you need to check it out. Please I will like you to send me the HTML version.

Thanks

SOHN

Hi,

You can send me email to get the HTML version.

Kind regards.

Default-user

OK. I just sent you an email. Thanks.

SOHN

I replied your email with the HTML version. Please check your inbox.

Regards.

Does this box support next and previous in popup for ajax html files?

SOHN

Hi,

The next and previous function in the plugin can move photos in the same group only. It does not support to open a new ajax file at this time.

Kind regards.

Hi, i would like to buy metrobox, can I make image zoom like facebook? and the plugin take the content text with or without styles?

SOHN

Hi,

I just send you the HTML file via email. Please check your mail box.

MetroBox plugin does not have zoom function at this version. I don’t know which content text that you are mentioning? Could you make it clearly?

Kind regards.

Default-user

Hi I send you and email with some questions, because I have a plugin that Mark the word you searched with some style and I would like to load all mb-customcontent and mb-customcontent in one query without the php files (all my info is in my database)so the plugin can mark that word and display it in the lightbox with some style. What should i do?

SOHN

I replied your email. Please check your mail box.

Hi, we purchase and implement metrobox, it seems to work fine, but when it load the first time the arrows next and prev does not show. You must close the light box and reopen it, then the arrows shows without problems. Here is the code:
          <div id="mb-mainbody">
                            <ul id="mycarousel" class="jcarousel-skin-ie7">
                                  <?php for($f=0; $f<=$cantidadOfertas - 1; $f++){ ?>
                             <li class="thumbnails" data-mbgid="mb-contentgroup-1" data-mbid="mb-content-<?php echo $f+1 ?>"><img src="<?php echo $listaOfertasThumb[$f] ?>" width="132" height="99" class="sombraImagen" /></li>
                            <?php } ?>

                            </ul>
                        </div>
and the qa page where it can be show: http://qa.jumbo-web.com.ar/ofertas-acoyte_1.html

Regards. Ruben.

Default-user
Is weird, because I put an alert in your code to see what value it receive, and I figured out that when I open the first time the lighbox, $numItems is 1 but when I close the window and reopen it the value of $numItems is 2 without refresh the browser.
    // MetroBox Content Group
        function mbContentGroup() {

            alert ($mbgid.length);
            if ( $mbgid !== undefined ) { // Check group exist
                // Add Prev and Next button
                $('#mb-header').append("<div id="mb-next" /><div id="mb-prev" />");

                var $numItems = $('.'+$mbgid).length;
                alert ($numItems);
                var itemgroup=new Array();

                for ( var i=0; i<$numItems; i++) {
                    itemgroup[i] = $('.'+$mbgid).eq(i).attr('id');
                    alert (itemgroup[i]) ;
                }

And the code in mb-content.php is:
    $nombreSucursal= $row["name"];;
    //include "admin-ofertas.php";

        //inicializo un índice
                $i = 0;
//inicializo el array que almacenará los objetos
                $listaOfertas = array();
                $listaLegales = array();
             do{
                 $listaOfertas[$i] = "../../admin/user_files/images/org/".$row["file_name"];
                 $listaOfertasThumb[$i] = "admin/user_files/images/small/".$row["file_name"];
                 $listaLegales[$i] = $row["description"];
                 if ($row["file_name"]!=""){
                  $i++;}
                } while ($row = mysql_fetch_assoc($g));

    $cantidadOfertas = $i;

    $stridimg = $_POST['mbid'];
    $posstart = strrpos ($stridimg, "-");
    $idimg= substr($stridimg, $posstart + 1); 
    $idimgarr = $idimg - 1;

    $imgname ="";

    for($f=0; $f<=$cantidadOfertas; $f++){

       if($f ==  $idimgarr)
       {

          $imgname = $listaOfertas[$f];
        }

    } 

         ?>

     <!-- oferta 1 -->
        <div id="mb-content-<?php echo $idimg ?>" class="mb-contentgroup-1">
            <div class="mb-content">
                <div class="mb-imgholder">
                    <img src="<?php echo $imgname ?>" alt="" class="mb-responsive-img mb-swipe" />
                </div>
            </div>
        </div>
    <!--   oferta 1 -->
Default-user
Mi fault, the new code of mb-content.php is:

    $nombreSucursal= $row["name"];;
    //include "admin-ofertas.php";

        //inicializo un índice
                $i = 1;
//inicializo el array que almacenará los objetos
                $listaOfertas = array();
                $listaLegales = array();
             do{
                 $listaOfertas[$i] = "../../admin/user_files/images/org/".$row["file_name"];
                 $listaOfertasThumb[$i] = "admin/user_files/images/small/".$row["file_name"];
                 $listaLegales[$i] = $row["description"];
                 if ($row["file_name"]!=""){
                  $i++;}
                } while ($row = mysql_fetch_assoc($g));

    $cantidadOfertas = $i;

    $stridimg = $_POST['mbid'];
    $posstart = strrpos ($stridimg, "-");
    $idimg= substr($stridimg, $posstart + 1); 
    $idimgarr = $idimg - 1;

    $imgname ="";

    for($f=1; $f<=$cantidadOfertas - 1; $f++){

        ?> <!-- oferta 1 -->
        <div id="mb-content-<?php echo $f ?>" class="mb-contentgroup-1">
            <div class="mb-content">
                <div class="mb-imgholder">
                    <img src="<?php echo $listaOfertas[$f] ?>" alt="" class="mb-responsive-img mb-swipe" />
                </div>
            </div>
        </div>
    <!--   oferta 1 -->
<?php
    } 

         ?>
and its work perfectly. Best regards.
SOHN

It is good to hear that. Regards.

nalyd321 Purchased

the lightbox looks great, going to purchase but im just wondering if its possible to have a slide animation on the images when going next/prev ?

SOHN
SOHN Author

Hi,

At this time, it just has only fade effect animation when moving next/prev content.

Kind regards.

by
by
by
by
by
by