Author Topic: [REQ]Dreamboard download  (Read 63738 times)

0 Members and 1 Guest are viewing this topic.

Offline sonyman

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [REQ]Dreamboard download
« Reply #45 on: October 13, 2005, 06:01:31 PM »
board21_install.php hast du aber ausgeführt oder?

genau da häng ich drin. Diese Meldung wirft der mir aus!

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [REQ]Dreamboard download
« Reply #46 on: October 13, 2005, 06:04:10 PM »
Hast Du sie zweimal ausgeführt? Wenn ja dann sind die Tabellen schon angelegt. Läuft das Board den nicht?

Offline sonyman

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [REQ]Dreamboard download
« Reply #47 on: October 13, 2005, 06:07:26 PM »
Die Meldung hab ich schon beim ersten Mal bekommen. Hab die nun manuell angelegt und bin mit der Install eine Seite weitergekommen und hänge nun am selben Problem.

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [REQ]Dreamboard download
« Reply #48 on: October 13, 2005, 06:11:32 PM »
tja das musst Du wohl mit jder Tab machen... Haste doch bestimmt ein Backup von der Datenbank oder?

Wenn ja spiele es ein und führe die install nochmal aus...

Offline sonyman

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [REQ]Dreamboard download
« Reply #49 on: October 13, 2005, 06:16:32 PM »
Also mir scheint als ob die Tab. nicht automatisch anlegt. Woran kann das liegen? Okay, hier will er die totaltopics und die totalposts angelegt haben.

Quote
WELCOME TO DREAMBOARD V.2.1 INSTALLATION


DB Error: Bad SQL Query: INSERT INTO BOARD_STAT_TABLE ( totaltopics, totalposts) VALUES (1, 1)
Table 'usr_webxxx_1.BOARD_STAT_TABLE' doesn't exist
  An error occured while reset statistic tables board>

Aber was will er hier?
Quote
DB Error: Bad SQL Query: INSERT INTO BOARD_TCONT_TABLE VALUES (1, 1, 'everything is OK', 'MANTRADREAM', 1, 1, 'This is an example post in your DREAMBOARD installation. You may delete this post, this topic if you like since everything seems to be working! :) ;) ', 1086055857, '127.0.0.1', 0, 0, 0, NULL)
Table 'usr_webxxx_1.BOARD_TCONT_TABLE' doesn't exist

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [REQ]Dreamboard download
« Reply #50 on: October 13, 2005, 06:24:27 PM »
Testdaten eintragen...

Offline sonyman

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [REQ]Dreamboard download
« Reply #51 on: October 13, 2005, 06:33:52 PM »
müsste doch normalerweise automatisch gehen. Hat einer eine Idee warn das liegt?

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [REQ]Dreamboard download
« Reply #52 on: October 13, 2005, 06:37:32 PM »
Suche doch mal im Dreamboard Forum...

Offline Buster

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: [REQ]Dreamboard download
« Reply #53 on: October 27, 2005, 09:55:20 PM »
Hi, I've just installed Dreamboard, received no errorrs during installation, but when I open 'Config Board', I get the following messages:
-----------------------
Notice: Undefined variable: content in E:\Apache2\htdocs\rwo\4images\admin\board_config.php on line 23

Notice: Use of undefined constant edit_config - assumed 'edit_config' in E:\Apache2\htdocs\rwo\4images\admin\board_config.php on line 32

Notice: Undefined variable: info in E:\Apache2\htdocs\rwo\4images\admin\board_config.php on line 238

Notice: Undefined variable: iconmsg in E:\Apache2\htdocs\rwo\4images\admin\board_config.php on line 240
------------------------

When I open 'boardmanager', I get:

-----------------------
Notice: Undefined variable: content in E:\Apache2\htdocs\rwo\4images\admin\board_admin.php on line 33

Notice: Use of undefined constant addcatforum - assumed 'addcatforum' in E:\Apache2\htdocs\rwo\4images\admin\board_admin.php on line 133

Notice: Use of undefined constant add_board - assumed 'add_board' in E:\Apache2\htdocs\rwo\4images\admin\board_admin.php on line 191

Notice: Undefined variable: catlist in E:\Apache2\htdocs\rwo\4images\admin\board_admin.php on line 237

Notice: Undefined variable: select_mod in E:\Apache2\htdocs\rwo\4images\admin\board_admin.php on line 245

Notice: Use of undefined constant add_board - assumed 'add_board' in E:\Apache2\htdocs\rwo\4images\admin\board_admin.php on line 266

Notice: Undefined variable: info in E:\Apache2\htdocs\rwo\4images\admin\board_admin.php on line 281

Notice: Undefined variable: iconmsg in E:\Apache2\htdocs\rwo\4images\admin\board_admin.php on line 282

-----------------

Has anyone got any idea how to fix this?

regards,
Reiner

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [REQ]Dreamboard download
« Reply #54 on: October 28, 2005, 10:01:39 AM »
Hey Reiner ich glaube das liegt an deinem Windows System... (o:
Mir sind da auch schon der ein oder andere Fehler dieser Art untergekommen und dafür muss man halt nur die Variablen bevor man sie benutzt einmal definieren.

Ich hätte heute Nachmittag (ca. 16.30) Zeit mir das mal mit Dir zusammen anzuschauen.

Offline Buster

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: [REQ]Dreamboard download
« Reply #55 on: October 29, 2005, 09:53:06 AM »
Hey Reiner ich glaube das liegt an deinem Windows System... (o:
Mir sind da auch schon der ein oder andere Fehler dieser Art untergekommen und dafür muss man halt nur die Variablen bevor man sie benutzt einmal definieren.

Ich hätte heute Nachmittag (ca. 16.30) Zeit mir das mal mit Dir zusammen anzuschauen.
Hi Olli, ich glaube eher, dass Deine Erkenntnis, dass es mit PhP5 nicht will zutrifft. Bei Pmv2 gab's das Gleiche:  'undefined index in...', 'undefined variable in...' usw.
Gruß,
Reiner

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [REQ]Dreamboard download
« Reply #56 on: December 10, 2005, 08:48:27 PM »
open your index.php

add this code before
Code: [Select]
//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------

Code:
Code: [Select]
//---------------------------
//------DREAMBOARD-------------
//----------------------------
if ($boardconfig['board_disable']){
$board .=format_boardtext($boardconfig['status_desc'], 0, 0, 0, 0, 1);
$iconmsg="<img src=\"".TEMPLATE_PATH."/board_images/danger.gif\"  border=\"0\"> ";

}else {
$board .="</br><table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" ><tr><td class=\"boxline\"><table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"2\" ><tr><td class=\"head2\"> ".$lang['recents_thread']."</td></tr></table>";
$boardgories = mysql_query ("SELECT catid,catname FROM ".BOARD_CAT_TABLE ."");
  while ($row = mysql_fetch_array($boardgories)) {
    $catid = $row['catid'];
    $catname = $row['catname'];

    $board .="<table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"2\" ><tr><td class=\"head1\"><b>$catname</b></td></tr></table>\n";


    $forums = mysql_query ("SELECT board_id,board_catid,board_name,board_desc,board_posts,board_topics,board_lastpost_id,board_lastpost_user,board_lastpost_date,board_lastpost_page,board_moderator,board_moderator_id FROM ".BOARD_TABLE."  WHERE board_catid='$catid'");
    while ($row = mysql_fetch_array($forums)) {
        $board_id = $row['board_id'];
        $board_catid = $row['board_catid'];
        $board_name = $row['board_name'];
        $board_lastpost_id = $row['board_lastpost_id'];
        $board_lastpost_user = $row['board_lastpost_user'];
        $board_lastpost_date = $row['board_lastpost_date'];
$board_lastpost_page = $row['board_lastpost_page'];
  $threadtitle = mysql_query ("SELECT thrtopic FROM ".BOARD_TCONT_TABLE."  WHERE thrid ='$board_lastpost_id' ");
         while ($rowtopic = mysql_fetch_array($threadtitle )) {
$topic = $rowtopic['thrtopic'];
             }
$sql = "SELECT thrlastpost_id FROM ".BOARD_TINDEX_TABLE."
            WHERE  thrlastpost_user ='$board_lastpost_user'
";
     $luid_row = $site_db->query_firstrow($sql);
     $lastpost = $luid_row['thrlastpost_id'];
 
 
$result = mysql_query ("SELECT user_id,user_lastvisit FROM ".USERS_TABLE."  WHERE user_name ='$board_lastpost_user' ");
         while ($user = mysql_fetch_array($result )) {
$lastvisit = $user['user_lastvisit'];
             }

   if ($lastpost == GUEST) {
         $lastuser = $board_lastpost_user;
             $idlast_post = "";
} else {
             $idlast_post = "<a href=\"".$site_sess->url(ROOT_PATH."member.php?action=showprofile&user_id=".$lastpost)."\">";
$lastuser = $board_lastpost_user ;
                     }
   if ($board_lastpost_date >= $user_info['user_lastvisit']) {
            $newtopic = "<img src=\"".TEMPLATE_PATH."/board_images/folder.gif\" alt=\"".$lang['new_post']."\" >";
$newlastpost ="<img src=\"".TEMPLATE_PATH."/board_images/new_last_post.gif\" border=\"0\" alt=\"".$lang['button_lastpost']."\">";

             } else {
            $newlastpost ="<img src=\"".TEMPLATE_PATH."/board_images/last_post.gif\" border=\"0\" alt=\"".$lang['button_lastpost']."\">";
    $newtopic = "<img src=\"".TEMPLATE_PATH."/board_images/forum_no_new.gif\" alt=\"".$lang['no_newpost']."\">";
                     }
        if ($board_lastpost_date == "0" ) {
        $board .="";
            } else {
    $lastpostdate = format_date($boardconfig['date_format']." ".$boardconfig['time_format'], $board_lastpost_date);
$row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;
        $board .=" <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"3\" class=\"row$row_bg_number\"><tr><td class=backboard nowrap>$newtopic</td><td class=backboard nowrap><b>$topic</b> <span class=\"smalltext\">$lastpostdate</span> &nbsp;".$lang['by']." $idlast_post $lastuser</a> <a href=\"showthread.php?bid=$board_id&threadid=$board_lastpost_id&page=$board_lastpost_page \">$newlastpost</a></td></tr></table>\n";
         }
   }
}
$board .=" </td></tr></table></br>";
}
$site_template->register_vars("board", $board);

open your home.html on template folder

put this code {board}


b.o.fan


and if i want only the last 5 posts , showing only cat. name (as link) only !!??

Offline Bear

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Re: [REQ]Dreamboard download
« Reply #57 on: January 12, 2006, 05:19:37 PM »
comming back to this one.

How do i limit the amount of posts shown ????

thank you