2DARK建站手记

System Power On...

Site space acquiring...found support on cosmostation OK!

Site domain names acquiring... Warning: no free domain names found, we may need to seek for a free subdomain.

Listing Candidates:

  Found subdomain support on www.changeip.com..

  Found subdomain support on cosmostation.lamost.org..

Registering:

  2dark.myz.info... OK!

  2dark.lamost.org... OK!

Seeking for commercial domain name support:

  Found available domain name: 2dark.org!

  Registering domain name: 2dark.org! Warning: money needed for a registration!

  System pause...

  Paying the bill... 2dark.org registered successfully!

Starting Installation of 2Dark..

Creating configuration files...OK!

Configuration files created for

  Astronomy Baseline

  Astronomical Software Club

  Kambrian's Blog

  Bilinxing's Blog

Starting multisite installation...

  site ASB successfully installed..

  site ASC successfully installed..

  site Kam successfully installed..

  site Blx suceessfully installed..

Congratulations! Our sites are successfully installed on 2dark.org ! Now restarting for a few steps of configuration....

Starting Post-installation configuration:

Step 1>> Creating root account...OK!

Step 2>> Please provide the basic information for each site... ASB:.. OK! ASC:.. OK! Kam:.. OK! Blx:.. OK!

Step 3>> Configuring users: Creating user roles... OK! Assigning permissions...OK!

Step 4>> For additional functionality, please customize modules for our sites... Choosing our modules...OK! Configuring privileges on modules...OK!

Step 5>> User Interface customization... Installing Chinese Language support...OK! Translation completeness 100%! Customizing User profile fields... Finished for site ASC! Now exporting to the other sites...OK! Enabling user avatars for ASC....

  Error! Path not found or we do not have permissions on the folder! >>on configuring user pictures path for ASC Retry...Failed! Retry...Failed! User avatars cann't be enabled on site ASC,we may not be able to use user avatars on ASC!Please contact ourselves for later resolutoin!

Enabling user avatars for ASB....OK! Enabling user avatars for Kam....OK! Enabling user avatars for Blx....OK! Enabling user avatars for ASC.... ..... ..... ..... Failed! Angered! Checking Mysql database for ASC avatar path.............Cons! Found Table for path! Emptying the Table...OK! Enabling user avatars for ASC.... Still Failed! Expiring the Table!...OK! Enabling user avatars for ASC...OK!!!!!!

Installing extra themes....OK! Finished!

Now 2dar.org is successfully installed for use! We can post news and pages and have our discussions going now!

评论

ASC中程序代码语法高亮显示功能

  • 要插入程序代码,可以选择在html模式下在代码段的前后添加<div id="codebox"></div>标签。

  • 此外作者还可以选择使用高亮语法的代码显示,此时使用[ code language="..."][ /code]标签。并且代码的换行要在html模式下进行。默认的高亮语法为fortran。

    比如如下代码

    [ code language="matlab"]

    for i=1:3

    x(i)=i

    end

    [ /code]

    显示效果为

    for i=1:3
    x(i)=i
    end
  • 你也可以使用[ mcode][ /mcode]来代替上面的[ code language="matlab"][ /code]。其它可用的code标签包括[ cppcode] [ forcode] [ bashcode] [ doscode] [ texcode],其意自明。

  • 注意:TinyMCE编辑界面下提交含代码的页面时,代码中的">"、"<"符号会被错误的转换为“&gt”之类的html代码,所以提交或编辑含有这些符号的代码页面时请确保在html模式下进行。
  • 当前语法高亮尚未在ASB开通。
  • 更多信息参见这里: http://asc.2dark.org/filter/tips