Author Topic: [addon] DREAMBOARD V 2.1  (Read 450424 times)

0 Members and 1 Guest are viewing this topic.

Offline Skaidon

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #390 on: May 10, 2008, 12:56:49 AM »
I really need to get this working on the latest 4images release.  What do I have to do to get this working?

Thanks!

Offline komsho25

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #391 on: May 23, 2008, 12:19:51 AM »
I have a problem with the board...

I followed the installation step by step, and running the install php file, but it does not work correctly.

So when i try to add new category i can't, becouse notthing happen...
i can delete a TEST category, but to add a newone i can't... Please can someone help me ?

Does anyone have the same problem?

Offline komsho25

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #392 on: May 23, 2008, 12:56:19 PM »
can someone help me... please... !?

Offline derzimmerer

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #393 on: May 24, 2008, 04:01:10 PM »
Hallo zusammen,

den Fehler, das User ihre Beiträge nicht ändern können, habe ich so gelöst:

Finde in showthread.php:
Code: [Select]
        } elseif ($sender_name == $repuser) {
und ändere es in
Code: [Select]
        } elseif ($user_info['user_id'] == $repuser_id) {
Bei mir hat es geholfen.

Mfg, Andreas

Offline Sheon

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #394 on: August 23, 2008, 05:06:37 PM »
This is really great mod. Works perfectly for me. Now I translate lang file in to russian. Maybe somebody use this (keep in mind what this is first version  :wink: ):

Code: [Select]
//-----------------------------------------
// DREAMBOARD LANG RUSSIAN V 2.0
//------------------------------------
$lang['no_configboard'] = "<table width=\"100%\" border=\"0\" cellpadding=\"12\" cellspacing=\"12\" bordercolor=\"#333333\"><tr><td bgcolor=\"#666666\"><div align=\"center\"><strong><font color=\"#FF9900\">ОШИБКА: Невозможно загрузить настройки <br> УБЕДИТЕСЬ ЧТО ВЫ УСТАНОВИЛИ ФОРУМ !</font></strong></div></td></tr></table>";
$lang['board_disable'] = "ИЗВИНИТЕ, ФОРУМ ВРЕМЕННО НЕ РАБОТАЕТ ";
$lang['board_badrequest'] = "ОШИБКА ЗАПРОСА ";
$lang['board_no_view'] = "У вас нет доступа, чтобы просмотреть эту страницу";
$lang['board_langinfo'] = "Информация ";
$lang['board_langerror'] = "Ошибка";
$lang['success_proses'] ="Ваш запрос находится в обработке";
$lang['error_proses'] ="Ошибка в обработке вашего запроса";
$lang['board_register'] = "Вы не зашли под своим логином, либо у вас нет доступа для просмотра этой страницы. <br>
Чтобы оставлять сообщения на нашем форуме вам надо либо зайти под своим логином, либо зарегистрироваться, если вы тут впервые. <br><a href=\"{url_register}\">Регистрация</a><br><br><br>";
$lang['delete_post']="Вы удалите эту тему без возможности восстановления!!!! Уверены?";
$lang['boardname_required']="Требуется заполнить имя форума";
$lang['boardcat_required'] ="Требуется заполнить поле Раздела";
$lang['boardcat_empty'] ="У вас нет ни одного раздела";
$lang['boarddesc_required'] ="Требуется ввести описание форума";
$lang['stat_board3']="теме";
$lang['stat_board2']="сообщений, в";
$lang['stat_board1']="Всего у нас на форуме";
$lang['rank_user_newbie']="Новичек";
$lang['rank_user_add']="Бывалый";
$lang['rank_user_member']="Продвинутый";
$lang['rank_user_mod']="Модератор";
$lang['user_signature']="Подпись:";
$lang['last_edit']="Сообщение редактировал ";
$lang['last_edit_at']="в";
$lang['last_edit_count']="всего правок :";
$lang['editboard']="Редактировать";
$lang['deleteboard']="Удалить";
$lang['add_cat']="Добавить категорию";
$lang['add_catname']="Имя категории:";
$lang['lang_add_board']="Добавить раздел";
$lang['lang_b_yes']="Да";
$lang['lang_b_no']="Нет";
$lang['edit_reply']="Редактировать ответ";
$lang['edit_topic']="Редактировать топик";
$lang['unlock_thread']="Разблокировать тему";
$lang['lock_thread']="Закрыть тему";
$lang['lock']="Закрыто";
$lang['delete_thread']="Удалить тему";
$lang['delete_reply']="Удалить ответ";
$lang['forum_name'] = "Имя раздела";
$lang['forum_desc'] = "Описание";
$lang['mod_sttop'] = "Отправлять модератору письмо о темах";
$lang['mod_strep'] = "Отправлять модератору письмо о ответах";
$lang['lang_auth_view'] = "Кто может смотреть раздел";
$lang['lang_auth_topics'] = "Кто может создавать темы";
$lang['lang_auth_reply'] = "Кто может оставлять сообщения";
$lang['forum_selectcat'] = "Выбрать категорию";
$lang['smiles'] = "Смайлы";
$lang['topic'] = "Темы";
$lang['topic_review'] = "Обзор тем";
$lang['authorboard'] = "Автор";
$lang['massage'] = "Сообщение";
$lang['replies'] = "Ответы";
$lang['views'] = "Просмотры";
$lang['sticky'] = "Закреплено";
$lang['announcement'] = "Объявление";
$lang['lang_userposts'] = "Сообщений в разделе :";
$lang['last_post'] = "Последнее сообщение";
$lang['topic_edit'] = "Редактировать тему";
$lang['new_thread'] = "Новая тема";
$lang['reply_quote'] = "Цитировать";
$lang['post_reply'] = "Ответить";
$lang['post_replyquote'] = "Ответить с цитатой";
$lang['new_reply'] = "Новый ответ";
$lang['moderator'] = "Модератор";
$lang['lang_guest'] = "Гость";
$lang['post'] = "Сообщений";
$lang['by'] = "-";
$lang['location'] = "Откуда";
$lang['registered'] = "Регистрация";
$lang['ip_address'] = "Ip адрес";
$lang['button_lastpost'] = "Последнее сообщение";
$lang['no_newpost'] = "Нет новых ответов";
$lang['new_post'] = "Новый ответ";
$lang['post_date'] = "Отправлено";
$lang['lang_canpost'] = " Тут вы можете создавать новые темы";
$lang['lang_canrep'] = "Тут вы можете отвечать в темах";
$lang['lang_canedit'] = "Тут вы можете редактировать свои сообщения";
$lang['lang_candel'] = "Тут вы можете удалять свои сообщения";
$lang['lang_notpost'] = " Тут вы не можете создавать новые темы";
$lang['lang_notrep'] = "Тут вы не можете отвечать в темах";
$lang['lang_notedit'] = "Тут вы не можете редактировать свои сообщения";
$lang['lang_notdel'] = "Тут вы не можете удалять свои сообщения";
$lang['redirect_msg'] = "Сейчас вы будете перенаправлены к своему сообщению";
$lang['redirect_msglink'] = "Щелкните тут если не хотите ждать";
$lang['redirect_delpost'] = "Сообщение удалено";
$lang['redirect_editpost'] = "Сообщение отредактировано";
$lang['redirect_deltopics'] = "Тема удалена из раздела";
$lang['redirect_edittopics'] = "Тема отредактирована";
$lang['redirect_locktopics'] = "Тема была закрыта";
$lang['redirect_unlocktopics'] = "Тема была открыта";
$lang['errorredirect_msg'] = "Запрошенных вами темы или сообщения не существует.";
$lang['no_post'] = "В этом разделе нельзя оставлять ответы";
$lang['no_postfront'] = "Пусто";
$lang['subject_required'] = "Необходимо ввести тему.";
$lang['massage_required'] = "Необходимо оставить сообщение.";
$lang['total_coments_news'] = "Всего комментариев";
$lang['recents_thread'] = "Темы в разделе";
//-----------------------------------------
// DREAMBOARD LANG
//------------------------------------

Note if you want translate all board into your lanquage, you must edit much more files than main.php. Such files like bbcodeboard.html, bbcodeboard.js, boardform_reply.html, showboard.php (and maybe more) has english text too.

Now I'm have few question about DREAMBOARD. I check all this tread but don't find answers.

First - Members can't to edit their own posts. They can edit only if they start thread and only first post. How fix it?
And second - Date showns in forum like - "Sat Aug 23, 2008 6:47 pm" but more nice if it be showns like it - "23.08.2008 18:47" Where I must start to change it?

And little question - I see on 3rd page MOD for Avatar. Where I find this mod and whos author?
OK, this all what I have to say. Sorry for bother. Waiting for answers.  :)

Update: Heh, I find answer on my second question. Forum's Admin panel and settings like m.d.Y & H:i:s solve my problem.  :) But the first and last question still in action.
« Last Edit: August 27, 2008, 08:04:58 AM by Sheon »

Offline FotoRalle

  • Jr. Member
  • **
  • Posts: 57
  • 4images als bestes Community-Script
    • View Profile
    • rs webregie | webdesign & webmaster
Re: [addon] DREAMBOARD V 2.1
« Reply #395 on: November 04, 2008, 10:01:13 AM »
The "Guest"Problem seems to be still there at the moment...

Offline derzimmerer

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #396 on: November 26, 2008, 09:27:35 AM »
Moin zusammen,

es wurde hier nachgefragt, ob man ein Forum nur für eine Benutzergruppe freischalten kann. Ich habe das bei mir so gelöst:

1. Finde in der showboard.php und in der showthread.php

Code: [Select]
//-----------------------------------------------------
//--- CHECK STATUS BOARD --------------------------------
//-----------------------------------------------------

Füge darunter ein:
Quote
if ( $board_id == xx) {
   if ( $usergroups['yy'] != 1 ) {
    $iconmsg="<img src=\"".TEMPLATE_PATH."/board_images/danger.gif\"  border=\"0\"> ";
    $msg = $lang['board_register'];
   $txt_clickstream = "".$lang['board_no_view']."";
    $content ="";
    $redirectpage="<meta http-equiv=refresh content=\"2; url=board.php \">";
header("Location:http://www.deine_homepage.de/board.php");
}}

Ersetze...
xx = Die Board_ID
yy = Die Group_ID
deine_homepage = Hp-url
...mit deinen passenden.

Das geht bestimmt auch noch besser, aber es funktioniert.

Mfg, Andreas

Offline derzimmerer

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #397 on: November 27, 2008, 11:06:57 AM »
Moin zusammen,

ein paar Gedanken, um eine einstellbare Emailbenachrichtigung zu bewerkstelligen...

1. Damit die Einstellung für eine Emailbenachrichtigung in der Datenbank gespeichert werden kann, würde ich in der db_field_definitions.php dieses einsetzen:

Code: [Select]
$additional_user_fields['user_forum_email'] = array($lang['user_forum_email'], "radio", 0);
2. Man erweitert etwas den Code von Eglys Email@reply:

Code: [Select]
//////////////////////////////////////////
 ////////////Eglys Email@reply/////////////
 //////////////////////////////////////////
$sql = "SELECT user_email FROM ".BOARD_TREP_TABLE.", ".USERS_TABLE." WHERE "
.USERS_TABLE.".user_id = ".BOARD_TREP_TABLE.".repuser_id AND
repthrid = '$threadid' AND ".USERS_TABLE.".user_forum_email = 1 group by user_email";

        $result = $site_db->query($sql);
        $row = array();
        while ($row = $site_db->fetch_array($result)) {
$repuser = $row['repuser_id'];
$repmailto = $row['user_email'];
  $from = "xyz@xyz.com";            //insert your email adress here
  $post_url=$script_url."/showthread.php?bid=$bid&threadid=$threadid&page=$getlastpage";
        include_once(ROOT_PATH.'includes/email.php');
        $site_email = new Email();
        $site_email->set_from($from);
        $site_email->set_to($repmailto);
        $site_email->set_subject($subject_form);
        $site_email->register_vars(array(
          "recipient_name" => $board_moderator,
          "forum_name" => $board_name,
          "sender_name" => $username_form,
  "topics_url" => $post_url,
  "topics_content" => $message_form,
  "about" => $lang['new_reply'],
  "board_name" => $boardconfig['board_name']
 
        ));
                $site_email->set_body("board_mailtopics", $config['language_dir']);
                $site_email->send_email();
}
   
$sql= "SELECT user_email FROM ".BOARD_TCONT_TABLE.", ".USERS_TABLE." WHERE "
.USERS_TABLE.".user_id = ".BOARD_TCONT_TABLE.".thrstarter_id AND
thrid = '$threadid' AND ".USERS_TABLE.".user_forum_email = 1 ";

        $result = $site_db->query($sql);
        $row = array();
        while ($row = $site_db->fetch_array($result)) {
$repuser = $row['repuser_id'];
$repmailto = $row['user_email'];
$thrstarter2 =$row['thrstarter_id'];
  if ($thrstarter2 <> $repuser) {

$from = "xyz@xyz.com";            // insert your email adress here
  $post_url=$script_url."/showthread.php?bid=$bid&threadid=$threadid&page=$getlastpage";
        include_once(ROOT_PATH.'includes/email.php');
        $site_email = new Email();
        $site_email->set_from($from);
        $site_email->set_to($repmailto);
        $site_email->set_subject($subject_form);
        $site_email->register_vars(array(
          "recipient_name" => $board_moderator,
          "forum_name" => $board_name,
          "sender_name" => $username_form,
  "topics_url" => $post_url,
  "topics_content" => $message_form,
  "about" => $lang['new_reply'],
  "board_name" => $boardconfig['board_name']
 
        ));
                $site_email->set_body("board_mailtopics", $config['language_dir']);
                $site_email->send_email();
}else {}}

 //////////////////////////////////////////
 //////////End Eglys Email@reply///////////
 //////////////////////////////////////////

3. Im Kontrollzentrum müsste es dann mit zB. einer checkbox einstellbar sein.

Kann man darauf aufbauen?

Mfg, Andreas

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #398 on: December 15, 2008, 09:16:11 PM »
hello,  :?:

i use the dreamboard forum in my 4images-installation - I now want to optimize the forum regarding making it search engine friendly. I mean especially that each topic that is created (e.g. new entry) shall appear in the title and in the metas... how can I realize this?? actually there is in title only the normal title of 4images-board but not dynamic and changing with every topic to specific title..

greetings,
bergblume

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #399 on: December 17, 2008, 07:28:39 PM »
hello,  :?:

i use the dreamboard forum in my 4images-installation - I now want to optimize the forum regarding making it search engine friendly. I mean especially that each topic that is created (e.g. new entry) shall appear in the title and in the metas... how can I realize this?? actually there is in title only the normal title of 4images-board but not dynamic and changing with every topic to specific title..

greetings,
bergblume

is herefore already a solution available?
greetings, bergblume

Offline IWS_steffen

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Kreuzfahrtschiffe gestern und heute
Re: [addon] DREAMBOARD V 2.1
« Reply #400 on: January 05, 2009, 10:14:56 PM »
Hallo,

erstmal dickes Danke an mantra für den [addon] DREAMBOARD V 2.1

Ich habe schon lange nach einen kleinen Forum als Ergänzung zu unser Bildergallery gesucht.

Die Installation war leicht und besonders freue ich mich, dass alle vorhandenen User sofort integriert sind. KLASSE!

unser Kreuzfahrtforum www.kreuzfahrt-seeurlaub.de/maritim/board.php

Grüsse aus Hamburg

Steffen

Offline milance

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #401 on: January 09, 2009, 06:30:28 PM »
and its possible create a search form for forum ? searching in forum  :?: :idea: :cry:

Offline IWS_steffen

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Kreuzfahrtschiffe gestern und heute
Re: [addon] DREAMBOARD V 2.1
« Reply #402 on: January 09, 2009, 06:47:24 PM »
Hi milance,

ok die Suche speziell im Forum wäre noch ein Highlight.

Vieleicht kommt es ja mit der nächsten Version?

Gruß Steffen

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #403 on: January 12, 2009, 10:37:39 PM »
hello,  :?:

i use the dreamboard forum in my 4images-installation - I now want to optimize the forum regarding making it search engine friendly. I mean especially that each topic that is created (e.g. new entry) shall appear in the title and in the metas... how can I realize this?? actually there is in title only the normal title of 4images-board but not dynamic and changing with every topic to specific title..

greetings,
bergblume

hi guys,

ok, Meanwhile I could realize my idea.... if anyone wants to use it here is the code:

Quote

BACKUP YOUR FILES BEFORE YOU TRY IT !!! ---- special thanks to Stoletti for his good work!!!!

show board names + posts names

Showthread/Showboard:

Showboard Find:
Code: [Select]
//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$clickstream = "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator'].$txt_clickstream."</span>";
$site_template->register_vars(array(
 "board" => $boardcontent,
 "dreamboard" => $vocimage,
 "redirect"=>$redirectpage,
 "clickstream" => $clickstream
 
));

Replace:


Code: [Select]
//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$clickstream = "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator'].$txt_clickstream."</span>";
$site_template->register_vars(array(
 "board" => $boardcontent,
 "title" => $board_name,
 "dreamboard" => $vocimage,
 "redirect"=>$redirectpage,
 "clickstream" => $clickstream
 
));


Showthread Find:

Code: [Select]
//------------------------------------------------------------------
//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------

$clickstream = "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator'].$txt_clickstream."</span>";
$site_template->register_vars(array(
  "board" => $boardcontent,
  "dreamboard" => $vocimage,
  "msg" => $msg,
  "redirect"=>$redirectpage,
  "clickstream" => $clickstream
));


Replace:

Code: [Select]
//------------------------------------------------------------------
//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------

$clickstream = "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator'].$txt_clickstream."</span>";
$site_template->register_vars(array(
  "board" => $boardcontent,
  "title" => $thrtopic,
  "dreamboard" => $vocimage,
  "msg" => $msg,
  "redirect"=>$redirectpage,
  "clickstream" => $clickstream
));

in your file header.html (and any other *.html fiel you can now user {title} and modify header as follows:
Code: [Select]
<title>{title}</title>  
<meta name="keywords" content="{title}">
<meta name="description" content="{title}">


Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #404 on: January 12, 2009, 11:01:50 PM »
 :flag-de: ich habe noch eine frage zum forum.... wie kann ich die letzten einträge eines users in seinem profil abbilden?

 :flag-en: I have another question regarding the dreamboard forum ... how can I show in user-profile the last posts of the user? thx. for your help and ideas!
« Last Edit: January 14, 2009, 03:22:39 PM by bergblume »