Archive for February, 2010
PayPal Plugins for Joomla
Posted by Mark Raborn in Joomla on 2010/02/17
Joomla PayPal Extensions
For those interested in Plugins using simple syntax to enable PayPal Buttons in articles, there are PayPal plugins for Joomla. Search the Joomla Extensions directory for offerings.
For WIGITAL Customers that want to take a do it yourself approach from within Joomla and do not wish to leave the Administrator backend to get PayPal functionality, there are two commonly used Joomla PayPal plugins we suggest:
Easy Paypal by HyBing
http://extensions.joomla.org/extensions/e-commerce/payment-systems/2651
- HyBing Website
- http://www.hybing.com/Easy-Paypal.html
Nice Paypal by TriniTronic
http://extensions.joomla.org/extensions/e-commerce/payment-systems/9277
- TriniTronic Website
- http://www.trinitronic.com/index.php/Downloads/downloads.html
Using the Joomla PayPal Extensions
Turn Off the TinyMCE Editor
The Joomla Document library discusses using PayPal type extensions in this post . The use of PayPal extensions require that HTML can be typed into web pages along with the specific code needed to interact with PayPal using PayPal’s API. The first consideration then, is to avoid the use of the default TinyMCE Editor in Joomla. TinyMCE strips out certain forms of HTML on save, and since the PayPal API requires custom HTML and various propriertary syntax to function, you must not use the default editor. Read this post to turn off TinyMCE.
Sign Up for Business PayPal Account
Receiving PayPal payments requires a PayPal Business Account. Sign up to “Build Your Business Online with PayPal”
For WIGITAL Customers, we suggest a dedicated PayPal email address and identitity in your environment. Whether in a Windows Domain and using Microsoft Exchange to receive notifications, or using an email service like Gmail, Hotmail, Yahoo Mail, etc… , having an identity dedicated to this function, “that is secure” and accessible only by Accounting and Management roles, is advisable.
- Create an account / identity dedicated to the PayPal relationship
- Sign up with PayPal Business
Easy PayPal Tutorial
http://www.hybing.com/Easy-Paypal-Tutorial.html
Nice PayPal Tutorial
http://www.trinitronic.com/index.php/Downloads/nice-paypal-button-documentation.html
Installing Joomla PayPal Extensions
Here are the steps to setup Nice PayPal ( as an example )
- If you don’t already have one, sign up for a business PayPal account.
- Install the plugin using Joomla’s Extension Manager.
- Go to Extensions>>Plugin Manager and click into the plugin “Content – Nice PayPal Button.”
- Enable the plugin.
- Add your PayPal account email to the parameters on the right.
- Optionally add your sandbox sellers account email if you plan to do testing.
- Optionally set the test mode to on or off – the default is off.
- Optionally enter your PayPal supported 3 letter currency code – default is USD.
- Optionally, Enter your 2 digit country code to set the language used on the PayPal payment page. PayPal uses a two-character country code (ISO 3166). Some examples are United States: US, Great Britain: GB, France: FR, Spain: ES, Poland: PL, German: DE. If you don’t know your country code, or you can Google PayPal Country Codes.
- Optionally, set your button language code. PayPal uses a 5 character code to designate language it’s buttons. For example, United States English is designated with en_US. Enter the 5 character code for the desired button language. Other code examples are Great Britain English: en_GB, French: fr_FR, Spanish: es_ES, Polish: pl_PL, German: de_DE. If you don’t know the code for your desired language, log into PayPal use the button creator and search the resulting HTML code for this https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif. Notice the en_US in the URL, it’s the language code for the button.
- Save your changes.
- Important – Email Cloaking is a default feature of Joomla. Unless you have specifically disabled it, it is enabled on your site. If this is the case then, in the Plugin Manager, you will need to change the order of the Nice PayPal Button plugin so that it appears below the Email Cloaking plugin in the plugin list. Otherwise, the PayPal buttons that the Nice PayPal plugin creates won’t work properly.
- Add the tag code {nicepaypal:button type|price|item name} to your article where you want the PayPal button to show up.
Place the Nice PayPal Button tag in your article content.
A PayPal button replaces the Nice PayPal button tag.
The PayPal Developers Site
For those interested in the DIY “Do It Yourself” approach that requires a little more investment than point-and-click in the Joomla back end, PayPal provides their API, development practices, documentation, sample apps, etc… at the PayPal Developers Network
An extraordinary amount of functionality can be achieved, integrated, and customized into your website using PayPal’s online tools. These tools require no knowledge of coding and can broaden website functionality with PayPal using simple cut and paste of code that PayPal generates on your behalf as you use their online resources.
In addition, you can go further as a developer.
Here are some important links ( and suggested reading )
- PayPal Merchant Setup and Administration Guide
- read – Co-Branding the PayPal Checkout Pages
- read – Prompting Buyers for Marketing Messages
- read – Asking Buyers a Survey Question
- PayPal Website Payments Standard Overview
- PayPal HTML Variables for Website Payments Standard
- PayPal HTML Buy Now Buttons
- read – Step 1 – Specifying Basic Features of Your Buy Now Button
- PayPal Documentation
- PayPal Developer Community Forums
Google Calendar in Joomla
Posted by Mark Raborn in Joomla on 2010/02/15
Google Calendar in Joomla
The Joomla GCalendar is a Google Calendar bridge to Joomla. The project is hosted at code.google.com where you can find code, project announcements, and their support links.
Support for GCalendar is in
The following setup excerpts are from their DocuWiki at http://g4j.laoneo.net
Prerequisites for GCalendar
The prerequisites for GCalendar is a Google account and the Google calendar service initialized.
Getting started with GCalendar
http://g4j.laoneo.net/content/docu/doku.php/id,docu;gcalendar;version_2.1.x;getting_started/
- Install the component
- Import your calendars
- Share the Calendar with the public (OR) us the magic cookie (which makes Private Calendars accessible through Joomla). More at Google’s Calendar API . A video is available on magic cookie at YouTube
- Create menu entries
- Install the modules ( and enable them )
- GCalendar suite contains
- mod_gcalendar.zip
- mod_gcalendar_next.zip
- mod_gcalendar_upcoming.zip
- Install the plugins ( and enable them)
- plg_gcalendar_next.zip
- plg_gcalendar_search.zip
- Enjoy
Sharing the Google Calendar with the Public
To share your Google Calendar with the public ( and for use in Joomla )
- Go to http://www.google.com/calendar
- Log in using the appropriate credentials for this “shared calendar”
- Click the Settings link
- Under Calendar Settings, click the Calendars tab
- Locate your calendar under My Calendars, click Share this calendar
- Check the box [ ] Make this calendar public, click the Save button at bottom of page
- Now, click on the link to YourCalendar
- The available options for YourCalendar will have changed. Scroll to the bottom. In the section named Calendar Address, click the HTML button, copy the html text and paste into your browser to view your shared public Calendar as it appears on the internet.
- NOTE: This is the Calendar information that will be shared with GCalendar in Joomla.
Sharing the PRIVATE Google Calendar with Joomla
To share your “private” Google Calendar with the Joomla CMS
- Go to http://www.google.com/calendar
- Log in using the appropriate credentials for this “calendar”
- Select the drop down arrow next to your Calendar, then click the Calendar Settings link
- Scroll to the bottom. In the section named Private Address, click the HTML button, copy the html text.
- Go to the Components, GCalendar, GCalendars in Joomla
- Select the appropriate Calendar by clicking it’s link
- in the Magic Cookie filed, past the HTML path copied from above.
- Now DELETE the entire path from “http://-in-the-beginning-to-pvttk=“
- Leave everthing after pvttk= in your GCalendar Magic Cookie settings, and Save
- NOTE: This is the PRIVATE Calendar information that will be shared with GCalendar in Joomla.
See the magic cookie at YouTube video walk-through.
Google Email Replies through GCalendar for Joomla
Setting up a global address to receive email related to Calendar Events in Joomla is a consideration when using GCalendar. Individual events in GCalendar can be accessed invoking the mailto: links to the Google Calendar recipient. Having a global email address such as ( info@yoursite.com ) or ( calendar@yoursite.com ) may be advisable. A Google account and Calendar could be established for just this purpose.
Google Calendar Support Topics for Microsoft Outlook
Another significant question ( for Exchange and Outlook users ) who may want to push Outlook generated content into Google Calendar is the ability to Sync Google Calendar to Microsoft Outlook.
Here is the Google Calendar Support Link
Introduction to Google Calendar sync with Microsoft Outlook
Check out the Introduction to Google Calendar Synchronization
Get Started
If you’re setting up Google Calendar Sync for the first time, you’ll need to:
- Check your compatibility.
- Download Google Calendar Sync.
- Agree to the Terms of Service and finish installation.
- Select the appropriate Sync Option and time interval.
Details for each Sync Option can be found here.
Sync options with Google Calendar Sync
Setup Sync Options between Google Calendar and Microsoft Outlook
2-way sync
All events in your primary Google Calendar and your default Microsoft Outlook calendar are synced together. Once you’ve selected this option, any changes you make to events in either Google Calendar or Microsoft Outlook Calendar will be reflected in both applications.
If you modify the same event multiple times in both applications, the most recent update will sync between Microsoft Outlook Calendar and Google Calendar. Additionally, if you delete an event in Microsoft Outlook Calendar or Google Calendar, this event also will be deleted when viewing the other application.
Please note that Google Calendar Sync syncs all of the events in both your default Microsoft Outlook calendar and your primary Google Calendar. Currently, there is no way to sync events within a specific time frame in your calendar.
1-way: Google Calendar to Microsoft Outlook calendar
All events in your primary Google Calendar are added to your default Microsoft Outlook calendar. During subsequent sync cycles, any updates made to events in Google Calendar will be reflected in Microsoft Outlook Calendar as well. Keep in mind that any events created or modified in Microsoft Outlook Calendar won’t be reflected in Google Calendar.
1-way: Microsoft Outlook calendar to Google Calendar
All events in your default Microsoft Outlook calendar are added to your primary Google Calendar. During subsequent sync cycles, any updates made to events in Microsoft Outlook Calendar will be reflected in Google Calendar. Keep in mind that any events created or modified in Google Calendar won’t be reflected in Microsoft Outlook Calendar.
Mark Raborn’s Favorite WordPress Plugins
| CATEGORY | NAME | DESCRIPTION | URL |
|---|---|---|---|
| CAPTCHA | - | - | - |
| Really Simple Captcha | Really Simple CAPTCHA is a CAPTCHA module intended to be called from other plugins. It is originally created for my Contact Form 7 plugin. By Takayuki Miyoshi. | http://ideasilo.wordpress.com/2009/03/14/really-simple-captcha/ | |
| FORMS | - | - | - |
| Contact Form 7 | Just another contact form plugin. Simple but flexible. By Takayuki Miyoshi. | http://contactform7.com/ | |
| NOTIFICATIONS | - | - | - |
| Post Notification | Sends an email to all subscribers. See Readme2.txt or instructions for details. By Moritz Strübe. | http://pn.strübe.de/ | |
| RSS FEED INPUT | - | - | - |
| TBD | TBD | TBD | |
| SITEMAP | - | - | - |
| Google XML Sitemaps | This plugin will generate a special XML sitemap which will help search engines like Google, Yahoo, Bing and Ask.com to better index your blog. By Arne Brachhold. | http://www.arnebrachhold.de/redir/sitemap-home/ | |
| SOCIAL | - | - | - |
| Facebook Dashboard Widget | Display your friends latest status updates, posted items and/or notifications on your WordPress dashboard or blog sidebar (check your widgets page). Make sure you enter your feed details on the options page. By Chris Chrisostomou. | http://mou.me.uk/projects/wordpress/plugins/facebook-dashboard-widget/ | |
| FlickrRSS | Allows you to integrate the photos from a flickr rss feed into your site. By Dave Kellam and Stefano Verna. | http://eightface.com/wordpress/flickrrss/ | |
| LinkedIn hResume | LinkedIn hResume grabs the Microformated hResume block from your LinkedIn public profile page allowing you to add it to any page and apply your own styles to it. By Brad Touesnard. | http://wordpress.org/extend/plugins/linkedin-hresume/ | |
| Twitter for Wordpress | Displays your public Twitter messages for all to read. Based on Pownce for Wordpress by Cavemonkey50. By Ricardo González. | http://rick.jinlabs.com/code/twitter | |
| SPAM | - | - | - |
| Akismet | Akismet checks your comments against the Akismet web service to see if they look like spam or not. You need a WordPress.com API key to use it. You can review the spam it catches under “Comments.” To show off your Akismet stats just put <?php akismet_counter(); ?> in your template. See also: WP Stats plugin. By Matt Mullenweg. |
http://akismet.com/ | |
| WP-SpamFree | An extremely powerful anti-spam plugin that virtually eliminates comment spam. Finally, you can enjoy a spam-free WordPress blog! Includes spam-free contact form feature as well. By WP-SpamFree. | http://www.polepositionmarketing.com/library/wp-spamfree/ | |
| STATISTICS | - | - | - |
| Wordpress.com Stats | Description:Tracks views, post/page views, referrers, and clicks. Requires a WordPress.com API key. By Andy Skelton. | http://wordpress.org/extend/plugins/stats/ |
Searching Adobe pdf documents in SharePoint WSS 3.0 and MOSS 2007
Posted by Mark Raborn in SharePoint on 2010/02/07
UPDATED: Was doing a SharePoint installation today and realized I really needed to clean this article up!. I originally wrote it a few years ago. Some more information on 64bit platforms has been added and as well as Adobe specific pdf walkthroughs for SharePoint 2007, SQL, and Exchange.
Enable Adobe .pdf Portable Document Format Search in SharePoint
SharePoint Services 3.0 does not index .pdf files by default when Search is first enabled in SharePoint. The question of course then is “How do I enable Search for Adobe .pdf documents in Windows SharePoint Services?
Here is a walk-through:
Download Adobe iFilter and pdf Icons
32 bit platforms – download the following:
64 bit platforms – download the following:
Enable Microsoft Indexing Service
In Windows Server 2003 and Server 2003 R2: enable Microsoft Indexing Service (if it is not already enabled)
This quote from Adobe explains: “Adobe PDF IFilter is a free downloadable Dynamic Link Library (DLL) file that provides a bridge between a Microsoft Indexing Client and a library of Adobe PDF files.”
Copy the Adobe .pdf Icon to the IMAGES directory
- Copy .pdf image to SharePoint images store
- Download Adobe icons (link above)
- Save to -OR- copy to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES
- NOTE: the name of the icons file as you are copying and write it/them down
- the default names from Adobe are pdficon_small.gif AND pdficon_large.gif
- Open this folder: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\
- Open/Edit the document DOCICON.XML in Notepad or XML Editor of your choice
- As you read, note the syntax of the <Mapping> elements and KEY and VALUE attributes
- Inside the <ByExtension> tags; make entry as follows: <Mapping Key=”pdf” Value=”pdficon_small.gif” />
- Additional entries may be made while your here if you want to copy other icons and have them associated with file extensions in SharePoint
- Save file and exit
- Add an entry for the .pdf icon in the DOCICON.XML file for SharePoint
Install Adobe iFilter 32 bit or iFilter 9.0 64 bit
- Stop IIS admin service
- Go to Start > Run > type cmd > press enter
- TYPE iisreset /stop
- Install Adobe iFilter (latest version)
- Download Adobe IFilter (link above) and install following defaults
- Reset IIS:
- Go to Start > Run > type cmd > press enter
- TYPE iisreset /start > press enter
If installing on MOSS 2007, please also restart Office SharePoint Server Search
- Type the following at the prompt: “net stop osearch”. Wait for success message.
- Type the following at the prompt: “net start osearch”. Wait for success message.
When installing on WSS 3.0, Confirm ExtensionList REG_SZ Registry Value = 38
- Go to Start > Run > type REGEDIT
- Locate the following registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Applications\{some GUID here}\Gather\Search\Extensions\ExtensionList
- Confirm there is a REG_SZ named “38″ (without the quotes) and the the string value is “pdf” (without the quotes)
- IF THE STRING VALUE IS NOT THERE:
- Right-click the ExtensionList key | select New | select String Value
- Name the String Value 38 (or higher if there is already a 38)
- Double-click the String to open it
- in the Value data field, enter: pdf
- Exit REGEDIT
When installing on WSS 3.0, Confirm Extension Multi-String Value (shown as follows)
Verify that PDF has the correct Windows SharePoint Services 3.0 specific settings in the registry location.
- Go to Start | Run | type regedit
- within the left-side tree, browse to: \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf
- Verify the following values. If values are not as shown, edit them.
- <REG_MULTI_SZ> Default = {E8978DA6-047F-4E3D-9C78-CDBE46041603}
Note that in my case today, I found a “mistaken value” here of: {4C904448-74A9-11D0-AF6E-00C04FD8DC02}
When installing on MOSS 2007, add pdf to the Search Settings File Types
This achieves the same result as the manual regedit that adds REG_SZ value of 38 (above), but does so directly from MOSS Central Administration.
- Open the MOSS Central Administration Site
- Go to the Share Service Administration Site running the search service
- Select “Search Settings”
- Select “File Types”
- Select “Add New File Type”
- Enter “pdf” click OK
- Go to Start | Run | type cmd
- At the command prompt, type the following command: “net stop osearch”. Wait for success message.
When installing on MOSS 2007, Confirm Extension Multi-String Value (shown as follows)
Verify that PDF has the correct Office SharePoint Server specific settings in the registry location.
- Go to Start | Run | type regedit
- within the left-side tree, browse to: \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf
- Verify the following values. If values are not as shown, edit them.
- <REG_MULTI_SZ> Default = {E8978DA6-047F-4E3D-9C78-CDBE46041603}
Additional Steps to Enable SharePoint pdf Search in 64 bit Windows Server with 64 bit Adobe iFilter
There are some additional considerations when on the 64bit Windows platform:
- FIRST!! Be certain you are installing the “64 bit version” of iFilter 9 – download from Adobe
- Be sure to add the bin folder of the iFilter installation to the PATH of the SharePoint Server that is assigned the Indexing Role, and any backend SQL Server(s) providing database storage to SharePoint.
Quoting the iFilter 9 Installation Instructions
1. Download and extract the contents of “PDFiFilter64installer.zip” to your local drive.
2. Double click “PDFFilter64installer.msi” to launch the installer.
3. Follow the instructions in the installer wizard to complete the installation.
After installing the PDF iFilter, it is recommended that you set your system PATH environment variable to the “bin” folder of the “Ifilter” installation. For example, from the “Control Panel\System\Advanced\Environment Variables” tab, append to PATH “C:\Program Files\Adobe\Adobe PDF iFilter 9 for 64-bit platforms\bin\” and then restart the computer.
Refer to the following documents to configure PDF iFilter to work with any of these applications:
- Configuring PDF iFilter for MS Exchange Server 2007.pdf
- Configuring PDF iFilter for MS Sharepoint 2007.pdf
- Configuring PDF iFilter for MS SQL Server 2005.pdf
For more information, read the “comments” section of the iFilter release notes on Adobe’s blog (see the comments by Aman).
Start a Full Crawl on the SharePoint Indexing Server Role
Use the STSADM command line to start a full crawl of your SharePoint Services data
- Go to Start | Run | type cmd
- At a command prompt, change the directory to the following:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
- Type the STSADM command to start a full crawl : Stsadm -o spsearch -action fullcrawlstart
Visit TechNet to learn more about the STSADM command line
Possible Errors: Icons are not displayed for Adobe PDF in Search Results
If the “icons” displayed in SharePoint search results do not disply the Adobe pdf icon, try these articles:
SUPPORTING COMMUNITY INFORMATION: http://bloggingabout.net/blogs/harold/archive/2008/10/02/index-pdf-documents-on-sharepoint-using-adobe-pdf-ifilter-9.aspx
Additional Info: Working with SharePoint Search ( after installation )
This article by S.S. Aman can help you understand how to “tweek” search a little in SharePoint
http://vspug.com/ssa/2007/01/19/working-with-sharepoint-search-part-2/
Hope this helps you as well.