interactive. media. development.

SOLVED: Upgrading to php 7 wp-rss-multi-importer/inc/excerpt_functions.php on line 570

I recently got an email from an old client because one of plugins was giving them an error and stopped working breaking their site. After taking a quick look I determined the issue was due to php depreciation.

Below is the error they were receiving:

  wp-content/plugins/wp-rss-multi-importer/inc/excerpt_functions.php on line 570

How to fix this:

I fixed it for me the following way:
1) Go to /wp-content/plugins/wp-rss-multi-importer/
2) Open editor on excerpt_functions.php
3) Go to line 570
4) Change first occurrence of $thisLink to $thisLink1 (you are only adding a number at the end)

wp-content/plugins/wp-rss-multi-importer/inc/excerpt_functions.php on line 570
wp-content/plugins/wp-rss-multi-importer/inc/excerpt_functions.php on line 570

After the change is done and saved, make sure you activate the plugin and everything should come back to normal. The feed will show the original content as it was before.

Any questions let me know on the comment below.

The Best Website Builders for 2019

Building a Website Has Never Been Easier

Getting your message out these days requires good helpings of Facebook and Twitter, with maybe a dash of Instagram, LinkedIn, Pinterest, and Tumblr. But that's not enough: if you want an internet presence that truly represents you or your organization, you also need a website that sets you apart from the crowd. A real website, as opposed to a social media page, gives you complete control over design and content. This lends credibility to your business, organization, or personal brand. Facebook pages all look alike in terms of design, but on your own website, you can realize a brand image, offer products for sale, and integrate third-party web services.
It's never been easier to set up a professional-looking, design-forward website. Prominent site builders such as Wordpress,is constantly improving. And newer competitors, such as Simvoly, Strikingly and uKit, are popping up all the time with their own clever twists on the process.

How to start a business blog?

Blogging for beginners

These days it's easy to start a blog and put your ideas out there for all (or just some) to see.
A blog, short for web log, is just a website designed to put your opinion or expertise online. Many blogs take the form of an online diary, but with pictures, audio and even video.
There are lots of reasons to have your own blog. Maybe you want to share your adventures with far-flung family and friends. Or maybe you're running a club or special interest group and need a way to keep everybody informed. Perhaps you just want to share your expertise on … well, anything.
Whatever your reason for blogging, you don't need a writing degree or web design skills. There's a wide range of places for you to web-publish your prose. And they all have designer-created templates to make your work look polished and professional. All you have to do is add your ideas.

What do you want to achieve?

First, work out why you're starting a blog. If it's just for you and immediate family and friends, your focus should be on keeping it fresh, interesting and satisfying.
If your aim is to get readers from far and wide, think about who they are and why you want them. Are you spreading awareness about a group or publicizing a cause, or do you want to build an online community for your own fun, reputation or profit? 
Understanding your end-goal will help you decide what kind of service to use to create your blog.

Free blog platforms

There are several popular free blogging platforms with easy-to-use templates that let you add your own personal touch. Some, like WordPress, also offer paid plans with more options and tools if you upgrade down the track.
A free service is good if you're new to blogging and just want a way to express yourself, or let friends and family know what you've been up to, without incurring extra costs. Usually they will provide a free web address for your blog, such as 'yourblogname.wordpress.com'. To have your own domain name, such as 'yourblogname.com', will cost you extra.

Popular free blogging sites

  • WordPress.com
  • Blogger.com
  • Tumblr.com
  • Strikingly.com
  • LiveJournal.com

Paid blog platforms

Paid platforms give you more options and ready-to-go templates that do much of the heavy lifting for you. You can start off simple and expand your blog's website as you gain experience. Experienced users can also build everything from scratch. Payment is usually monthly or yearly.
If your blog is for a club or group that has a bit of money to put towards it, a paid website will probably be the right choice, but check out the free options first. You may want to start out with a free version of the service to see how well it fits your needs, then upgrade to a paid version later.

Popular paid blog builders

  • Squarespace.com
  • Wix.com
  • Weebly.com
  • Wordpress.com
  • Smugmug.com

Who's your audience?
Are you an expert giving advice to novices or are you writing for people with the same level of knowledge as you? Is your audience there for a good time or are they more of a serious crowd?
This will guide your tone of voice and how much detail you go into. As with anywhere else in life, you can't please everyone all the time; just keep your style consistent so your readers know what to expect.
A top tip to grow and keep a successful blog is simply to treat your readership with respect. Just because they are likely to be less knowledgeable than you about a subject (which is why you're writing the blog) doesn't mean they're not as smart. Put yourself in their shoes. How would you want something explained to you? Assume your readers are just as intelligent as you and go from there.

Stay on topic

Aim for one core topic or focus, with a smattering of related content to keep things fresh. A blog about golfing will appeal to golfers, but if you include your passion for red wine and love of Hawaiian shirts you'll struggle to find readers interested in all three. If you want to discuss a wider range of subjects, find a link between them.
For example, food and travel go well together because people like to read about different foods from interesting places. Once you can easily balance those two, you might add fine wine into the mix, as it's often specific to a region and goes well with food.
If you have lots of information and opinions on different subjects you might even consider creating separate blogs.

Can you make money blogging?

The short answer is yes, you can make money from blogging. But no, it's not easy. Publishing your blog for profit is a whole different exercise that requires a systematic approach, consistent effort and a fairly steep learning curve.
You may need to learn about online marketing, using social media platforms, blog directories, search engine optimization (SEO), ad services and affiliate programs. You might even create an online store for selling your product, such as art, crafts, t-shirts and suchlike.
Top bloggers can make big money, but you might be happy if you can just cover your online costs, so that your hobby pays for itself. Web search "make money blogging" or similar for more info.

Regularity and consistency

Irregular blog contributions can frustrate your readers. Two articles on the same day followed by a two-month break looks disorganized and unprofessional.
Consistency is more important than frequency. Do you want to publish daily? Weekly? How about monthly? Keep to a rough schedule. If you have the time to write a blog post early, it might be a good idea to keep it till it's time to publish again.

Common blogging missteps

Avoiding bad habits can make a big difference to your readers. Here's how to avoid common mistakes people make when writing for the web.

Accurate article titles

Don't get caught dreaming up attractive, snappy titles that have little to do with the article's content. Your readers will figure it out pretty quickly and leave.
Web search engines will also pick up on this trend and mark you down as an unreliable source for that particular search phrase or topic. This means you get fewer readers over time. Give your blog posts an intriguing title, but keep it relevant and honest.

Have a strong lede

If article-writing has a cardinal sin, it's 'burying the lede' (also known as the lead). 
The lede is the sentence that introduces the subject matter and hooks the reader. Put it in your first sentence, not several paragraphs lower. Buried ledes mean readers can lose interest and leave before they get to the good stuff.

Show the good stuff

After your introduction (complete with a good lede), put the most important information next. Most people never read an entire web article, so to make sure they easily find the information they came for, put it up top.
You can always put supporting information after the main parts, for those that need it.

Keep paragraphs short

These days it's likely most of your blog traffic will come from people using a smartphone. So, keep paragraphs short to avoid your reader having to scroll forever on their tiny screen. 
Try to limit your paragraphs to two-to-four sentences if you can.

Text type and size

Larger, more spacious fonts work better online. Calibri and Arial are good staples, as are Verdana and Georgia. Thin, serif typefaces such as Times New Roman can look like big, impenetrable walls of text on a small digital screen.
Avoid fancier fonts such as Lucida Handwriting and Forte; they're harder to read and slow down your readers. And avoid Comic Sans. You may think it's fun, but it has a bad reputation, whether or not you agree with its maligned status.
It's hard to nominate a specific font size for online – just make sure your text doesn't have the tiny lettering. Easy reading is the key for the casual online audience. Templates will have typefaces and sizes already set, so go with what they give you, at first anyway.

Use subheadings

Regular subheadings act as anchor points. They help the reader keep track of where they are and what topic they're reading about. They also visually break up large slabs of type.
Make your subheadings directly relevant to your content rather than overly clever and 'punny'. This will both help your readers keep track and make your blog post turn up better in web search results.

Other top tips

Naming

Keep your blog and website name short and related to its theme, purpose or content. Match your blog title to your website address. If both are related to your blog's theme and content, it will help you rank well in web searches for that topic, making your blog easier for people to find.

Self-editing your blog

Edit as you go for spelling, grammar, correct context and conciseness. This will make subsequent edits easier. For the final edit, leave your blog post alone for a few hours, if not a day. Then come back to it with fresh eyes. If you don't, you risk missing obvious mistakes that your eyes have become accustomed to glossing over.

Copyright considerations

You can't just pinch images from other websites willy-nilly. It's illegal to use copyrighted words or images from other websites without express (preferably written) permission by the copyright holder, unless it falls under 'fair use' provisions.
However, you can freely use many materials, such as images, that have a Creative Commons license. This lets you distribute, remix, tweak and build upon the original work (depending on the nature of the license) so long as you give credit for the original creation.

Keep it fun!
Making your blog should be interesting and fun, but if the pressure of regular, fresh content starts to pall, you might need to alter your approach, change your schedule or broaden your topic.
Look for new image and information sources. Adjust your output goals or teach yourself some new skills. Experiment with shooting high quality videos, editing images for web useor learn to use Google Analytics to better understand how your blog is performing.
You might also find working on your blog is a good excuse to invest in some exciting new software tools or computer gadgets to make your life easier and more fun.
Remember to take regular breaks when writing. There's no point sitting at your desk if you're not being productive. Get up and do something else for a while so you dive back in fresh when you come back.
Whatever your reason for starting a blog, creative control over your own little corner of the internet is a great way to learn new things and express yourself. With so many free blogging services it's fairly easy to set up a professional-looking website. Think about what you know and love best and start sharing.
from choice.com

WordPress 5.1 What Does it Mean for Plugin and Theme Developers?

Please test your plugins and themes against WordPress 5.1 and update the Tested up to version in the readme to 5.1. If you find compatibility problems, please be sure to post to the support forums so we can figure those out before the final release.
The WordPress 5.1 Field Guide has also been published, which goes into the details of the major changes.

How to Help

Do you speak a language other than English? Help us translate WordPress into more than 100 languages! This release also marks the hard string freeze point of the 5.1 release schedule.

What’s New in WordPress 5.1?

Inspired by Archie Bell & The Drells, WordPress’s theme for 2019 is to “tighten up”, and WordPress 5.1 focussed on exactly that.
With security and speed in mind, this release introduces WordPress’s first Site Healthfeatures. WordPress will start showing notices to administrators of sites that run long-outdated versions of PHP, which is the programming language that powers WordPress.
Furthermore, when installing new plugins, WordPress’s Site Health features will check whether a plugin requires a version of PHP incompatible with your site. If so, WordPress will prevent you from installing that plugin.
The new block editor has kept improving since its introduction in WordPress 5.0. Most significantly, WordPress 5.1 includes solid performance improvements within the editor. The editor should feel a little quicker to start, and typing should feel smoother. There are more features and performance improvements planned in upcoming WordPress releases, you can check them out in the Gutenberg plugin.

WordPress 5.1 is now released

The first release candidate for WordPress 5.1 is now available!
This is an important milestone, as the release date for WordPress 5.1 draws near. “Release Candidate” means that the new version is ready for release, but with millions of users and thousands of plugins and themes, it’s possible something was missed. WordPress 5.1 is scheduled to be released on Thursday, February 21, but we need your help to get there—if you haven’t tried 5.1 yet, now is the time!
There are two ways to test the WordPress 5.1 release candidate: try the WordPress Beta Tester plugin (you’ll want to select the “bleeding edge nightlies” option), or you can download the release candidate here (zip).

SOLVED:You (John) are not allowed to use this program (crontab) on MAC Localhost

After spending hours and days trying to figure this out I ended up finding a solution that was qutie simple.

Actually researching so much about crontab I feel like it has given me quite bit of insight on this feature. Basically the crontab on your mac local host is controlled by two simple files listed below with explanation:

cron.allow (in this file you can add users who you want run cron jobs on your server such as yourself or even root)

cron.deny (in this file you can only add users who you don't want to run any cron jobs such as Guest account for example.)

You will need to understand those to files in order to move on the next step. Trust me I leant it the hard way. You will find many solutions on the web but many are for different types of servers and thats where it gets tricky because most of the solutions you will will find indicate that cron.allow is located in /etc/cron.allow but that not the case in MAC.


Solution:


1. find where your /etc/cron.allow is located by running this command find / -name "cron.allow" and it will list them all.

In my machine it was located under /private/var/at/cron.deny

2. Type this on your terminal VI /private/var/at/cron.deny

Then add your user inside this file then save :wq

After this to make sure its working enter: crontab -l or crontab -e and if you get the cronjob list its working correctly.

Good luck and shoot me an email if stuck.


SOLVED: Error: Peer certificate cannot be authenticated with given CA certificates.

After going crazy for about two hours to solve this simple error: "Peer certificate cannot be authenticated with known CA certificates using PHP OAuth extension" I searched for many queries like "unable to get local issuer certificate" or "cacert.pem" and finally figured it out.

If you search online you will run into a lot of cacert.pem solutions but its actually not the right one.
Lets get right into it:

1) Download the certificate file like

wget http://curl.haxx.se/ca/cacert.pem



2) Copy the downloaded file and paste to the following directory and make sure the read/write permission are setup correctly.

/WHATEVER-APP-YOU-ARE-USING/openssl/cacert.pem 

(replace the first folders with your own app.) For example Im using AMPPS so my file directory is different than MAMP or XMPP. Very imporant to get the correct path here.

3)Add the following line to your php.ini (make sure its the correct version and dont just drop it the the first one you see there)

openssl.cafile=/Applications/AMPPS/php-5.6/cacert.pem 


4) Restart the Apache Server and you are good to go.

If you cant get this going then go back and see what you did wrong because it works

"Youtube-dl" is Simply Awesome To Download Entire YouTube Channel!

Recently a client asked me to download their entire youtube channel so they can host the videos internally. However, there were over 100+ videos and downloading them manually would have been a very time consuming task so I did a little bit of research discovered this simple yet very powerful command called "youtube-dl".  You can use it to download videos straight off of YouTube.

About youtube-dl:
"youtube-dl is a small command-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter (2.6, 2.7, or 3.3+), and it is not platform specific. It should work in your Unix box, in Windows or in Mac OS X. It is released to the public domain, which means you can modify it, redistribute it or use it however you like."

If you ever wanted to download the entire Youtube channel using Ubuntu, Youtube-dl might just be exactly what you were looking for to do just that.

Here is how it works: 

First download it it here: http://rg3.github.io/youtube-dl/download.html or git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg

Then run these two simple commands.
Option #1 - To download an entire channel use this command:
           youtube-dl -citw ytuser:<USERNAME HERE>
Option #2 - To download all videos on a single playlist use this command: 
           youtube-dl -citw <THE PLAYLIST URL HERE>


Optional step: Convert your .MP4 to .MP3 files 

Note that this will bulk convert multiple files so I think its pretty awesome but if you want to just download since files skip this step and go to the next one.

First install  ffmpeg at https://www.ffmpeg.org/

Then locate your download folder where all the .mp4 files are located. For example if its under "youtube-videos" you navigate there b doing this: cd /youtube-videos

Once you are in this directory run this script.

#!/bin/bash
for i in *.mp4
do
ffmpeg -i "$i" -ab 128k "${i%mp4}mp3"
done

Or if you just want to download them one by one you can just run this command.

youtube-dl --extract-audio --audio-format mp3 <video URL>

Thats about it! Its the fastest way to go about doing this without using any GUI.

The only thing is that this will save everything in the same directory so you will have to sort everything after its done.

Network Solutions - Wordpress Security Update

Network solutions has issues this email about their Wordpress security update: 

As you may be aware, there are ongoing attacks against Wordpress across the world. Attempts are made frequently by criminals to gain control over your Wordpress blog and to then use that for their own illegal purposes. Your best protection is to make sure you maintain your Wordpress installation at the latest release version and to ensure that you use a complex password that is not easily guessed. 

Why this update? 

Criminals are inventive and resourceful. Right now they are using the longstandingpingback feature in Wordpress to create distributed denial of service attacks (DDOS) against third party websites. There is a high probability that your website might be used for such an attack unless you take specific action to disable pingbacks

What should you do? 

The recommended action is to simply install install this plugin if you use version 3.5 or later. 

More information can be found about this sort of attack on Brian Kreb's web site

Or by visiting Sucuri Security's blog posting on the subject: More Than 162,000 WordPress Sites Used for Distributed Denial of Service Attack

I am not an expert, where do I get help? 

If you aren't technical (and most of us aren't) then we would suggest you contact the person responsible for building your Wordpress blog and ask them for assistance. Alternatively, you could contact NS customer service team who would be glad to assist you. 

© Copyright Triple ROI
165 Tremont St Boston, MA 02111 - Suite 3

Terms of Use | Privacy Policy