Jump to content

Robert

Admin
  • Content count

    177
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Robert

  • Rank
    Administrator

Profile Information

  • Gender
    Male
  • Location
    Canada

Recent Profile Visitors

5,714 profile views
  1. Can The Unencoded Version Still Be Downloaded?

    Selena, I have PM'ed you.
  2. Cant create getscorecash galleries

    I don't think this is specific to Arylia. Rather, it could possibly be that Score is not utilizing anti-leech/anti-hotlinking in their htaccess (this script does not use a "browser" retrieve the images, so there is no header information sent. If there is a restriction in place to require the referring URL to the image being spidered, it would not show as being for the gallery URL. Having said that, I think it's more to do with the screenshow script. If you look at this gallery: http://gallys.40somethingmag.com/images/DesiFoxxXXX_22009/ If you mouse over the first thumb, it shows the link to the big pic as: http://gallys.40somethingmag.com/images_content/DesiFoxxXXX_22009/01.jpg However, if you right click on the thumb and choose to open link in new window, the ACTUAL url to the larger pic is: http://scoregroup.vo.llnwd.net/o37/40somethingmag/images_content/DesiFoxxXXX_22009/01.jpg Note, the URL's are completely different. My best guess is that the screenshow is masking the actual big pic location, which means arylia is looking for an image at a URL that doesn't really exist.
  3. MechBunny TGP Suggested Improvements

    Nice ideas. Will add them. FWIW, the programmer doing the TGP Script for Mechbunny has this URL (I sent it to him). I've asked for a quote for other things as well.
  4. link rel="canonical"

    No problem. Glad its working for you.
  5. link rel="canonical"

    JJ... the way I do it for the lemmecheck galleries are: <link rel='canonical' href='<?php echo 'https://www.mydomain.com' . trim(strtok($_SERVER['REQUEST_URI'], '?'),'index.html' ); ?>' /> Note, replace "mydomain.com" with the root domain where your arylia galleries are displayed. I also like my galleries clean with no index.html, index.php at the end, so I trim them here. Put that in your template, and then re-generate a gallery, view source and then tweak as needed.
  6. Intro One of the biggest hurdles with WordPress for many site owners is to try and maintain it, keep it updated, etc. But there are a few efficient ways of keeping things updated in a fairly automated fashion. This post will serve a reference point for that. Use at Your Own Risk! This script is offered free of charge and is intended as a guideline only. If in doubt, speak with your system administrator or programmer. And ALWAYS backup -- at least at first -- before using it. Use this at your own risk. FWIW, we use this regularly and are just sharing it here so that others may find it useful. Things We Need You need SSH access to your server. You need the ability to create cronjobs You need the ability to use wget and tar commands The ability to execute shell scripts (bash script) mysqldump is an added bonus if you have it available. ** In the case that you have managed hosting, this guide can also be used by your hosting provider to implement for you. Creating a Central Location The idea here is to keep a current copy of WordPress, any plugins you use, and any themes in a single centralized location. For our purposes here, we will use the following format. Create your own structure, or feel free to use the one below. If you use a custom structure, be sure to edit the script to reflect your own structure. /home/upgrades/repo/ /home/upgrades/repo/downloads /home/upgrades/repo/plugins /home/upgrades/repo/themes /home/upgrades/repo/wordpress Upload all of your common plugins in the plugins folder and themes in the themes folder Creating the Script In a plain text editor, like EditPad, you can paste in the following as a guide. #!/bin/bash # ########################################################## ## REMOVE ALL STANDARD PLUGINS AND WORDPRESS FILES # We cannot remove themes cause of the way they do logins # so themes will need to be downloaded manually. Plugins use # version numbers in their files so cannot download those. ## ########################################################## rm -rf /home/upgrades/repo/wordpress # ########################################################## ## DOWNLOAD, UNPACK and PREPARE WORDPRESS WORDPRESS ## ########################################################## wget -P /home/upgrades/downloads/ https://wordpress.org/latest.tar.gz tar -xzf /home/upgrades/downloads/latest.tar.gz -C /home/upgrades/repo/ # ########################################################## ## DELETE OLD AKISMET / COPY NEW AKISMET TO PLUGINS FOLDER ## ########################################################## rm -rf /home/upgrades/repo/plugins/akismet cp -apr /home/upgrades/repo/wordpress/wp-content/plugins/akismet /home/upgrades/repo/plugins/ # ########################################################## ## DELETE FILES AND DO SOME HOUSECLEANING ## ########################################################## rm -f /home/upgrades/downloads/* # ########################################################## ## BACKUP ALL DATABASES ## ########################################################## mysqldump --user=YOURDBUSERNAME --password='DBPASSWORD' --host=localhost DBNAME01 > /home/upgrades/backups/sql/DBNAME01.sql mysqldump --user=YOURDBUSERNAME --password='DBPASSWORD' --host=localhost DBNAME02 > /home/upgrades/backups/sql/DBNAME01.sql mysqldump --user=YOURDBUSERNAME --password='DBPASSWORD' --host=localhost DBNAME03 > /home/upgrades/backups/sql/DBNAME01.sql # ########################################################## # # UPDATE WORDPRESS SITES # Replace Site01.com with your own domain. Same with Site02, # Site03, etc. You can have as many sites as you like. # # Also, be sure you ONLY DELETE THE THEME PARENT FOLDER. # DO NOT DELETE your child theme. This script assumes you # use Child Themes which you should always use anyway. # # ########################################################## # FIRST WORDPRESS SITE rm -rf /home/SITE01.com/htdocs/wp-admin/ rm -rf /home/SITE01.COM/htdocs/wp-includes/ rm -rf /home/SITE01.COM/htdocs/wp-content/plugins/ rm -rf /home/SITE01.COM/htdocs/wp-content/themes/THEME-PARENT-NAME/ rm -rf /home/SITE01.COM/htdocs/wp-content/themes/twentyfifteen/ rm -rf /home/SITE01.COM/htdocs/wp-content/themes/twentyseventeen/ rm -rf /home/SITE01.COM/htdocs/wp-content/themes/twentysixteen/ rm -rf /home/SITE01.COM/htdocs/wp-*.php rm -rf /home/SITE01.COM/htdocs/xmlrpc.php cp -apr /home/upgrades/repo/wordpress/* /home/SITE01.COM/htdocs cp -apr /home/upgrades/repo/plugins/* /home/SITE01.COM/htdocs/wp-content/plugins/ cp -apr /home/upgrades/repo/themes/* /home/SITE01.COM/htdocs/wp-content/themes/ # SECOND WORDPRESS SITE rm -rf /home/SITE02.COM/htdocs/wp-admin/ rm -rf /home/SITE02.COM/htdocs/wp-includes/ rm -rf /home/SITE02.COM/htdocs/wp-content/plugins/ rm -rf /home/SITE02.COM/htdocs/wp-content/themes/THEME-PARENT-NAME/ rm -rf /home/SITE02.COM/htdocs/wp-content/themes/twentyfifteen/ rm -rf /home/SITE02.COM/htdocs/wp-content/themes/twentyseventeen/ rm -rf /home/SITE02.COM/htdocs/wp-content/themes/twentysixteen/ rm -rf /home/SITE02.COM/htdocs/wp-*.php rm -rf /home/SITE02.COM/htdocs/xmlrpc.php cp -apr /home/upgrades/repo/wordpress/* /home/SITE02.COM/htdocs cp -apr /home/upgrades/repo/plugins/* /home/SITE02.COM/htdocs/wp-content/plugins/ cp -apr /home/upgrades/repo/themes/* /home/SITE02.COM/htdocs/wp-content/themes/ # THIRD WORDPRESS SITE rm -rf /home/SITE03.COM/htdocs/wp-admin/ rm -rf /home/SITE03.COM/htdocs/wp-includes/ rm -rf /home/SITE03.COM/htdocs/wp-content/plugins/ rm -rf /home/SITE03.COM/htdocs/wp-content/themes/THEME-PARENT-NAME/ rm -rf /home/SITE03.COM/htdocs/wp-content/themes/twentyfifteen/ rm -rf /home/SITE03.COM/htdocs/wp-content/themes/twentyseventeen/ rm -rf /home/SITE03.COM/htdocs/wp-content/themes/twentysixteen/ rm -rf /home/SITE03.COM/htdocs/wp-*.php rm -rf /home/SITE03.COM/htdocs/xmlrpc.php cp -apr /home/upgrades/repo/wordpress/* /home/SITE03.COM/htdocs cp -apr /home/upgrades/repo/plugins/* /home/SITE03.COM/htdocs/wp-content/plugins/ cp -apr /home/upgrades/repo/themes/* /home/SITE03.COM/htdocs/wp-content/themes/ Saving and Uploading Save this script as upgrade.sh and upload it to the /home/upgrades/ folder created in the first step above. The Script Explained Much of it is documented throughout already, but we will explain a few of the sections. The first section deletes the old WordPress archive previously downloaded. The next section grabs the latest version of WordPress, downloads it, extracts is, and then saves it in the /home/repo/wordpress folder. This ensures you have the latest copy. Akismet. Because WordPress ships with the latest Akismet embedded, we need to copy it to to our plugins folder. This routine does that. This routine deletes the downloaded tar file from the downloads folder. Backing up the databases. Never a bad thing to do before upgrading. Backed up databases are stored in the /home/upgrades/backups folder. Update each WordPress site. Note that the first part of this section for each site deletes the wp-admin, wp-includes, the plugins folder, the standard themes AND the parent theme folder. We specify the themes for each site to ensure we are not deleting the CHILD theme we are using. We delete all core WordPress files to ensure that no orphans are left behind. This also ensures you have a clean original copy should any of your files ever get hacked. The second half of each of the site updates involves copying the fresh copy of WordPress we just downloaded and extracted, as well as the plugins and themes we downloaded and placed into the respective folders. Executing the Script Here you have two choices. You can either execute the script regularly via cronjob, or simply ssh to your server as follows. Note, the ">" represents a command prompt: > cd /home/upgrades > ENTER > bash ./upgrade.sh > ENTER That's it. The script will go through and replace all of the core WordPress files and folders, as well as your plugins and themes with the newer versions located in your "repo". The entire process is fairly quick. We can upgrade about 60 sites this way in less than a minute or so. Download the Script If you'd prefer a pre-formatted copy, you can download the above file right here: upgrade-example.sh Updating Sites on Multiple Servers This is easily achieved by having your host install keys on each server you want to communicate with, and then using rsync to replicate your "/home/upgrades/repo/" structure. Then just customize the script to that server's database names and site specific information.
  7. TGP and MGP Sites

    Below is a list of a sites where you can submit picture and/or video galleries. Not all have extensive traffic, but they are reliable nonetheless. Paid Submits Elephant List - http://www.elephantlist.com - Paid account. Old school text tgp and the owner is easy to work with. Library of Thumbs - http://www.libraryofthumbs.com - Paid account. Real easy guy to work with. Pinkworld - http://www.pinkworld.com/ - Paid account. The traffic is consistent and the owner really easy to work with. Free Submits FreeOnes - http://www.freeones.com/ - Great site, pornstar specific, and quality traffic. Adult Fan Clubs - http://www.adultfanclubs.net/ - Comprehensive directory. Well worth getting galleries archived in here. BabePedia - http://www.babepedia.com Very easy to use. Submit one link or many via csv upload. Pornstar specific. Barelist - http://www.barelist.com - Another great site, pornstar specific. The Hun's Yellow Pages - http://www.thehun.net/ - Legendary site. Fetish does well here. Outlaw TGP - http://www.outlawtgp.com - Free to submit. Paid option available. Run by a great old school guy.
  8. Arylia handling of HTTPS linked images

    Hey Troy... long time no talk. Hope you've been keeping well. Thanks for the share! -Robert
  9. Is It Possible To Setup A Cdn?

    Honestly, I have not looked at it. At first glance, it would seem to me that you need to modify the script to store the images on the cdn after it creates the gallery, then have the have the templates reference the cdn location. Almost certainly you would to have it modified by a programmer.
  10. reduces image quality?

    Perfect. Thanks for the info.
  11. reduces image quality?

    Hmm, ok, I'll have to look closer -- I'll try to get to it a bit later today. But my guess is one of the routines then in the general functions, perhaps the "Queue" file will have hardcoded image quality values. So you might want to look there. I would start looking for hardcoded quality settings of 90 to 95 in the files, using searches for things like "truecolor", "resampled", "imagecreate" etc -- the ones that would be local commands for imagemagick
  12. reduces image quality?

    Try this. Open the file /app/functions.inc.php On, or about, line #614, locate the following routine: if ( $t == 1 ) { $img_src = imagecreatefromjpeg( $sourcefile ); $img_dst = imagecreatetruecolor( $iw, $ih ); imagecopyresampled( $img_dst, $img_src, 0, 0, 0, 0, $iw, $ih, $is[0], $is[1] ); if( !imagejpeg( $img_dst, $destfile, 95 ) ) { exit( ); } } Change it to this: if ( $t == 1 ) { $img_src = imagecreatefromjpeg( $sourcefile ); $img_dst = imagecreatetruecolor( $iw, $ih ); imagecopyresampled( $img_dst, $img_src, 0, 0, 0, 0, $iw, $ih, $is[0], $is[1] ); if( !imagejpeg( $img_dst, $destfile, 90 ) ) { exit( ); } } Note the slight difference. The original value is "95" for image quality. In the second example, I changed it to 90. Save it Backup your original file, then upload the newly saved one. You may need to do some trial and error to figure out the best blend of quality versus file size. Let me know if that works for you. I'm not sure if that's it or not. I just took an educated guess from a quick look, but I think that's where you can change the value of the resampled images.
  13. Questions about Arylia

    Hello Ty: PM me more details on the attempted transaction. I will pass it along to the guy running the Arylia site for you. The version we modified and provide for registered users, does work on PHP 5.6 -- we use it ourselves on a php 5.6 environment, so we know it works. Arylia is NOT a CMS. You basically design your own template, and then place image size values in the templates where you want the thumbs to appear, and Arylia will crop according to those template values. Thus, you can create any type of template you want. Arylia simply places the thumbs inside the template you design. Here's an example gallery we just created using Arylia in a php 5.6 environment -- it is responsive. The "design" was done with Wordpress and we simply extracted what we needed to make a standalone gallery template. Arylia makes this sort of things incredibly easy. Of course, you can use any design you like, or that you have a graphic designer make.
  14. Moving Arylia

    My pleasure, good luck.
  15. Moving Arylia

    morf: when moving hosts, you will need two things, the database dump and a tar file of the arylia folders. It's actually pretty easy if you have root access: Login via ssh as a root user and dump your database: mysqldump --user=root --password='whatever' --host=localhost databasename > databasename.sql Password is whatever your root mySQL password is, and databasename.sql can be anything. It's just the full sql dump of your database. Next, tar your arylia folder keeping all permissions intact. Do this from ROOT user: tar -cpf arylia.tar /path/to/arylia/folder Download the tar file and the sql file you created. sFTP to the new host and upload both files. Be sure to place the arylia.tar in the root of the domain's htdocs/www folder where it was previously. Create a database with the same name as the original. Switch to ROOT user and import the database as follows: mysql --user=root --password='whatever' --host=localhost databasename < databasename.sql While still in ROOT, navigate to the folder you uploaded the tar file and extract it like this: tar -xpf arylia.tar Once done and your DNS is updated, login to the arylia admin and verify the paths to things like imagemagick and CLI to ensure they are correct. That's all there is to it. If you don't have root access, you could simply ask you old host to dump your database and tar the files up as noted above. And then send them to your new host and ask them to create the new database, untar from root and import the database. It's really not a lengthy process at all. The reason you should do it from ROOT for the tarring is because Arylia creates files, like the galleries as being "owned" by the server (user nobody, user apache, etc). You won't have access to edit them or do anything with them since the file ownership is not user specific. One thing to make absolutely sure of before you move is that the new host meets the minimum requirements. You can find that info here: FWIW, the version we have for download is being used by us on php 5.6 with zero issues at all. Good luck.
×