Software development, photography, jokes, ....


noyb-logo

Sites by me

 
sds82-logo
tas-logoTransportation Administration System
snoezelkussen-logo-kleinstSnoezelen Pillows for Dementia
ikzoekeenbegeleider-logoBegeleiders voor gehandicapten
Laat uw hond het jaarlijkse vuurwerk overwinnen
Betuweroute en Kunst
logo 50x50Hey Vos! Je eigen naam@vos.net emailadres?
Kunst in huis? Nicole Karrèr maakt echt bijzonder mooie dingen
nettylogo2Kunst in huis? Netty Franssen maakt ook bijzonder mooie dingen

Hosting Favorites

 
ANU Internet Services
Netim
GoDaddy
XEL Media

Blogroll

 
Bomenstichting
Google Translate
PHP
MySQL
jQuery
jQuery UI
YourHead Stacks API
Favicon Generator.
Password Generator.
Check HTTPS problems




Categories

Archives

Marc's Place


 

Photo-blog


Alle getoonde foto's zijn (c) MHE Vos, Nederland.

All shown photo's are (c) MHE Vos, Netherlands.


Below blog is created with the Blogspot.stack using the Categories-filter.

Easiest star-rating code for PHP

 Permalink
I have added a how-to to make a simple and easy star-rating for whatever you would like to add a rating-possibility to...
You need a MySQL database, or some other data source, jQuery and PHP for this example.
Rating

The Blogspot.stack 1.3.8 for Stacks with RapidWeaver

 Permalink


Version 1.3.8 of the Blogspot.stack was released on 3 May 2022

If you purchased this stack, you can download the latest version via your Paddle account.
If not, you can read more about it here .

Changes, additions and fixes:

  • Fixed internal date formatting, and some other issues, for PHP 8.1 and higher.

  • IMPORTANT after updating to v1.3.8 :

    Due to a caching mechanism in RapidWeaver, you have to reselect the date formats in the stack's settings, otherwise one will see %-signs in the dates and times of your posts. Simply select another date format and then reselect the original date format. The same must be done for the time, too, even when initially no time was selected.

    After having done that, republish the page.

    I'm sorry you have to do this, but this change had to be done to prevent showing PHP-deprecation messages to your visitors.

    The Blogspot.stack 1.3.7 for Stacks with RapidWeaver

     Permalink


    Version 1.3.7 of the Blogspot.stack was released on 8 March 2022

    If you purchased this stack, you can download the latest version via your Paddle account.
    If not, you can read more about it here .

    Changes, additions and fixes:
    • Fixed URL encoding issues for PHP 6 and earlier.

    The Blogspot.stack 1.3.6 for Stacks with RapidWeaver

     Permalink


    Version 1.3.6 of the Blogspot.stack was released on 23 February 2022

    If you purchased this stack, you can download the latest version via your Paddle account.
    If not, you can read more about it here .

    Changes, additions and fixes:
    • Fixed URL encoding issues.

    The Blogspot.stack 1.3.3 for Stacks with RapidWeaver

     Permalink


    Version 1.3.3 of the Blogspot.stack was released on 14 Sep 2021

    If you purchased this stack, you can download the latest version via your Paddle account.
    If not, you can read more about it here .

    Changes, additions and fixes:
    • Removed an in PHP 7.3 deprecated parameter. Not to worry, the code still works on older PHP-versions.

    The Blogspot.stack 1.3.2 for Stacks with RapidWeaver

     Permalink


    Version 1.3.2 of the Blogspot.stack was released on 16 Jun 2021

    If you purchased this stack, you can download the latest version via your Paddle account.
    If not, you can read more about it here .

    Changes, additions and fixes:
    • Removed an error that occurred before building the categories-list, when you have no categories.

    Oracle Instant Client + oci8 for PHP and Apache on macOS Mojave #oracle #oci8 #php #macos

     Permalink

    I was totally new to using Oracle Instant Client on macOS Mojave, so I had to spend days to figure out and try out on how to get it installed (easy) and how to get the oci8 shared library installed (the hard and most time-consuming part) for use with PHP at both the CLI and in Apache. I have been on many, many websites and read many, many instructions, and I want to thank everyone who put so much effort in clarifying something that actually should be very simple nowadays. After having read and tried so many tips and tricks, I ended up summarizing what worked for me, which I wrote down on Oracle Instant Client + OCI8 on Macos Mojave for PHP .

    The Blogspot Stack 1.3.0 for Stacks with RapidWeaver

     Permalink


    Version 1.3.0 of the Blogspot.stack was released on 20 Mar 2020

    If you purchased this stack, you can download the latest version via your Paddle account.
    If not, you can read more about it here .

    Changes, additions and fixes:
    • Minimum number of posts was limited to 5. This has been changed to 1.

    The Blogspot Stack 1.2.9 for Stacks with RapidWeaver

     Permalink


    Version 1.2.9 of the Blogspot.stack was released on 05 Feb 2020

    If you purchased this stack, you can download the latest version via your Paddle account.
    If not, you can read more about it here .

    Changes, additions and fixes:
    • Sorting of categories case-insensitive did not work with PHP7. This has been fixed.
    • A new feature has been implemented to speed up the loading of Archive-links. Read below or see 'Smart Archives' tab next to the 'Version History' tab.

    Smart Archives

    Smart Archives is a feature to speed up loading of your blog. Its goal is to store archive links locally in a file, and with future requests of your webpage, read that file instead of querying Google again. The file is updated once a day, so one of your website visitors may experience slower loading times, but only when you have more than 500 posts in your archives.

    There are some important settings on the server to get this to work.

    The Smart Archives feature assumes a subfolder 'files', which normally is created when publishing a Stacks-page:



    This folder must be writable by Apache (the webserver).

    If you use Panic's Transmit , then you can see if that is the case.
    In the following examples, I will show you how that looks and how you can change it:

    If Apache is mentioned as 'owner', the folder is writable and you do not have to change anything.

    When Apache is mentioned as 'group', you have to click the empty circle for 'group' only, leaving the 'world'-circle empty, and click 'Apply' (do not click 'Apply to Enclosed'):


    In my case, 'files' is not writable by Apache, because Apache is not mentioned as 'owner' or 'group', and 'world' may not write:


    Click the empty circles under 'Write' to make the folder writable by 'group' and 'world' (i.e. any user), and click 'Apply' (do not click 'Apply to Enclosed'):


    The Blogspot.stack checks if the subfolder 'files' is writable or not. If not, it will function normally as before, and pull the archives from Google on each webpage request.

    The Blogspot Stack 1.2.8 for Stacks with RapidWeaver

     Permalink


    Version 1.2.8 of the Blogspot.stack was released on 28 Nov 2019

    If you purchased this stack, you can download the latest version via your Paddle account.
    If not, you can read more about it here .

    Changes, additions and fixes:
    • Google reduced the number of posts returned at a time to 150. Therefore some internals would jump to the wrong set of posts and so skip some posts that would then not be visible in the Archives-list.
    • An error with an unused variable has been fixed.

    Alle getoonde foto's zijn (c) MHE Vos, Nederland.

    All shown photo's are (c) MHE Vos, Netherlands.


    © 1997- Marc Vos (and others)   -   Privacy Statement   -    Contact Me

    On this website, Google Analytics is used to track visitor statistics. These are anonymised data about the number of visitors, which pages they visit on this site, from which regions they visit, which web browsers they use, etc.. You will also see non-personalised ads via Google AdSense. Cookies from Paddle or Paypal are placed when you click on a 'Buy now!' or 'Donate!' button, and possible cookies from Disqus when you use that system to comment on one or more blogposts.
    Privacy Statement