4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: AntiNSA2 on March 13, 2005, 02:21:14 PM

Title: [REQ]Dreamboard download
Post by: AntiNSA2 on March 13, 2005, 02:21:14 PM
Anyone know where I can find now that its gone?
Title: Re: [REQ]Dreamboard download
Post by: b.o.fan on March 13, 2005, 03:19:49 PM
the addon from mantra??

on his homepage...

http://www.mantradream.com/

b.o.fan
Title: Re: [REQ]Dreamboard download
Post by: AntiNSA2 on March 13, 2005, 05:23:33 PM
That site is closed :(
Title: Re: [REQ]Dreamboard download
Post by: b.o.fan on March 13, 2005, 05:57:31 PM
ohhh....

sorry... :oops: :oops: :oops: :oops: :oops: you can wr`ite mantra a pn or a mail....
Title: Re: [REQ]Dreamboard download
Post by: JensF on March 13, 2005, 11:52:44 PM
Anyone know where I can find now that its gone?

You got Mail....
Title: Re: [REQ]Dreamboard download
Post by: mantra on March 14, 2005, 01:41:55 AM
Anyone know where I can find now that its gone?

Sorry , my web currently over bandwidth and   I need to fix some of bug  for this add-on.

If anyone can help me to contribute [ a programmer php ] for make this add-on more better, I currently made list for request feature :

~ more then one can be moderator for each forum
~ seacrh functions
~ avatar
~ more convertible with template system [ each sub forum have template ]
~  can made attachment file with antileach
~ more speed

please contact me on PM

 :wink:
Title: Re: [REQ]Dreamboard download
Post by: AntiNSA2 on March 14, 2005, 04:05:50 AM
I didnt get any messages....can you email me again?

anything@thecenterofthenet.com works....

And yeah It would be cool to be able to search the forums, and have more than one moderator....

But.....

It would be also very cool to have something fully integrateable with 4images.....

A rock and a hard place.
Title: Re: [REQ]Dreamboard download
Post by: b.o.fan on March 14, 2005, 07:02:09 AM
hey, Mantra

don´t forget the intregration in the 4images 1.71...

thanx

b.o.fan
Title: Re: [REQ]Dreamboard download
Post by: wflorian on March 17, 2005, 05:35:05 PM
ich would also need this mod pleassseeee...

email: webmaster@sexy-gifs.de


thank you!
Title: Re: [REQ]Dreamboard download
Post by: GrrBrr on March 20, 2005, 05:27:05 PM
I need this mod, too.

if someone can send it to me, i can upload it on my webspace until mantras host is online again.

--> grrbrr@garx.de
Title: Re: [REQ]Dreamboard download
Post by: wflorian on March 20, 2005, 06:04:31 PM
Here we go:

http://www.sexy-gifs.de/index.php?template=mods
Title: Re: [REQ]Dreamboard download
Post by: mantra on March 21, 2005, 12:33:02 AM
Here we go:

http://www.sexy-gifs.de/index.php?template=mods

<!--                                                                                  -->
<!--                DREAMBOARD  V.2.0  Created By                                     -->
<!--          DREAM WITH MANTRA  M u l t i m e d i a                            -->
<!--              2 0 0 4    http://www.mantradigital.com                               -->
<!--        DREAMBOARD  are  addon for                       -->
<!--    4images version 1.7 - A Web Based Image Gallery Management System          -->
<!--             Web: http://www.4homepages.de                                        -->
<!--                                                                                   -->

Redistribution and use this script, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.


please guys this was add on, not modification of the program 4images.
if you make redistribution of something you don't make ,at least ask permision first.
:twisted: :evil:
Title: Re: [REQ]Dreamboard download
Post by: wflorian on March 21, 2005, 01:38:17 AM
sorry didn't know,so do you want me to take it off the server?
Title: Re: [REQ]Dreamboard download
Post by: mantra on March 25, 2005, 02:45:47 AM
sorry didn't know,so do you want me to take it off the server?

NO NO NOT UNTIL I UPDATE THE SCRIPT . TOO MANY THAT USER USE THIS SCRIPT  REMOVE MY LINK BACK TO MY SITE :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil:
Title: Re: [REQ]Dreamboard download
Post by: AntiNSA2 on April 04, 2005, 01:36:36 PM
Any Progress Mantra with the new version?
Title: Re: [REQ]Dreamboard download
Post by: mantra on April 05, 2005, 12:36:11 AM
Any Progress Mantra with the new version?

not yet but you can download the old v.20  now from my web www.mantradream.com
Title: Re: [REQ]Dreamboard download
Post by: JensF on June 26, 2005, 02:18:47 PM
Is anyone working on this Mod?? I need the notify by Mail function when new replys are wrote....

Title: Re: [REQ]Dreamboard download
Post by: live@ct on July 10, 2005, 11:54:48 PM
someone that remember how to show the latest comments in dreamboard?!??!
Title: Re: [REQ]Dreamboard download
Post by: b.o.fan on July 11, 2005, 08:18:54 AM
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
Title: Re: [REQ]Dreamboard download
Post by: mawenzi on July 11, 2005, 03:03:42 PM
hi b.o.fan,

thanks for posting Latest comments in dreamboard
that's what I'm searching for some time ...  :D

mawenzi
Title: Re: [REQ]Dreamboard download
Post by: Gulper on August 03, 2005, 04:10:01 PM
hmmm.... works great.. but the backlink to the poster does not work.. it always says user has ID 0... like when I post as admin.. then check the new module where I get my post listed... I can not click on posted by "admin" as the user ID is 0.... and posting as another user also gives a backlink with the user ID 0.... check image for better understanding (sorry for my bad english)
Title: Re: [REQ]Dreamboard download
Post by: TheOracle on August 03, 2005, 06:29:04 PM
replace :

Quote

&user_id=".$lastpost


for :

Code: [Select]

&user_id=".$user['user_id']


Will this work ?
Title: Re: [REQ]Dreamboard download
Post by: Gulper on August 03, 2005, 09:10:15 PM
No, does not work.... now it looks like this:   

Quote
member.php?action=showprofile&user_id=&sessionid=343q4trt345vc42342qc23423
Title: Re: [REQ]Dreamboard download
Post by: TheOracle on August 03, 2005, 10:30:44 PM
Sorry, it should be :

Code: [Select]

&user_id=".$user_info['user_id']

Title: Re: [REQ]Dreamboard download
Post by: Gulper on August 03, 2005, 11:16:52 PM
Yepp, worked! :)
Thanx!! :D
Title: Re: [REQ]Dreamboard download
Post by: TheOracle on August 03, 2005, 11:57:42 PM
That's what I thought. ;)
Title: Re: [REQ]Dreamboard download
Post by: bibabobu on August 25, 2005, 10:02:36 PM
Hello!

i just installed the dreamboard  on my 1.7.1 4images version.
the database tables all were installed sucessfully!!!

i have two links in my ACP for controlling the board.
i could edit, make and delete forum categories, but no postings.
And i think i can not activate the forum.

if i activate the forum in "config board" and i click on "update config board" it says "request sucessfully proceed".

But in the gallery i only get a white page in my board.html which is a formerly home.html within the {board} tag.

Would be very kind to receive some help for this problem.
 :roll:
Title: Re: [REQ]Dreamboard download
Post by: mawenzi on August 25, 2005, 10:15:29 PM
hi bibabobu,

also ... wenn ich direkt deine board.php (http://www.industrie-gravuren.de/galerie/board.php) aufrufe, dann lande ich in deinem neuen Forum, das sieht soweit ganz ok aus ...
... aber über dein Menü sollte nicht ...index.php?template=board sondern direkt ...board.php aufgerufen werden !

mawenzi
Title: Re: [REQ]Dreamboard download
Post by: bibabobu on August 25, 2005, 10:21:55 PM
was sieht da denn ok aus?

das ist doch nur dieses INFO Fenster. Wo ist da das Board?

kannst Du mir mal genau die URL sagen welche Du meinst?

habe www.industrie-gravuren.de/galerie/board.php (http://www.industrie-gravuren.de/galerie/board.php)  versucht

EDIT:
ok wenn ich abgemeldet bin, dann erscheint ein Login Fenster, wie in 4images.
Melde ich mich dann an, passiert nichts weiter, als das nur dieses Info Fenster mit meinem Text aus dem ACP.
 :cry:
Title: Re: [REQ]Dreamboard download
Post by: mawenzi on August 25, 2005, 10:46:25 PM
also ...

1. das ist ein Link : board.php (http://www.industrie-gravuren.de/galerie/board.php) (wie oben auch) !
2. hast du im ACP schon Kategorien angelegt ... sonst können auch keine angezeigt werden ?
3. wie hast du die Kategorien freigegeben ... nur für member ?
4. hast du das Board in der Konfiguration aktiviert ? ... Nein  :!:
5. das zusätzliche Login-Fenster würde ich löschen ... denn einmal anmelden in der Galerie reicht !

mawenzi
Title: Re: [REQ]Dreamboard download
Post by: bibabobu on August 25, 2005, 10:48:49 PM
ich vertrau Dir mal und gebe Dir temporäre admin Rechte, dann kannst Du mal reinschauen.
 :wink:

Läuft das Board überhaupt generell mit der Version 1.7.1??????? :?:
Title: Re: [REQ]Dreamboard download
Post by: bibabobu on August 25, 2005, 11:08:22 PM
-habe Kategorien 1x für members und 1x für Gäste eingestellt.
-laut board config ist das Board aktiviert.
-ja du hast recht ich kann das 2. login panel vernichten, dazu muß der Kram aber erst mal laufen.
-kann es etwas mit dem root path in den .php dateien zu tun haben?
-oder mit dem Template system?
Title: Re: [REQ]Dreamboard download
Post by: mawenzi on August 25, 2005, 11:24:54 PM
-laut board config ist das Board aktiviert.

war vorhin noch nicht !

mawenzi
Title: Re: [REQ]Dreamboard download
Post by: bibabobu on August 25, 2005, 11:28:54 PM
ich habe schon fast den Verdacht das es mit der 1.7.1 Version nicht läuft :cry:

dabei gab es bei der installation gar keine Probleme. aber es läuft halt nicht.
Title: Re: [REQ]Dreamboard download
Post by: mawenzi on August 25, 2005, 11:31:15 PM
war nicht aktiviert ... hab es dir online geschaltet !
arbeitet bestens !

mawenzi
Title: Re: [REQ]Dreamboard download
Post by: bibabobu on August 25, 2005, 11:33:22 PM
HHEEYYYYYYY :lol: :lol: :lol: :lol: :lol: :lol:

wie hast Du das gemacht. ich glaub ich spinne.

verrats mir sonst kann ich heut nicht schlafen!
Title: Re: [REQ]Dreamboard download
Post by: mawenzi on August 25, 2005, 11:39:03 PM
ACP -> Configuration Board -> Activate satus board offline: -> NEIN

- der folgende Text ist für die Offlineschaltung !
- solltest noch die deutsche -Lang- in der main.php installieren.

mawenzi
Title: Re: [REQ]Dreamboard download
Post by: bibabobu on August 25, 2005, 11:42:25 PM
Au weia! Man da hat mich ja en Bock geritten. Ich dachte zum aktiv schalten auf JA stellen. Sorry! Da hab ich mich aber schwer verlesen.

Wo bekomm ich die deutsche main.php.

würde mir natürlich sehr viel Übersetzungsarbeit ersparen. Nachdem es grad schon nicht geklappt hat :oops: :oops: :oops:

Mantras altes board ist ja tot.
Title: Re: [REQ]Dreamboard download
Post by: mawenzi on August 25, 2005, 11:51:28 PM
im Board von matradream.com gibt es unter DREAMBOARD LANG DEUTSCH (http://www.mantradream.com/dreamskin/showthread.php?bid=7&threadid=21) Übersetzungen für die main.php und board_mailtopics.html !

mawenzi
Title: Re: [REQ]Dreamboard download
Post by: bibabobu on August 25, 2005, 11:53:44 PM
Ok Mawenzi,

vielen, vielen Dank für Deine Hilfe. Hatte schon befürchtet mich mit phpbb board rumschlagen zu müssen.

Also guats nächtle :D
 :mrgreen:
Title: Re: [REQ]Dreamboard download
Post by: bibabobu on August 26, 2005, 12:25:55 PM
ok

until now my forum looks not bad.
but i have still some BIG Problems.

1.  as you can see in a test topic on my url there are no button images to see (for example REPLY, EDIT, DELETE, etc), just red crosses on white background

2. replying threads does not work!  I set all rights for guests and it does not work.

3. but closing, reopening and modifying thread is working. you could test on my URL.

4. In ACP it does not save the viewing rights to database. It is always remaining on Guest/Guest/Guest   (view,post,reply rights)

Please could you help me with the images and the reply function.
Thanks
Title: Re: [REQ]Dreamboard download
Post by: mawenzi on August 26, 2005, 12:49:09 PM
zu 1. sind deine Buttons im Ordner ... /templates/default/board_images/images_deutsch/ ... ? ... sicher nicht.
Title: Re: [REQ]Dreamboard download
Post by: bibabobu on August 26, 2005, 10:42:31 PM
ok. das problem mit den images ist gelöst. :)

Bleiben noch folgende Probleme bestehen:

1. kann keine Rechte für die Boards dauerhaft im ACP speichern.
2. kann keine Antwort Postings erstellen, jedoch sperren und editieren funktioniert bestens.

 :cry:

Hoffe mir kann hierbei geholfen werden, ansonsten war alles umsonst installiert (Board)

P.S. Habe auch MOD Dynamic Page Title  und MOD Search Engine friendly URLs  auch installiert. Vielleichtt deshalb die Probleme?????
Title: Re: [REQ]Dreamboard download
Post by: sonyman on October 13, 2005, 05:24:34 PM
Hallo ihr!

Ich habe ein riesen Problem bei der Install. mit meiner Datenbank wie es den Anschein macht. Der Fehler wird wie folgt angezeigt:


Quote
DB Error: Bad SQL Query: SELECT totaltopics,totalposts FROM BOARD_STAT_TABLE
Unknown column 'totalposts' in 'field list'

Ich denke, dass das Problem schon bei Unknown column steckt. Hat einer Ahnung?


_________________

Does anybody know the following database error:

Quote
DB Error: Bad SQL Query: SELECT totaltopics,totalposts FROM BOARD_STAT_TABLE
Unknown column 'totalposts' in 'field list'

In my opinion it depends on the "Unknown column".
Title: Re: [REQ]Dreamboard download
Post by: Acidgod on October 13, 2005, 06:00:01 PM
board21_install.php hast du aber ausgeführt oder?
Title: Re: [REQ]Dreamboard download
Post by: sonyman 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!
Title: Re: [REQ]Dreamboard download
Post by: Acidgod 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?
Title: Re: [REQ]Dreamboard download
Post by: sonyman 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.
Title: Re: [REQ]Dreamboard download
Post by: Acidgod 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...
Title: Re: [REQ]Dreamboard download
Post by: sonyman 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
Title: Re: [REQ]Dreamboard download
Post by: Acidgod on October 13, 2005, 06:24:27 PM
Testdaten eintragen...
Title: Re: [REQ]Dreamboard download
Post by: sonyman on October 13, 2005, 06:33:52 PM
müsste doch normalerweise automatisch gehen. Hat einer eine Idee warn das liegt?
Title: Re: [REQ]Dreamboard download
Post by: Acidgod on October 13, 2005, 06:37:32 PM
Suche doch mal im Dreamboard Forum...
Title: Re: [REQ]Dreamboard download
Post by: Buster 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
Title: Re: [REQ]Dreamboard download
Post by: Acidgod 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.
Title: Re: [REQ]Dreamboard download
Post by: Buster 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
Title: Re: [REQ]Dreamboard download
Post by: Stoleti 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 !!??
Title: Re: [REQ]Dreamboard download
Post by: Bear on January 12, 2006, 05:19:37 PM
comming back to this one.

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

thank you