Thursday, February 19, 2009

Fix for: Parse error: syntax error, unexpected $end in

One of my clients asked me to debug his site, because when php5 is enabled from the control panel the site does not show anything, just white pages!

The site was built using Joomla! 1.5, so I enabled debugging mode and set the error reporting level to maximum to know what is the problem.

Then this error was displayed when opening any page:

Parse error: syntax error, unexpected $end in filename:lineno

it was the index.php file of the template, and after some debugging I found that the problem is the using of short php tags, like this:
<?

The server was not configured to allow short tags.
For maximum compatibility, it is preferred to use full tags, like this:
<?php
.

Hope this help you all!

Tuesday, April 17, 2007

Reem Content Templating, customize Joomla content items display

Customize Joomla content items appearance by creating your custom layouts using the component 'Reem Content Templating'.
The layouts are HTML tables used as a template for your content items.
You can draw whatever table you want, and then assign cells for [INTRO], [FULL], or load whatever modules into content area.
Cells with [INTRO], will be filled by the inroduction, and others with [FULL] will be filled by the full text.

for example, if you created a layout such as:

[INTRO] load google adsense ad [FULL]

you will have your contents appear as three columns, whith introduction to the left, google adsense in the middle column, and the full text in right column.

Key Features:
- Ability to divide your contnet area to colums, such as journals.
- Ability to add google adsense vertically inside your content.
- Ability to load modules into all of your content without adding the command mosloadposition to every content item.
- Ability to use table formatting for formatting content areas, such as background colors, alignment, borders, etc...
and others you will explore by using the component.


Any suggestions, questions or comment sholud be posted on JoomReem.com Forums

Thursday, April 12, 2007

MCS 1.0.1 for Joomla: New release

You can download the new release of MCS now, go to http://www.joomreem.com

There are some added new features and bugs fixed, for example:
1- Option to send the reminder mail to all users at once, added as a button in Inactive members menu.
2- Menu buttons added in every page to facilitate the navigation throug component pages without going to the 'Comoponents' menu.
3- Parameter to set the maximum number of days in the 'Configuration' page.
4- Filter (dropdown list) in the member list to filter out users that have been sent a reminder in X number of days.
5- Filter (radiogroup button) to show only users who have never logged in.

any questions or remarks can be posted on the forums of www.joomlareeem.com.


Have a nice day.

Wednesday, April 11, 2007

JoomReem.com, will be the home of my Joomla extensions

Hi all,
Till now I'm preparing my new site, JoomReem.com.

You can visit it, click JoomReem.com, and feel free to post your comments and suggestion in the related forum.

JoomReem.com, will be the official site for Member Care System, and other Joomla extensions which will be developed in the future.

Every extension will have a top level forum, under which come some forums to discuss and support the extension.

JoomReem.com is in testing phase, so your notes and suggestions are appreciated.

send your notes and suggestions to zizo at joomreem dot com.

Friday, April 6, 2007

Member Care System, for Joomla based site administrators!

For you Joomla administrators, I present this component to follow site members and give them the sense of being a family, by inviting them to visit the site if they don't login for long time, or ask them whether they face problems when logging to your site, etc...

With Member Care System you can:
  1. You can write your custom email subject and message in the configuration form.
  2. You can provide a form, the same as the 'Lost Your Password?' form, for the inactive users to get their activation emails, whenever they want without any action from you (see README.txt)
  3. You can list the members who didn't login to your site for the previous x days, where x ranges from 1 to 30, and you can order the list by absence days, never logged in members, username, name, register date or last visit date.
Download Member Care System

Wednesday, April 4, 2007

SEF Related Items: Easy and Efficient Solution based on Joomla

SEF Related Items is a solution to relate content items explicitly, without the need to use keywords fields to relate the content items, so it is Search Engine Friendly solution.

SEF Related Items uses the Head\Branches relation in the back-end to organize the related items, this relation must agree with the following conditions:
  1. Any head item can't be a branch for another item.
  2. A non head item can be a branch for 0 or 1 head item.
The Head\Branch view is not visible to the frontend user, the related items just appear as related items, no head and branches, so you can replace the Joomla related items by the module of SEF Related Items without any change.

SEF Related Items component is used by the administrator to organize the related items.

Key Features:
  1. The component uses Joomla standard layout to provide ease of use.
  2. You can view, add or remove branches by clicking the corresponding toolbar button.
  3. You can filter the items by section, category or author, to make the administration operation as easy as possible.
Download the file

Sunday, April 1, 2007

Member Care System, Joomla Component

Here you are my first REAL component: Member Care System or breifly, MCS.

My first NOT REAL component was RAEmail, if you remember. It was my first try, in fact I had to write it because I have had many Inactive users, I confused why the members register and don't activate! Is it mail server problem? till now I can't decide whether it is mail server problem or not, but I decided to help myself and install a component to resend the activation emails to inactive members.

After searching on Joomla.org and Google, I found nothing to do this task, another shock. So, why I don't write a component to do this task?

As you know, I did and it was RAEmail, I found it somehow helpfull, and shared it with Joomla mates, some of them found it helpfull to and mailed me to add some good features.

The main purpose of RAEmail was finding inactive members and send them the activation link again and again, till they yell or activate their membership.

Anyway, I'm preparing to launch the first release of my Member Care System, it will do RAEmail task as it was, in addition to enabling administrators to keep track active members within the last 30 days.
With Member Care System, you can:

  1. List the members didn't login to your site for some x days, where x ranges from 1 to 30.
  2. Order the list by absence days, never logged in members, username, name, register date and last visit date.
  3. Send an email to any member(s) to invite him/her to visit your site, ask her if she find any problem logging to your site. This email will be customised for every member using tags like [ADAYS]; which will be replaced with the number of days the member didn't login to your site.
  4. Customise the email template easily, no need to edit any file, you will have a configuration form with a placeholder for the email template.

I will receive your remarks, suggestions and questions regarding this component on this page.

You can write your suggestions here until I launch the first release for testing.

Good Luck