注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

phperwuhan的博客

记载一个phper的历程!phperwuhan.blog.163.com

 
 
 

日志

 
 

[原创]Kunena学习笔记  

2012-06-03 17:27:00|  分类: 国外-kunena |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

Kunena is a Joomla 1.5 native forum component that allows you to quickly deploy a community forum to your Joomla based website.


As a component to Joomla, Kunena integrates deeply into the framework of Joomla. User management, Registration, Login/Logout, menus, modules and much more are leveraged through Joomla itself.

Kunena has been designed to be a simple to use, yet sophisticated CMS based forum platform that grows with your needs. The tight integration with Joomla allows for cross customisations options that no bridged solution can ever offer.

The front end integrates into the Joomla template system and extends it with custom forum templates. Kunena 1.5.x by default comes with the default_ex template. It has been evolving over time to a very powerful and flexible template. Most adjustments to its look and feel require no to little coding and can be accomplished by modifying the CSS and image sets provided with the application.

Even better, Kunena comes configured with a sample database that allows you to get up and running without having to make any changes at all! From the moment you install Kunena your forum is alive. All you need to do is create a menu item on your Joomla website and you up-and-running immediately. What could be simpler?

The front-end in Kunena - also the Joomla front-end, is what your regular users will see on a daily basis. It represents the public interface to your community forum.

It leverages the installed templates and settings you choose to present a sophisticated forum solution to your registered users as well as guests. Whether to make a forum public, private, read only and so on - is in your control based on the Joomla and Kunena settings you choose.

You are able to differentiate between registered users, administrators, moderators as well as guests and can customise the experience for them.

Through the use of Joomla extensions, you have a wide variety of options available, and we encourage you to check the Joomla Extension Directory for addition packages that fit your needs.

The Kunena back-end inside the Joomla back-end of your site, is the place where you manage and adjust the settings and configuration of Kunena. In order to get there, you have to log onto the back-end of Kunena with a userid that has the proper access levels assigned to it.

Kunena provides you with an easy to use, yet feature rich administrative interface, known as the Control Panel, that allows you to customise the appearance and settings of your forum install. You can select from various different templates, decide who and how can access and contribute to your community, integrate with third party components like Community Builder for various different integration options.


Our official language pack can be found in our download page.


Kunena project uses Transifex to maintain all available translations. Transifex provides easy to use online tools, which can be used to update translations easily and without any technical knowledge. Alternatively Transifex allows you to download the current translation and update it with your favorite tool. It also allows anyone to download the most current version of any translated file.

Downloaded files can be manually installed to your Joomla site. Please read Where is the language file? for more information.

Having your language in Transifex is the only way to get it into Kunena distribution. For information how to use transifex read the wiki article about Transifex.

There are some bugs in Transifex Joomla support, so please check these:

  • NEVER use double quotes (") in your translation; use single quotes instead (also in HTML tags)
  • If you edit files by hand, make sure that it uses Unix encoding (\n), not Windows (\r\n) or Mac (\r) before uploading the files back to Transifex

What is allowed in .ini files

Comments are made by a leading ";"

With a leading "#" the language file won't work in Joomla! 1.7. Please note that all your comments will disappear when file is uploaded to Transifex.

The translated string has to be encosed by double quotes
COM_KUNENA_A_TEMPLATE_MANAGER_COULD_NOT_WRITABLE="Could not make the template parameter file writable"  
Do not split translations into multiple lines (only first line will show up)
COM_KUNENA_A_TEMPLATE_MANAGER_COULD_NOT_WRITABLE="Could not make the  template parameter file writable"  
If you want a new line, write
<br />

for example

COM_KUNENA_A_TEMPLATE_MANAGER_COULD_NOT_WRITABLE="Could not make the <br /> template parameter file writable"
Make your translations to be valid XHTML 1.0
 Not <br>, not <br/> - only <br /> is valid

If unsure, please use the same markup as we do.

Files must be saved in UTF-8
Please do not use Double Quotes (") in your translation, it will break the translation.


Basic Configuration tips

The best change you can make to your Kunena configuration settings is to make no change at all!

 select Components ? Kunena Forum ? Kunena Configuration 


 Basic forum configuration settings

 Use Components ? Kunena Forum ? Forum Administration and select a category to edit:

Forum advanced configuration

  • Locked = no
  • Public Access Level = Everybody
  • Include Child Groups = yes
  • Admin Access Level = Manager
  • Include Child Groups = yes
  • Review posts = no

Moderation of the Forum and Forum moderators

  • Moderated = yes


Kunena templates incorporate module positions within which you can place any Joomla module (e.g. Joomla Google Ads module) but are not limited to modules for advertising purposes. Anything that can be displayed inside a module can be shown inside Kunena through these positions.


 Set up a module in kunena position

The Kunena forum provide to you some specifics positions, to put modules at the place that you want. The Kunena module posistions can be found here : Module_Positions, so to put an third party module to a kunena posistion you need to follow the instructions :

  • In Joomla! backend, select the module in extensions -> Module manager that you want put in kunena position
  • In the position, just enter manually the position desired, like the image describe :
Third party module with a specific kunena position
Third party module with a specific kunena position
  • Now, just hit the save button and check that the module is in the position desired

Kunena Framework is available for any Kunena version later than 2.0. It can be used to access any resource in Kunena and it allows developers to take full advantage from the services that Kunena provides to all 3rd party extensions.

Kunena Framework is always available, because of it has been initialized in System - Kunena plugin. If the plugin has been disabled, it is safe to assume that Kunena hasn't been installed. 

if ( class_exists('KunenaForum') && KunenaForum::isCompatible('2.0') && KunenaForum::enabled() ) {
// 1. Kunena framework exists and has been loaded
// 2. The framework is compatible with your extension
// 3. You are allowed to use the framework (Kunena forum is online)
}

 

When forum is offline, using some parts of the Kunena framework can be dangerous. For example administrator might be installing a new version of Kunena, causing our framework and database to be in undefined state. In the most cases the side effects of unauthorized are white pages, but saving data may sometimes cause data to be corrupted.


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  评论这张
 
阅读(1281)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018