【转】CMS3

来源:互联网 发布:windows部署git服务器 编辑:程序博客网 时间:2024/05/18 10:11
SWCMS - Social Web CMS

What is SWCMS?

Social Web CMS (SWCMS) is a mature, full-featured, and open source social news application written in PHP and utilizing a MySQL backend. From the web newbie looking for a simple way to enter the playing field to advanced developers hoping to drive social news to the next level, SWCMS is your best source for full, free, and actively developed social news applications.

What is Social News?
Social News refers to a concept pioneered by web 2.0 companies like Digg and Reddit. In this model the front-page news is determined not by a small group of editors but rather by the viewer community. This helps ensure that the topics covered are diverse - featuring multiple viewpoints rather than a select group's editorial bias. Social News also helps ensure that the news is always the latest and freshest. Drawing on the full resources of the internet community social news can far surpass any one company's ability to review and prioritize important news items as they happen.

Social Web CMS Features

  • SOCIAL CONTENT:
    • User Submitted Articles.
    • Vote/Bury Articles.
    • Threaded Comments.
    • Comment Rating.
    • Live AJAX Activity Page.
  • CUSTOMIZABLE CONTENT:
    • Sort Submitted Content For Easy Discovery.
    • Automatic RSS Feed Creation for Site Sections and Categories.
    • Automatic RSS Feeds for Each User.
  • SOCIAL NETWORKING:
    • Member Profiles.
    • Private Messaging.
  • SECURITY:
    • Anti Spam Features Built-In.
    • URL Blocklist.
  • ADVANCED ADMINISTRATION:
    • Administrator's Control Panel.
    • RSS Content Importer.
  • CUSTOMIZATION:
    • Smarty Template Engine.
    • Search Engine Friendly.
    • Multi Language Support.
  • EXTENSIBLE:
    • Addon Module Support.

System Requirements?
SWCMS can be run with minimal development knowledge. Almost any webhost will be able to handle SWCMS without issues (we recommend Bluehost). For those interested in the technical requirements, SWCMS requires:

  • PHP 4.3.0 or Higher.
  • MySQL Server.


Why SWCMS?
SWCMS is a fork of the popular Pligg project, carried on the shoulders of several core team and community members from Pligg. SWCMS hopes to act as a unique catalyst for future social news code development as well as encouraging economic competition in the social news network - previously largely dominated by Pligg alone.

Posted on March 26, 2009 3:32 AM | Permalink | Comments (0) | TrackBacks (0)

Joomla video tutorial

 

Joomla视频教程Logo Editing

A video tutorial detailing the steps to editing logos common in most RocketTheme Joomla templates using Adobe Fireworks and the included Source PNG files for the template. Launch Video

 

Joomla视频教程Global Check-In

A video tutorial detailing the steps to using the global check in functionality in the Joomla administrator to allow you to globally check in content items that have been checked out. Launch Video

 

Joomla视频教程Editing Language Files

A video tutorial detailing the steps to editing the language files in Joomla allowing you to properly manage and configure your site languages. Launch Video


 

Joomla视频教程Mass Mail Component

A video tutorial detailing the steps to using and configuring the Mass Mail component in Joomla allowing you to properly manage and configure your site mail. Launch Video


 

Joomla视频教程Managing Templates

A video tutorial detailing the steps to managing your Joomla templates in the Joomla administrator allowing you to change and edit your available templates. Launch Video

Continue reading "Joomla video tutorial"
Posted on March 24, 2009 8:00 PM | Permalink | Comments (0) | TrackBacks (0)

Pligg CMS 1.0.0 RC3

The final version of the release candidate line for Pligg, Pligg 1.0.0 RC3, is available for download now. This version introduces a new admin category page (seen below) and a number of bug fixes including better support for Search Engine Optimized (SEO) URLs and foreign languages.

category_manager-400x293.png
Another cause for celebration is that this week the Pligg Forums reached the 40,000 member mark.
Posted on March 24, 2009 3:48 PM | Permalink | Comments (0) | TrackBacks (0)

怎样修改Pligg网站模板
下载地址:http://forums.pligg.com/attachments/current-version/1798d1235056707-pligg-1-0-0-rc2-pligg-cms-1.0.0-rc2.zip

Pligg简介:

Pligg是一款国外流行的仿Diggdigg.com)建站程序,用PHP语言编写,下载之前须在Pligg网站注册。

修改Pligg模板中的网站名称:

  • 方法1:进入控制面板Admin Panel ----> Modify Language ----> 修改PLIGG_Visual_Name
  • 方法2:直接修改根目录下的languages/lang_english.conf文件中的PLIGG_Visual_Name = "Pligg Beta 9",把红色部分改为你自己网站的名称即可。

修改Pligg网站右边栏:

  • 进入控制面板Admin Panel ----> Template Editor ----> 修改/templates/yget/sidebar.tpl----> 修改相应部分的代码
  • 比如:如果不显示评论,则可删除以下代码:{assign var=sidebar_module value="sidebar_comments"}{include file=$the_template_sidebar_modules."/wrapper.tpl"},其它代码与此相似,通常红色部分表示这一部分代码的类别,如:今日之最、最新发布的资讯、分类、评论、标签等。

修改Pligg网站右边栏顶部的网站说明:

  • 进入控制面板Admin Panel ----> Template Editor ----> 修改/templates/yget/sidebar.tpl
  • 修改<div class="featurebox"> 与 </div>之间的代码,可直接输入文字。

不让文章查看页面显示评论:

  • 进入控制面板Admin Panel ----> Template Editor ----> 修改/templates/yget/story_center.tpl
  • 删除代码:<span class="selected"><a href="#" rel="comments">{#PLIGG_Visual_Story_Comments#}</a></span>
  • 修改下一行代码的开头,增加class属性: <span class="selected">
  • 删除以下用于显示评论的代码:
  • <div id="comments" style="display:none">
        <h2>{#PLIGG_Visual_Story_Comments#}</h2>

        {$the_comments}

        {if $user_authenticated neq ""}
            {include file=$the_template."/comment_form.tpl"}
        {else}
            <br/>
            <div align="center" style="clear:both;margin-left:auto;font-weight:bold;margin-right:auto;border-color:#ccc; border-style:solid; border-width:1px;width:400px;text-align:center; padding-bottom: 8px;">
                <a href="{$login_url}">{#PLIGG_Visual_Story_LoginToComment#}</a> {#PLIGG_Visual_Story_Register#} <a href="{$register_url}">{#PLIGG_Visual_Story_RegisterHere#}</a>.
            </div>
        {/if}
    </div>

如何在Pligg网站顶部放置广告:

  • 进入控制面板Admin Panel ----> Template Editor ----> 修改/templates/yget/header.tpl
  • 找到代码<ul class="search2″> ......... </ul>(这段代码是右上角的搜索框)<div id="headbar" style="padding-bottom:2px;">。
  • 在<div id="headbar" style="padding-bottom:2px;">之前放入广告代码,则广告将显示在搜索框的左侧。
  • story_center.tpl

如何在Pligg网站文章查看页面的文章内容上面放置广告:

  • 进入控制面板Admin Panel ----> Template Editor ----> 修改/templates/yget/story_center.tpl
  • 找到代码{$the_story}。
  • 在{$the_story}前面放置广告代码。

如何在Pligg网站投放广告:

  1. 直接进入控制面板Admin Panel ----> Template Editor ----> 修改相应的模板文件。
  2. 将广告代码直接放在模板文件中。
  3. 或利用模板文件,现将广告代码保存为一个模板文件,再在相应模板文件中放入下列代码:{include file="模板文件名.tpl"}。

安装完Pligg建站程序后需要改动而常被忽视的几点:

  • 修改搜索默认参数:进入控制面板 Admin Panel ----> Template Editor ----> 修改/templates/yget/header.tpl,找到代码行# <input type="hidden" name="client" value="pub-7688534628068296″></input>,将其中pub号改为自己的Google AdSense发布商号码。

备注:上述修改只有在控制面板Admin Panel ----> Configure Exuggs ---->Searching的属性value值等于4时才起作用,即:只有当系统默认搜索模式采用Google搜索模式时才有效,搜索结果页面显示 Google广告,点击后会产生收入。

  • 修改meta参数:在模板文件/templates/meta.tpl中找到以下语句,并修改其content内容中属于非变量的Pligg文字:

<meta name="description" content="Pligg Content Management System" />
<meta name="keywords" content="{$meta_keywords}, Pligg Content Management System" />
<meta name="keywords" content="Pligg Content Management System" />

如何使用Google Adsense Revenue Sharing模块:

  1. 直接进入控制面板Admin Panel ----> Module Management ----> 安装Google Adsense Revenue Sharing模块即可。
  2. 将/modules/share_revenue/plugins/function.adsense.php复制到/plugins目录中,否则无法使用该模块。
  3. 修改/modules/share_revenue/templates/show_ads.tpl文件,找到pub-1628281707918473,将pub号改为自己的,否则系统默认显示的将是别人的Google AdSense广告。
Posted on March 21, 2009 1:41 PM | Permalink | Comments (0) | TrackBacks (0)

Movable Type 4.25 Now Available
After months of feedback, testing and improvements from our community, Motion for Movable Type is now available. Motion is an exciting new social application that is going to give marketers the ability to control their message across all the different social networks on the web.

First discussed the ideas behind Motion back in December, introduced the Laws of Motion a few days later, and talked about how a brand like Skittles could have improved its web marketing efforts by using Motion.

To understand what Motion's all about, take 3 quick minutes to check out the introductory video we've put together:

Of course, the best way to understand Motion is to see it in action. Check it out on BikeHugger (click on "Latest Activity" to see what they're doing with Action Streams), or see how it powers a microblogging community on Real Estate Channel. Once you've seen what Motion can do, sign up for a free demo and we'll tell you exactly how to get your company in Motion.
Posted on March 18, 2009 2:09 PM | Permalink | Comments (0) | TrackBacks (0)

Pligg CMS 1.0 RC2 Released
What's New?
There have been several updates since the RC1 release from a week ago, including better support for UTF language characters, a few new modules, and many smaller bug fixes. This latest version also provides a more stable upgrade process for sites wanting to test upgrades from Beta 9.9.5 databases. Pligg 1.0.0 RC2 offers many bug fixes that were discovered from the Pligg 1.0.0 RC1 release, and the upgrade is as simple as overwriting the RC1 files and running the /install/upgrade.php script. Read more about Pligg and download it from Pligg.com.

Pligg Pro Shop Coupon

To thank everyone for their continued support we are offering a temporary coupon code for the Pligg Pro Shop. The Pligg Pro store is the best source for premium add-ons for Pligg, including modules and templates. The Pligg Pro Shop now accepts both Paypal and Amazon Payments and an easier checkout process. Check out the new modules developed specifically for Pligg 1.0 sites. Use the coupon code PLIGGRC2 to receive 10% off your orders. This coupon will expire when we release Pligg 1.0 final so act soon!

Freelance Pligg Jobs
Are you a freelancer interested in providing services for Pligg users? Search for or Post new Job Opportunities on the Pligg Job Board. The job board is a great place to find work and place ads for work that you need done for your Pligg site. Best of all, posting job opportunities costs nothing. It's a a free service provided by Pligg.com to connect developers and designers with job providers. And since Pligg 1.0 is about to come out you can expect a large number of new jobs to be posted soon.

Advertising Opportunities
Want to advertise on Pligg.com? Whether you run a Pligg site or not, there's an advertisement solution for you. Pligg site owners can advertise their site on Pligg.com by purchasing the GIANT spot where a screenshot of your site will be used to demonstrate how Pligg is being used on your site. Because this is a mutually beneficial advertisement we are offering a fantastic price of $120/month to advertise your site here. Contact us for more details and see the Advertisement page on pligg.com.

If you aren't a Pligg site you can purchase a banner that appears across the pligg.com domain (besides the forum) by purchasing an ad through the Pligg BuySellAds page.

Sponsors and Partnerships
Pligg is looking for Sponsors such as web hosts, domain registrars and other internet related companies to show their support for the project by donating products and services to be awarded as prizes for future competitions on Pligg.com. If you represent a company who wants to become a sponsor for a future event, please contact us back by replying to this email to let us know what resources you have at your disposal. We're hoping for anything as simple as a free domain registration, special coupon codes for Pligg web hosting, and donation prize money for special Pligg events.

Partnership opportunities are also available for companies who are wanting to provide Pligg web hosting packages. The popular web host Dreamhost is already offering a one-click Pligg install and discounts for Pligg users, and we would love to see more of that. If your web hosting company doesn't currently provide a simple Pligg installation process, urge them to consider adding it. If you represent a web host capable of making this happen please contact us and we would be happy to help you make it happen.
Posted on February 20, 2009 2:43 PM | Permalink | Comments (0) | TrackBacks (0)

Drupal case studies

Drupal meets the needs of different types of web sites from community to news portals, from corporate sites to educational institutions, from media sites to international sites. Here are some case studies that showcase some of the ways Drupal has been applied:

Community Portal Sites If you want a news web site where the stories are provided by the audience, Drupal suits your needs well. Incoming stories are automatically voted upon by the audience and the best stories bubble up to the home page. Bad stories and comments are automatically hidden after enough negative votes. Examples: Fast Company | Team Sugar | Kerneltrap

News Publishing Drupal is great for newspapers and other news organizations. Examples: New York Observer (implementation info here) | Savannah Now | NowPublic | Popular Science

Aficionado Sites Drupal flourishes when it powers a portal web site where one person shares their expertise and enthusiasm for a topic. Examples: ia/ | Dirtbike

Intranet/Corporate Web Sites Companies maintain their internal and external web sites in Drupal. Drupal works well for these uses because of its flexible permissions system, and its easy web based publishing. No longer do you have to wait for a webmaster to get the word out about your latest project. Examples: AOL Corporate | Yahoo! Research

Resource Directories If you want a central directory for a given topic, Drupal suits your needs well. Users can register and suggest new resources while editors can screen their submissions. Example:Entomology Index

International Sites When you begin using Drupal, you join a large international community of users and developers. Thanks to the localization features within Drupal, there are many Drupal sites implemented in a wide range of languages. Examples: PuntBarra | cialog

Education Drupal can be used for creating dynamic learning communities to supplement the face-to-face classroom or as a platform for distance education classes. Academic professional organizations benefit from its interactive features and the ability to provide public content, member-only resources, and member subscription management. Examples: WPA | Amherst College | e-Learning Institute

Art, Music, Multimedia When it comes to community art sites, Drupal is a great match. No other platform provides the rock solid foundation that is needed to make multimedia rich websites that allow users to share, distribute, rate, and discuss their work with others of similar interest. As time goes on, Drupal will only develop stronger support for audio, video, images, and playlist content for use in multimedia applications. Examples: MTV United Kingdom | Sony Music | Terminus1525 | Project Opus | Warner Brothers records | Ads of the World | Vocalo.org

Social networking sites Drupal has many of common features used in social networking sites. You can build a collection of social networking applications around for your site or use Drupal as a white label social networking service. Examples: imbee | GoingOn | Jewcy | DrupalSN

Posted on December 29, 2008 1:28 PM | Permalink | Comments (0) | TrackBacks (0)

Movable Type 4.23
Today MovableType announce the release of Movable Type 4.23. This mandatory security release is recommended for all users (see update advisor below), and fixes a number of bugs in 4.21. Review the change log for full details on all changes in this new version.

Movable Type Update Advisor: Version 4.23

    * Release Type: Security Release. This update fixes a potential vulnerability which has not yet been exploited in the wild.
    * Mandatory? Yes, this is a mandatory security upgrade.
    * Performance Implications: None.
    * Plugins Affected: None. Your current plugins should continue to work as expected.
    * Templates Affected: An update to the profile view template is required for those customers who use the community template sets and user profile feature.
    * System Requirements: This release has no new or additional system requirements.
    * Licensing considerations: None. MT 4.23 is a free update for users of any version of MT 4.x.
    * Upgrade Fatigue: No further mandatory updates are planned for Movable Type in 2008.

Downloads are available in your account for current customers or through the download page.
Posted on December 3, 2008 11:19 PM | Permalink | Comments (0) | TrackBacks (0)

Drupal Theme --- 按照内容类型设计页面布局

这篇文章介绍如果根据不同的内容类型(content types)进行页面布局(full page layout)。比如说你想让你的blogbooks拥有不同的外观。

步骤:
作为一个示例,下面一步一步演示一下如何为网站的blogs,books和首页(front page)拥有不同的页面布局。

首先:

1. 复制page.tpl.php文件一份副本,将它重命名为page-default.tpl.php
2.
再做几次相同的工作,分别将其命名为"page-front.tpl.php", "page-blog.tpl.php" "page-book.tpl.php" 等等
3.
使用编辑器,修改每一个tpl.php文件,按照你的要求进行修改页面布局
4.
将修改后的tpl-type.php文件(page-front.tpl.php , page-blog.tpl.php 等等)上传到你正在使用的themem目录下

然后:

1. 用下面这段代码替换page.tpl.php中的内容
2.
确保theme内有page-default.tpl.php文件
3.
上传page.tpl.php文件到你现在正在使用的theme目录内,新的页面而已就会自动生效了

Evance:

1. 下面的代码片断可以按照新增加/删减的内容类型进行添加/删除。
2. page-default.tpl.php
文件将会是未指定特定内容类型的布局文件所默认的布局,比如说,按照前期设计要求完成了theme设计。后来可 能根据新的需求又增加了新的内容类型,那么它将会使用page-default.tpl.php的布局进行页面组织。

<?php
/**
* This snippet loads up different page-type.tpl.php layout
* files automatically. For use in a page.tpl.php file.
*
* This works with Drupal 4.5, Drupal 4.6 and Drupal 4.7
*/

if ($is_front) {/* check if it's the front page */
    include 'page-front.tpl.php'; /*load a custom front-page.tpl.php */
    return; }

if ($node->type == 'book') {/* check if it's a book page */
    include 'page-book.tpl.php'; /*load a page-book.tpl.php */
    return; }

if ($node->type == 'blog') {/* check if it's a blog node */
    include 'page-blog.tpl.php'; /*load page-blog.tpl.php */
    return; }

if ($node->type == 'image') {/* check if it's an image node */
    include 'page-image.tpl.php'; /*load page-image.tpl.php */
    return; }

if ($node->type == 'forum') {/* check if it's a forum node */
    include 'page-forum.tpl.php'; /*load page-forum.tpl.php */
    return; }

include 'page-default.tpl.php'; /*if none of the above applies, load the page-default.tpl.php */
    return;
?>

源文:

description

This explains how to customise the entire page layout depending on the node type. An example application is if you wanted your entire blog pages to look different to your book pages.
usage

As an illustrative example, the following step-by-step approach shows you how to setup different (full) page layouts for your blogs, books and the front page to your site.
Step 1 of 2

1. make a copy of your page.tpl.php file and rename it to be page-default.tpl.php.
2. make further copies your page.tpl.php file it and rename them to be page-front.tpl.php, page-blog.tpl.php and page-book.tpl.php etcetera..
3. using a text editor like notepad.exe or equivalent, modify the layout of each tpl.php file to suit your desires
4. upload your new page-type.tpl.php layout files to your active theme folder

Step 2 of 2

1. Using a text editor like notepad.exe or equivalent, replace the contents of your page.tpl.php file with the snippet below
2. Ensure that you have a page-default.tpl.php file as part of your collection of layouts.
3. Upload your new page.tpl.php file to your active theme folder and your new layouts will take effect automaticall

Posted on December 1, 2008 10:02 PM | Permalink | Comments (0) | TrackBacks (0)

Drupal模块功能

Drupal 的模块化设计使得整个系统的功能扩展更灵活更规范,安装使用也很方便,只要将相应文件复制到modules目录下,就可以在'管理-设置'里面方便地开启使用了。除了drupal自带的标准模块外,还有很多用户使用过程中根据自己需要开发的扩展模块,这些模块的基本信息都可以在这里找到。但是对于新用户来说,随之出现的一个问题就是,drupal.org只是提供了按字母顺序的列表,缺乏对这些模块的概括分类,经常把模块清单过了好几遍还找不到自己想要的信息。另外这些扩展模块的功能介绍通常比较简单,而且大多数没有截屏或demo站点,如果不是很熟悉作者的语境,经常会让人摸不着头脑,搞不清楚每个模块到底能实现什么功能。对不熟悉英文的新手更是麻烦,经常不得不下载后在本地试装才发现根本不是自己想要的。

基于以上原因,本文试图将drupal模块按不同功能分成几大类,希望能够帮助大家对功能近似的模块有一个总体概念,并快速地检索到自己需要的模块。需要说明的是本文的目的不是详细介绍各个模块的设置和使用方法,所以没有原样照翻模块的文档说明,而是按自己的理解尽量简洁准确的概括出该模块的功能。俗话说'百闻不如一见',有的模块作者也给出了截屏图片或实例链接,作为补充手段,本文在保留这些链接的同时,将尽量在本站给出图片或例子,以避免国内用户不能访问的问题。

本文还在不断地润色修改补充中,但由于时间以及个人水平所限,很多说明只是根据原文加上自己理解翻译而来,可能还不太通顺或者根本是错误的,还希望高手不吝赐教。关于具体模块的补充说明,请加评论在相关页面。对本文的一般性建议以及问题讨论可到论坛提出。

原创粉丝点击