PHP,ASP,.NET...Programming Languages
[Pinned] Discuz! - a very nice forum script
Crossday Discuz! Board (or simply Discuz!) is an Internet forum developed by Comsenz Technology Ltd.
It is built on the PHP scripting language, supporting MySQL and PostgreSQL database management systems.
Discuz! is free for personal use.

Download: Discuz! 7.0.0 FULL (CN-UTF8)
Website: www.discuz.net
A commercial license costs 3000 renminbi (RMB).
The newest version of Discuz! Board is Discuz! 7.0.
It is now widely used in China and Hong Kong, but has not been very popular in other countries/places due to lack of support for other languages.
The latest English version of 7.0 is developed by 3rd party and preview edition released (e.g: www.discuz4vn.com,www.ndv.vn...).
It is built on the PHP scripting language, supporting MySQL and PostgreSQL database management systems.
Discuz! is free for personal use.

Download: Discuz! 7.0.0 FULL (CN-UTF8)
Website: www.discuz.net
A commercial license costs 3000 renminbi (RMB).
The newest version of Discuz! Board is Discuz! 7.0.
It is now widely used in China and Hong Kong, but has not been very popular in other countries/places due to lack of support for other languages.
The latest English version of 7.0 is developed by 3rd party and preview edition released (e.g: www.discuz4vn.com,www.ndv.vn...).
SimpleViewer is a free, customizable Flash image viewing application.

Script name: Simple Viewer
Copyright: www.airtightinteractive.com
Latest Version: 1.9
Download: Click here
Pro version: Order now (45$)



Script name: Simple Viewer
Copyright: www.airtightinteractive.com
Latest Version: 1.9
Download: Click here
Pro version: Order now (45$)


Myevent -- easy to manage your jobs online.
Script name: myevent
Version: 1.6
Copyright: www.mywebland.com
myEvent, the ever popular calendar based event management system.
Built using PHP & mySQL, web most popular scripting language & database system enable myEvent to be installed in any webservers.

Download: Click here
Script name: myevent
Version: 1.6
Copyright: www.mywebland.com
myEvent, the ever popular calendar based event management system.
Built using PHP & mySQL, web most popular scripting language & database system enable myEvent to be installed in any webservers.

Download: Click here
WordPress is a state-of-the-art publishing platform with a focus on aesthetics, web standards, and usability. WordPress is both free and priceless at the same time.

Official website: www.wordpress.org
Latest Version (2.7.1): http://wordpress.org/latest.zip
Bonus wootheme

Irresistible is a visually-rich personal blog, with a little bit of a multimedia focus. Incorporating some nifty video-options and widgets, Irresistible should meet all of your personal blogging needs. Just add your content to the mix.
Download: http://www.woothemes.com/free-downloads/irresistible.zip

Official website: www.wordpress.org
Latest Version (2.7.1): http://wordpress.org/latest.zip
Bonus wootheme

Irresistible is a visually-rich personal blog, with a little bit of a multimedia focus. Incorporating some nifty video-options and widgets, Irresistible should meet all of your personal blogging needs. Just add your content to the mix.
Download: http://www.woothemes.com/free-downloads/irresistible.zip
[Plugins] FFHCenter
Plugins: firewolf
Discuz! version: 7.0,6.1,6.0.0
Author: 火狼王子(Firewolf Prince)
Mods: N-Top, FMplayer
Folder(s): firewolf/
==============
Screenshot:

Installation:
01. Open: ./templates/default/admincp.lang.php
02. Find :
03. Insert above it:
04. Open: ./admin/menu.inc.php
Plugins: firewolf
Discuz! version: 7.0,6.1,6.0.0
Author: 火狼王子(Firewolf Prince)
Mods: N-Top, FMplayer
Folder(s): firewolf/
==============
Screenshot:
Installation:
01. Open: ./templates/default/admincp.lang.php
02. Find :
'menu_plugins' =>
03. Insert above it:
'menu_firewolf' => 'Firewolf',
04. Open: ./admin/menu.inc.php
Joomla! is a free open source content management system for publishing content on the World Wide Web and intranets as well as a Model–view–controller (MVC) Web Application Development framework.

The system includes features such as page caching to improve performance, RSS feeds, printable versions of pages, news flashes, blogs, polls, website searching, and language internationalization. Joomla is licensed under the GPL, and is the result of a fork of Mambo.

D-L: 1.5.10 Full Package
Bonus: JoomArt - Larix 1.5

The system includes features such as page caching to improve performance, RSS feeds, printable versions of pages, news flashes, blogs, polls, website searching, and language internationalization. Joomla is licensed under the GPL, and is the result of a fork of Mambo.
D-L: 1.5.10 Full Package
Bonus: JoomArt - Larix 1.5
Friendly SEO URL for discuz forums
01. Create a .htaccess file
# Enable RewriteEngine
RewriteEngine On
# forum folder Eg: discuz (must have "/")
RewriteBase /discuz
# Rewrite Rule
RewriteRule ^archiver/((fid|tid)-[\w\-]+\.html)$ archiver/index.php?$1
RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&extra=page\%3D$3&page=$2
RewriteRule ^space-(username|uid)-(.+)\.html$ space.php?$1=$2
RewriteRule ^tag-(.+)\.html$ tag.php?name=$1
02.Customize your url:
Open file: include/global.func.php
Update function output() .
01. Create a .htaccess file
# Enable RewriteEngine
RewriteEngine On
# forum folder Eg: discuz (must have "/")
RewriteBase /discuz
# Rewrite Rule
RewriteRule ^archiver/((fid|tid)-[\w\-]+\.html)$ archiver/index.php?$1
RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&extra=page\%3D$3&page=$2
RewriteRule ^space-(username|uid)-(.+)\.html$ space.php?$1=$2
RewriteRule ^tag-(.+)\.html$ tag.php?name=$1
02.Customize your url:
Open file: include/global.func.php
Update function output() .
Tips:

1.Open file :discuzcode.func.php
Search for:
2. Replace by:
3.Highlight URL:
4.Update function parseurl();
5. Done

1.Open file :discuzcode.func.php
Search for:
$urllink = "<a href=\"".(substr(strtolower($url), 0, 4) == 'www.' ? "http://$url" : $url).'" target="_blank">';
2. Replace by:
$urllink = "<a href=\"".(substr(strtolower($url), 0, 4) == 'www.' ? "http://$url" : $url).'" target="_blank" rel="nofollow">';
3.Highlight URL:
$urllink = "<a href=\"".(substr(strtolower($url), 0, 4) == 'www.' ? "http://$url" : $url).'" target="_blank" style="color: red">';
4.Update function parseurl();
function parseurl($url, $text) { if(!$url && preg_match("/((https?|ftp|gopher|news|telnet|rtsp|mms|callto|bctp|ed2k|thunder|synacast){1}:\/\/|www\.)[^\[\"']+/i", trim($text), $matches)) { $url = $matches[0]; $length = 65; if(strlen($url) > $length) { $text = substr($url, 0, intval($length * 0.5)).' ... '.substr($url, - intval($length * 0.3)); } return '<a href="'.(substr(strtolower($url), 0, 4) == 'www.' ? 'http://'.$url : $url).'" target="_blank" rel="nofollow">'.$text.'</a>'; } else { $url = substr($url, 1); if(substr(strtolower($url), 0, 4) == 'www.') { $url = 'http://'.$url; } return '<a href="'.$url.'" target="_blank" rel="nofollow">'.$text.'</a>'; } }
5. Done
"How do I upload an image to my server?" That's a common question and I have provided many answers before ... but today I wrote a very simple script that shows just the pertinent points of uploading an image.
What do you need to note?
1. The upload directory needs to exist and have appropriate write permissions
2. The form needs an enctype tag
3. You may need to set up the temporary directory if your server is running Windows
Also note that I've simply given each uploaded file a unique name - I haven't in this example provided any way to actually get at the data that's been placed on the server. And I've doing nothing to stop my user from uploading pictures that are too large or inappropriate for my site either. It's just a simple script to show you the principles.
<?php if ($_REQUEST[completed] == 1) { $newname = uniqid("whc").".jpg"; move_uploaded_file($_FILES['mailfile']['tmp_name'], "../robdemo/$newname"); } ?> <html> <head><title>Upload page</title></head> <body><h1>Image Uploader</h1> <?php if ($_REQUEST[completed] != 1) { ?> <b>Please upload an image</b><br> <form enctype=multipart/form-data method=post> <input type=hidden name=MAX_FILE_SIZE value=1500000> <input type=hidden name=completed value=1> Choose file to send: <input type=file name=mailfile> and <input type=submit></form> <?php } else { ?> <b>Yum, Yum. I enjoyed that</b> <?php } ?> <hr> Copyright, etc </body></html>
What do you need to note?
1. The upload directory needs to exist and have appropriate write permissions
2. The form needs an enctype tag
3. You may need to set up the temporary directory if your server is running Windows
Also note that I've simply given each uploaded file a unique name - I haven't in this example provided any way to actually get at the data that's been placed on the server. And I've doing nothing to stop my user from uploading pictures that are too large or inappropriate for my site either. It's just a simple script to show you the principles.
1. Hotlink Protect
.htaccess file:
or
2. Error Pages
3. Timed Webpages
4. Enable Cookies Alert
.htaccess file:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://your-ip.*$ [NC]
RewriteRule .*\.(jpg|gif)$ http://www.yoursite.com/hotlink.jpg [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://your-ip.*$ [NC]
RewriteRule .*\.(jpg|gif)$ http://www.yoursite.com/hotlink.jpg [NC]
or
RewriteRule .*gallery.*\.(jpg|gif)$ http://www.yoursite.com/hotlink.jpg [NC]
2. Error Pages
ErrorDocument 403 /error_forbidden.htm
ErrorDocument 404 /error_notfound.htm
ErrorDocument 404 /error_notfound.htm
3. Timed Webpages
RewriteEngine on RewriteCond %{TIME_HOUR}%{TIME_MIN} >0100 RewriteCond %{TIME_HOUR}%{TIME_MIN} <0400 RewriteRule ^.*$ http://www.yourdomain.com/sleep.htm
4. Enable Cookies Alert

2009/04/15 00:40, 

