Jump to content

edendom

Contributor
  • Content count

    15
  • Joined

  • Last visited

  • Days Won

    1

edendom last won the day on September 21 2014

edendom had the most liked content!

Community Reputation

1 Neutral

About edendom

  • Rank
    Member
  • Birthday 11/06/1966

Contact Methods

  • Website URL
    http://www.edengay.com
  • ICQ
    172902146

Profile Information

  • Gender
    Male
  • Location
    Lille France

Recent Profile Visitors

1,224 profile views
  1. Ok thanks I forgot to say that it could be filtered by sideId, in SQL request just add WHERE siteId='14' of course change the site Id, it could be find when you're on 'manage' sponsor page when you are over the 'edit' tag for a site, be carefull it's site Id not Sponsor Id e.g. (hope to be clear sorry for my bad English) SELECT galleryUrl, createDate, galleryName, galleryId, gallerySlug FROM builder_galleries WHERE siteId='14' ORDER BY createDate DESC LIMIT 1
  2. Here is a template if you want to build a page with arylia. (with some bootstrap 3 codes) Galleries limit 4 you can change to what you need. On this DB request I order it by date Desc (ORDER BY createDate DESC). You must change the Database details to match your Database and 'yourdomain' string of course <?php // Reads the data from the DB limited by the items per page view mysql_connect("localhost", "DB username", "DB Password") or die("Could not connect: " . mysql_error()); mysql_select_db("DB name"); $galsResult = mysql_query("SELECT galleryUrl, createDate, description, galleryName, gallerySlug FROM builder_galleries ORDER BY createDate DESC LIMIT 4".$limit_str); while($thisGallery = mysql_fetch_assoc($galsResult)) { ?> <div class="col-md-6 col-sm-6"> <a href="<?= $thisGallery["galleryUrl"] ?>"><img width="100%" height="auto" src="http://www.yourdomain.com<?= substr($thisGallery["galleryUrl"], 0, strrpos($thisGallery["galleryUrl"], "/")) ?>/thumbs/preview.jpg" alt="<?=$thisGallery["galleryName"] ?>" /></a> <p> <h4><a title="<?=$thisGallery["galleryName"] ?>" href="<?= $thisGallery["galleryUrl"] ?>"><?=short ($thisGallery["galleryName"],50) ?></a></h4> <? echo date('F j, Y',strtotime($thisGallery["createDate"])); ?><br> <?= $thisGallery["description"] ?><br> </p> </div> <? } ?> Hope this could help some
  3. Gallery Views

    Thank you for your feedback
  4. Gallery Views

    Well no idea how to do that, I asked because I found the string 'galleryViews' in arylia Database and it shows zero for all galleries
  5. Gallery Views

    My goal is to build a page with most viewed galleries fetching the DB
  6. Gallery Views

    Hi, Anyone knows how to have counter for galleryViews? I found this string in builder_galleries but I don't see how to count the views, for now all have a zero value. Thanks Dominique
  7. I confirm reset banner to defaults works BUT it seems arylia makes a confusion. As I added 2 __HTMLBANNER__ tags arylia add 1 TEXT and 1 HTML even if I have 2 HTML setup for a sponsor.
  8. Thank you for your suggestion I will take care of this. Congrats for this nice site!! My template is not so far from yours: http://www.edengay.com/gallery/2014/10/carioca-and-josh-rubens/index.php (this is the old one I will change it when reset banner to defaults)
  9. Hi, I'm changing a bit my template and I remove some banners to place some text ads. I currently have 3000 galleries and would like to be sure before I rebuild all galleries if I check 'Also reset banners to defaults' it will reset the ads place to have the right one. Explanation I have 3 ads on template 1 long banner 1 square banner 1 text ad but wiht new template I have this: 1 square banner 1 text ad 1 text ad Hope to be clear enough Thank you to share if you already reset this Dominique
  10. Banner Links And Small Thumbs Problems

    I have same feeling about you Robert
  11. Is It Possible To Setup A Cdn?

    yes I can't figure it out it sems to not be possible with a true cdn.
  12. Banner Links And Small Thumbs Problems

    Another idea that could work is to make a complete database copy, and create a new database with it, copy all pictures on new domain and then to delete the galleries you don't want in it via arylia admin. It could save hours
  13. Is It Possible To Setup A Cdn?

    Hi, Does someone know if it's possible to setup a CDN and if yes where I should setup the CDN domain please? Thanks Dominique
  14. Is There A Way To Incorporate Lightbox?

    I'm a bit in late but it could help some. You can setup the lightbox data-rel in this file: arylia/commons/userFunctions.inc.php example for prettyphoto: $imageCode = '<A data-rel="prettyPhoto[pp_gal]" TARGET=_blank" HREF="'.$linkUrl.'" ><IMG class="aligncenter" SRC="'.$thumbUrl.'" ALT="'.htmlspecialchars($title).'" TITLE="'.htmlspecialchars($title).'" WIDTH="'.$thisFile["value][0].'" HEIGHT='.$thisFile["value][1].'" /></A>'; } else {
×