Je vous présente la nouvelle version du forum BulletShare Board Engine v 3.2! Dans cette version, des bugs ont été trouvés et de nouvelles fonctionnalité ont ajoutées. De plus un nouveau templates à été fait pour cette version.
Ce qui a été fait:
Corrections de bugs.
Ajout d'un nouveau type de SEO ou vos liens peuvent finir par .html
Correction des sondages.
Corrections de bugs dans le fichiers XML
Nouveau design pour les sondages
etc etc
Cela fait partie des changements. Cette liste n'inclut pas les modifications mineures et des changements dans le script.
Le forum en images
Installation du forum:
1- Envoyez tous le contenu de l'archive via votre FTP
2- Alles dans Administration/Utilitaires/Gestion des plugins et importer le fichier xml
3- Affichage des derniers messages du forum sur l'accueil de votre site! Ouvrez main.tpl et cherchez
{content}
[available=main]
{forum}
[/available]
<li>Sujets sur le forum: <b>{forum_topics}</b></li>
<li>Messages sur le forum: <b>{forum_post}</b></li>
<li>Voir les messages: <b>{forum_post_link}</b></li>
<li><div class="ui-c1 grey">Sujets sur le forum</div> <div class="ui-c2">{forum_topics}</div></li>
<li><div class="ui-c1 grey">Messages sur le forum</div> <div class="ui-c2">{forum_post}</div></li>
<li><div class="ui-c1 grey">Liens Forum</div> <div class="ui-c2">{forum_post_link}</div></li>
<a href="/?do=forum&act=discuss&nid={news-id}">En discuter sur le forum</a>
DirectoryIndex index.php
DirectoryIndex index.php index.php?do=forum
RewriteEngine On
#Dle Forum
RewriteRule ^forum(/?)+$ index.php?do=forum [L]
##type=1
RewriteRule ^forum/forum_([0-9]+)(/?)+$ index.php?do=forum&showforum=$1 [L]
RewriteRule ^forum/forum_([0-9]+)/([0-9]+)(/?)+$ index.php?do=forum&showforum=$1&cstart=$2 [L]
RewriteRule ^forum/topic_([0-9]+)(/?)+$ index.php?do=forum&showtopic=$1 [L]
RewriteRule ^forum/topic_([0-9]+)/last(/?)+$ index.php?do=forum&showtopic=$1&lastpost=1#post-$2 [L]
RewriteRule ^forum/topic_([0-9]+)/lastpost(/?)+$ index.php?do=forum&showtopic=$1&cstart=$2#post-$3 [L]
RewriteRule ^forum/topic_([0-9]+)/([0-9]+)(/?)+$ index.php?do=forum&showtopic=$1&cstart=$2 [L]
RewriteRule ^forum/topic_([0-9]+)/reply(/?)+$ index.php?do=forum&act=_topic&code=reply&tid=$1 [L]
RewriteRule ^forum/forum_([0-9]+)/add(/?)+$ index.php?do=forum&act=add_topic&forum_id=$1 [L]
RewriteRule ^forum/getforum_([^/]+)(/?)+$ index.php?do=forum&"&act=getforum&code=user&n=$1 [L]
RewriteRule ^forum/search(/?)+$ index.php?do=forum&act=search [L]
RewriteRule ^forum/search/([0-9]+)-([^/]+)/([0-9]+)(/?)+$ index.php?do=forum&act=search&count_all=$1&search_text=$2&cstart=$3 [L]
RewriteRule ^forum/subscription(/?)+$ index.php?do=forum&act=subscription [L]
RewriteRule ^forum/getnew(/?)+$ index.php?do=forum&act=getnew [L]
RewriteRule ^forum/getnew/([0-9]+)(/?)+$ index.php?do=forum&act=getnew&cstart=$1 [L]
RewriteRule ^forum/warn/([^/]*)(/?)+$ index.php?do=forum&act=warn&user=$1 [L]
RewriteRule ^forum/warn/([^/]*)/([0-9]+)(/?)+$ index.php?do=forum&act=warn&user=$1&cstart=$2 [L]
RewriteRule ^forum/reputation/([^/]*)(/?)+$ index.php?do=forum&act=reputation&user=$1 [L]
RewriteRule ^forum/reputation/([^/]*)/([0-9]+)(/?)+$ index.php?do=forum&act=reputation&user=$1&cstart=$2 [L]
RewriteRule ^forum/textversion.html$ index.php?do=forum&act=textversion [L]
RewriteRule ^forum/whoonline(/?)+$ index.php?do=forum&act=whoonline [L]
RewriteRule ^forum/faq(/?)+$ index.php?do=forum&act=faq [L]
RewriteRule ^forum/getforum_([0-9]+)(/?)+$ index.php?do=forum&act=getforum&code=user&n=$1 [L]
RewriteRule ^forum/user/post_([0-9]+)(/?)+$ index.php?do=forum&act=posts&user=$1 [L]
RewriteRule ^forum/members(/?)+$ index.php?do=forum&act=members [L]
RewriteRule ^forum/members/([0-9]+)(/?)+$ index.php?do=forum&act=members&cstart=$1 [L]
RewriteRule ^forum/friends(/?)+$ index.php?do=forum&act=friends [L]
RewriteRule ^forum/friends/check(/?)+$ index.php?do=forum&act=friends&doaction=check [L]
RewriteRule ^forum/friends/add(/?)+$ index.php?do=forum&act=friends&doaction=add_friend [L]
RewriteRule ^forum/rss/forum_([1-9][0-9]*).xml$ index.php?do=forum&act=rss&fid=$1 [L]
RewriteRule ^forum/user/([^/]*)/posts(/?)+$ index.php?do=forum&act=user_posts&name=$1 [L]
RewriteRule ^forum/user/([^/]*)/posts/page([0-9]+)(/?)+$ index.php?do=forum&act=user_posts&name=$1&cstart=$2 [L]
##type=2
RewriteRule ^forum/forum_([0-9]+)/add.html$ index.php?do=forum&act=add_topic&forum_id=$1 [L]
RewriteRule ^forum/thanks_([0-9]+)/lastpost([0-9]+).html$ index.php?do=forum&showtopic=$1 [L]
RewriteRule ^forum/topic_([0-9]+)/([^/]*).html$ index.php?do=forum&showtopic=$1 [L]
RewriteRule ^forum/showforum_([0-9]+).html$ index.php?do=forum&showforum=$1 [L]
RewriteRule ^forum/topic_([0-9]+)/([^/]*)/lastpost.html$ index.php?do=forum&showtopic=$1&lastpost=$2#post-$3 [L]
RewriteRule ^forum/topic_([0-9]+)/([^/]*)/page([0-9]+)/([0-9]+).html$ index.php?do=forum&showtopic=$1&cstart=$2 [L]
RewriteRule ^forum/topic_([0-9]+)/([^/]*)/page([0-9]+).html$ index.php?do=forum&showtopic=$1&cstart=$2 [L]
RewriteRule ^forum/topic_([0-9]+)/([^/]*)/last_topic.html$ index.php?do=forum&showtopic=$1&lastpost=1#post-$2 [L]
RewriteRule ^forum/topic_([0-9]+)/([^/]*).html$ index.php?do=forum&showtopic=$1&cstart=$2#post-$3 [L]
RewriteRule ^forum/topic_([0-9]+)/([^/]*)/reply.html$ index.php?do=forum&act=_topic&code=reply&tid=$1 [L]
RewriteRule ^forum/getforum_([^/]+).html$ index.php?do=forum&"&act=getforum&code=user&n=$1 [L]
RewriteRule ^forum/search.html$ index.php?do=forum&act=search [L]
RewriteRule ^forum/searchtopic_([0-9]+)/([^/]*)/([0-9]+).html$ index.php?do=forum&showtopic=$1&cstart=$2 [L]
RewriteRule ^forum/getnew.html$ index.php?do=forum&act=getnew [L]
RewriteRule ^forum/subscription.html$ index.php?do=forum&act=subscription [L]
RewriteRule ^forum/faq.html$ index.php?do=forum&act=faq [L]
RewriteRule ^forum/members.html$ index.php?do=forum&act=members [L]
RewriteRule ^forum/friends.html$ index.php?do=forum&act=friends [L]
RewriteRule ^forum/friends/check.html$ index.php?do=forum&act=friends&doaction=check [L]
RewriteRule ^forum/friends/add.html$ index.php?do=forum&act=friends&doaction=add_friend [L]
RewriteRule ^forum/user/([^/]*)/posts.html$ index.php?do=forum&act=user_posts&name=$1 [L]
RewriteRule ^forum/last_posts/([^/]*)/user.html$ index.php?do=forumact=last_posts&name=$1 [L]
RewriteRule ^forum/whoonline.html$ index.php?do=forum&act=whoonline [L]
if ( $dle_module == "forum" ) {
require_once ROOT_DIR.'/engine/forum/sources/modules/login.php';
$tpl->load_template ( 'forum/index.tpl' );
$tpl->set('{login-member}', $tpl->result['login-forum']);
if ($setting['mod_rewrite'])
{
if( $setting['seo_type'] == 1 OR $setting['seo_type'] == 2 ) {
if( $setting['seo_type'] == 2 ) {
$tpl->set( '{members-link}', $config['http_home_url']."forum/members.html" );
} else {
$tpl->set( '{members-link}', $config['http_home_url']."forum/members/" );
}
}
}
else
{
$tpl->set( '{members-link}',$config['http_home_url']."index.php?do=forum&act=members" );
}
$tpl->set( '{admin-forum}', $config['http_home_url']."setting.php?mod=forum" );
$tpl->set( '{site-link}', $config['http_home_url'] );
} else {
$tpl->load_template ( 'main.tpl' );
}