One new feature of Pligg 2 is the ability to override a module’s template files with a copy stored in your template’s directory. The great thing about this feature is that it allows you to upgrade a module without losing design changes, since the template files are being stored in a different directory. In this post I’ll describe how you can set up your first example template override.
Pagename variables are defined in Pligg’s .php files to determine what page you are currently viewing. Typically the $pagename variable is equal to the name of the php file that is generating the page. Read the full post for code examples.
Pligg’s template system is based on Template Lite, and one of the built-in features for this system is that it comes with plugin functionality. This allows you to make use of a number of pre-installed plugins (located in the /plugins directory), or you can even add your own plugins. In this post I’ll be demonstrating how you can add a new template plugin to return an embedded Youtube video. This is a very quick example that should provide enough direction for you to craft your own template plugin for custom functions.
If you are a designer or developer looking to publish templates, modules, widgets, or any other type of digital product related to Pligg CMS, then you need to learn about our new Vendor program. Vendors are a new user group that have the ability to add free or premium digital items to the Pligg Downloads area. If a Vendor chooses to sell one of their items through our marketplace, we give them a large commission (ranging from 60-80%) and the rest of the money goes back into Pligg CMS. It’s an easy way to make money as a developer, while at the same time supporting our open source project.
The new Showcase Gallery website, which will replace what was previously known as the Gallery site, will be re-launched soon. We are still developing a Pligg template that will be used for the re-launched gallery site. For those who are unfamiliar with this section of the site, it is where you can submit your site to be featured as a custom Pligg CMS powered website. It’s a simple way for you to show off your design and development skills, while at the same time advertise your site on Pligg.com for free.
Today we are announcing Pligg CMS 2.0.0 RC1, which is now available as a free download from this page. Pligg CMS 2.0.0 represents a major milestone for the project. Click on this blog entry title to see a list of some of the changes.
In this post, you will learn how to set up a domain alias for the purposes of pointing a domain to your local server files. This is useful so that you can develop a website locally before deploying it to a live server. We used a domain alias when developing the new design for Pligg.com so that we could test for broken URLs that might occur due to many large changes to the site structure. Below is a video guide that you can follow along with demonstrating how to set up a domain alias, or you can read the full article for step by step directions.
Pligg 2.0 is now available in beta form via the Pligg Pro shop. Starting at $5 you can get early access to the next version of Pligg. For larger donation amounts we are including several popular modules at a big discount.
One trick that spammers use to mass post to Pligg sites is by creating a lot of accounts. What is annoying is that there isn’t much that we can do to block these account creations if we can’t discover a pattern to them. Your best option to prevent these bot accounts is to rename the register.php file to something random. You can even go one step further, and frequently keep renaming the registration file which really would throw a curve ball and make life more difficult for spammers.