Installing phpBB3 for Joomla with a RocketTheme template
- Category: Joomla
- Hits: 384765
"OK this should take just a few minutes..."
I've written this because I spent all night on setting up a "quick" demo resulting in a quick 1 hour nap before having to go to my day job... It sounds straight forward because both phpBB3 and RocketTheme talk about how to install the RocketTheme templates... But it's not. I'm rewriting their instructions here so that I can I do this on other websites:
Important Note: On Linux (Apache), all file names and folder names are case-sensitive, so phpbb3 is NOT the same as phpBB3. Bear this in mind during the installation process.
Using K2 with jezReCaptcha plugin causing errors
- Category: Joomla
- Hits: 23345
The Issue
Basically that you've installed JoomlaEZ's ReCaptcha Integrator plugin to protect your forms ("type two words" captcha) and then installed K2 Comments to use it's own ReCaptcha. If you try adding a comment, you may get something like the following:
Fatal error:
Cannot redeclare_recaptcha_qsencode() (
previously declared in /public_html/plugins/system/jezReCaptcha/recaptcha-php-1.10/recaptchalib.php:47
)
in /public_html/components/com_k2/lib/recaptchalib.php on line 67
I've managed to fix this in my site. Because you already force the recaptcha feature in your registration form and contact form (on this website I just went recaptcha-happy), then there are some settings you need to change in the plugin options:
- Inclusion Syntax = NO
- Auto-verify =YES
Update 16.NOV.2009
I don't see this supported anymore so I wouldn't recommend using the JezRecaptcha plugin. In fact I'm not impressed with Recaptcha as it's sound alternative doesn't work and the text form is hackable.
I will be changing this over throughout the site... I may keep recaptcha for the comments feature on K2 articles but it should be considered low security.
Using MetaMod to hide buttons from logged in users
- Category: Joomla
- Hits: 30977
Source: http://forum.joomla.org/viewtopic.php?f=431&t=401086&p=1693742#p1693742
It's been difficult to find an easy solution to hide menu items from registered users. Finally, I found a solution that works 100% for me using the MetaMod tool without using any template hacks. The instructions on the metamod page are very vague so I wanted to make it bit more in-depth for this specific use. I'd love to hear if this helps you. Let me know if you find any mistakes and I'll be sure to fix asap.
Joomla Themes from a Photoshop Template Design in Seconds
- Category: Joomla
- Hits: 12648
Create a working Joomla Template from your Photoshop PSD design in seconds.
{youtube}hf0Fovrm4Lc{/youtube}Add a template to the dropdown in Kunena
- Category: Joomla
- Hits: 19446
This is what I had to do to be able to add another template to the dropdown in the Kunena configuration panel:
- Download your site from your server to a copy on your local disk (hard disk, flash drive, etc)
- Make sure that the \components\com_kunena\template folder is on your local disk
- Make a copy of the default folder inside
- Rename this to the name of your new template (avoid any spaces)
- Download the new template for the Kunena forum
- Download the Template package.
- Open your FTP Connection and go to \components\com_kunena\template\
- Extract the folder "Template Name" into this directory ^
- If in the package the folder "lib" contains, extract the files in the directory \components\com_kunena\lib\
View your available module positions
- Category: Joomla
- Hits: 20486
Note that Joomla versions 1.6 upwards include this as an option in the global configuration settings which you can access using your Joomla admin panel:
- Template Manager
- Options
- Preview Module Positions -> Disabled or Enabled
Joomla 1.5.x
This is another feature which took me a few years to notice in Joomla. If you've ever installed a template for Joomla and spent hours working out where or how you are going to put what where, try adding ?tp=1 after your index.php url (ie. http://www.yourdomain.com/?tp=1)
If this doesn't work for you try this:
- Log in to the backend of your website (into the Joomla Admin Panel)
- Go to Extensions > Template Manager > select your template
- Click on the big Preview button in the top right
- Click on the link 'Show in New Window'
- Bookmark the web address of the new window
The bookmark/favorite that you have just made can be refreshed when you change things on your site and should reflect exactly how your website is overlayed with the module positions. You will need to repeat the process when you select a different template but otherwise the bookmark will last as long as you keep that template.
Restoring your WYSIWYG editor after upgrading Joomla
- Category: Joomla
- Hits: 18960
The Issue
Basically that after upgrading Joomla, my TinyMCE WYSIWYG (What-you-see-is-what-you-get) editor halved its number of buttons and I couldn't add code snippets...
The Fix
Just installed JoomlaFCK WYSIWYG Editor, an editor I use with my day job's MediaWiki software and it's pretty amazing. Incredibly cross-browser compatible with some MS Office 2007 styling and fortunately maintains it's previous button layout. The features such as full-screen editing, emoticons, and pasting from MS Word documents make it the best in the market IMO.
Joomla FCK Editor
You can download it for free from http://www.joomlafckeditor.com/ but you will need to register on their site first.
Applying a button and centering it in the RocketTheme Affinity template
- Category: Joomla
- Hits: 25095
This took me a while to do so I thought I'd document it for future reference.
The Issue
See the restore default setting link at the bottom of this page in the footer? I wanted to put one of the styled buttons behind it but then found that there's a lot more to do than just that.
Instructions
- Open the templates/rt_affinity_j15/index.php
- Look at the last few lines with the original code (below)
- For this website template:
- I've added the module-dark classes.
- Specified float:none to get rid of float:left
- Specified width of readon-wrap1 to the width of the button
- Specified margin:0 auto to center readon-wrap1
Original Code:
<?php if ($show_defaultsettings == "true") : ?>
<a href="#" id="clear-cookies"><?php echo JText::_('DEFAULT_SETTINGS'); ?></a>
<?php endif; ?>
New Code:
<?php if ($show_defaultsettings == "true") : ?>
<div style="overflow: hidden;float:none">
<div class="module-dark readon-wrap1" style="float:none;width:200px;margin:0 auto">
<div class="module-dark readon1-l"></div>
<a href="#" id="clear-cookies" class="module-dark readon-main" style="margin-top:0px"><span class="module-dark readon1-m"><span class="module-dark readon1-r"><?php echo JText::_('DEFAULT_SETTINGS'); ?></span></span></a>
</div>
</div>
<div class="clr"></div>
<?php endif; ?>


