4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: mantra on September 06, 2005, 03:57:41 AM

Title: [addon] DREAMBOARD V 2.1
Post by: mantra on September 06, 2005, 03:57:41 AM
Quote
here you go DREAMBOARD V 2.1  compartible with 4images v 1.7.1

find here http://www.4homepages.de/forum/index.php?action=dlattach;topic=9598.0;attach=743

free to use but don't remove my link back to WWW.MANTRADIGITAL.COM

PLEASE BEWARE THIS OLD RELEASE SO YOU MUST MAKE CHANGE ON IT ( look all change they made in all post Replies of this topic), I STILL TRY TO UPDATE THE BOARD
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Egly on September 06, 2005, 07:55:57 AM
hello Mantra!

Great Release!

I have installed Dreamboard V.2.0 last week, so do i have to change only boardreply.php and boardthread.php?
Or are there any files which i have to change too?

Thx for this release!
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mantra on September 06, 2005, 09:35:18 AM
yes and don't forget to  replace all DREAMBOARD main lang with the new one :wink:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Xyu BAM on September 06, 2005, 02:58:07 PM
would be nice see demo or atleast screenshots...

thanks.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Egly on September 06, 2005, 03:50:15 PM
You can see a demo if you click on his site (where the download is) on "support".
Title: Re: [addon] DREAMBOARD V 2.1
Post by: bibabobu on September 06, 2005, 04:01:10 PM
@mantra

sorry,
but code of version 2.1 for 4images 1.7.1 does not redirect after replying or quoting a post  :(
Title: Re: [addon] DREAMBOARD V 2.1
Post by: bibabobu on September 06, 2005, 04:12:04 PM
@mantra

i receive an error on quoting to a topic like this

Code: [Select]
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/boardreply.php on line 100
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mantra on September 07, 2005, 12:59:03 AM
reply for the topic or the reply of reply , are you using v1.71 ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: bibabobu on September 07, 2005, 08:09:20 AM
sorry Mantra,

now it is working.
i had to to put some more code into the two files because of the
"MOD Dynamic Page Title".
Now it is redirecting perfectly.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: bibabobu on September 07, 2005, 09:42:54 AM
@mantra

Is there a possibilty to order the themes in the board management :?:

For example: If i have 10 boards, i want to change the order of them. Putting a theme at a specific position in the listing.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mantra on September 07, 2005, 01:43:37 PM
Not right now :P
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Bear on September 08, 2005, 11:49:21 PM
great mod and thank you

just started on a new board using DREAMBOARD V 2.1 with 4images v 1.7.1 but having a problem.

when i try to change configution or add forums i get an errorand nothing is changed or saved :-   [ your request got error on prosses ]

i also now am showing this error in the genera/templates option

Warning: opendir(./../templates/default): failed to open dir: No such file or directory in /home/sites/cyber-port.co.uk/public_html/admin/templates.php on line 54

Warning: closedir(): supplied argument is not a valid Directory resource in /home/sites/cyber-port.co.uk/public_html/admin/templates.php on line 60

Warning: opendir(./../templates/default/media): failed to open dir: No such file or directory in /home/sites/cyber-port.co.uk/public_html/admin/templates.php on line 62

Warning: closedir(): supplied argument is not a valid Directory resource in /home/sites/cyber-port.co.uk/public_html/admin/templates.php on line 68
No template found
any ideas ???? if not i will recheck again but so far cannot find the cause.

Thanks again
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mantra on September 09, 2005, 02:47:46 AM
it seem like you got error on template.php file not in BOARD SYSTEM, have you install the 4images properly [ the property of each folder / read /write/execute ]

 :roll:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Bear on September 09, 2005, 08:59:50 PM
okay started again this time no template error but still getting

when i try to change configution or add forums i get an error and nothing is changed or saved :-   [ your request got error on prosses ]

checked all file permitions, ideas
thank you
Title: Re: [addon] DREAMBOARD V 2.1
Post by: glitzer on September 11, 2005, 12:53:44 PM
Hi Mantra

i have the same problem:

the code of version 2.1 for 4images 1.7.1 does not redirect after replying or quoting a post.

In the admin zone the redirect is working, but when i post a thread direct on the board, then it is only the message:

INfo


You will be redirected to your post shortly

but it does not return to the post.

please help me!!
Thanx lot


 
Title: Re: [addon] DREAMBOARD V 2.1
Post by: bibabobu on September 12, 2005, 11:07:20 PM
Hi!
I think there is a mistake in the script.

Find following code in board.php
Code: [Select]
$lang_alowrep ="<b>". $lang['lang_canrep']."</b>";
Replace with
Code: [Select]
           $lang_alowrep ="". $lang['lang_notrep']."";
 :mrgreen:

P.S. Perhaps my first KARMA POINT for me. Thanks a lot.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Michael_Muntau on September 19, 2005, 05:53:35 PM
Einfach cooles Board! Nach ein Paar änderungen funktionierte es auch wunderbar in deutsch!
Ein Problemchen habe ich aber noch...

Nach dem ein Beitrag gepostet wird, soll der User ja auf seinen 'alten' Thread zurück kommen...
Bekomme nur das Fenster mit der Meldung:

Du wirst zu Deiner Nachricht weitergeleitet.

Danach passiert nix :-(
Title: Re: [addon] DREAMBOARD V 2.1
Post by: bibabobu on September 19, 2005, 09:46:49 PM
War bei mir anfangs auch so.
Habe aber noch Code bezüglich des MODs Dynamic Page Title in der board.php ergänzt.
Vielleicht hängt das irgendwie zusammen.
Weiß auch nicht aber irgendwie habe ich es hinbekommen, daß es nun endlich einwandfrei zu funktionieren scheint.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on September 20, 2005, 03:25:22 AM
well i've installed it but ....

1 - This not redirect edit post => topic"thread"
2 - This Doesn't Have a Category "jump" menu
3 - Show the member personal photo under (username/user_level)
4 - Fix The Glow & Shadow (this show on vertical and not in horizontal ..)


How can i fix it ? any ideia ? ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Egly on September 20, 2005, 10:13:15 AM
1. doesnt work for me too..
2. You can go to myphpadmin to change table id´s and names. You´ll need a few tries to get it right, but it will work.
3. good idea, would be cool
4. dont know what you mean  :D
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on September 20, 2005, 04:13:51 PM
4 - means this :

normal text - " just a example "

but in glow/shadow

"just
a
example"

this means normal text this show in horizontal, but when u try write this using glow/shadow effect,this will show u in vertical(1 word for each line) ;) thats the problem !!!!
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on September 21, 2005, 04:35:04 PM
just more something

using quote(directly from post) this work but show this message :

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/blacktra/public_html/boardreply.php on line 101


whats wrong ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: bibabobu on September 21, 2005, 11:15:14 PM
i have the same error message.
but itis working.
 :roll:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: MadSci on September 22, 2005, 01:14:44 AM
the redir does not work here as well...
How do you skin the board...do we use the 4images CSS file...??
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on September 22, 2005, 01:50:27 AM
yea , this work ;)

The redirect isn't working .... but on ACP , works perfectly !!


this board need just (redirect work) and use member personal photo (for avatar) to be perfect !!!
Title: Re: [addon] DREAMBOARD V 2.1
Post by: MadSci on September 22, 2005, 06:05:21 AM
I guess we will wait for the update...:)

I think most important will be to implement Pruning and database cleaning....now that they share (4img and dream)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on September 22, 2005, 07:49:22 PM
well , i hope without none of this bugs ... ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mantra on September 23, 2005, 12:47:40 AM
I guess we will wait for the update...:)

I think most important will be to implement Pruning and database cleaning....now that they share (4img and dream)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on September 23, 2005, 06:42:46 PM
any ideia for when that update ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Knall on September 24, 2005, 01:32:02 PM
hallo

wenn ich einen neuen post mache ist das thema immer nicht erreichbar fehler : The topic or post you requested does not exist

woran kanns liegen ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on October 01, 2005, 11:37:08 PM
Anyone know how show on post the user personal photo (avatar = member personal photo) ??

or

Search Form " (search system) search results in forum , too ?

 :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: universal on October 03, 2005, 01:59:45 PM
Hi, i got this error
Quote
Your request got error on prosses
impressive... but why i`ve got it..?

Why? How? How to fix it? Where to search errors?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on October 04, 2005, 06:35:31 PM
just a simple question , how can i make this show the number of user posts on profile ?

Posts : XX
Rank : (Admin,Newbie....)

;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: seleck on October 05, 2005, 08:50:09 AM
Hello Mantra,

I am following this thread  quiet long and actualie waiting answer from you for a lot of questions posted by serveral people.
I avoid to double paste them but as i still don't get any solution. typing at this place again.

I am using 4images1.7.1, Dreamboard-ADD 2.1 with your skin 4images-dark.

Q. Nr. 1.  Redirection after posting a new post in board is not working. i put the {REDIRECTION} string in header.html.

Q. Nr. 2.  A registered member is not able to modify his own post in board, Though its beeing showed in status line  "you can edit your post here"

Q. Nr. 3.
  This line at the post-level of Board is annoying all my members i tried to findout in this thread the solution, but couldn't. any solution ?

Warning: mysql_fetch_array():supplied argument is not a valid MYSQL result resource in showthread.php in line 127 and 208.

Q. Nr. 4 When you Rank a meber to Moderator, it still shows its rank as NEWBIE ?


I love your SKINS and this Dreamboard-ADD and i know they are free and you did a great job but these few errors are realy annoying and when its not get solved, i have to unfortunatly deinstall that. It will be sad because they looks good and board integration is realy good looking.

I will be very thankfull, when you can suggest me solutions.

Thank you already.

Title: Re: [addon] DREAMBOARD V 2.1
Post by: sonyman on October 13, 2005, 06:31:14 PM
Hey all!

Quote
DB Error: Bad SQL Query: INSERT INTO BOARD_CAT_TABLE VALUES (1, 'Test')
Column count doesn't match value count at row 1

DB Error: Bad SQL Query: INSERT INTO BOARD_TABLE VALUES (1, 1, 'Test forums', 'this is just test', 1, 1, 1, 'MANTRADREAM', 1086055857, 1, 'MANTRADREAM', '1', 'You can edit this in admin', 1, 1,-1,-1,-1)
Column count doesn't match value count at row 1

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)
Column count doesn't match value count at row 1

DB Error: Bad SQL Query: INSERT INTO BOARD_TINDEX_TABLE VALUES (1, 1, 2, 'everything is OK', 'MANTRADREAM', 0, 2, 1, 'MANTRADREAM', 1086055857, 1, 0)
Column count doesn't match value count at row 1

It seem that the install doesn't create the special database tabs. I need help
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on October 13, 2005, 06:44:20 PM
try del and install again :)


You've miss some step (constants.php) ???
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on October 14, 2005, 12:24:56 AM
Added Member Personal Photo (avatar) on post page !!

Author : TheOracle

So if you want say "Thanks" you must say it to him  :wink:

This require the Member Personal Photo MOD installed !!

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

Part 1 :


File : Showthread.php


Code: [Select]
Now, find :

$posts = mysql_query ("SELECT user_posts,user_id,user_name,user_level,user_signature
         FROM ".USERS_TABLE."  WHERE user_id ='$thrstarter_id' ");
         while ($user = mysql_fetch_array($posts)) {
             $post_count = $user['user_posts'];
             $user_id = $user['user_id'];
    $user_rank = $user['user_level']; REPLACE_EMPTY;
             $signature = format_boardtext ($user['user_signature'],$boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);

replace with :

$posts = mysql_query ("SELECT user_posts,user_id,user_name,user_level,user_signature,userpic
         FROM ".USERS_TABLE."  WHERE user_id ='$thrstarter_id' ");
         while ($user = mysql_fetch_array($posts)) {
             $user_profile_link = (!empty($url_show_profile)) ? preg_replace("/{user_id}/", $user['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$user['user_id'];
             $post_count = $user['user_posts'];
             $user_id = $user['user_id'];
    $user_rank = $user['user_level']; REPLACE_EMPTY;
             $signature = format_boardtext ($user['user_signature'],$boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);
             $userpic = (empty($user['userpic'])) ? $lang['no_image_found'] : "<a href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".ROOT_PATH."data/userpic/".$user['userpic']."\" width=\"".$width."60\" height=\"60".$height."\" border=\"0\" /></a>";

Then, find :

 //--------if the curent board id and topics id doesn't macth they error massage -------------------

Then, a couple of lines below, you'll find :

$site_template->register_vars(array(
          "content" => $showtopic,
          "msg" => $msg,
          "iconmsg" => $iconmsg,
          "head_title" => $head_title,
          "lang_info" => $lang['board_langinfo']

Replace with :

$site_template->register_vars(array(
          "content" => $showtopic,
          "msg" => $msg,
          "userpic" => $userpic,
          "iconmsg" => $iconmsg,
          "head_title" => $head_title,
          "lang_info" => $lang['board_langinfo']

Then, find :

$head_title ="<font size=\"4\">$thrtopic</font>";

Right below, you should see :

$site_template->register_vars(array(
  "content" => $showtopic,
  "lang_alowpost" =>$lang_alowpost,
  "lang_alowrep" =>$lang_alowrep,
  "lang_alowedit" =>$lang_alowedit,
  "lang_alowdel" =>$lang_alowdel,
  "msg" => $msg,
  "iconmsg" => $iconmsg,
  "head_title" => $head_title,
  "lang_info" => $lang['board_langinfo']
));

Replace with :

$site_template->register_vars(array(
  "content" => $showtopic,
  "lang_alowpost" =>$lang_alowpost,
  "lang_alowrep" =>$lang_alowrep,
  "lang_alowedit" =>$lang_alowedit,
  "lang_alowdel" =>$lang_alowdel,
  "msg" => $msg,
  "iconmsg" => $iconmsg,
  "userpic" => $userpic,
  "head_title" => $head_title,
  "lang_info" => $lang['board_langinfo']
));

Then, find :

$reptext = format_boardtext($row['reptext'], $boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);

And, above, you should see :

$posts = mysql_query ("SELECT user_posts,user_id,user_level,user_signature
                FROM ".USERS_TABLE." WHERE user_id ='$repuser_id'");
                while ($user = mysql_fetch_array($posts)) {
                $post_count = $user['user_posts'];
                $user_id = $user['user_id'];
                $user_rank = $user['user_level']; REPLACE_EMPTY;
                $signature = format_boardtext($user['user_signature'],$boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);

Replace with :

$posts = mysql_query ("SELECT user_posts,user_id,user_level,user_signature,userpic
                FROM ".USERS_TABLE." WHERE user_id ='$repuser_id'");
                while ($user = mysql_fetch_array($posts)) {
                $user_profile_link = (!empty($url_show_profile)) ? preg_replace("/{user_id}/", $user['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$user['user_id'];
                $post_count = $user['user_posts'];
                $user_id = $user['user_id'];
                $user_rank = $user['user_level']; REPLACE_EMPTY;
                $signature = format_boardtext($user['user_signature'],$boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);
                 $userpic = (empty($user['userpic'])) ? $lang['no_image_found'] : "<a href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".ROOT_PATH."data/userpic/".$user['userpic']."\" width=\"".$width."60\" height=\"60".$height."\" border=\"0\" /></a>";


Being this only a PHP file not using a Html page you will need it :


Part 2 :

File : Showthread.php


Code: [Select]
Find this block :

if ($boardconfig['alow_sig'] == 1) {
                        $sig = '<br><br>-------------------<br>'  . $signature ;
                          } else {
                        $sig = "";
                          }

add above :

 //--------if the curent board id and topics id doesn't macth they error massage -------------------

this :

if ($config['userpic']) {

$user_picture = $userpic;

} else {

$user_picture = "";

} ###### End of if statement.

Then, find this block :

$showtopic .="<td valign=\"top\">$thrtext\n";

$showtopic .=" $sig";
$showtopic .="</td>\n";

add the following right below :

$showtopic .="<td valign=\"top\">$user_picture\n";
$showtopic .="</td>\n";

Then, find this block :

if ($boardconfig['alow_sig'] == 1 && $repuser_id <> -1) {
                        $sig = '<br><br>-------------------<br>'  . $signature ;
                          } else {
                        $sig = "";
                          }

add below :

if ($config['userpic']) {

$user_picture = $userpic;

} else {

$user_picture = "";

} ###### End of if statement.

Then, find this block :

$showtopic .="<td>$reptext\n";
$showtopic .="$sig $replasteuser $relasteditdate $replastecount";
$showtopic .="</td>\n";

add the following right below :

$showtopic .="<td>$user_picture\n";
$showtopic .="</td>\n";


-----------

Thats all !!

Credits 99% for TheOracle , 1% for (me, i've post it)   :mrgreen:

Visit and Vote => http://www.4homepages.de/forum/index.php?topic=9723.0
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Egly on October 14, 2005, 10:49:10 PM
Hi.

I just found out, how you can make this board redirecting you to your posted thread!!!

in board.html find:

Code: [Select]
{board}
before add:

Code: [Select]
{redirect}
For me it works, and this makes Dreamboard much better.

Thx beseech and THX TheOracle for the Avartar MOD!!
It works great!!

Have Fun  :mrgreen:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Egly on October 14, 2005, 11:16:45 PM
I found out one more thing  :lol:

Now in Dreamboard the threads are ordered by id, that means if you have for example two threads in a board
the second will be allways under the first one.
Even if the answers of the second one are newer than in the first one.
(I hope you know now what i mean..)
This modification changes this.
The thread with the newest answer will be on top.

Open showboard.php and find:

Code: [Select]
    $sql = "SELECT thrid,thrforid,thr_type,thrtopic,thrstarter,thrreplies,thrviews,thrlastpost_id,thrlastpost_date,thrlock,thrlastpost_user,thrlastpost_page FROM ".BOARD_TINDEX_TABLE."
            WHERE thrforid ='$board_id'
ORDER BY thr_type DESC,thrid DESC LIMIT $offset, $topic_per_page";

and replace with this one:

Code: [Select]
    $sql = "SELECT thrid,thrforid,thr_type,thrtopic,thrstarter,thrreplies,thrviews,thrlastpost_id,thrlastpost_date,thrlock,thrlastpost_user,thrlastpost_page FROM ".BOARD_TINDEX_TABLE."
            WHERE thrforid ='$board_id'
ORDER BY thr_type DESC,thrlastpost_date DESC LIMIT $offset, $topic_per_page";

Have Fun  :mrgreen:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on October 15, 2005, 02:43:52 AM
this is work perfectly !!!

:D

its allmost perfect !!

but to perfect forum (board) need :

1 ) Make subject as link (this give change for someone go to some especific post)
2 ) Category dropdown (for people select category) without going out the post page.


Cheers ;)

PS: (sorry my bad english) 
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mantra on October 15, 2005, 04:19:52 AM
 :D ehm.... thats what i call sharing, keep going my friends
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on October 15, 2005, 05:51:18 AM
:D ehm.... thats what i call sharing, keep going my friends


that's fair !! we must help too, not get only help !!

For more we must share the knowledge always ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: tsitsou on October 23, 2005, 10:05:14 AM
Hello all!!

I have the following problemQ
My users recieve a lot of times tihs error:
Quote
[06-Oct-2005 11:35:25] PHP Warning:  mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/gate7/public_html/ultras/testga/showboard.php on line 235

The error log becoming very big and so after a while my sql tables crashes (usually the users table)

How can i fix those problems?

Thank you.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Egly on October 23, 2005, 10:12:27 AM
have you changed something in showboard.php or is it the original file?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Egly on October 23, 2005, 10:21:54 AM
I found out one more thing  :lol:

One big problem for me was:

If i want to reply to a thread i was directed to a form and i had no chance to come back to the topic if i wanted to read it one more time.
So i had to remember the topic and every reply of the thread, and for me its impossible if there are more than one reply  :oops:  :lol:

This mod will add all replies below the form.



How to:

open boardreply.php and find:

Code: [Select]
elseif ($action == "qu") {
        $thread = mysql_query ("SELECT thrtopic,thrid FROM ".BOARD_TCONT_TABLE." WHERE thrid='$threadid' AND thrforid='$bid'");
        while ($row = mysql_fetch_array($thread)) {
            $thrid = $row['thrid'];
$thrtopic = $row['thrtopic'];       
 $subject_form = "RE :".$thrtopic.""; 
 $reply = "";

  }

  }
     $forums = mysql_query ("SELECT board_id,board_catid,board_name,board_moderator_id,auth_reply FROM ".BOARD_TABLE." WHERE board_id ='$bid' ");
     while ($row = mysql_fetch_array($forums)) {
         $board_id = $row['board_id'];
         $board_catid = $row['board_catid'];
         $board_name = $row['board_name'];
$board_moderator_id = $row['board_moderator_id'];
$auth_reply = $row['auth_reply'];
     }
   if ( (empty($threadid) || $threadid < 0  ||   $bid < 0  )) {
   $error_board = $lang['board_badrequest'];
    }
  if ($error_board) {
  $main_template = "board";
  include(ROOT_PATH.'includes/page_header.php');
  show_error_board($error_board);

                  }
       $subject_form .= $headline ;
       $categories = mysql_query ("SELECT catid,catname FROM ".BOARD_CAT_TABLE." WHERE catid ='$board_catid'");
       while ($row = mysql_fetch_array($categories)) {
         $catid = $row['catid'];
         $catname = $row['catname'];
                                                    }
  $txt_clickstream = "<a href=\"board.php\">".$boardconfig['board_name']."</a>".$config['category_separator']."<a href=\"showboard.php?bid=$board_id\">$board_name</a>".$config['category_separator']."<a href=\"showthread.php?bid=$board_id&threadid=$threadid\"> $subject_form</a>".$config['category_separator']."".$lang['new_reply']."";

  if ( $user_info['user_level'] < $auth_reply   ){

    $iconmsg="<img src=\"".TEMPLATE_PATH."/board_images/danger.gif\"  border=\"0\"> ";
    $msg = $lang['board_register'];
$txt_clickstream = "".$lang['board_badrequest']."";
    $content ="";
    $redirectpage="<meta http-equiv=refresh content=\"11; url=board.php \">"; }
 else {
if ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) {
   $sender_name = "<input name=\"username_form\" maxlength=\"15\" type=\"text\" class=\"inputarea\" id=\"username_form\"  size=\"50\">";
   $sender_id = GUEST ;
       }else {
   $sender_name = ($user_info['user_level'] != GUEST) ? $user_info['user_name'] : "";
   $sender_id = ($user_info['user_id'] != GUEST) ? $user_info['user_id'] : "";
   $sender_email = ($user_info['user_level'] != GUEST) ? $user_info['user_email'] : "";
   $sender_name_hidden = "<input type=\"hidden\" name=\"username_form\" value=\"$sender_name\">";
    }
 if ($boardconfig['bb_board'] == 1 ) {
    $site_template->register_vars(array(
  "smiles" => $smiles,
      "lang_bbcode" => $lang['bbcode'],
      "lang_tag_prompt" => $lang['tag_prompt'],
      "lang_link_text_prompt" => $lang['link_text_prompt'],
      "lang_link_url_prompt" => $lang['link_url_prompt'],
      "lang_link_email_prompt" => $lang['link_email_prompt'],
      "lang_list_type_prompt" => $lang['list_type_prompt'],
      "lang_list_item_prompt" => $lang['list_item_prompt']
    ));
    $bbcode = $site_template->parse_template("bbcodeboard");
  }

 
$site_template->register_vars(array(
  "sender_name_hidden" =>$sender_name_hidden,
  "lang_name" => $lang['name'],
  "lang_subject" => $lang['subject'],
  "lang_massage" => $lang['massage'],
  "lang_post_reply" => $lang['post_reply'],
  "threadid" =>$threadid,
  "board_id" => $board_id,
  "showtopic" => $showtopic,
  "replyquote" =>$editpost,
  "subject" =>$subject_form,
  "reply" =>$reply,
  "sender_id" => $sender_id,
  "bbcode" => $bbcode,
  "sender_name" => $sender_name
));

and replace with:

Code: [Select]
elseif ($action == "qu") {
        $thread = mysql_query ("SELECT thrtopic,thrid,thrtext,thrstarter FROM ".BOARD_TCONT_TABLE." WHERE thrid='$threadid' AND thrforid='$bid'");
        while ($row = mysql_fetch_array($thread)) {
            $thrid = $row['thrid'];
$thrtopic = $row['thrtopic'];
$thrtext = format_boardtext($row['thrtext'], $boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);
$thrstarter = $row['thrstarter'];       
 $subject_form = "RE :".$thrtopic.""; 
 $reply = "";
 
  $hans = mysql_query ("SELECT repuser,reptext FROM ".BOARD_TREP_TABLE. WHERE repthrid='$thrid'");
while ($row = mysql_fetch_array($hans)) {
$replier = $row['repuser'];
$replytext = format_boardtext($row['reptext'], $boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);
 $replyspicker .="<table width=\"700\" border=\"0\" align=\"center\" cellpadding=\"4\" cellspacing=\"0\" class=\"threadspicker\">\n";
 $replyspicker .="<tr>\n";
 $replyspicker .="<td width=\"150\" valign=\"top\"><b>$replier</b> schrieb: </td>\n";
 $replyspicker .="<td>\n";
 $replyspicker .="<p>$replytext</p></td>\n";
 $replyspicker .="</tr>\n";
 $replyspicker .="</table>\n";
 $replyspicker .="<br>\n";
  };





  }

  }
     $forums = mysql_query ("SELECT board_id,board_catid,board_name,board_moderator_id,auth_reply FROM ".BOARD_TABLE." WHERE board_id ='$bid' ");
     while ($row = mysql_fetch_array($forums)) {
         $board_id = $row['board_id'];
         $board_catid = $row['board_catid'];
         $board_name = $row['board_name'];
$board_moderator_id = $row['board_moderator_id'];
$auth_reply = $row['auth_reply'];
     }
   if ( (empty($threadid) || $threadid < 0  ||   $bid < 0  )) {
   $error_board = $lang['board_badrequest'];
    }
  if ($error_board) {
  $main_template = "board";
  include(ROOT_PATH.'includes/page_header.php');
  show_error_board($error_board);

                  }
       $subject_form .= $headline ;
       $categories = mysql_query ("SELECT catid,catname FROM ".BOARD_CAT_TABLE." WHERE catid ='$board_catid'");
       while ($row = mysql_fetch_array($categories)) {
         $catid = $row['catid'];
         $catname = $row['catname'];
                                                    }
  $txt_clickstream = "<a href=\"board.php\">".$boardconfig['board_name']."</a>".$config['category_separator']."<a href=\"showboard.php?bid=$board_id\">$board_name</a>".$config['category_separator']."<a href=\"showthread.php?bid=$board_id&threadid=$threadid\"> $subject_form</a>".$config['category_separator']."".$lang['new_reply']."";

  if ( $user_info['user_level'] < $auth_reply   ){

    $iconmsg="<img src=\"".TEMPLATE_PATH."/board_images/danger.gif\"  border=\"0\"> ";
    $msg = $lang['board_register'];
$txt_clickstream = "".$lang['board_badrequest']."";
    $content ="";
    $redirectpage="<meta http-equiv=refresh content=\"11; url=board.php \">"; }
 else {
if ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) {
   $sender_name = "<input name=\"username_form\" maxlength=\"15\" type=\"text\" class=\"inputarea\" id=\"username_form\"  size=\"50\">";
   $sender_id = GUEST ;
       }else {
   $sender_name = ($user_info['user_level'] != GUEST) ? $user_info['user_name'] : "";
   $sender_id = ($user_info['user_id'] != GUEST) ? $user_info['user_id'] : "";
   $sender_email = ($user_info['user_level'] != GUEST) ? $user_info['user_email'] : "";
   $sender_name_hidden = "<input type=\"hidden\" name=\"username_form\" value=\"$sender_name\">";
    }
 if ($boardconfig['bb_board'] == 1 ) {
    $site_template->register_vars(array(
  "smiles" => $smiles,
      "lang_bbcode" => $lang['bbcode'],
      "lang_tag_prompt" => $lang['tag_prompt'],
      "lang_link_text_prompt" => $lang['link_text_prompt'],
      "lang_link_url_prompt" => $lang['link_url_prompt'],
      "lang_link_email_prompt" => $lang['link_email_prompt'],
      "lang_list_type_prompt" => $lang['list_type_prompt'],
      "lang_list_item_prompt" => $lang['list_item_prompt']
    ));
    $bbcode = $site_template->parse_template("bbcodeboard");
  }

 
$site_template->register_vars(array(
  "sender_name_hidden" =>$sender_name_hidden,
  "lang_name" => $lang['name'],
  "lang_subject" => $lang['subject'],
  "lang_massage" => $lang['massage'],
  "lang_post_reply" => $lang['post_reply'],
  "threadid" =>$threadid,
  "board_id" => $board_id,
  "showtopic" => $showtopic,
  "replyquote" =>$editpost,
  "subject" =>$subject_form,
  "reply" =>$reply,
  "sender_id" => $sender_id,
  "bbcode" => $bbcode,
  "sender_name" => $sender_name,
  "thrtext" => $thrtext,
  "thrstarter" => $thrstarter,
  "replyspicker" => $replyspicker,
  "replier" => $replier,
  "replytext" => $replytext
 
));


in  /templates/<your template>/boardform_reply.html find:

Code: [Select]
{showtopic}
after add:

Code: [Select]
<table width="700" border="0" align="center" cellpadding="4" cellspacing="0" class="threadspicker">
  <tr>
    <td width="150" valign="top"><b>{thrstarter}</b> schrieb: </td>
    <td>
    <p>{thrtext} </p>    </td>
  </tr>
</table>
<p align="center">{replyspicker}</p>


then open style.css from your templates folder and add at the end:

Code: [Select]
.threadspicker {
  background-color:#000000;
  border: 1px solid white;
  color: #ffffff;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
}

here you can edit background color etc...



Save and upload all files.
Thats it ;-)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: tsitsou on October 23, 2005, 11:04:49 AM
have you changed something in showboard.php or is it the original file?

Nope
i haven't change nothing.
And it was working perfectly but now it works ok but it displays the error i wrote above.
Also sometimes (propably from this error) the users table becomes broken and need repair.

Any idea?

cheers
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on October 23, 2005, 04:50:00 PM
If this give you this error =>

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/blacktra/public_html/boardreply.php on line 141

the problem its simple people just change this line with your own table/db name :

Code: [Select]
$hans = mysql_query ("SELECT repuser,reptext FROM egly_boardtrep WHERE repthrid='$thrid'");
To :

Example : 4images_boardtrep  or Mysite_boardtrep

If you don't know check your myphpadmin

;)

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

Another question : How added more smileys ?

 :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on October 23, 2005, 07:37:55 PM
A New Request :

Quickly Reply Box (just a box , more reply button) ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Egly on October 23, 2005, 07:38:09 PM
OOOOPS  8O  :lol:

I fixed this in my post  :oops:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on October 23, 2005, 11:21:20 PM
thats just a small mistake , nothing of other world ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on October 24, 2005, 05:47:18 PM
Egly , just a lil question , how can we make it show just the last post , and not "All " :)

:?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on October 24, 2005, 06:10:10 PM
... how can we make it show just the last post ...

latest comments in dreamboard -> http://www.4homepages.de/forum/index.php?topic=6689.msg40932#msg40932

Title: Re: [addon] DREAMBOARD V 2.1
Post by: beseech on October 25, 2005, 12:14:18 AM
... how can we make it show just the last post ...

latest comments in dreamboard -> http://www.4homepages.de/forum/index.php?topic=6689.msg40932#msg40932



No, i'm not talking about that , i'mean on boardreply show just the last post , using the code by Egly, this show all posts , and i've tried said , show just a "last" post !!

;) but thanks alot for you're reply !
Title: Re: [addon] DREAMBOARD V 2.1
Post by: glitzer on October 31, 2005, 06:06:16 PM
Hi!

Can Anybody help me!
I get always an fatal error:

I write much of entrys, and after 10 entries i get with every new Entry always this error
"Diese Thema oder diese Nachricht existieren nicht" in English..this "The topic or post you requested does not exist"

the entry can be see after the error, but you dont can open it.

does anybody know what i can do?

My Forum you can find at http://www.e-cardss.com/pics/board.php

PLEASE HELP MEEEEEEEEE
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on November 01, 2005, 06:02:50 AM
how make the page title show the thread name ?

for example : " Your Site Name : Forum - Mod's And Requests " .... show the name of current thread on page name ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Buster on November 01, 2005, 09:12:13 AM
Hi,
I'm using PhP5, Windows Server with Apache and MySQL 4.1.7.
I have installed dreamboard twice. First time with lots of errors like 'undefined variable in...', etc. After I had added a line in global.php, I installed dreamboard again with no errors at all.
But there was no chance to do anything:
I could not activate it, couldn't delete categories or forums neither create any. The only message I got was 'Fehler: Ihre Anfrage konnte nicht bearbeitet werden!'.
Can anybody help?
Regards,
Reiner
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Egly on November 01, 2005, 05:19:15 PM
@ beseech: sorry i have tried but i found no solution..

@ glitzer: have you installed the Paging MOD from V@no?

@ others: sorry, maybe Mantra has a solution..

Title: Re: [addon] DREAMBOARD V 2.1
Post by: glitzer on November 01, 2005, 05:22:28 PM
helloo
yes i have take the paging of vano :(
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on November 01, 2005, 05:28:41 PM
and about make the search form searching in forum too !!

or re-post my request about how added more smileys in forum !?

 :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Egly on November 01, 2005, 07:56:06 PM
@ glitzer: try to change "Posts perpage" in your Board Config in ACP. Maybe it helps...

I´m trying to make a boardsearch.

greez
Title: Re: [addon] DREAMBOARD V 2.1
Post by: glitzer on November 01, 2005, 08:08:31 PM
Hi Eagly,

thanks for your tip, but i have the same problem.

i have search in the whole forum for this fault, someone has the same problem i read,but its no solution for this problem.
I think its a error in the datebase, because i have copied all original php files from dreamboard once more in my ftp. but its the same problem.

I write a topic send it..i get the message it will be redirect and after this i got the message..it can find my topic.

I am very sad :((
yesterday i send in my newsletter at all to my members i have a new forum, and now it doesnt work.

Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on November 01, 2005, 08:18:41 PM
@ glitzer: try to change "Posts perpage" in your Board Config in ACP. Maybe it helps...

I´m trying to make a boardsearch.

greez

 :wink: Nice !!
Title: Re: [addon] DREAMBOARD V 2.1
Post by: glitzer on November 01, 2005, 08:21:42 PM
Nice? :(
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on November 01, 2005, 11:03:12 PM
lil mistake ....

i've said nice for Egly , about trying make a search form.........
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Buster on November 02, 2005, 07:52:57 AM

@ others: sorry, maybe Mantra has a solution..

I think my problem ist PhP5 - dreamboard is not willing to run errorless with it.
Regards,
Reiner
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mantra on November 03, 2005, 02:25:58 AM
dreamboard not fully tested on php 5, and somebody send me PM about there problem in dreamboard with there site,  I did mention in my website how you can get full of suport if you not sharing [ they remove my link and also my logo ],

I'M SICK SICK, DO YOU THING THE DREAMBOARD FALL FROM THE SKY. :evil: :evil: :evil: :evil: :evil: :evil: :evil:

http://www.e-cardss.com/pics/board.php

sorry if i'm to hard i just don't have the time right now.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Buster on November 03, 2005, 07:13:26 AM
dreamboard not fully tested on php 5, and somebody send me PM about there problem in dreamboard with there site,  I did mention in my website how you can get full of suport if you not sharing [ they remove my link and also my logo ],

I'M SICK SICK, DO YOU THING THE DREAMBOARD FALL FROM THE SKY. :evil: :evil: :evil: :evil: :evil: :evil: :evil:

http://www.e-cardss.com/pics/board.php

sorry if i'm to hard i just don't have the time right now.

Sorry Mantra, but I didn't remove your link - nevertheless dreamboard didn't run under PhP5. :)
Regards,
Reiner
Title: Re: [addon] DREAMBOARD V 2.1
Post by: JensF on November 12, 2005, 05:07:24 PM
Has this Version the function: email sent when new reply ????

And another. Now i use the Version 1.0 but they don´t work with my style.css. All at the board is grey (see: http://www.terraristik-galerie.de/board.php) but all other site works with my style.css (see: http://www.terraristik-galerie.de/categories.php?cat_id=10)

Can anyone help??
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Egly on November 13, 2005, 08:35:13 AM
Hi Jens,

no, it hasnt a mail function, but if you want it anyway do as follows:

open boardreply.php and find:

Code: [Select]
$sql = "SELECT board_name, board_moderator, board_moderator_email, board_mod_emailpost FROM ".BOARD_TABLE."  WHERE board_id = '$bid'";
        $result = $site_db->query($sql);
        $num_rows = $site_db->get_numrows($result);
        $row = array();
        while ($row = $site_db->fetch_array($result)) {
$board_id = $row['board_id'];
        $board_name = $row['board_name'];
    $board_moderator = $row['board_moderator'];
$board_moderator_email = $row['board_moderator_email'];
$board_mod_emailpost  = $row['board_mod_emailpost'];
        }
   $site_db->free_result($result);

insert below:

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' 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' ";

        $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///////////
 ////////////////////////////////////////// 

I commented two lines, where you have to insert your email Adress.
It should work, im using it for a while now.

2. Question:  The board uses another .css file
this file is in: /templates/<your template>/board_images/board_style.css


Greez Egly
Title: Re: [addon] DREAMBOARD V 2.1
Post by: JensF on November 13, 2005, 09:07:00 AM
Hi,

hhmm, think this is not what i mean. I mean a function where a user can activate a checkbox by a thread they called "Send Mail by new reply".

Its a function where you have in this Forum, too! Now i write this reply and you becomes a mail from the that anyone have write a reply...

 
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on November 13, 2005, 05:52:50 PM
and its possible create a POLL (option) or a search form for forum ? searching in forum (db) .. ?

 :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on November 20, 2005, 01:55:45 AM
Another question :

why when i use glow or shadow function this show on post 1 words for each line  8O ???

How make Nª of Posts Show on Member Profile ???
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Nasser on November 20, 2005, 02:45:49 AM
hey guys I need to add this wonderful add on to my 4images script ..
from where can I download it please ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Acidgod on November 20, 2005, 10:38:46 AM
please read the first post... (o:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Nasser on November 20, 2005, 05:01:04 PM
please read the first post... (o:

thank you very much .. I read it the first time .. and followed the link , but didn't notice the download icon .. so I thought that I didn't understand

but now I installed the add on WOW .. it's really great and the exactly what I need !!

thank you very much
thanks to the programmer ..

really a very wonderful addon to 4images

wish you the best always
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Nasser on November 23, 2005, 03:48:22 AM
I want to control the time which is shown as the post time

how can I change it ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Nasser on November 23, 2005, 04:51:24 AM
can you help in this please ..
I want the addon to send an email to all my gallery members when a new topic is posted in the board incloding ..
the subject .. the writer .. the date and time

or let's say the same as the one which is sent to the adminstrater .. but to all telling that there is a new post


thanks
Title: Re: [addon] DREAMBOARD V 2.1
Post by: JensF on November 23, 2005, 10:29:41 AM
Hi Jens,

no, it hasnt a mail function, but if you want it anyway do as follows:

open boardreply.php and find:

Code: [Select]
$sql = "SELECT board_name, board_moderator, board_moderator_email, board_mod_emailpost FROM ".BOARD_TABLE."  WHERE board_id = '$bid'";
        $result = $site_db->query($sql);
        $num_rows = $site_db->get_numrows($result);
        $row = array();
        while ($row = $site_db->fetch_array($result)) {
$board_id = $row['board_id'];
        $board_name = $row['board_name'];
    $board_moderator = $row['board_moderator'];
$board_moderator_email = $row['board_moderator_email'];
$board_mod_emailpost  = $row['board_mod_emailpost'];
        }
   $site_db->free_result($result);

insert below:

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' 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' ";

        $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///////////
 ////////////////////////////////////////// 

Greez Egly


Hello,

i have test this but when i post a reply i become a blank page :( Has anyone an idea why????

The Reply is posted but i don´t become a mail.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: izone on November 26, 2005, 03:37:59 PM
Sorry, but a silly question! :oops:

What does this mod do??

I have seen the demo but couldn't figure it out :oops:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Nasser on November 27, 2005, 02:23:57 AM
it's not a MOD .. it's an AddOn

and its a forum that you can use for your members or visiters also in the same place where your 4images is

Title: Re: [addon] DREAMBOARD V 2.1
Post by: Nasser on November 27, 2005, 02:25:56 AM
I want to control the time which is shown as the post time

how can I change it ?

can you help in this please ..
I want the addon to send an email to all my gallery members when a new topic is posted in the board incloding ..
the subject .. the writer .. the date and time

or let's say the same as the one which is sent to the adminstrater .. but to all telling that there is a new post


thanks

any answers please ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Acidgod on November 27, 2005, 03:55:31 AM
try to aks MANTRA himself:
http://www.mantradigital.com/dream/board.php
Title: Re: [addon] DREAMBOARD V 2.1
Post by: izone on November 27, 2005, 12:09:32 PM
it's not a MOD .. it's an AddOn

and its a forum that you can use for your members or visiters also in the same place where your 4images is



Thanks, Now I know it too.  :D

I was in his demo site and was looking for a mod. But I didn't know that it is the whole thing there :mrgreen:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on November 30, 2005, 03:12:52 AM
A small question .... how make (i mean allow) all users to modidy(edit) your own posts ?? :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on November 30, 2005, 10:03:07 PM
just more another question its possible use the smileys used in PMS or images Commments on board ? i mean use the MOD BBcode Smileys on Board ?

http://www.4homepages.de/forum/index.php?topic=6646.0 (mod link)


 :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: GeneT on December 03, 2005, 11:19:35 PM
Hi Mantra,

Same as Bear on page one here, i get this message when I try to edit a category name:

"Your request got error on prosses"

I have checked all file permissions and files, and everything else works great.
So do you have any idea?

Gene

Or...
has anyone else had a similar problem and solved it?
I really can't see how to fix this one.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: sigma on December 04, 2005, 03:03:40 AM
Anyone have success getting it to use your style.css ? as soon as the board loads up it changes the font size and some of the color classes. Any ideas how to remove this? I want it to use my css. Not its own
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Darkness2001 on December 05, 2005, 01:05:39 PM
Hello,

i have a question: Where can give me the german file for the Board (main.css) or who find it this  :?:

(My englisch is verry bad  :oops:)

Greez Darkness  :mrgreen:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: JensF on December 05, 2005, 01:09:33 PM
Gibt es hier irgendwo im Thema. Aber ich geb dir mal meines....

Quote
//-----------------------------------------
// DREAMBOARD LANG V 2.0
// German Version by Dominion
//------------------------------------
$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\">ERROR: Could not load configuration settings <br> PLEASE MAKE SURE YOU INSTALL THE BOARD !</font></strong></div></td></tr></table>";
$lang['board_disable'] = "Sorry das Forum ist gerade nicht verfügbar!";
$lang['board_badrequest'] = "Fehlermeldung ";
$lang['board_langinfo'] = "Information ";
$lang['board_register'] = "Du bist nicht eingeloggt oder hast keine Berechtigung diese Seite zu betreten. <br>
Wenn du schon einmal Beiträge schreiben konntest, hat der Admin deinen Account eventuell gesperrt oder du wurdest noch nicht freigeschaltet. <br><a href=\"{url_register}\">Jetzt anmelden</a><br><br><br>";
$lang['delete_post']="Du willst alles löschen aus dem Beitrag, bist du sicher?";
$lang['stat_board3']="Themen geschrieben.";
$lang['stat_board2']="Beiträge und";
$lang['stat_board1']="Es wurden bisher";
$lang['rank_user_newbie']="Newbie";
$lang['rank_user_add']="Addvance";
$lang['rank_user_member']="Member";
$lang['rank_user_mod']="Moderator";
$lang['user_signature']="Signatur:";
$lang['last_edit']="<br>Dieser Beitrag wurde zuletzt geändert von ";
$lang['last_edit_at']="am";
$lang['last_edit_count']=" - insgesamt: ";
$lang['editboard']="bearbeiten";
$lang['deleteboard']="löschen";
$lang['add_cat']="Kategorie hinzufügen";
$lang['add_catname']="Kategoriename:";
$lang['lang_add_board']="Forum hinzufügen";
$lang['lang_b_yes']="Ja";
$lang['lang_b_no']="Nein";
$lang['edit_reply']="Antwort bearbeiten";
$lang['edit_topic']="Thema bearbeiten";
$lang['unlock_thread']="Thema öffnen";
$lang['lock_thread']="Thema schliessen";
$lang['lock']="Geschlossen";
$lang['delete_thread']="Thema löschen";
$lang['delete_reply']="Antwort löschen";
$lang['forum_name'] = "Foren";
$lang['forum_desc'] = "Beschreibungen";
$lang['mod_sttop'] = "Moderator bekommt eine eMail bei einem neuen Thema";
$lang['mod_strep'] = "Moderator bekommt eine eMail bei einer neuen Antwort";
$lang['forum_selectcat'] = "Wähle eine Kategorien im Forum";
$lang['smiles'] = "Smilies";
$lang['topic'] = "Themen";
$lang['topic_review'] = "Thema vorschauen";
$lang['authorboard'] = "Autor";
$lang['massage'] = "Nachricht";
$lang['replies'] = "Antworten";
$lang['views'] = "Hits";
$lang['sticky'] = "Wichtig";
$lang['lang_userposts'] = "Beiträge im Forum :";
$lang['last_post'] = "letzter Beitrag";
$lang['topic_edit'] = "Thema ändern";
$lang['new_thread'] = "neuer Beitrag";
$lang['reply_quote'] = "Quote antworten";
$lang['post_reply'] = "Antwort schreiben";
$lang['post_replyquote'] = "neue Antworten in quote";
$lang['new_reply'] = "neue Antwort";
$lang['moderator'] = "Moderator";
$lang['post'] = "Beiträge";
$lang['location'] = "Position";
$lang['registered'] = "Registriert seit";
$lang['ip_address'] = "IP Adresse";
$lang['button_lastpost'] = "die letzten Beiträge anschauen";
$lang['no_newpost'] = "Keine neuen Beiträge";
$lang['new_post'] = "Neuer Beitrag";
$lang['post_date'] = "Beitragsdatum";
$lang['redirect_msg'] = "Du wirst in kürze zu deinem Beitrag weitergeleitet";
$lang['redirect_delpost'] = "Der beitrag wurde aus dem Forum gelöscht";
$lang['redirect_editpost'] = "Der Beitrag wurde im Forum geändert";
$lang['redirect_deltopics'] = "Das Thema wurde im Forum gelöscht";
$lang['redirect_edittopics'] = "Das Thema wurde im Forum verändert";
$lang['redirect_locktopics'] = "Das Thema wurde im Forum geschlossen";
$lang['redirect_unlocktopics'] = "Das Thema wurde im Forum geöffnet";
$lang['errorredirect_msg'] = "Das Thema ist nicht mehr vorhanden";
$lang['no_post'] = "Keine Beiträge in diesem Forum";
$lang['no_postfront'] = "---";
$lang['lang_auth_view'] = "Wer kann das Forum sehen?";
$lang['lang_auth_topics'] = "Wer kann neue Themen erstellen?";
$lang['lang_auth_reply'] = "Wer kann Antworten erstellen?";
$lang['lang_canpost'] = "<b>Du kannst neue Themen erstellen</b>";
$lang['lang_canrep'] = "<b>Du kannst auf Themen antworten</b>";
$lang['lang_canedit'] = "<b>Du kannst deinen Beitrag editieren</b>";
$lang['lang_candel'] = "<b>Du kannst deinen Beitrag löschen</b>";
$lang['lang_notpost'] = "Du kannst <b>keine</b> neuen Themen erstellen";
$lang['lang_notrep'] = "Du kannst <b>keine</b> Antworten erstellen";
$lang['lang_notedit'] = "Du kannst deine Beiträge <b>nicht</b> editieren";
$lang['lang_notdel'] = "Du kannst deine Beiträge <b>nicht</b> löschen";
$lang['thema_schreiben'] = "Thema schreiben als:";
$lang['ankuendigung'] = "Ankündigung";
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Darkness2001 on December 05, 2005, 08:04:23 PM
Hallo,

supi, danke für die schnelle Hilfe  :lol:

Grüße Darkness  :mrgreen:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Darkness2001 on December 07, 2005, 10:13:54 AM
Einfach cooles Board! Nach ein Paar änderungen funktionierte es auch wunderbar in deutsch!
Ein Problemchen habe ich aber noch...

Nach dem ein Beitrag gepostet wird, soll der User ja auf seinen 'alten' Thread zurück kommen...
Bekomme nur das Fenster mit der Meldung:

Du wirst zu Deiner Nachricht weitergeleitet.

Danach passiert nix :-(

Hallo habe geau diese Problem auch....

Hello I have the secound problem.

When user write the text for comments and klick submit then open the massage in a new windows.
And the prolem is: The page dosent reload back ?

I habe 4images 1.7.1 and the Version Dreamboard v 1.0

My download is from the dreamboard site Vers. 2.1

Help me please Greez Darkness  :mrgreen:

(My englisch verry bad  :oops:)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on December 16, 2005, 12:47:40 AM
Einfach cooles Board! Nach ein Paar änderungen funktionierte es auch wunderbar in deutsch!
Ein Problemchen habe ich aber noch...

Nach dem ein Beitrag gepostet wird, soll der User ja auf seinen 'alten' Thread zurück kommen...
Bekomme nur das Fenster mit der Meldung:

Du wirst zu Deiner Nachricht weitergeleitet.

Danach passiert nix :-(

Hallo habe geau diese Problem auch....

Hello I have the secound problem.

When user write the text for comments and klick submit then open the massage in a new windows.
And the prolem is: The page dosent reload back ?

I habe 4images 1.7.1 and the Version Dreamboard v 1.0

My download is from the dreamboard site Vers. 2.1

Help me please Greez Darkness  :mrgreen:

(My englisch verry bad  :oops:)


you mean redirect to post ?? if its that you must added on board.html a {redirect} tag before {board}  :roll:


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

How make the bbcode smileys MOD work on board (http://www.4homepages.de/forum/index.php?topic=6646.0) ???

any ideia ?  :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Darkness2001 on December 18, 2005, 10:58:00 PM
Hello,

thanks it works  :mrgreen: :mrgreen:

Greez Darkness  :mrgreen:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on December 25, 2005, 10:20:08 PM
A weakness was discovered when I added this for a user when he requested the userpic MOD to be intergrated.

Find :

Quote

$user_profile_link = (!empty($url_show_profile)) ? preg_replace("/{user_id}/", $user['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$user['user_id'];


replace with :

Code: [Select]

$user_profile_link = (!empty($url_show_profile)) ? str_replace("{user_id}", $user['user_id'], $url_show_profile) : $site_sess->url(ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$user['user_id']);


My apologize on this one and Merry Christmas to you all. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on December 26, 2005, 06:35:29 PM
Hello @ all

My problem is: If I change the settings in the forum manager, so that only members see the topic, the categorie can be seen again.... :?: :?: :?:
My guest are not allowed to view certain categories! How can I improve this board?

Thanks


PS: There's another bug: When the admin post, the time is always the same ("Wed, 13 Mar 2002")....
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on December 26, 2005, 08:53:49 PM
Quote

PS: There's another bug: When the admin post, the time is always the same ("Wed, 13 Mar 2002")....


I don't think this MOD uses the format_date function from includes/functions.php file. Does this happends on other MODs or only with this one ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on December 26, 2005, 09:03:17 PM
Quote

PS: There's another bug: When the admin post, the time is always the same ("Wed, 13 Mar 2002")....


I don't think this MOD uses the format_date function from includes/functions.php file. Does this happends on other MODs or only with this one ?

Only with this one....
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on December 26, 2005, 09:13:33 PM
In that case, could you specify - on which - page it happends ? Like - when the admin posts, could you post the filename with the query it actually shows on your URL Bar ? (No need to post whole URL).
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on December 26, 2005, 09:23:57 PM
In that case, could you specify - on which - page it happends ? Like - when the admin posts, could you post the filename with the query it actually shows on your URL Bar ? (No need to post whole URL).

Take a look on Mantra's site: e.g. http://www.mantradream.com/dreamskin/showthread.php?bid=6&threadid=30    always the same time: "Registered : Wed Mar 13, 2002 "

I have the same trouble... (I think the dreamboard need's a lot of help ...   :mrgreen:)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on December 26, 2005, 09:53:48 PM
And ... that's not all it would seems. Looks like "Guest" is showing below each registered names.  :mrgreen:

Also, stripslashes has not been used from their replies.  :mrgreen:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on December 26, 2005, 09:58:02 PM
And ... that's not all it would seems. Looks like "Guest" is showing below each registered names.  :mrgreen:

Also, stripslashes has not been used from their replies.  :mrgreen:

Hehe....  You see, there are a lot of problems! Don't know if mantra knows this, but my php knowledge is to bad for repairing all bugs  :?

Hope someone can help me... :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on December 26, 2005, 09:58:47 PM
Ok, from your boardreply.php file,

find :

Quote

$reply= (isset($HTTP_POST_VARS['message_form'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['message_form'])) : "";


replace with :

Quote

$reply= (isset($HTTP_POST_VARS['message_form'])) ? un_htmlspecialchars(stripslashes(trim($HTTP_POST_VARS['message_form']))) : "";


This should eliminate the slashes from replies.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on December 26, 2005, 10:04:23 PM
In the mean time,

from your boardthread.php file,

find :

Quote

$subject = (isset($HTTP_POST_VARS['subject_form'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['subject_form'])) : "";
$message = (isset($HTTP_POST_VARS['message_form'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['message_form'])) : "";
$topictype = (isset($HTTP_POST_VARS['topictype'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['topictype'])) : "";


replace with :

Quote

$subject = (isset($HTTP_POST_VARS['subject_form'])) ? un_htmlspecialchars(stripslashes(trim($HTTP_POST_VARS['subject_form']))) : "";
$message = (isset($HTTP_POST_VARS['message_form'])) ? un_htmlspecialchars(stripslashes(trim($HTTP_POST_VARS['message_form']))) : "";
$topictype = (isset($HTTP_POST_VARS['topictype'])) ? un_htmlspecialchars(stripslashes(trim($HTTP_POST_VARS['topictype']))) : "";


Then, find :

Quote

"massage" => htmlspecialchars(stripslashes($massage)),


change to :

Quote

"message" => htmlspecialchars(stripslashes($message)),


Then, in your template, change {massage} to : {message}

As for the date, I'm still digging into that.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on December 26, 2005, 10:21:46 PM
Ok, for the date, here's the problem :

Quote

$dbdate = time();


and

Quote

$thrdate =  format_date($boardconfig['date_format']." ".$boardconfig['time_format'], $thrdate);


Switch for first quote

to :

Quote

$dbdate = time("H:i:s");


and switch the 2nd quote

to :

Quote

$thrdate = format_date($config['date_format']." ".$config['time_format'], $thrdate);


from your boardmod.php and boardreply.php file.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on December 26, 2005, 10:28:35 PM
In the mean time,

from your boardthread.php file,

Then, find :

Quote

"massage" => htmlspecialchars(stripslashes($massage)),


change to :

Quote

"message" => htmlspecialchars(stripslashes($message)),


Then, in your template, change {massage} to : {message}

As for the date, I'm still digging into that.

Sorry, for that stupid question, but I can't find the template with {massage}  :!:   

Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on December 26, 2005, 10:31:34 PM
In the mean time,

from your boardthread.php file,

Then, find :

Quote

"massage" => htmlspecialchars(stripslashes($massage)),


change to :

Quote

"message" => htmlspecialchars(stripslashes($message)),


Then, in your template, change {massage} to : {message}

As for the date, I'm still digging into that.

Sorry, for that stupid question, but I can't find the template with {massage}  :!:   

It should be located in your : templates/<your_template>/boardform_edit.html file.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on December 26, 2005, 10:37:41 PM
And the 2nd quote:
Code: [Select]
$thrdate =  format_date($boardconfig['date_format']." ".$boardconfig['time_format'], $thrdate);
I can't find it!? In my code there's nowhere such a line, neither in the boardmod.php nor in the boardreply.php....
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on December 26, 2005, 10:40:22 PM
And the 2nd quote:
Code: [Select]
$thrdate =  format_date($boardconfig['date_format']." ".$boardconfig['time_format'], $thrdate);
I can't find it!? In my code there's nowhere such a line, neither in the boardmod.php nor in the boardreply.php....

My bad. This line comes from your showthread.php file. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on December 26, 2005, 10:49:21 PM
And the 2nd quote:
Code: [Select]
$thrdate =  format_date($boardconfig['date_format']." ".$boardconfig['time_format'], $thrdate);
I can't find it!? In my code there's nowhere such a line, neither in the boardmod.php nor in the boardreply.php....

My bad. This line comes from your showthread.php file. ;)

Ok, I won't do anything wrong:

I change this in the boardmod.php, boardreply.php and boardthread.php
Code: [Select]
$dbdate = time();

to:
Code: [Select]
$dbdate = time("H:i:s");

Then in showthread.php find this:
Code: [Select]
$thrdate =  format_date($boardconfig['date_format']." ".$boardconfig['time_format'], $thrdate);

replace it with:
Code: [Select]
$thrdate = format_date($config['date_format']." ".$config['time_format'], $thrdate);

Is this ok?             ----> I've done this, buts nothing have changed, there's still the same failure... :?: :?: :?:

Now another question: When I create a topic and set the permission to member, why do all people can see the title of the topic, but they can't read the thread? I think it's better if guest see nothing neither title nor thread, cause its private or something else...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on December 26, 2005, 11:27:11 PM
Quote

why do all people can see the title of the topic, but they can't read the thread? I think it's better if guest see nothing neither title nor thread, cause its private or something else...


Sounds like the $user_info has been stated in a wrong place from a specific routine ...

if you ask me, this MOD has been coded terribly. There are so many bugs in there that even I - refused to installed it (just looking at the codes). According to me, it should be completely re-written.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on December 26, 2005, 11:34:13 PM
Quote

why do all people can see the title of the topic, but they can't read the thread? I think it's better if guest see nothing neither title nor thread, cause its private or something else...


Sounds like the $user_info has been stated in a wrong place from a specific routine ...

if you ask me, this MOD has been coded terribly. There are so many bugs in there that even I - refused to installed it (just looking at the codes). According to me, it should be completely re-written.

You are so right!!! Nothing else than bugs, but I'm a Newbie in php-coding and I'm happy to have a board  :|        --> What can I do with the time? The failure is still there...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on December 26, 2005, 11:38:01 PM
I just noticed something. In your boardreply.php and boardthread.php file,

change :

Quote

$dbdate = time("H:i:s");


to :

Code: [Select]

$dbdate = date("H:i:s");


(All of them by the way - there are more than a single line like this on each files).
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on December 26, 2005, 11:46:57 PM
Ok, I've changed it, but still the same.... 

... and tried the same with the boardmod.php, but nothing :!:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on December 26, 2005, 11:49:52 PM
Which PHP Version are you using ? In the mean time, did you post a new topic / thread on your forum to see if it were working ?

Note: Do NOT check the earlier posts, it is useless since each dates has been registered into your tables already. You must try each times with new posts.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on December 26, 2005, 11:53:46 PM
Which PHP Version are you using ? In the mean time, did you post a new topic / thread on your forum to see if it were working ?

Note: Do NOT check the earlier posts, it is useless since each dates has been registered into your tables already. You must try each times with new posts.

Ok, my PHP Version is 4.3.11!

Yes, this is logical  :mrgreen:  I always post a reply to a topic of my forum!
Title: Re: [addon] DREAMBOARD V 2.1
Post by: V@no on December 27, 2005, 08:19:16 AM
Ok, for the date, here's the problem :
Quote

$thrdate = format_date($boardconfig['date_format']." ".$boardconfig['time_format'], $thrdate);


switch the 2nd quote

to :

Quote

$thrdate = format_date($config['date_format']." ".$config['time_format'], $thrdate);


from your boardmod.php and boardreply.php file.

TheOracle, this what I was talking about you replying to people while you have no idea what you are talking about. You obviously have no idea how the mod works, all your changes so far are pure guesses, you dont help with that, you make people more confused by providing with wrong sollutions. Slow down and stay away from other people's code, would you? Well, untill you learn the code enough to be able to help.
Again two pages of useless "support" :roll:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on December 27, 2005, 02:56:42 PM
Quote

Slow down and stay away from other people's code, would you?


Sorry. I can't back away from something that has been badly coded + haven't been verified by administrators in the first place. :roll:

Again, you're pointing at the wrong user since the author of this MOD should be notified - not me. According to me, it is you who has made another personal point against another user.

I'm simply the victim along all other users who installed this MOD since it has been published. Since then, numerous response were posted regarding corrections of this MOD and it just keeps asking for patches (including me). Again, if your idea is to point out victims rather than authors - then don't reply at all !

Users likes the way I respond to them as I give them great support. If you're not satisfied with that, then there's nothing that can be done about it as it is simply your opinion.

Have a good night.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: V@no on December 27, 2005, 03:30:04 PM
Huh? are you blind? This post not in "Mods publishing and support" forum!
Now you are trying present yourself as a victim of poor code? c'mon, nobody asked you put your nose into sombody's code, the code you dont know in the first place.

And its not only my personal oppinion about you not being helpfull in most of the times, trust me, I'm not the only one dislike your staburn attitude. and please dont even try to refer to the topic you've started in chit-chat about how good you are (yes, I read that along with other 30 pages, half of which were your help useless stratched on 2 or more pages)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on December 27, 2005, 04:19:11 PM
Please, can you two discuss this somewhere else....  :?

The majority of the dreamboard v2.1 users, I think, need support!

I would be very, very happy if someone could help me!  :wink:

Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on December 27, 2005, 04:24:10 PM
Please, can you two discuss this somewhere else....  :?

The majority of the dreamboard v2.1 users, I think, need support!

I would be very, very happy if someone could help me!  :wink:


My apologize for this inconvinience Olphi.  :|
Title: Re: [addon] DREAMBOARD V 2.1
Post by: GeneT on January 01, 2006, 03:45:36 PM
So, this is my problem:

I have installed everything, three times, so I am pretty sure it is right.
However I receive these errors when I am in the admin area:

When I try to edit/delete the default forum, by Mantradream, it says that it was edited/delteted successfully, but it is still there. And I can try to delete it again, and still get the samme successfull process message.

When I try to add a board, I get this error:
Quote
Board name fields required
You don't have any category yet
Board description fields required

When I try to make some modification in the "Manage board" section, I get this error:
Quote
Your request got error on prosses



system: PHP5 (changed to PHP4 now)
Safe mode on!

I was first thinking it was because of PHP5, but it does not work in PHP4 either. I have several mods installed, and they all work perfect, so I am not hoping this is because of safe mode. Any chance it could be something else?

GeneT
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on January 01, 2006, 04:11:35 PM
I'm not sure, but probably turn the Safe Mode = OFF  :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: GeneT on January 01, 2006, 04:29:31 PM
I'm not sure, but probably turn the Safe Mode = OFF  :?:
That is not something I can do. That is the owner of the servers choice.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on January 01, 2006, 04:41:22 PM
I'm not sure, but probably turn the Safe Mode = OFF  :?:
That is not something I can do. That is the owner of the servers choice.

Yeah, I know, but you can ask... 
Title: Re: [addon] DREAMBOARD V 2.1
Post by: GeneT on January 01, 2006, 06:52:57 PM
I'm not sure, but probably turn the Safe Mode = OFF  :?:
That is not something I can do. That is the owner of the servers choice.

Yeah, I know, but you can ask... 
Already did ask, but they refuse to do so.

However I have tested on another server with safe mode off and I still get the same errors. So it is not a safe mode error. I am thinking it is having problem connecting to the database or something. Besides everything else work, so it is very strange.


If anyone has a set of files with a working dreamboard installed, I could try it out and see if I discover anything. If someone is willing to share that is.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: chip on January 02, 2006, 08:00:10 AM
hi everyone,

GeneT, I have exactly your error messages:

Quote
When I try to add a board, I get this error:
Quote
Board name fields required
You don't have any category yet
Board description fields required

When I try to make some modification in the "Manage board" section, I get this error:
Quote
Your request got error on prosses



Tried many times with PHP 5.0.5 and save mode off. Even with 1.7.1 raw version no luck.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Egly on January 04, 2006, 05:10:34 PM
Hi Guys!

Big BIG Problem!!

I really like this board, but now i have a big Problem myself...

Sometimes if users post threads or write replys and i want to watch them it shows me this error:

"This topic does not exist"

It is not saved in my database too...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: impss on January 05, 2006, 04:49:02 AM
I am getting all kinds of errors with this script on my gallery.
And this is my second time trying this mod

on board.php  it get errors:

Notice: Undefined variable: board in C:\CuSStom.com\www\4images2\board.php on line 81
Notice: Undefined index: vb in C:\CuSStom.com\www\4images2\board.php on line 163
Notice: Undefined variable: iconmsg in C:\CuSStom.com\www\4images2\board.php on line 173

line 81
Code: [Select]
$board .="<table width=\"100%\" border=\"0\">";
line163
Code: [Select]
$board .="</table> <br> ".$boardconfig['vb']."\n";
line 173
Code: [Select]
"iconmsg" => $iconmsg,
And that is just board.php

I have a mess of other errors also
look at http://www.cusstom.com/4images2/board.php

what could the problem be ?

thanks
Title: Re: [addon] DREAMBOARD V 2.1
Post by: V@no on January 05, 2006, 05:05:20 AM
These are not errors, these are notices.
in global.php uncomment
Code: [Select]
//error_reporting(E_ERROR | E_WARNING | E_PARSE);(or if you dont have any/simular then add it to the top of the file)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: impss on January 05, 2006, 05:24:41 AM
Thanks V@no,

Now i do not have those errors,

I still have a problem that, I still can't add or edit catogories. add boards  or make new posts

basically any changes are not saved
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 05, 2006, 12:08:13 PM
Quote

basically any changes are not saved


I'm sure it is related with the dreamboard MOD regarding the issues you're currently having. Probably due to a bad implementation or from the codings itself that could of provoqued some problems within other 4images core's routines.

The alternative solution is that you might have installed another MOD that might of conflict with the Dreamboard MOD and also affects the core in some ways.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: impss on January 05, 2006, 02:43:55 PM
Is there anyway to figure out what problems

-When i try to save changes made to the configuration fo the board, its says "Your request got error on prosses"
but it doesnt give me any indication of what that problem is.

- When i try to add a new catogory, it says "Category fields required"

- When i try to add a new board is says:
 "Board name fields required
You don't have any category yet
Board description fields required"

And Im sure that i installed this correctly, This is my second install attempt. and I just rechecked the changed files for the 3rd time.

Title: Re: [addon] DREAMBOARD V 2.1
Post by: impss on January 06, 2006, 05:28:46 PM
Is it possible the problem is that this gallery uses a remote 4.1.15 database ?

Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on January 11, 2006, 03:03:39 PM
Where and how can I change the day prefix: eg. Tue (Tuesday) into Di (Dienstag = German) ???
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on January 11, 2006, 05:41:24 PM
@Olphi,
... das geht leider nicht über php-date ... da werden entsprechend der gesetzten Variablen nur engl. Ausgaben erzeugt ... :?
... um einen deutschen Wochentag oder Monatsnamen anzuzeigen, muß man ein Array mit den Namenselementen erzeugen ...
... hier (http://www.on-design.de/tutor/php/datum.php) mehr dazu ...

mawenzi
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 12, 2006, 10:54:44 PM
i've search in mysql (phpadmin) and i've found in my 4images_users , a table "user_posts" being this used on board.

So how can i make it show in users profiles, the number of posts (own posts)...

example:

profile of: Myself

Forum Posts: XXX

cheers  8)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 13, 2006, 12:55:46 AM
With a "SELECT Count" statement. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 13, 2006, 01:45:44 AM
With a "SELECT Count" statement. ;)


erm ...i'm php newbie  :?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 13, 2006, 01:55:26 AM
Very well.

In your member.php file,

find :

Quote

"user_icq_status" => (isset($user_row['user_icq'])) ? get_icq_status($user_row['user_icq']) : REPLACE_EMPTY,


add right below :

Code: [Select]

"lang_user_posts" => $lang['user_posts_status'],
"user_posts" => (isset($user_row['user_posts'])) ? $user_row['user_posts'] : REPLACE_EMPTY,


Then, in your lang/english/main.php file,

add before the "?>" tag :

Code: [Select]

$lang['user_posts_status'] = "This user has posted:";


Then, in your member_profile.html file,

use your tags like this :

Code: [Select]

{lang_user_posts}
{user_posts}


(as it would fit in your personalized template presentation - of course).

This should work just fine. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 13, 2006, 02:06:50 AM
works perfect !!!!!!!!

 :D thanks alot !!!
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 13, 2006, 02:08:18 AM
Excellent. I even thought about adding a "total count" for user postings from the page header. This could, in fact, be added as part of the statistics MOD as well. What do you think ? ;)

Something like : Total posts from users:

Let me know if you're interested.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 13, 2006, 04:20:22 AM
Excellent. I even thought about adding a "total count" for user postings from the page header. This could, in fact, be added as part of the statistics MOD as well. What do you think ? ;)

Something like : Total posts from users:

Let me know if you're interested.

Yes, i've think on that before  :D

Thats a Good Ideia !!!

------
1)
Another ideia its track the user posts (show all forum posts by XX user in your profile) same used before with user comments(gallery) :)

2)
A simply and useful ideia : make post subjects as links,so users can go directly to one specific post (i.e used here on this forum) ;)


Cheers ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on January 13, 2006, 08:39:50 AM
1. I found a problem: If I edit my own posts, the old text isn't anymore available and I must rewrite the whole post! How can I show the old post in the textfield???

2. Another thing is: You can't move topics and Replies from one category to another... How can I change this, it's to hard for me to program...  :(

Thanks
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on January 13, 2006, 10:18:20 AM
... You can't move topics and Replies from one category to another... How can I change this ...

... gehe in dein phpMyAdmin -> 4images_boardtrep -> repthrid / repforid ...
... durch logische Änderung der Board-ID (repthrid) und der Themen-ID (repforid) kannst du eine Antwort verschieben ...
... logisch : durch die Kombination aus den IDs muss die Antwort einem Thema eindeutig zugeordnet werden können ...

mawenzi
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 13, 2006, 12:42:42 PM
@Stoleti:

Quote

Another ideia its track the user posts (show all forum posts by XX user in your profile) same used before with user comments(gallery)


I thought of this idea before actually. If no one else posts this routine, I will see what I can do.

Quote

A simply and useful ideia : make post subjects as links,so users can go directly to one specific post (i.e used here on this forum)


I'm not sure I get this one though. Do you mean the "latest topic" users creates and could appear (with the link) from his user profile ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 13, 2006, 03:40:52 PM
Quote
I'm not sure I get this one though. Do you mean the "latest topic" users creates and could appear (with the link) from his user profile ?


yes i know we've the topic link and latest post link , but the past "posts" doesn't have a link :)

I mean if we want show one specific post in one topic !!!

example :

http://www.yoursite.com/showthread.php?bid=1&threadid=194#1
http://www.yoursite.com/showthread.php?bid=1&threadid=194#2


etc....

or some like it :)

Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 13, 2006, 03:49:37 PM
I believe this might be possible to do. This is simply SQL ordering during the row selection that could be added in member.php file.

However, since I have not installed this MOD, you'd need to give me the coded URL (from the PHP files) on where the topics are actually pointed. This way, I could customize it. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 13, 2006, 04:44:19 PM
Ok, for the latest post from a specific thread, I believe I found the way to do so (untested).

First, make a backup of your member.php file.

Then, find this block :

Quote

$user_icq = (isset($user_row['user_icq'])) ? $user_row['user_icq'] : REPLACE_EMPTY;
    if (!empty($user_icq) && $user_icq != REPLACE_EMPTY) {
      $user_icq_button = "<a href=\"http://wwp.icq.com/scripts/search.dll?to=".$user_icq."\" target=\"_blank\"><img src=\"http://web.icq.com/whitepages/online?icq=".$user_icq."&img=5\" width=\"18\" height=\"18\" border=\"0\" alt=\"".$user_icq."\" /></a>";
    }
    else {
      $user_icq_button = REPLACE_EMPTY;
    }


add below :

Code: [Select]

$boardgories = "

SELECT catid, catname
FROM ".BOARD_CAT_TABLE."

";

$result = $site_db->query($boardgories);

$dboard_cat_row = $site_db->fetch_array($boardgories);

$board_catid = $dboard_cat_row['catid'];

$dreamboard_selection = "

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, auth_view
FROM ".BOARD_TABLE."
WHERE board_catid = '".$board_catid."'
LIMIT 1

";

$result = $site_db->query($dreamboard_selection);

$dboard_row = $site_db->fetch_array($result);

$board_id = $dboard_row['board_id'];
$board_catid = $dboard_row['board_catid'];
$board_name = $dboard_row['board_name'];
$board_desc = $dboard_row['board_desc'];
$board_topics = $dboard_row['board_topics'];
$board_posts = $dboard_row['board_posts'];
$board_lastpost_id = $dboard_row['board_lastpost_id'];
$board_lastpost_user = $dboard_row['board_lastpost_user'];
$board_lastpost_date = $dboard_row['board_lastpost_date'];
$board_lastpost_page = $dboard_row['board_lastpost_page'];
$board_moderator = $dboard_row['board_moderator'];
$board_moderator_id = $dboard_row['board_moderator_id'];
$auth_view = $dboard_row['auth_view'];
$newlastpost = "<img src=\"".TEMPLATE_PATH."/board_images/new_last_post.gif\" border=\"0\" alt=\"".$lang['button_lastpost']."\">";


Then, find :

Quote

"user_icq_status" => (isset($user_row['user_icq'])) ? get_icq_status($user_row['user_icq']) : REPLACE_EMPTY,


add right below :

Code: [Select]

"lang_dboard_lastpost_topic" => $lang['dboard_user_lastposted'],
"dboard_lastpost_topic" => "<a href=\"".$site_sess->url(ROOT_PATH."showthread.php?bid=".$board_id."&threadid=".$board_lastpost_id."&page=".$board_lastpost_page)."\">".$newlastpost."</a>",


Then, in your lang/english/main.php file,

add before the : "?>" tag :

Code: [Select]

$lang['dboard_user_lastposted'] = "Last post from user:";


Then, on your member_profile.html file,

you should now be able to use these two tags :

Code: [Select]

{lang_dboard_lastpost_topic}
{dboard_lastpost_topic}


Note: Remember that this is untested. ;)

Let me know how it goes.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 13, 2006, 05:02:25 PM
Update: My post above has been updated.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on January 13, 2006, 05:13:14 PM
it should be better ...
Code: [Select]
$boardgories = "
SELECT catid, catname
FROM ".BOARD_CAT_TABLE."
";
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 13, 2006, 05:14:33 PM
it should be better ...
Code: [Select]
$boardgories = "
SELECT catid, catname
FROM ".BOARD_CAT_TABLE."
";

Thanks. Forgot to remove one ";". Post corrected. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 13, 2006, 06:12:34 PM
so this show on user profile , the last post by user ? i'm correct ?

 :mrgreen:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 13, 2006, 06:14:22 PM
I believe this might be possible to do. This is simply SQL ordering during the row selection that could be added in member.php file.

However, since I have not installed this MOD, you'd need to give me the coded URL (from the PHP files) on where the topics are actually pointed. This way, I could customize it. ;)

what you mean ? you need my php files ?  :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 13, 2006, 06:18:25 PM
Quote

so this show on user profile , the last post by user ? i'm correct ?


This is what I'm asking you to test on.  :lol:

Quote

what you mean ? you need my php files ?


No longer necessary. I found the query myself in the package and has been included in my instructions above.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 13, 2006, 06:29:11 PM
this don't give any error, but bad new its this isn't showing nothing about posts on profile  :| , only "lang" work !!!
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 13, 2006, 06:46:43 PM
I see. Then, if you

replace this line :

Quote

"dboard_lastpost_topic" => "<a href=\"".$site_sess->url(ROOT_PATH."showthread.php?bid=".$board_id."&threadid=".$board_lastpost_id."&page=".$board_lastpost_page)."\">".$newlastpost."</a>",


with :

Code: [Select]

"dboard_lastpost_topic" => (isset($dboard_row['board_posts'])) ? "<a href=\"".$site_sess->url(ROOT_PATH."showthread.php?bid=".$board_id."&threadid=".$board_lastpost_id."&page=".$board_lastpost_page)."\">".$newlastpost."</a>" : REPLACE_EMPTY,


will it still only show the lang message ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 13, 2006, 07:07:46 PM
now this give me :

Quote
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/blacktra/public_html/includes/db_mysql.php on line 92

 8O
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 13, 2006, 07:26:11 PM
Ok, then - replace this part :

Quote

(isset($dboard_row['board_posts'])) ?


simply into this (updated) :

Code: [Select]

"dboard_lastpost_topic" => ($dboard_row['board_posts']) ?

Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 13, 2006, 08:34:51 PM
still giving the same msg :

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/blacktra/public_html/includes/db_mysql.php on line 92
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 13, 2006, 08:37:14 PM
Please post the line you have replaced. I will take a look at it.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 13, 2006, 08:41:40 PM
My code "show profile" from member.php


Code: [Select]
//-----------------------------------------------------
//--- Show Profile ------------------------------------
//-----------------------------------------------------
if ($action == "showprofile") {
  $txt_clickstream = $lang['profile'];
  if (isset($HTTP_GET_VARS[URL_USER_ID]) || isset($HTTP_POST_VARS[URL_USER_ID])) {
    $user_id = (isset($HTTP_GET_VARS[URL_USER_ID])) ? intval($HTTP_GET_VARS[URL_USER_ID]) : intval($HTTP_POST_VARS[URL_USER_ID]);
    if (!$user_id) {
      $user_id = GUEST;
    }
  }
  else {
    $user_id = GUEST;
  }

  if ($user_row = get_user_info($user_id)) {
  /*
  MOD MULTI-LIGHTBOXES
  START INSERT
*/
    $user_lightbox = "";
    $limit = ($user_row['user_lightbox_count'] == -1 || !$config['lightbox_count'] || $user_row['user_level'] == ADMIN) ? -1 : (($user_row['user_lightbox_count']) ? $user_row['user_lightbox_count'] : $config['lightbox_count']);
    if ((($user_row['user_lightbox_private'] || $user_row['user_level'] == ADMIN) && $config['lightbox_share'] && $user_info['user_level'] >= $config['lightbox']) || $user_info['user_level'] == ADMIN)
    {
      $condition = "";
      if ($limit != -1)
      {
        $condition = " LIMIT ".$limit;
      }
      $condition;
      $sql = "SELECT lightbox_id, lightbox_name, lightbox_private, lightbox_image_ids
              FROM ".LIGHTBOXES_TABLE."
              WHERE user_id = ".$user_row['user_id'].$condition;
      $result = $site_db->query($sql);
      if ($result)
      {
        while ($row = $site_db->fetch_array($result))
        {
          if (!$row['lightbox_private'] || $user_info['user_level'] == ADMIN)
          {
            $user_lightbox .= (($user_lightbox) ? "<br />" : "").(($user_info['user_level'] == ADMIN) ? ((!$row['lightbox_private']) ? "+ " : "- ") : "")."<a href=\"".$site_sess->url(ROOT_PATH."lightbox.php?lightbox_id=".$row['lightbox_id'])."\">".$row['lightbox_name']." (".((trim($row['lightbox_image_ids'])) ? count(explode(" ", trim($row['lightbox_image_ids']))) : 0).")</a>\n";
          }
        }
      }
    }
    $site_template->register_vars(array(
      "user_lightbox" => $user_lightbox,
      "lang_user_lightbox" => $lang['user_lightbox'],
    ));
/*
  MOD MULTI-LIGHTBOXES
  END INSERT
*/
    $user_homepage = (isset($user_row['user_homepage'])) ? format_url($user_row['user_homepage']) : REPLACE_EMPTY;
    if (!empty($user_homepage) && $user_homepage != REPLACE_EMPTY) {
      $user_homepage_button = "<a href=\"".$user_homepage."\" target=\"_blank\"><img src=\"".get_gallery_image("homepage.gif")."\" border=\"0\" alt=\"".$user_homepage."\" /></a>";
    }
    else {
      $user_homepage_button = REPLACE_EMPTY;
    }

    $user_icq = (isset($user_row['user_icq'])) ? $user_row['user_icq'] : REPLACE_EMPTY;
    if (!empty($user_icq) && $user_icq != REPLACE_EMPTY) {
      $user_icq_button = "<a href=\"http://wwp.icq.com/scripts/search.dll?to=".$user_icq."\" target=\"_blank\"><img src=\"http://web.icq.com/whitepages/online?icq=".$user_icq."&img=5\" width=\"18\" height=\"18\" border=\"0\" alt=\"".$user_icq."\" /></a>";
    }
    else {
      $user_icq_button = REPLACE_EMPTY;
    }
    $boardgories = "

SELECT catid, catname
FROM ".BOARD_CAT_TABLE."

";

$result = $site_db->query($boardgories);

$dboard_cat_row = $site_db->fetch_array($boardgories);

$board_catid = $dboard_cat_row['catid'];

$dreamboard_selection = "

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, auth_view
FROM ".BOARD_TABLE."
WHERE board_catid = '".$board_catid."'
LIMIT 1

";

$result = $site_db->query($dreamboard_selection);

$dboard_row = $site_db->fetch_array($result);

$board_id = $dboard_row['board_id'];
$board_catid = $dboard_row['board_catid'];
$board_name = $dboard_row['board_name'];
$board_desc = $dboard_row['board_desc'];
$board_topics = $dboard_row['board_topics'];
$board_posts = $dboard_row['board_posts'];
$board_lastpost_id = $dboard_row['board_lastpost_id'];
$board_lastpost_user = $dboard_row['board_lastpost_user'];
$board_lastpost_date = $dboard_row['board_lastpost_date'];
$board_lastpost_page = $dboard_row['board_lastpost_page'];
$board_moderator = $dboard_row['board_moderator'];
$board_moderator_id = $dboard_row['board_moderator_id'];
$auth_view = $dboard_row['auth_view'];
$newlastpost = "<img src=\"".TEMPLATE_PATH."/board_images/new_last_post.gif\" border=\"0\" alt=\"".$lang['button_lastpost']."\">";

    if (!empty($user_row['user_email']) && (!isset($user_row['user_showemail']) || (isset($user_row['user_showemail']) && $user_row['user_showemail'] == 1))) {
      $user_email = $user_row['user_email'];
      $user_email_save = str_replace("@", " at ", $user_row['user_email']);
      if (!empty($url_mailform)) {
        $user_mailform_link = $site_sess->url(preg_replace("/{user_id}/", $user_row['user_id'], $url_mailform));
      }
      else {
        $user_mailform_link = $site_sess->url(ROOT_PATH."member.php?action=mailform&amp;".URL_USER_ID."=".$user_row['user_id']);
      }
      $user_email_button = "<a href=\"".$user_mailform_link."\"><img src=\"".get_gallery_image("email.gif")."\" border=\"0\" alt=\"".$user_email_save."\" /></a>";
    }
    else {
      $user_email = REPLACE_EMPTY;
      $user_email_save = REPLACE_EMPTY;
      $user_mailform_link = REPLACE_EMPTY;
      $user_email_button = REPLACE_EMPTY;
    }
    $site_template->register_vars(array(
"lang_show_user_comments" => $lang['show_user_comments'],
     "url_show_user_comments" => $site_sess->url(ROOT_PATH."member.php?action=showcomments&user_id=".$user_row['user_id']),
     "user_id" => $user_row['user_id'],
     "user_name" => (isset($user_row['user_name'])) ? htmlspecialchars($user_row['user_name']) : REPLACE_EMPTY,
       "lang_pm" => ($user_info['user_id'] != $user_row['user_id']) ? "<a href=\"".$site_sess->url(ROOT_PATH."pms.php?action=reply&user_id=".$user_row['user_id'])."\" alt=\"".$lang['pms_user_pm_alt']."\">".$lang['pms_user_pm']."</a>" : "",
      "user_email" => $user_email,
      "user_email_save" => $user_email_save,
      "user_mailform_link" => $user_mailform_link,
      "user_email_button" => $user_email_button,
      "user_join_date" => (isset($user_row['user_joindate'])) ? format_date($config['date_format'], $user_row['user_joindate']) : REPLACE_EMPTY,
      "user_last_action" => (isset($user_row['user_lastaction'])) ? format_date($config['date_format']." ".$config['time_format'], $user_row['user_lastaction']) : REPLACE_EMPTY,
      "user_homepage" => $user_homepage,
      "user_avatar_current" => ($config['avatar_use']) ? "<img src=\"".TEMPLATE_PATH."/avatars/".(($user_row['user_avatar'] == "") ? "blank.gif" : $user_row['user_avatar'])."\" name=\"icons\" border=\"0\" alt=\"\">" : "",
      //User Pic
      "userpic_img" => ($config['userpic'] && $user_row['userpic']) ? ROOT_PATH."data/userpic/".$user_row['userpic'] : "",
//End User Pic
      "user_homepage_button" => $user_homepage_button,
      "user_icq" => $user_icq,
      "user_icq_button" => $user_icq_button,
      "user_icq_status" => (isset($user_row['user_icq'])) ? get_icq_status($user_row['user_icq']) : REPLACE_EMPTY,
      "dboard_lastpost_topic" => (!empty($dboard_row['board_posts'])) ? "<a href=\"".$site_sess->url(ROOT_PATH."showthread.php?bid=".$board_id."&threadid=".$board_lastpost_id."&page=".$board_lastpost_page)."\">".$newlastpost."</a>" : REPLACE_EMPTY,
      "user_comments" => (isset($user_row['user_comments'])) ? $user_row['user_comments'] : REPLACE_EMPTY,
      "comment_user_status_img" => ($user_row['user_lastaction'] >= (time() - 300) && ((isset($user_row['user_invisible']) && $user_row['user_invisible'] == 0) || $user_info['user_level'] == ADMIN)) ? "<img src=\"".get_gallery_image("user_online.gif")."\" border=\"0\" <font color=\"#0c0c0c\" size=-2></font>" : "<img src=\"".get_gallery_image("user_offline.gif")."\" border=\"0\" <font color=\"#0c0c0c\" size=-2></font>",
      "lang_profile_of" => $lang['profile_of'],
      "lang_show_user_images" => preg_replace("/".$site_template->start."user_name".$site_template->end."/siU", $user_row['user_name'], $lang['show_user_images']),
      "url_show_user_images" => $site_sess->url(ROOT_PATH."search.php?search_user=".urlencode($user_row['user_name'])),
      "lang_join_date" => $lang['join_date'],
      "lang_last_action" => $lang['last_action'],
         //--- User Age Mod ------------------------------------
  "lang_user_age" => $lang['user_age'],
  "lang_user_birthday" => $lang['user_birthday'],
  //--- End of User Age Mod -----------------------------
      "lang_comments" => $lang['comments'],
      "lang_email" => $lang['email'],
      "lang_homepage" => $lang['homepage'],
      "lang_icq" => $lang['icq'],
      "lang_user_posts" => $lang['user_posts_status'],
      "user_posts" => (isset($user_row['user_posts'])) ? $user_row['user_posts'] : REPLACE_EMPTY,
      "lang_download_lastaction" => $lang['download_lastaction'], // Mod: Track User Downloads
      "lang_user_downloads" => $lang['downloaded_images'], // Mod: Track User Downloads
      "url_user_downloads" => ($user_info['user_level'] == ADMIN) ? $site_sess->url(ROOT_PATH."search.php?user_downloads=".$user_row['user_id']) : "" // Mod: Track User Downloads
    ));

    if (!empty($additional_user_fields)) {
      $additional_field_array = array();
      foreach ($additional_user_fields as $key => $val) {
        $additional_field_array[$key] = (!empty($user_row[$key])) ? format_text($user_row[$key], 1) : REPLACE_EMPTY;
        $additional_field_array['lang_'.$key] = $val[0];
      }
      if (!empty($additional_field_array)) {
        $site_template->register_vars($additional_field_array);
//--- User Age Mod ------------------------------------
$birthday_array = array();

$birthday_array = get_birthday($additional_field_array['user_age_birthday']);
$birthday_array[3] = get_age($birthday_array[0], $birthday_array[1], $birthday_array[2]);

if($birthday_array[0] == "0000")
{
$site_template->register_vars(array(
"user_age_missing" => $lang['user_age_missing']
));
}
else
{
if($birthday_array[0] != "0000" && $birthday_array[1] != "00" && $birthday_array[2] != "00")
{
$birthday_timestamp = format_date($config['date_format'], strtotime($birthday_array[0] . "-" . $birthday_array[1] . "-" . $birthday_array[2]));
}
else
{
$birthday_timestamp = (($birthday_array[1] != "00") ? $lang['months'][$birthday_array[1]] . " " : "") . $birthday_array[0];
}

$site_template->register_vars(array(
"user_birthday" => $birthday_timestamp,
"user_age" => "" . $birthday_array[3] . ""
));
}
//--- End of User Age Mod -----------------------------
      }
    }
    $content = $site_template->parse_template("member_profile");
  }
  else {
    $content = $lang['invalid_user_id'];
  }
}


 :?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 13, 2006, 08:53:16 PM
Very well. I have updated my last replacement above.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 13, 2006, 09:46:32 PM
stills the same , this is my code line now with last code :

Quote
"dboard_lastpost_topic" => ($dboard_row['board_posts']) ? "<a href=\"".$site_sess->url(ROOT_PATH."showthread.php?bid=".$board_id."&threadid=".$board_lastpost_id."&page=".$board_lastpost_page)."\">".$newlastpost."</a>" : REPLACE_EMPTY,
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 14, 2006, 01:01:08 AM
I don't see how this can affect. Uncomment this line to see if the error is gone.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 14, 2006, 01:13:18 AM
i think the error its on this code
Quote
$boardgories = "

SELECT catid, catname
FROM ".BOARD_CAT_TABLE."

";

$result = $site_db->query($boardgories);

$dboard_cat_row = $site_db->fetch_array($boardgories);

$board_catid = $dboard_cat_row['catid'];

$dreamboard_selection = "

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, auth_view
FROM ".BOARD_TABLE."
WHERE board_catid = '".$board_catid."'
LIMIT 1

";

$result = $site_db->query($dreamboard_selection);

$dboard_row = $site_db->fetch_array($result);

$board_id = $dboard_row['board_id'];
$board_catid = $dboard_row['board_catid'];
$board_name = $dboard_row['board_name'];
$board_desc = $dboard_row['board_desc'];
$board_topics = $dboard_row['board_topics'];
$board_posts = $dboard_row['board_posts'];
$board_lastpost_id = $dboard_row['board_lastpost_id'];
$board_lastpost_user = $dboard_row['board_lastpost_user'];
$board_lastpost_date = $dboard_row['board_lastpost_date'];
$board_lastpost_page = $dboard_row['board_lastpost_page'];
$board_moderator = $dboard_row['board_moderator'];
$board_moderator_id = $dboard_row['board_moderator_id'];
$auth_view = $dboard_row['auth_view'];
$newlastpost = "<img src=\"".TEMPLATE_PATH."/board_images/new_last_post.gif\" border=\"0\" alt=\"".$lang['button_lastpost']."\">";


the other line of code isn't giving error  :roll:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: venator on January 14, 2006, 01:20:58 AM
when i add category, post, etc i have error: Category fields required, etc
PLEASE HELP
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 14, 2006, 07:09:54 AM
i think the error its on this code
Quote
$boardgories = "

SELECT catid, catname
FROM ".BOARD_CAT_TABLE."

";

$result = $site_db->query($boardgories);

$dboard_cat_row = $site_db->fetch_array($boardgories);

$board_catid = $dboard_cat_row['catid'];

$dreamboard_selection = "

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, auth_view
FROM ".BOARD_TABLE."
WHERE board_catid = '".$board_catid."'
LIMIT 1

";

$result = $site_db->query($dreamboard_selection);

$dboard_row = $site_db->fetch_array($result);

$board_id = $dboard_row['board_id'];
$board_catid = $dboard_row['board_catid'];
$board_name = $dboard_row['board_name'];
$board_desc = $dboard_row['board_desc'];
$board_topics = $dboard_row['board_topics'];
$board_posts = $dboard_row['board_posts'];
$board_lastpost_id = $dboard_row['board_lastpost_id'];
$board_lastpost_user = $dboard_row['board_lastpost_user'];
$board_lastpost_date = $dboard_row['board_lastpost_date'];
$board_lastpost_page = $dboard_row['board_lastpost_page'];
$board_moderator = $dboard_row['board_moderator'];
$board_moderator_id = $dboard_row['board_moderator_id'];
$auth_view = $dboard_row['auth_view'];
$newlastpost = "<img src=\"".TEMPLATE_PATH."/board_images/new_last_post.gif\" border=\"0\" alt=\"".$lang['button_lastpost']."\">";


the other line of code isn't giving error  :roll:

Change :

Quote

$boardgories = "

SELECT catid, catname
FROM ".BOARD_CAT_TABLE."

";


into :

Code: [Select]

$boardgories = "

SELECT catid, catname
FROM ".BOARD_CAT_TABLE;


Then, change :

Quote

WHERE board_catid = '".$board_catid."'


into :

Code: [Select]

WHERE board_catid = '$board_catid'

Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 14, 2006, 07:41:42 PM
error has gone  :D


but still without show the last post topic... on profile  :roll:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: venator on January 14, 2006, 07:55:22 PM
error has gone  :D


but still without show the last post topic... on profile  :roll:

:) yes... this is "half-mod". it work correctly only if in your php.ini register_globals = Off
make file test.php with this:
<?
phpinfo()
?>
if yo have premisson to phpinfo you wiev register_globals  Off on your hosting
you need add like this everywhere in php code uses forms variables $sample_variable = un_htmlspecialchars(trim($HTTP_POST_VARS['sample_variable']));
:(
you need rewrite source but this is not easy..

sorry, my english is bAd :) i'm russian :)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 14, 2006, 09:44:28 PM
i've check in my php_server_information (plugin here avaliable) and

Quote
Your register_globals option is set to off (which, in order to operate with 4images, is a bad thing). If you do not use any different scripts than 4images, and      does not require this option to be disabled, it would be recommended that you contact your ISP in order to activate this function.

 :|
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 14, 2006, 09:56:21 PM
error has gone  :D


but still without show the last post topic... on profile  :roll:

:) yes... this is "half-mod". it work correctly only if in your php.ini register_globals = Off
make file test.php with this:
<?
phpinfo()
?>
if yo have premisson to phpinfo you wiev register_globals  Off on your hosting
you need add like this everywhere in php code uses forms variables $sample_variable = un_htmlspecialchars(trim($HTTP_POST_VARS['sample_variable']));
:(
you need rewrite source but this is not easy..

sorry, my english is bAd :) i'm russian :)


The alternative solution to that would also be to create an SQL statement with LEFT JOIN between the USERS_TABLE and the BOARD_TABLE. This way, the additional board title name could also be tracked from the showprofile page (it's pretty much like the way the CATEGORIES_TABLE and the IMAGES_TABLE are currently handled. ;)).

Another alternative solution (less recommended though) would be to insert the title name into the USERS_TABLE ' during the same action as the current one when inserting into the BOARD_TABLE '. The thing is, by considering this one, more server ressources could be involved.

Quote

Your register_globals option is set to off (which, in order to operate with 4images, is a bad thing). If you do not use any different scripts than 4images, and      does not require this option to be disabled, it would be recommended that you contact your ISP in order to activate this function.


Good to know you're still using one of my old MOD release. Very practical isn't it ? ;)

In the mean time, thanks for posting this. It does facilitate the task when doing support.

/* Solution */

You should, indeed, ask your web hosting service if the register_globals can be activated. Otherwise, it could be a pain sometimes. ;)

Quote

error has gone  Very Happy


but still without show the last post topic... on profile 


Did you commented back the array line I stated to uncomment yesterday ? ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 15, 2006, 01:38:55 AM
well i've made all updates (code) , i'm kinda lost , but i ill post my code with all updates here  8)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: sigma on January 18, 2006, 06:19:05 AM
has anyone else encountered the problem when trying to save changes to the user profile? I get 'Please enter a Signature!' both as a user and in the ACP.

Anyone know of a fix?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Olphi on January 18, 2006, 07:47:23 AM
Yeah, have the same problem!  :cry:    No idea, what to do...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on January 18, 2006, 02:38:20 PM
@sigma and Olphi,

... I got the same massage by editing user profil ...
... and that's my solution ... "additional_user_fields" in profile do not have urgent to be filled out ...
... comment out these code lines in member.php -> Edit Profile ... like these ...
Code: [Select]
/*
  if (!empty($additional_user_fields)) {
    foreach ($additional_user_fields as $key => $val) {
      if (isset($HTTP_POST_VARS[$key]) && intval($val[2]) == 1 && trim($HTTP_POST_VARS[$key]) == "") {
        $error = 1;
        $field_error = preg_replace("/".$site_template->start."field_name".$site_template->end."/siU", str_replace(":", "", $val[0]), $lang['field_required']);
        $msg .= (($msg != "") ? "<br />" : "").$field_error;
      }
    }
  }
*/

... now you can save the user profile without a "signature" and without a error massage ...
... that's my solution ... maybe there is another ...

mawenzi
Title: Re: [addon] DREAMBOARD V 2.1
Post by: sigma on January 18, 2006, 02:55:45 PM
Thanks mawenzi, that works just fine :)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 18, 2006, 03:07:36 PM
I wonder if this uncomment block could affect other routines though ...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on January 18, 2006, 03:11:16 PM
@ TheOracle
... which other routines ... except "Edit Profile -> if (!empty($additional_user_fields)) " ...  :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 18, 2006, 03:37:46 PM
@ TheOracle
... which other routines ... except "Edit Profile -> if (!empty($additional_user_fields)) " ...  :?:

We'll find out when a user will report unusual activities. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Flatermann on January 19, 2006, 05:14:27 PM
Wenn i install this mode i get an error

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/web7/html/4images/includes/db_mysql.php on line 92

what wor me
      return ($assoc) ? mysql_fetch_assoc($this->query_id) : mysql_fetch_array($this->query_id);
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 19, 2006, 06:15:33 PM
You made a mistake during the implementation process. Restore your backup and try again.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Flatermann on January 20, 2006, 02:34:21 PM
Wenn i install this mode i get an error

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/web7/html/4images/includes/db_mysql.php on line 92



I found the problem...

Code: [Select]
$dboard_cat_row = $site_db->fetch_array($boardgories);
should be :

Code: [Select]
$dboard_cat_row = $site_db->fetch_array($result);
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on January 20, 2006, 02:41:38 PM
@ Flatermann ... in which file ... ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 20, 2006, 03:39:40 PM
Wenn i install this mode i get an error

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/web7/html/4images/includes/db_mysql.php on line 92



I found the problem...

Code: [Select]
$dboard_cat_row = $site_db->fetch_array($boardgories);
should be :

Code: [Select]
$dboard_cat_row = $site_db->fetch_array($result);


It could be my search software but ... I do not see anything that starts with : $dboard_cat_row string ...  8O
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Egly on January 20, 2006, 05:37:56 PM
Hi Guys!

Big BIG Problem!!

I really like this board, but now i have a big Problem myself...

Sometimes if users post threads or write replys and i want to watch them it shows me this error:

"This topic does not exist"

It is not saved in my database too...

Hey guys!

A few days ago i had this error above.

I think it is the best thing if i describe it in an example.

I´m writing a thread whos id is 105. Then i write one more topic and its id is 106.
Now i delete the last topic (id 106) and post a new one.
Its id normally is 107.
If i want to open it the link from the board points to the thread with the id 106 although it should point to 107  and it gives me the error "Topic does not exist."

Does anybody know where the topics are counted or how i can fix this??

I fixed it with adding some "blind threads" that the counts are allright, but if someone deletes one topic it doesnt work any more...

plz help!!!
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 20, 2006, 06:19:34 PM
From which PHP file (and query) exacly does this happend actually ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Flatermann on January 21, 2006, 11:51:44 AM
IN member.php


$boardgories = "

SELECT catid, catname
FROM ".BOARD_CAT_TABLE."

";

$result = $site_db->query($boardgories);

$dboard_cat_row = $site_db->fetch_array($result);   your Origi. was $dboard_cat_row = $site_db->fetch_array($boardgories);

$board_catid = $dboard_cat_row['catid'];

$dreamboard_selection = "

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, auth_view
FROM ".BOARD_TABLE."
WHERE board_catid = '".$board_catid."'
LIMIT 1

";

$result = $site_db->query($dreamboard_selection);

$dboard_row = $site_db->fetch_array($result);

$board_id = $dboard_row['board_id'];
$board_catid = $dboard_row['board_catid'];
$board_name = $dboard_row['board_name'];
$board_desc = $dboard_row['board_desc'];
$board_topics = $dboard_row['board_topics'];
$board_posts = $dboard_row['board_posts'];
$board_lastpost_id = $dboard_row['board_lastpost_id'];
$board_lastpost_user = $dboard_row['board_lastpost_user'];
$board_lastpost_date = $dboard_row['board_lastpost_date'];
$board_lastpost_page = $dboard_row['board_lastpost_page'];
$board_moderator = $dboard_row['board

_moderator'];
$board_moderator_id = $dboard_row['board_moderator_id'];
$auth_view = $dboard_row['auth_view'];
$newlastpost = "<img src=\"".TEMPLATE_PATH."/board_images/new_last_post.gif\" border=\"0\" alt=\"".$lang['button_lastpost']."\">";
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Egly on January 21, 2006, 12:28:47 PM
Hi,

i think its no a thread problem. It only happens in replys.
I think it must be in this code section (I modified it..):

Code: [Select]
}elseif ($action == "qu") {
        $thread = mysql_query ("SELECT thrtopic,thrid,thrtext,thrstarter FROM ".BOARD_TCONT_TABLE." WHERE thrid='$threadid' AND thrforid='$bid'");
        while ($row = mysql_fetch_array($thread)) {
            $thrid = $row['thrid'];
$thrtopic = $row['thrtopic'];
$thrtext = format_boardtext($row['thrtext'], $boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);
$thrstarter = $row['thrstarter'];       
 $subject_form = "RE :".$thrtopic.""; 
 $reply = "";
 
  $hans = mysql_query ("SELECT repuser,reptext FROM egly_boardtrep WHERE repthrid='$thrid'");
while ($row = mysql_fetch_array($hans)) {
$replier = $row['repuser'];
$replytext = format_boardtext($row['reptext'], $boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);
 $replyspicker .="<table width=\"700\" border=\"0\" align=\"center\" cellpadding=\"4\" cellspacing=\"0\" class=\"threadspicker\">\n";
 $replyspicker .="<tr>\n";
 $replyspicker .="<td width=\"150\" valign=\"top\"><b>$replier</b> schrieb: </td>\n";
 $replyspicker .="<td>\n";
 $replyspicker .="<p>$replytext</p></td>\n";
 $replyspicker .="</tr>\n";
 $replyspicker .="</table>\n";
 $replyspicker .="<br>\n";
  };





  }

  }
     $forums = mysql_query ("SELECT board_id,board_catid,board_name,board_moderator_id,auth_reply FROM ".BOARD_TABLE." WHERE board_id ='$bid' ");
     while ($row = mysql_fetch_array($forums)) {
         $board_id = $row['board_id'];
         $board_catid = $row['board_catid'];
         $board_name = $row['board_name'];
$board_moderator_id = $row['board_moderator_id'];
$auth_reply = $row['auth_reply'];
     }
   if ( (empty($threadid) || $threadid < 0  ||   $bid < 0  )) {
   $error_board = $lang['board_badrequest'];
    }
  if ($error_board) {
  $main_template = "board";
  include(ROOT_PATH.'includes/page_header.php');
  show_error_board($error_board);

                  }
       $subject_form .= $headline ;
       $categories = mysql_query ("SELECT catid,catname FROM ".BOARD_CAT_TABLE." WHERE catid ='$board_catid'");
       while ($row = mysql_fetch_array($categories)) {
         $catid = $row['catid'];
         $catname = $row['catname'];
                                                    }
  $txt_clickstream = "<a href=\"board.php\">".$boardconfig['board_name']."</a>".$config['category_separator']."<a href=\"showboard.php?bid=$board_id\">$board_name</a>".$config['category_separator']."<a href=\"showthread.php?bid=$board_id&threadid=$threadid\"> $subject_form</a>".$config['category_separator']."".$lang['new_reply']."";

  if ( $user_info['user_level'] < $auth_reply   ){

    $iconmsg="<img src=\"".TEMPLATE_PATH."/board_images/danger.gif\"  border=\"0\"> ";
    $msg = $lang['board_register'];
$txt_clickstream = "".$lang['board_badrequest']."";
    $content ="";
    $redirectpage="<meta http-equiv=refresh content=\"11; url=board.php \">"; }
 else {
if ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) {
   $sender_name = "<input name=\"username_form\" maxlength=\"15\" type=\"text\" class=\"inputarea\" id=\"username_form\"  size=\"50\">";
   $sender_id = GUEST ;
       }else {
   $sender_name = ($user_info['user_level'] != GUEST) ? $user_info['user_name'] : "";
   $sender_id = ($user_info['user_id'] != GUEST) ? $user_info['user_id'] : "";
   $sender_email = ($user_info['user_level'] != GUEST) ? $user_info['user_email'] : "";
   $sender_name_hidden = "<input type=\"hidden\" name=\"username_form\" value=\"$sender_name\">";
    }
 if ($boardconfig['bb_board'] == 1 ) {
    $site_template->register_vars(array(
  "smiles" => $smiles,
      "lang_bbcode" => $lang['bbcode'],
      "lang_tag_prompt" => $lang['tag_prompt'],
      "lang_link_text_prompt" => $lang['link_text_prompt'],
      "lang_link_url_prompt" => $lang['link_url_prompt'],
      "lang_link_email_prompt" => $lang['link_email_prompt'],
      "lang_list_type_prompt" => $lang['list_type_prompt'],
      "lang_list_item_prompt" => $lang['list_item_prompt']
    ));
    $bbcode = $site_template->parse_template("bbcodeboard");
  }

 
$site_template->register_vars(array(
  "sender_name_hidden" =>$sender_name_hidden,
  "lang_name" => $lang['name'],
  "lang_subject" => $lang['subject'],
  "lang_massage" => $lang['massage'],
  "lang_post_reply" => $lang['post_reply'],
  "threadid" =>$threadid,
  "board_id" => $board_id,
  "showtopic" => $showtopic,
  "replyquote" =>$editpost,
  "subject" =>$subject_form,
  "reply" =>$reply,
  "sender_id" => $sender_id,
  "bbcode" => $bbcode,
  "sender_name" => $sender_name,
  "thrtext" => $thrtext,
  "thrstarter" => $thrstarter,
  "replyspicker" => $replyspicker,
  "replier" => $replier,
  "replytext" => $replytext
 
));
$content = $site_template->parse_template("boardform_reply");


$error = 0;
if ($action == "post_reply") {

  $reply= (isset($HTTP_POST_VARS['message_form'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['message_form'])) : "";
$user_name_field = get_user_table_field("", "user_name");
    if (!empty($user_name_field)) {
      if ($site_db->not_empty("SELECT $user_name_field FROM ".USERS_TABLE." WHERE $user_name_field = '".strtolower($username_form)."' AND ".get_user_table_field("", "user_id")." <> '".$user_info['user_id']."'")) {
        $msg .= (($msg != "") ? "<br />" : "").$lang['username_exists'];
        $error = 1;
      }
    }
      if ($username_form == "")  {
      $msg .= (($msg != "") ? "<br />" : "").$lang['name_required'];
      $error = 1;
    }
      if ($subject_form == "")  {
      $msg .= (($msg != "") ? "<br />" : "").$lang['subject_required'];
      $error = 1;
    }
      if ($message_form == "")  {
      $msg .= (($msg != "") ? "<br />" : "").$lang['massage_required'];
      $error = 1;
    }
          if ($error)  {
  $iconmsg="<img src=\"".TEMPLATE_PATH."/board_images/danger.gif\"  border=\"0\"> ";
      $txt_clickstream = "<a href=\"board.php\">".$boardconfig['board_name']."</a>".$config['category_separator']."".$lang['error_proses']."";
    }
     if (!$error)  { 

           $dbdate = time();   
        mysql_query ("UPDATE ".BOARD_TABLE." SET board_posts=board_posts+1, board_lastpost_id='$threadid', board_lastpost_user='$username_form', board_lastpost_date='$dbdate' WHERE board_id = '$bid'");
        mysql_query ("UPDATE ".BOARD_TINDEX_TABLE." SET thrreplies=thrreplies+1, thrlastpost_id='$userid', thrlastpost_user='$username_form', thrlastpost_date='$dbdate' WHERE thrid = '$threadid'");
        mysql_query ("INSERT INTO ".BOARD_TREP_TABLE." (repthrid,repforid,reptopic,repuser,repuser_id,reptext,repdate,repposterip) VALUES ('$threadid','$bid','$subject_form','$username_form','$sender_id','$message_form','$dbdate','$REMOTE_ADDR')");
        mysql_query ("UPDATE ".USERS_TABLE." SET user_posts=user_posts+1 WHERE user_name = '$username_form'");
        mysql_query ("UPDATE ".BOARD_STAT_TABLE." SET totalposts=totalposts+1");
       
$reply_page = $boardconfig['posts_perpage'];
             $thread_rep = mysql_query ("SELECT * FROM ".BOARD_TREP_TABLE." WHERE repthrid ='$threadid'");
             $total_reply = mysql_numrows ($thread_rep);
$getlastpage = ceil($total_reply / $reply_page);

mysql_query ("UPDATE ".BOARD_TABLE." SET board_lastpost_page='$getlastpage' WHERE board_id = '$bid'");
mysql_query ("UPDATE ".BOARD_TINDEX_TABLE."  SET thrlastpost_page='$getlastpage' WHERE thrid = '$threadid'");


$sql = "SELECT board_name, board_moderator, board_moderator_email, board_mod_emailpost FROM ".BOARD_TABLE."  WHERE board_id = '$bid'";
        $result = $site_db->query($sql);
        $num_rows = $site_db->get_numrows($result);
        $row = array();
        while ($row = $site_db->fetch_array($result)) {
$board_id = $row['board_id'];
        $board_name = $row['board_name'];
    $board_moderator = $row['board_moderator'];
$board_moderator_email = $row['board_moderator_email'];
$board_mod_emailpost  = $row['board_mod_emailpost'];
        }
   $site_db->free_result($result);
   
 //////////////////////////////////////////
 ////////////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' 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 = "Antwort@Fotostube.net";            //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' ";

        $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 = "Antwort@Fotostube.net";            // 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///////////
 ////////////////////////////////////////// 
       
 if ($board_mod_emailpost == 1) {
        // send email to moderator of this forum
$post_url=$script_url."/showthread.php?bid=$bid&threadid=$threadid&page=$getlastpage";
$site_email = new Email();
        $site_email->set_from($sender_email, $username_form);
        $site_email->set_to($board_moderator_email);
        $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 { // email not send

}
$txt_clickstream = "<a href=\"board.php\">".$boardconfig['board_name']."</a>".$config['category_separator']."".$lang['redirect_msg']."";
        $redirectpage = "<meta http-equiv=refresh content=\"3; url=showthread.php?bid=$bid&threadid=$threadid&page=$getlastpage#last \">";
             $content ="";
$msg= "<br><center>".$lang['redirect_msg']." <br> <a href=\"showthread.php?bid=$bid&threadid=$threadid&page=$getlastpage#last\">".$lang['redirect_msglink']." </a></center><br>";
                         }
}
}
}; // end if
$site_template->register_vars(array(
  "content" => $content,
  "reply" => htmlspecialchars(stripslashes($reply)),
  "threadid" =>$threadid,
  "board_id" => $board_id,
  "msg" => $msg,
  "iconmsg" => $iconmsg,
  "lang_info" => $lang['board_langinfo'],
  "clickstream" => $clickstream
 
));
$boardcontent = $site_template->parse_template("boardcontent");


It only happens sometimes...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Flatermann on January 21, 2006, 01:08:27 PM
Ifound a nother problem and would like to know if otheres have the same.

It seem then in thread the registerd since: date  is for all user that posted in thread the same as the on that opened the thread.

If others have the same problem please tell me so i can see if it was a mastake from me, otherweis i will post the sulotion how to fix that !!!!!
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 21, 2006, 04:33:18 PM
<< Quote removed on request. >>

@Egly :

From these codings, I can see lots of corrections to be made. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on January 21, 2006, 04:45:46 PM
@TheOracle
... why you quote the whole code of Egly for such a statement ... ? ... nobody need that ... ! ...  :?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 21, 2006, 04:58:45 PM
@mawenzi:

Because I never thought it would of disturbed anyone ... if so, I apologize as it has now been removed  :oops: ...

In the mean time, here's my correction :

Code: [Select]

<?php

}elseif ($action == "qu") {

$sql "

SELECT thrtopic, thrid, thrtext, thrstarter
FROM "
.BOARD_TCONT_TABLE."
WHERE thrid = "
.$thread_id." AND thrforid = ".$bid;

$result $site_db->query($sql);

while (
$row $site_db->fetch_array($result)) {

$thrid $row['thrid'];
$thrtopic $row['thrtopic'];
$thrtext format_boardtext($row['thrtext'], $boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);
$thrstarter $row['thrstarter'];
$subject_form "RE :".$thrtopic."";
$reply "";

$sql "

SELECT repuser, reptext
FROM egly_boardtrep
WHERE repthrid = "
.$thrid;

$result $site_db->query($sql);

while (
$row $site_db->fetch_array($result)) {

$replier $row['repuser'];
$replytext format_boardtext($row['reptext'], $boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);
$replyspicker .="<table width=\"700\" border=\"0\" align=\"center\" cellpadding=\"4\" cellspacing=\"0\" class=\"threadspicker\">\n";
$replyspicker .="<tr>\n";
$replyspicker .="<td width=\"150\" valign=\"top\"><b>".$replier."</b> schrieb: </td>\n";
$replyspicker .="<td>\n";
$replyspicker .="<p>".$replytext."</p></td>\n";
$replyspicker .="</tr>\n";
$replyspicker .="</table>\n";
$replyspicker .="<br>\n";
};

}
}

$sql "

SELECT board_id, board_catid, board_name, board_moderator_id, auth_reply
FROM "
.BOARD_TABLE."
WHERE board_id = "
.$bid;

$result $site_db->query($sql);

while (
$row $site_db->fetch_array($sql)) {

$board_id $row['board_id'];
$board_catid $row['board_catid'];
$board_name $row['board_name'];
$board_moderator_id $row['board_moderator_id'];
$auth_reply $row['auth_reply'];

}

if ((empty(
$threadid) || $threadid || $bid 0)) {
$error_board $lang['board_badrequest'];
}

if (
$error_board) {
$main_template "board";
include(
ROOT_PATH.'includes/page_header.php');
show_error_board($error_board);
}

$subject_form .= $headline ;

$sql "

SELECT catid, catname
FROM "
.BOARD_CAT_TABLE."
WHERE catid = "
.$board_catid;

$result $site_db->query($sql);

while (
$row $site_db->fetch_array($result)) {

$catid $row['catid'];
$catname $row['catname'];
                                                    }
$txt_clickstream "<a href=\"".$site_sess->url(ROOT_PATH."board.php")."\">".$boardconfig['board_name']."</a>".$config['category_separator']."<a href=\"".$site_sess->url(ROOT_PATH."showboard.php?bid=".$board_id)."\">".$board_name."</a>".$config['category_separator']."<a href=\"".$site_sess->url(ROOT_PATH."showthread.php?bid=".$board_id."&threadid=".$threadid)."\"> ".$subject_form."</a>".$config['category_separator']. $lang['new_reply']."";

if (
$user_info['user_level'] < $auth_reply) {

$iconmsg "<img src=\"".TEMPLATE_PATH."/board_images/danger.gif\"  border=\"0\"> ";
$msg $lang['board_register'];
$txt_clickstream $lang['board_badrequest'];
$content "";
$redirectpage "<meta http-equiv=refresh content=\"11; url=".$site_sess->url(ROOT_PATH."board.php")."\">";

} else {
if (
$user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) {
   
$sender_name "<input name=\"username_form\" maxlength=\"15\" type=\"text\" class=\"inputarea\" id=\"username_form\"  size=\"50\">";
   
$sender_id GUEST ;
       }else {
   
$sender_name = ($user_info['user_level'] != GUEST) ? $user_info['user_name'] : "";
   
$sender_id = ($user_info['user_id'] != GUEST) ? $user_info['user_id'] : "";
   
$sender_email = ($user_info['user_level'] != GUEST) ? $user_info['user_email'] : "";
   
$sender_name_hidden "<input type=\"hidden\" name=\"username_form\" value=\"".$sender_name."\">";
    }
if (
$boardconfig['bb_board'] == ) {
    
$site_template->register_vars(array(
  
"smiles" => $smiles,
      
"lang_bbcode" => $lang['bbcode'],
      
"lang_tag_prompt" => $lang['tag_prompt'],
      
"lang_link_text_prompt" => $lang['link_text_prompt'],
      
"lang_link_url_prompt" => $lang['link_url_prompt'],
      
"lang_link_email_prompt" => $lang['link_email_prompt'],
      
"lang_list_type_prompt" => $lang['list_type_prompt'],
      
"lang_list_item_prompt" => $lang['list_item_prompt']
    ));
    
$bbcode $site_template->parse_template("bbcodeboard");
  }

$site_template->register_vars(array(
  
"sender_name_hidden" =>$sender_name_hidden,
  
"lang_name" => $lang['name'],
  
"lang_subject" => $lang['subject'],
  
"lang_massage" => $lang['massage'],
  
"lang_post_reply" => $lang['post_reply'],
  
"threadid" =>$threadid,
  
"board_id" => $board_id,
  
"showtopic" => $showtopic,
  
"replyquote" =>$editpost,
  
"subject" =>$subject_form,
  
"reply" =>$reply,
  
"sender_id" => $sender_id,
  
"bbcode" => $bbcode,
  
"sender_name" => $sender_name,
  
"thrtext" => $thrtext,
  
"thrstarter" => $thrstarter,
  
"replyspicker" => $replyspicker,
  
"replier" => $replier,
  
"replytext" => $replytext

));
$content $site_template->parse_template("boardform_reply");

$error 0;
if (
$action == "post_reply") {

  
$reply= (isset($HTTP_POST_VARS['message_form'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['message_form'])) : "";
$user_name_field get_user_table_field("""user_name");
    if (!empty(
$user_name_field)) {
      if (
$site_db->not_empty("SELECT ".$user_name_field." FROM ".USERS_TABLE." WHERE ".$user_name_field." = '".strtolower($username_form)."' AND ".get_user_table_field("""user_id")." <> '".$user_info['user_id']."'")) {
        
$msg .= (($msg != "") ? "<br />" "").$lang['username_exists'];
        
$error 1;
      }
    }
      if (
$username_form == "")  {
      
$msg .= (($msg != "") ? "<br />" "").$lang['name_required'];
      
$error 1;
    }
      if (
$subject_form == "")  {
      
$msg .= (($msg != "") ? "<br />" "").$lang['subject_required'];
      
$error 1;
    }
      if (
$message_form == "")  {
      
$msg .= (($msg != "") ? "<br />" "").$lang['massage_required'];
      
$error 1;
    }
          if (
$error)  {
  
$iconmsg="<img src=\"".TEMPLATE_PATH."/board_images/danger.gif\"  border=\"0\"> ";
      
$txt_clickstream "<a href=\"".$site_sess->url(ROOT_PATH."board.php")."\">".$boardconfig['board_name']."</a>".$config['category_separator']."".$lang['error_proses']."";
    }
     if (!
$error)  {

           
$dbdate time();
        
$site_db->query("UPDATE ".BOARD_TABLE." SET board_posts=board_posts+1, board_lastpost_id='".$threadid."', board_lastpost_user='".$username_form."', board_lastpost_date='".$dbdate."' WHERE board_id = '".$bid."'");
        
$site_db->query("UPDATE ".BOARD_TINDEX_TABLE." SET thrreplies=thrreplies+1, thrlastpost_id='".$userid."', thrlastpost_user='".$username_form."', thrlastpost_date='".$dbdate."' WHERE thrid = '".$threadid."'");
        
$site_db->query("INSERT INTO ".BOARD_TREP_TABLE." (repthrid,repforid,reptopic,repuser,repuser_id,reptext,repdate,repposterip) VALUES ('$threadid','$bid','$subject_form','$username_form','$sender_id','$message_form','$dbdate','$REMOTE_ADDR')");
        
$site_db->query("UPDATE ".USERS_TABLE." SET user_posts=user_posts+1 WHERE user_name = '".$username_form."'");
       
$site_db->query("UPDATE ".BOARD_STAT_TABLE." SET totalposts=totalposts+1");

$reply_page $boardconfig['posts_perpage'];
             
$thread_rep $site_db->query("SELECT * FROM ".BOARD_TREP_TABLE." WHERE repthrid ='".$threadid."'");
             
$total_reply $site_db->get_numrows($thread_rep);
$getlastpage ceil($total_reply $reply_page);

$site_db->query("UPDATE ".BOARD_TABLE." SET board_lastpost_page='".$getlastpage."' WHERE board_id = '".$bid."'");
$site_db->query("UPDATE ".BOARD_TINDEX_TABLE."  SET thrlastpost_page='".$getlastpage."' WHERE thrid = '".$threadid."'");

$sql "

SELECT board_name, board_moderator, board_moderator_email, board_mod_emailpost
FROM "
.BOARD_TABLE."
WHERE board_id = "
.$bid;

$result $site_db->query($sql);

$num_rows $site_db->get_numrows($result);
$row = array();

while (
$row $site_db->fetch_array($result)) {

$board_id $row['board_id'];
$board_name $row['board_name'];
$board_moderator $row['board_moderator'];
$board_moderator_email $row['board_moderator_email'];
$board_mod_emailpost  $row['board_mod_emailpost'];

}

$site_db->free_result($result);

//////////////////////////////////////////
////////////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." 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 "Antwort@Fotostube.net"//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;

$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 "Antwort@Fotostube.net"// 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///////////
//////////////////////////////////////////

if ($board_mod_emailpost == 1) {

// send email to moderator of this forum
$post_url$script_url."/showthread.php?bid=".$bid."&threadid=".$threadid."&page=".$getlastpage;
$site_email = new Email();
$site_email->set_from($sender_email$username_form);
$site_email->set_to($board_moderator_email);
$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 { 
// email not send

}

$txt_clickstream "<a href=\"".$site_sess->url(ROOT_PATH."board.php")."\">".$boardconfig['board_name']."</a>".$config['category_separator']. $lang['redirect_msg']."";
$redirectpage "<meta http-equiv=refresh content=\"3; url=".$site_sess->url(ROOT_PATH."showthread.php?bid=".$bid."&threadid=".$threadid."&page=".$getlastpage."#last")."\">";
$content "";
$msg "<br><center>".$lang['redirect_msg']." <br> <a href=\"".$site_sess->url(ROOT_PATH."showthread.php?bid=".$bid."&threadid=".$threadid."&page=".$getlastpage."#last")."\">".$lang['redirect_msglink']." </a></center><br>";
                         }
}
}
}; 
// end if

$site_template->register_vars(array(
"content" => $content,
"reply" => htmlspecialchars(stripslashes($reply)),
"threadid" =>$threadid,
"board_id" => $board_id,
"msg" => $msg,
"iconmsg" => $iconmsg,
"lang_info" => $lang['board_langinfo'],
"clickstream" => $clickstream
));

$boardcontent $site_template->parse_template("boardcontent");
?>



;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 21, 2006, 05:06:09 PM
Update: Codings has been re-modified above due to slight changes I forgot to do. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on January 24, 2006, 03:47:06 PM
@sigma and Olphi,
... I found another solution to fix the massage problem by editing user profil (Signature) ...
... related to this : http://www.4homepages.de/forum/index.php?topic=9598.msg57679#msg57679
... comment in these code lines ... !
... find in /includes/db_field_definitions.php :
Code: [Select]
$additional_user_fields['user_signature'] = array($lang['user_signature'], "text", 1);
... and replace with :
Quote
$additional_user_fields['user_signature'] = array($lang['user_signature'], "text", 0);
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 24, 2006, 03:49:43 PM
Quote

settig : 1 - is required
settig : 0 - is not required


Quote

it is the better solution ...


1. This should be added in the FAQs.
2. "settig" = "setting" (typed too fast may be ? :P) Besides, the whole line represents a setting, shouldn't you say : a required field ? :P
3. "better" = "best".  :)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: chip on January 24, 2006, 05:29:56 PM
Just Thanks,

to Mantra for this one  :D.


to TheOracle and ventor for crucial information. Thanks a lot.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crappytheclown on January 25, 2006, 10:39:46 PM
how do i widen the td where the forum name and desc are???  Or to widen the overall width of the forum table?  Ive been looking all over and editting showboard.php and board .php all day and i can't figure it out. 

My forum is here http://www.crappytheclown.roxr.com/board.php
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 25, 2006, 11:43:34 PM
Since there are so many TDs on your specified page, could you send the peace of code you're talking about here instead ? (From the original file of course and NOT from the view source). ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crappytheclown on January 26, 2006, 01:08:39 AM
well im not sure which td it is because then id no how to edit it but ill sned you a scrnshot of the td im talking about in the forum.

http://www.crappytheclown.roxr.com/images1/scrn2.JPG
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 26, 2006, 03:39:44 AM
Sorry, I cannot understand this word : "widen". I have checked on translators but nothing shows up for this word ... would it be possible for you to rephrase the question ? ;)

P.S: I saw the screenshot and, this, I understood where but not sure "what" you wish to do with it. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crappytheclown on January 26, 2006, 04:04:14 AM
i want to make that td from 135 pixels wide to about 200 pixels or if that cannot be done, at least change the font to a smaller font because the problem is that the forum is very lenghty when the descriptions are included under the forum titles, and I just want it to be shorter overall on the page.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 26, 2006, 04:11:58 AM
Ok, that's clear now. ;)

I have took a look at your source code and this is the spot you need to edit actually :

Quote

<td align="center" valign="middle" width="0%" norwap class="row1" >


As you can see, the width size works with % rather than pixels (which is better in any dimensional way). But, for your case, in order to ajust this properly, there are two ways you could do it.

1 - As you specified above, either reduce the TD's % value into a pixel value (you'd have to try a simple number like : 100 or something) "or" reduce the font size. Althought, I wouldn't concentrate on the font size right now (as a suggestion). ;)

2 - You could leave the TD's % size value as it is right now and just concentrate on the <IMG SRC tag by adding the width and max height size (so that you won't corrupt the HTML table presentation itself).

You might hear other suggestions but these were my inputs. ;)

However, your question is more related to the "templates" section of the forum rather the requests ... you might want to post in that section next time in order to understand the idea in a more efficient way and for others to depend on customizable layouts from the templates section. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 27, 2006, 12:32:21 AM
well im not sure which td it is because then id no how to edit it but ill sned you a scrnshot of the td im talking about in the forum.

http://www.crappytheclown.roxr.com/images1/scrn2.JPG

In addition to TheOracle's post:
You have to change the tables of the board in the showboard.php and the showtopic.php . Its not possible to change that in the html-templates of the board (due "exiting" coding) :) I modified my board that way, looks like this :  :arrow: http://www.ggrec.com/zapomnime2/board.php

Just change the percentage of each TD, if you have further trouble i can post you the code i've used

PS: I read the whole topic, i have NO errors relating to this addon, just wanted to say that if you're undecidet to install this addon - you can give it at least a try if you wanna use a simple board.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: sigma on January 27, 2006, 02:30:20 AM
Anyone have success in showing members avatar in post? Im refering to the Avatar 2.01 mod (http://www.4homepages.de/forum/index.php?topic=3978.0) by v@no
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 27, 2006, 02:41:44 AM
@sigma:

That sounds really great. Perhaps you could help me at the same time. From which dreamboard file would you like to have this added ? :)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 27, 2006, 03:04:21 AM
[ Codings edited ].

I liked this idea.

In showthread.php file,

find :

Quote

 while ($user = mysql_fetch_array($posts)) {
             $post_count = $user['user_posts'];
          $user_id = $user['user_id'];
          $user_rank = $user['user_level'];
             $date_registered =(isset($user['user_joindate'])) ? format_date($boardconfig['date_format'], $user['user_joindate']) : REPLACE_EMPTY;
             $signature = format_boardtext ($user['user_signature'],$boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);


add below :

Code: [Select]

$user_avatar = $user_info['user_avatar'];
$user_avatar_current = ($config['avatar_use'] && @file_exists(TEMPLATE_PATH."/avatars/".$user_avatar)) ? "<img src=\"".TEMPLATE_PATH."/avatars/".$user_avatar."\">" : get_gallery_image("blank.gif");


Then, find :

Quote

$showtopic .="<td ><b>$thrstarter</b><br>$rank_user_info<br><br>$author_info <br>$topicip</td>\n";


replace with :

Code: [Select]

$showtopic .="<td ><b>$thrstarter</b><br>$rank_user_info<br><br>$user_avatar_current $author_info <br>$topicip</td>\n";


:)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 27, 2006, 03:36:05 AM
[ Codings edited ].

:)

Does not work, it shows the blank-avatar image, not the choosen one, also, it shows the image only for the topic-starter, the answers remain the same (userpic)
So for the answers to a topic there is an solution, just need to make step one in other parts of the board php files, but, the blank avatar image is a problem.

sample here: http://www.ggrec.com/zapomnime2/showthread.php?bid=6&threadid=23

first pic ist the default no-avatar image
second pic is the userpic

solution?  :wink:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 27, 2006, 03:46:40 AM
Ok, I see what you mean. I have just edited my post above with : $user_avatar_current. Hopefully, this will help you out. :|
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 27, 2006, 04:07:42 AM
Ok, I see what you mean. I have just edited my post above with : $user_avatar_current. Hopefully, this will help you out. :|

nope, now it shows a broken image. I tried to change the path directly to /users/, but it won't work too - have tried a lot combinations.

 :? :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 27, 2006, 04:12:36 AM
TheOracle is loosing it. :cry:

I just saw something interesting in v@no's topic for the avatar. I have just edited my post above (again). Hope this works this time. :|
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 27, 2006, 04:22:32 AM
TheOracle is loosing it. :cry:

I just saw something interesting in v@no's topic for the avatar. I have just edited my post above (again). Hope this works this time. :|

congratulations :D It works, but the next problem is still unsolved -> how to shot the avatars ot the answers?
You're close  8)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 27, 2006, 04:27:30 AM
Yep, it ain't 22h30 pm for nothing (at least from my end) so - I guess - the :idea: is back.

In the same file, find :

Quote

$posts = mysql_query ("SELECT user_posts,user_id,user_name,user_level,
       user_joindate,user_signature


replace with :

Code: [Select]

$posts = mysql_query ("SELECT user_posts,user_id,user_name,user_level,
user_joindate,user_signature,user_avatar


This is the reason why you saw an empty image at first. It is good to acquire an image field but ONLY when we select it first.  :mrgreen:

Keep me posted on this. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 27, 2006, 04:34:05 AM
i've replaced it, but it remains the same

 :arrow:hope you understand me, the changes i've made in the last posts, affects only the user, who starts the topic - answers in the same topic remain the same *userpic and no avatar image*

PS: Thanks for your support, it's now 05:30AM in Bulgaria, i've worked the past 12 hours and my  :idea: isn't working anymore under these circumstances ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 27, 2006, 04:41:34 AM
Quote

:arrow:hope you understand me, the changes i've made in the last posts, affects only the user, who starts the topic - answers in the same topic remain the same *userpic and no avatar image*


Is that so ... ? Ok, find :

Quote

$posts = mysql_query ("SELECT user_posts,user_id,user_name,user_level,
       user_joindate,user_signature,user_avatar
       FROM ".USERS_TABLE."  WHERE user_id ='$thrstarter_id' ");


change to :

Code: [Select]

$posts = mysql_query ("SELECT user_posts,user_id,user_name,user_level,
user_joindate,user_signature,user_avatar
FROM ".USERS_TABLE."  WHERE ".get_user_table_field("", "user_id")." = '$thrstarter_id'");


Then, where I told you to change this part :

Quote

$user_avatar = $user_info['user_avatar'];
$user_avatar_current = ($config['avatar_use'] && @file_exists(TEMPLATE_PATH."/avatars/".$user_avatar)) ? "<img src=\"".TEMPLATE_PATH."/avatars/".$user_avatar."\">" : get_gallery_image("blank.gif");


I take it back. Change back to :

Quote

$user_avatar_current = ($config['avatar_use'] && @file_exists(TEMPLATE_PATH."/avatars/".$user['user_avatar'])) ? "<img src=\"".TEMPLATE_PATH."/avatars/".$user['user_avatar']."\">" : get_gallery_image("blank.gif");


If there still no difference. I will install these two MODs myself. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 27, 2006, 04:57:44 AM
 :?

Code: [Select]
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/ggrec.com/www/root/zapomnime2/showthread.php on line 127
maybe we have to change the string...
Code: [Select]
$user_avatar = $user_info['user_avatar'];
$user_avatar_current = ($config['avatar_use'] && @file_exists(TEMPLATE_PATH."/avatars/".$user_avatar)) ? "<img src=\"".TEMPLATE_PATH."/avatars/".$user_avatar."\">" : get_gallery_image("blank.gif");
... in some other php file of the mod?

PS: the user-level of the admin is being decreaased to "normal" in the forum after apply-ing this
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 27, 2006, 05:00:54 AM
No, actually - it's a slight mistake where the SQL statement was. I have just edited it above.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 27, 2006, 05:06:04 AM
No, actually - it's a slight mistake where the SQL statement was. I have just edited it above.

Code: [Select]
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /www/ggrec.com/www/root/zapomnime2/showthread.php on line 126
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 27, 2006, 05:08:32 AM
Unfortunitely, it isn't going too well. At least, I have re-edited the block above in order to get rid of the error message. ;)

If no one else gives a definite response on this, tomorrow I will try these two MODs myself on a test folder and see if I could fit this in and, if I do find anything, I will post the results here.

Sorry for not posting an official response for tonight - it's so late.  :|
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 27, 2006, 05:12:16 AM
Good! Look forward to hear from you soon and again - thanks for your time  :)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 27, 2006, 05:12:56 AM
Quote

and again 0 thanks for your time


Ok .  ..

[ Post edited above ]
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 27, 2006, 06:03:23 PM
have someone fix it already ?

Boardreply (using quote)

Quote
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/blacktra/public_html/boardreply.php on line 102

 :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 27, 2006, 06:13:36 PM
@stoleti:

Ok. I have just used the search to see if there was anything that could come up on this one but nothing related to your problem. Perhaps this has not been reported at all in the past.

Let's try this. In your board_reply.php file,

find :

Code: [Select]

$reply = mysql_query ("SELECT reptopic,reptext,repuser, repthrid
FROM ".BOARD_TREP_TABLE." WHERE repid='$replyid' AND repthrid='$threadid' AND repforid='$bid'");
         while ($row = mysql_fetch_array($reply)) {
            $thrid = $row['repthrid'];
$reptopic = $row['reptopic'];
            $reptext = $row['reptext'];
$repuser = $row['repuser'];
$headline = $reptopic;
$message = ' [quote=[b]' . $repuser . ' wrote :[/b]]' . $reptext . '[/quote]';
$subject_form = $headline;
            $reply = $message;
}


replace with :

Code: [Select]

$reply = "

SELECT reptopic,reptext,repuser, repthrid
FROM ".BOARD_TREP_TABLE."
WHERE repid='".$replyid."' AND repthrid='".$threadid."' AND repforid='".$bid."'

";

$result = $site_db->query($reply);
         while ($row = $site_db->fetch_array($result)) {
            $thrid = $row['repthrid'];
$reptopic = $row['reptopic'];
            $reptext = $row['reptext'];
$repuser = $row['repuser'];
$headline = $reptopic;
$message = ' [quote=[b]' . $repuser . ' wrote :[/b]]' . $reptext . '[/quote]';
$subject_form = $headline;
            $reply = $message;
}


This should get rid of the error message. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 27, 2006, 08:10:31 PM
Oracle, have you found a solution for the avatar?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 27, 2006, 08:16:35 PM
yea the error its gone  8) (disapeared)

if people permit my suggestion, i think this board need a search form (system) would be very useful , and faster for user , to find what they want, and for another side this make users not post more then 1x the same subject on forum(topic)  8)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 27, 2006, 08:19:04 PM
Quote

yea the error its gone  Cool (disapeared)


Outstanding. ;)

Quote

if people permit my suggestion, i think this board need a search form (system) would be very useful , and faster for user , to find what they want, and for another side this make users not post more then 1x the same subject on forum(topic)


And how. 8)

Quote

Oracle, have you found a solution for the avatar?


I'm currently installing it now trez. I was busy with another user, outside forum related, and I just finished his project a couple of mins ago. ;)

More update to come on this later today - I haven't forgot. In fact, I look forward to implement this since this seem to have been requested a lot lately around here. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 27, 2006, 08:29:23 PM
great, thanks :)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 30, 2006, 05:51:14 PM
Its possible create a option for user create a "ignore/block " lists of users (stalkers,perv's) make this possible block that user to send PMS,Images Comments ,Board to that user ?

Make possible ADD/Remove , when the user wish , make the user (blocked) be notified of it .

I mean between users, user still on site, but can be block to talk from some user 

The ideia its user be avaliable to block another(s) users, without be banned from site

 :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Flatermann on January 30, 2006, 06:34:00 PM
HI everybody,  I have noticed a new problem that i dont know were ist coming from.

sometimes aufter a replay ( not everytime ) this error come ups

Fatal error: Cannot redeclare class email in /var/www/web7/html/4images/includes/email.php on line 28

doessomeon know what that is . i have bin looking for days.  the strang thing is that it doesnt come every time.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 06:36:23 PM
@Flatermann:

From which file does this error comes from exacly ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Flatermann on January 30, 2006, 06:47:23 PM
wenn users replay in forum. the error come.  could it be that thear is an error in Eglys Email@reply code ??
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 30, 2006, 08:59:29 PM
TheOracle how goes the fix for the avatar in the dreamboard? ;)

When you finish off, we'll all love you :P
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 09:17:32 PM
Quote

wenn users replay in forum. the error come.  could it be that thear is an error in Eglys Email@reply code ??


Please provide the URL "or" the filename with the action query on where this error happends.

Thanks.

@crcbad:

I'm close to a solution actually. In fact, I believe it is the same one as the userpic I found earlier. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 09:54:02 PM
Ok, so, let's try this.

In your showthread.php file,

find :

Quote

$posts = mysql_query ("SELECT user_posts,user_id,user_name,user_level,user_signature
         FROM ".USERS_TABLE."  WHERE user_id ='$thrstarter_id' ");
         while ($user = mysql_fetch_array($posts)) {
             $post_count = $user['user_posts'];
             $user_id = $user['user_id'];
    $user_rank = $user['user_level']; REPLACE_EMPTY;
             $signature = format_boardtext ($user['user_signature'],$boardconfig['html_board'],


replace with :

Code: [Select]

$posts = "

SELECT ".get_user_table_field("", "user_id"). get_user_table_field(",", "user_name"). get_user_table_field(",", "user_level").", user_signature, user_posts, user_avatar
FROM ".USERS_TABLE." 
WHERE ".get_user_table_field("", "user_id")." = '".$thrstarter_id."' AND ".get_user_table_field("", "user_level")." >= '".USER."';

$result = $site_db->query($posts);

         while ($user = $site_db->fetch_array($result)) {
             $user_profile_link = (!empty($url_show_profile)) ? str_replace("{user_id}", $user['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$user['user_id'];
             $post_count = $user['user_posts'];
             $user_id = $user['user_id'];
    $user_rank = $user['user_level']; REPLACE_EMPTY;
             $signature = format_boardtext ($user['user_signature'],$boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);
             $user_avatar = (empty($user['user_avatar'])) ? $lang['no_image_found'] : "<a href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".TEMPLATE_PATH."/avatars/".$user['use_avatar']."\" width=\"".$width."60\" height=\"60".$height."\" border=\"0\" /></a>";


(Note: This replacement disregards ALL previous modifications you made before - also regarding my discovery for the userpic within the Dreamboard MOD. Meaning, if you did implement the userpic MOD, from page 3 of this topic, make sure to make the replacement in order to match "both" features. ;)

Then, find :

Quote

$site_template->register_vars(array(
          "content" => $showtopic,
          "msg" => $msg,
          "iconmsg" => $iconmsg,
          "head_title" => $head_title,
          "lang_info" => $lang['board_langinfo']


replace with :

Code: [Select]

$site_template->register_vars(array(
          "content" => $showtopic,
          "msg" => $msg,
          "avatar_image" => $user_avatar,
          "iconmsg" => $iconmsg,
          "head_title" => $head_title,
          "lang_info" => $lang['board_langinfo']


Then, find :

Quote

$head_title ="<font size=\"4\">$thrtopic</font>";


right below, you should see :

Quote

$site_template->register_vars(array(
  "content" => $showtopic,
  "lang_alowpost" =>$lang_alowpost,
  "lang_alowrep" =>$lang_alowrep,
  "lang_alowedit" =>$lang_alowedit,
  "lang_alowdel" =>$lang_alowdel,
  "msg" => $msg,
  "iconmsg" => $iconmsg,
  "head_title" => $head_title,
  "lang_info" => $lang['board_langinfo']
));


replace with :

Code: [Select]

$site_template->register_vars(array(
  "content" => $showtopic,
  "lang_alowpost" =>$lang_alowpost,
  "lang_alowrep" =>$lang_alowrep,
  "lang_alowedit" =>$lang_alowedit,
  "lang_alowdel" =>$lang_alowdel,
  "avatar_image" => $user_avatar,
  "msg" => $msg,
  "iconmsg" => $iconmsg,
  "head_title" => $head_title,
  "lang_info" => $lang['board_langinfo']
));


Then, find :

Quote

$reptext = format_boardtext($row['reptext'], $boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);


Then, above, you should see :

Quote

$posts = mysql_query ("SELECT user_posts,user_id,user_level,user_signature
                FROM ".USERS_TABLE." WHERE user_id ='$repuser_id'");
                while ($user = mysql_fetch_array($posts)) {
                $post_count = $user['user_posts'];
                $user_id = $user['user_id'];
                $user_rank = $user['user_level']; REPLACE_EMPTY;
                $signature = format_boardtext($user['user_signature'],$boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);


replace with :

Code: [Select]

$posts = "

SELECT ".get_user_table_field("", "user_id"). get_user_table_field(",", "user_level").", user_signature, user_posts, user_avatar
FROM ".USERS_TABLE."
WHERE ".get_user_table_field("", "user_id")." = '".$repuser_id."' AND ".get_user_table_field("", "user_level")." >= '".USER."';

$result = $site_db->query($posts);

                while ($user = $site_db->fetch_array($result)) {
                $post_count = $user['user_posts'];
                $user_id = $user['user_id'];
                $user_rank = $user['user_level']; REPLACE_EMPTY;
                $signature = format_boardtext($user['user_signature'],$boardconfig['html_board'], $boardconfig['wordwrap_board'],       
                $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);
                $user_avatar = (empty($user['user_avatar'])) ? $lang['no_image_found'] : "<a 
                 href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".TEMPLATE_PATH."/avatars/".$user['user_avatar']."\" 
                 width=\"".$width."60\" height=\"60".$height."\" border=\"0\" /></a>";


There, this should complete the installation of the avatar MOD. If not, then I'm taking a brake on this one anyway. ;)

At least, waiting for inputs.

P.S : Forgot to mention that, from your HTML showthread template, you can now add the : {avatar_image} tag within. ;)

Note: Codings edited.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 30, 2006, 10:15:24 PM
TheOracle I know you would post something ;)

Bad news, doesn't seem to work, error have arrived, you can see in http://www.eruben.biz/Galeria/showthread.php?bid=6&threadid=4

Dunno what could be :)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 10:18:34 PM
Makes sense. I just corrected the above codings. Please try again and my apologize for these errors. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 30, 2006, 10:24:47 PM
No need to apologize, WE have to apologize since you're trying to make a mod compatible with an addon :)

No errors returned now, but avatar is not showed, in the link above I gave you, there are 3 post, the topic starte doesn't have avatar, thats ok, second post is from me, and there, there is an avatar is not shown.

I can't give more details, sorry :(
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 10:26:49 PM
Tell me ... is your avatar folder like :

Quote

templates/avatars/youravatar.gif


from your gallery ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 30, 2006, 10:29:01 PM
Tell me ... is your avatar folder like :

Quote

templates/avatars/youravatar.gif


from your gallery ?

Nope, the path is /templates/7dana/avatars and it works like example in the comments...

In one of your firstly post, the image shows itself ok, but not in the correct post.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 10:31:31 PM
Quote

Nope, the path is /templates/7dana/avatars and it works like example in the comments...


Right. I meant :

Quote

templates/<your_template>/avatars/youravatar.gif


Quote

In your first post the image shows itself ok, but not in the correct post.


Would you mind to explain which post actually ? The one I made today or the one from last time ? Please post the precise topic link so I can see. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 30, 2006, 10:35:05 PM
Yes, the avatars are in templates/<my_template>/avatars/myavatar.gif

I meant, when you said that you would do a fix, that only the image showed in the topic-starter...

But dont worry, just tell me what you want me to do like an indian rabbit :P

I don't think that the problem are the images.... but you tell me what I have to do.

One more thing!! the comment_bit.php isn't similar what you want to do in showthread.php? I say it from the ignorence....
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 10:37:31 PM
Quote

that only the image showed in the topic-starter...


That's where I'm confused actually ... I do not see any relative avatar icons from your page you pointed ... perhaps I missed it somewhere on that page ? If so, could you point it out for me on where I could see this image from the topic starter ? ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 30, 2006, 10:39:25 PM
If that doesn't work with Avatar MOD , people have another option before posted here , about use Member Personal Photo MOD as avatar in dreamboard  :wink:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 10:40:34 PM
@Stoleti:

If so, I might of had missed it (or don't remember). Would you mind posting the precise topic so that I can take a look at it ? ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 30, 2006, 10:41:37 PM
You can't see avatars because of the changes we have made a few minutes ago... I mean, If we go to the post you say you'll do a fix for the topic-starter thing, the avatar will appear, but of course, in the first post of the thread.

(Talking about all... My english is poor... :P)

One more thing!! the comment_bit.php isn't similar what you want to do in showthread.php? I say it from the ignorence....


Stoleti Yes, I know that mod, but when I have already installed the other mod hehe...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 30, 2006, 10:42:41 PM
wait wait wait :) :)

its working !

Just change

Code: [Select]
$showtopic .="<td><b>$repuser</b><br>$rank_user_info<br>$user_image\<br>$num_post $datereg  $repip</td>\n";
to

Code: [Select]
$showtopic .="<td><b>$repuser</b><br>$rank_user_info<br>$user_avatar\<br>$num_post $datereg  $repip</td>\n";
The only problem is that the avatar of the topic starter isnt show, but all the avatars of the answers are
 :arrow: http://www.ggrec.com/zapomnime2/showthread.php?bid=6&threadid=23
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 10:43:57 PM
In that case, my 2nd code is pointless. To avoid growing the topic further, and if you have additional time, please PM me to test alternative solutions.

[EDIT]

YES !!! that's where I forgot the 2nd time (but only did it the first time).

Excellent, try out a couple of new posts on your dreamboard forum and tell me if the avatar icons remains statics.

Keep me posted on this. ;)

In the mean time,

change this line :

Quote

$showtopic .="<td><b>$repuser</b><br>$rank_user_info<br>$user_avatar\<br>$num_post $datereg  $repip</td>\n";


to read :

Code: [Select]

$showtopic .="<td><b>".$repuser."</b><br>".$rank_user_info."<br>".$user_avatar."<br>".$num_post. $datereg  $repip."</td>\n";


;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 30, 2006, 10:47:31 PM
ok, so i tried new posts, the avatar is there. But when i start a NEW topic, the avatar of the FIRST post isnt showing
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 30, 2006, 10:47:54 PM
Yes, its working partially, there are some errors I have...

TheOracle enter in http://www.eruben.biz/Galeria/showthread.php?bid=6&threadid=4

The avatars are shown now in the second and third post, but not in the first...

And also, the "Registered" value is missing...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 10:49:33 PM
Quote

And also, the "Registered" value is missing...


Wait ... that tells me something. In that case, go back to the previous page where the 2nd codings was posted today. I might have an explanation for this (wait 2 mins). ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on January 30, 2006, 10:51:42 PM
@Stoleti:

If so, I might of had missed it (or don't remember). Would you mind posting the precise topic so that I can take a look at it ? ;)

Sure  :wink:

Take a look http://www.4homepages.de/forum/index.php?topic=9598.msg48959#msg48959

 :mrgreen:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 10:54:00 PM
@stoleti:

I know, this is where I took the info today. Althought, the member who posted this was mistaken. It is not about the avatar but simply the userpic MOD involved. ;)

Which is why, the avatar must be implemented seperately.

[EDIT]

The codings has just been edited here :

http://www.4homepages.de/forum/index.php?topic=9598.msg59391#msg59391
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 10:59:43 PM
Quote

The avatars are shown now in the second and third post, but not in the first...


I still don't see your avatars ... perhaps I must be logged in into your gallery in order to see them ? ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 30, 2006, 11:00:52 PM
I did the changes you mentioned, but errors have just appeared...

http://www.eruben.biz/Galeria/showthread.php?bid=6&threadid=4  -> You dont need to be logged
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 30, 2006, 11:02:47 PM
Quote

The avatars are shown now in the second and third post, but not in the first...


I still don't see your avatars ... perhaps I must be logged in into your gallery in order to see them ? ;)

no, you have not to be logged in, i tried it, and see them. Maybe refresh the page.
 :arrow: http://www.ggrec.com/zapomnime2/showthread.php?bid=6&threadid=23
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 11:07:31 PM
Ok, corrections has just been made from my codes. The error should no longer appear. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 30, 2006, 11:10:07 PM
The first part of the code must be wrong, it looks like all an string....
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 11:11:32 PM
@trez:

It would seems your website has different results than crcbad's web site (which is what I don't get). Yours seems to work pretty fine with the codes right ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 30, 2006, 11:13:23 PM
yes, it works after making the change i've posted - topicstarter avatar image is still missing, but it isnt so important - thanks again

PS: The FIRST post youve made, had as a result the same errormessages he gets, so i suggest him to made the changes on a FRESH showthread.php - that way it works, for me
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 30, 2006, 11:14:18 PM
@trez:

It would seems your website has different results than crcbad's web site (which is what I don't get). Yours seems to work pretty fine with the codes right ?


I had that results previously, the reason, is that Trez doesn't modified anything about the changes you wrote a few minutes ago I THINK.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 11:15:09 PM
Quote

yes, it works after making the change i've posted - topicstarter avatar image is still missing, but it isnt so important - thanks again


Well ... actually it is important ... would you mind PMing me the codes you implemented ? I will take a look at it and could finally resolve this mystery. Thanks. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 30, 2006, 11:17:24 PM
sure, thats my showthread.php

[code]

<?php
/**************************************************************************************
<!--                                                                                  -->
<!--                DREAMBOARD  V.2.1  Created By                                     -->
<!--          M A N T R A D I G I T A L   M u l t i m e d i a                            -->
<!--              2 0 0 5    http://www.mantradigital.com                               -->
<!--        This script is part of DREAMBOARD  a addon for                       -->
<!--    4images - A Web Based Image Gallery Management System          -->
<!--             Web: http://www.4homepages.de                                        -->
<!--                                                                                   -->
<!--                                                                                     -->
 ***************************************************************************************/

$main_template = 'board';

define('GET_CACHES', 1);
define('ROOT_PATH', './');
define('GET_USER_ONLINE', 1);
include(ROOT_PATH.'global.php');
include(ROOT_PATH.'board_con.php');
require(ROOT_PATH.'includes/sessions.php');


if (isset($HTTP_GET_VARS['template']) || isset($HTTP_POST_VARS['template'])) {
  $template = (isset($HTTP_GET_VARS['template'])) ? stripslashes(trim($HTTP_GET_VARS['template'])) : stripslashes(trim($HTTP_POST_VARS['template']));
  if (!file_exists(TEMPLATE_PATH."/".$template.".".$site_template->template_extension)) {
    $template = "";
  }
  else {
    $main_template = $template;
  }
}
else {
  $template = "";
}
include(ROOT_PATH.'includes/page_header.php');

if (!empty($template)) {
  $clickstream = "<a href=\"".$site_sess->url(ROOT_PATH."index.php")."\">".$lang['home']."</a>".$config['category_separator'].str_replace("_", " ", ucfirst($template));
  $site_template->register_vars("clickstream", $clickstream);
  $site_template->print_template($site_template->parse_template($main_template));
  include(ROOT_PATH.'includes/page_footer.php');
}
$vocimage="".$boardconfig['cov']."<div align=\"center\"><a href=\"http://www.mantradigital.com\" target=\"_blank\"><img src=\"".TEMPLATE_PATH."/board_images/dreamlogo.gif\" border=\"0\"></a></div>";
     $forums = mysql_query ("SELECT board_id,board_catid,board_name,board_moderator_id,auth_view FROM ".BOARD_TABLE." WHERE board_id ='$bid' ");
     while ($row = mysql_fetch_array($forums)) {
         $board_id = $row['board_id'];
         $board_catid = $row['board_catid'];
         $board_name = $row['board_name'];
       $board_moderator_id = $row['board_moderator_id'];
       $auth_view = $row['auth_view'];
     }

//-----------------------------------------------------
//--- CHECK STATUS BOARD --------------------------------
//-----------------------------------------------------
if ($boardconfig['board_disable']){
$msg = format_boardtext($boardconfig['status_desc'], 0, 0, 0, 0, 1);
$showtopic ="";
$iconmsg="<img src=\"".TEMPLATE_PATH."/board_images/danger.gif\"  border=\"0\"> ";
$txt_clickstream = $boardconfig['status_desc'];

} elseif ( $user_info['user_level'] < $auth_view ){
    $iconmsg="<img src=\"".TEMPLATE_PATH."/board_images/danger.gif\"  border=\"0\"> ";
    $msg = $lang['board_register'];
   $txt_clickstream = "".$lang['board_badrequest']."";
    $content ="";
    $redirectpage="<meta http-equiv=refresh content=\"11; url=board.php \">";

}else {
 
//--- END CHECK STATUS BOARD --------------------------------
   if ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) {
           $lang_alowpost="".$lang['lang_notpost']."";
           $lang_alowrep ="<b>". $lang['lang_canrep']."</b>";
           $lang_alowedit="".$lang['lang_notedit']."";
           $lang_alowdel="".$lang['lang_notdel']."";
             }else {
         $lang_alowpost ="". $lang['lang_canpost']."";
           $lang_alowrep ="". $lang['lang_canrep']."";
           $lang_alowedit ="". $lang['lang_canedit']."";
           $lang_alowdel ="". $lang['lang_candel']."";
          }
if ((empty($bid) || $bid < 0) || (empty($threadid) || $threadid < 0) ) {
 $redirectpage="<meta http-equiv=refresh content=\"3; url=board.php\">";
 $msg= "<br><center>".$lang['errorredirect_msg']."</center><br>";
 $txt_clickstream = "<a href=\"".$site_sess->url(ROOT_PATH."board.php")."\">".$boardconfig['board_name']."</a>".$config['category_separator']."".$lang['errorredirect_msg']."";
 $bid = (isset($HTTP_POST_VARS['bid'])) ?  intval($HTTP_POST_VARS['bid']) : "";
 $threadid = (isset($HTTP_POST_VARS['threadid'])) ?  intval($HTTP_POST_VARS['threadid']) : "";
 } else {
   
     mysql_query ("UPDATE ".BOARD_TCONT_TABLE." SET thrviews=thrviews+1 WHERE thrid ='$threadid'");
     mysql_query ("UPDATE ".BOARD_TINDEX_TABLE." SET thrviews=thrviews+1 WHERE thrid ='$threadid'");
    $categories = mysql_query ("SELECT catid,catname FROM ".BOARD_CAT_TABLE." WHERE catid ='$board_catid'");
     while ($row = mysql_fetch_array($categories)) {
         $catid = $row['catid'];
         $catname = $row['catname'];
      
     }
           
     if ($page == 1) {
       $thread_contents = mysql_query ("SELECT thrid,thrforid,thrtopic,thrstarter,thrstarter_id,thrlock,thrlastedate,thrlastecount,
      thrlasteuser,thrviews,thrtext,thrdate,thrposterip
       FROM ".BOARD_TCONT_TABLE."  WHERE thrid ='$threadid' ");
       while ($row = mysql_fetch_array($thread_contents)) {
         $thrid = $row['thrid'];
         $thrforid = $row['thrforid'];
         $thrtopic = $row['thrtopic'];
         $thrstarter = $row['thrstarter'];
       $thrstarter_id = $row['thrstarter_id'];
       $thrlock = $row['thrlock'];
          $thrlastedate = $row['thrlastedate'];
        $thrlastecount = $row['thrlastecount'];
        $thrlasteuser = $row['thrlasteuser'];
       $thrviews = $row['thrviews'];
         $thrtext = format_boardtext($row['thrtext'], $boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);

         $thrdate = $row['thrdate'];
   
         $thrdate =  format_date($boardconfig['date_format']." ".$boardconfig['time_format'], $thrdate);

         $thrposterip = $row['thrposterip'];
      
$posts = "

SELECT ".get_user_table_field("", "user_id"). get_user_table_field(",", "user_name"). get_user_table_field(",", "user_level").", user_signature, user_posts, user_avatar
FROM ".USERS_TABLE."
WHERE ".get_user_table_field("", "user_id")." = ".$thrstarter_id;

$result = $site_db->query($posts);

         while ($user = $site_db->fetch_array($result)) {
             $user_profile_link = (!empty($url_show_profile)) ? str_replace("{user_id}", $user['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$user['user_id'];
             $post_count = $user['user_posts'];
             $user_id = $user['user_id'];
    $user_rank = $user['user_level']; REPLACE_EMPTY;
             $signature = format_boardtext ($user['user_signature'],$boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);
             $user_avatar = (empty($user['user_avatar'])) ? $lang['no_image_found'] : "<a href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".TEMPLATE_PATH."/avatars/".$user['use_avatar']."\" width=\"".$width."60\" height=\"60".$height."\" border=\"0\" /></a>";

         
          }  }
       
        if ($thrstarter_id == GUEST ) {
               $author_info = "";
            $profile = " <td align=\"left\" width=\"50%\" class =\"headboard2\"><img src=\"".TEMPLATE_PATH."/board_images/spacer.gif\" border=0 height=\"23\"></td>\n";
            } else {
         $author_info = "".$lang['post'].": $post_count<br>".$lang['registered']." : <br>$date_registered ";
            $profile = " <td align=\"left\" width=\"50%\" class =\"headboard2\"><a href=\"".$site_sess->url(ROOT_PATH."member.php?action=showprofile&user_id=".$thrstarter_id)."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/profile_post.gif\" border=0 alt=\"".$lang['profile']."\"></a></td>\n";
           }
       
       
           if ( $thrlastedate == 0) {
               $relasteditdate ="";
            $thrlastecount="";
            $thrlasteuser="";                       
             }  else {
            $thrlasteuser="<span class=\"smalltextbaord2\"> ".$lang['last_edit']."<b>$thrlasteuser</b>";
            $thrlastecount="".$lang['last_edit_count']."<b>$thrlastecount</b></span>";
            $dateinfo=format_date($boardconfig['date_format']." ".$boardconfig['time_format'], $thrlastedate) ;
            $thrlasteditdate =" ".$lang['last_edit_at']." $dateinfo";
                                     }
                              
         $topicip="";
   if ( $thrstarter_id == GUEST ) {
            $rank_user_info = $lang['userlevel_guest'];
       } elseif ( $user_rank== 9 ) {
            $rank_user_info = $lang['userlevel_admin'];
                        
      } elseif ($user_id == $board_moderator_id){                          
              $rank_user_info = $lang['rank_user_mod'];

        } elseif ($post_count <= 100){
              $rank_user_info = $lang['rank_user_newbie'];
      } elseif($post_count >= 200){      
            $rank_user_info = $lang['rank_user_add'];
                                 }
         
         
          if ($thrlock == 1 ) {
            $threadquote="";
            $newreply_button="";

           } else {
               $threadquote=" <a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qt&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/reply_quote.gif\" border=0 alt=\"".$lang['reply_quote']."\"></a>";
             $newreply_button="<a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qu&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/postreply.gif\" alt=\"".$lang['post_reply']."\" border=0></a>";
                          }
            if ($user_info['user_id'] == $thrstarter_id && $user_info['user_id'] <> GUEST ){     
               $edit_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?mode=et&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/edit_post.gif\" border=0 alt=\"".$lang['edit_topic']."\"></a>";
           } elseif ($user_info['user_level'] == ADMIN) {     
            $edit_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?mode=et&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/edit_post.gif\" border=0 alt=\"".$lang['edit_topic']."\"></a>";                                           
          } elseif ($thrlock == 1) {             
            $edit_thread = "";                                  
          } else {
            $edit_thread = "";
                                   }
            
//-----------Define permision for this thread-------------------------
                $lock_thread = "";
             $unlock_thread = "";
             $delete_thread = "";
            
            if ($user_info['user_level'] == ADMIN) {
                    if ($thrlock == 1 )
                      {
                 $unlock_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?action=unlockthread&bid=$board_id&threadid=$threadid")."\" ><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/unlockthread.gif\" border=0 alt=\"".$lang['unlock_thread']."\"></a>";
                      } else {
                   $lock_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?action=lockthread&bid=$board_id&threadid=$threadid")."\" ><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/lockthread.gif\" border=0 alt=\"".$lang['lock_thread']."\"></a>";
                  }
                   $threadquote=" <a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qt&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/reply_quote.gif\" border=0 alt=\"".$lang['reply_quote']."\"></a>";
                       $newreply_button="<a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qu&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/postreply.gif\" alt=\"".$lang['post_reply']."\" border=0></a>";
                   $delete_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?action=deletethread&bid=$board_id&threadid=$threadid")."\" onClick=\"return confirm(' ".$lang['delete_post']."')\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/fo_del_top.gif\" border=0 alt=\"".$lang['delete_thread']."\"></a>";
                         $topicip=" ".$lang['ip_address']." : $thrposterip ";
                  } else if ( $user_info['user_id'] == $board_moderator_id )
                                         {
                  $edit_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?mode=et&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/edit_post.gif\" border=0 alt=\"".$lang['edit_topic']."\"></a>";
                    if ($thrlock == 1 )
                      {
                    $unlock_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?action=unlockthread&bid=$board_id&threadid=$threadid")."\" ><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/unlockthread.gif\" border=0 alt=\"".$lang['unlock_thread']."\"></a>";
                      } else {
                   $lock_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?action=lockthread&bid=$board_id&threadid=$threadid")."\" ><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/lockthread.gif\" border=0 alt=\"".$lang['lock_thread']."\"></a>";
                  }
                   $threadquote=" <a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qt&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/reply_quote.gif\" border=0 alt=\"".$lang['reply_quote']."\"></a>";
                       $newreply_button="<a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qu&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/postreply.gif\" alt=\"".$lang['post_reply']."\" border=0></a>";
                   $delete_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?action=deletethread&bid=$board_id&threadid=$threadid")."\" onClick=\"return confirm(' ".$lang['delete_post']."')\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/fo_del_top.gif\" border=0 alt=\"".$lang['delete_thread']."\"></a>";
                         $topicip=" ".$lang['ip_address']." : $thrposterip ";                           
                                         }                             
                   $newtopic="<a href=\"".$site_sess->url(ROOT_PATH."boardthread.php?bid=$board_id")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/newtopic.gif\" alt=\"".$lang['new_thread']."\" border=0></a>";

                        if ($boardconfig['alow_sig'] == 1) {
                        $sig = '<br><br>##################<br>'  . $signature ;
                          } else {
                        $sig = "";
                          }



if ($config['userpic']) {

$user_picture = $userpic;

} else {

$user_picture = "";

} ###### End of if statement.


 //--------if the curent board id and topics id doesn't macth they error massage -------------------    
     if (($threadid <> $thrid) || ($board_id <>$thrforid) ) {
          $redirectpage="<meta http-equiv=refresh content=\"3; url=board.php\">";
          $msg= "<br><center>".$lang['errorredirect_msg']."</center><br>";
          $txt_clickstream = "<a href=\"".$site_sess->url(ROOT_PATH."board.php")."\">".$boardconfig['board_name']."</a>".$config['category_separator']."".$lang['errorredirect_msg']."";
          $showtopic ="";
          $clickstream = "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator'].$txt_clickstream."</span>";
          $iconmsg="<img src=\"".TEMPLATE_PATH."/board_images/danger.gif\"  border=\"0\"> ";
$site_template->register_vars(array(
          "content" => $showtopic,
          "msg" => $msg,
          "avatar_image" => $user_avatar,
          "iconmsg" => $iconmsg,
          "head_title" => $head_title,
          "lang_info" => $lang['board_langinfo']
 
          ));
          $boardcontent = $site_template->parse_template("boardcontent");
          $site_template->register_vars(array(
          "board" => $boardcontent,
        "redirect"=>$redirectpage,
          "clickstream" => $clickstream
              ));
          $site_template->print_template($site_template->parse_template($main_template));
          include(ROOT_PATH.'includes/page_footer.php');

   }   
} else {
  $newtopic="<a href=\"".$site_sess->url(ROOT_PATH."boardthread.php?bid=$board_id")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/newtopic.gif\" alt=\"".$lang['new_thread']."\" border=0></a>";
  $thread_contents = mysql_query ("SELECT thrid,thrforid,thrtopic,thrstarter,thrlock,thrlastedate,thrlastecount,thrlasteuser,thrviews,thrtext,thrdate,thrposterip
     FROM ".BOARD_TCONT_TABLE."  WHERE thrid ='$threadid' ");
       while ($row = mysql_fetch_array($thread_contents)) {
         $thrid = $row['thrid'];
         $thrforid = $row['thrforid'];
         $thrtopic = $row['thrtopic'];
         $thrstarter = $row['thrstarter'];
       $thrstarter_id = $row['thrstarter_id'];
       $thrlock = $row['thrlock'];
          $thrlastedate = $row['thrlastedate'];
        $thrlastecount = $row['thrlastecount'];
        $thrlasteuser = $row['thrlasteuser'];
       }
      
          if ($thrlock == 1 ) {
            $threadquote="";
            $newreply_button="";

           } else {
               $threadquote=" <a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qt&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/reply_quote.gif\" border=0 alt=\"".$lang['reply_quote']."\"></a>";
             $newreply_button="<a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qu&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/postreply.gif\" alt=\"".$lang['post_reply']."\"  border=0></a>";
             
                     }
      
            //lock this thread
                $lock_thread = "";
             $unlock_thread = "";
             $delete_thread = "";
            
            if ($user_info['user_level'] == ADMIN) {
                    if ($thrlock == 1 )
                      {
                 $unlock_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?action=unlockthread&bid=$board_id&threadid=$threadid")."\" ><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/unlockthread.gif\" border=0 alt=\"".$lang['unlock_thread']."\"></a>";
                      } else {
                   $lock_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?action=lockthread&bid=$board_id&threadid=$threadid")."\" ><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/lockthread.gif\" border=0 alt=\"".$lang['lock_thread']."\"></a>";
                  }
                   $threadquote=" <a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qt&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/reply_quote.gif\" border=0 alt=\"".$lang['reply_quote']."\"></a>";
                       $newreply_button="<a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qu&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/postreply.gif\" alt=\"".$lang['post_reply']."\" border=0></a>";
                   $delete_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?action=deletethread&bid=$board_id&threadid=$threadid")."\" onClick=\"return confirm(' ".$lang['delete_post']."')\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/fo_del_top.gif\" border=0 alt=\"".$lang['delete_thread']."\"></a>";
             } else if ( $user_info['user_id'] == $board_moderator_id )
                                         {
                    if ($thrlock == 1 )
                      {
                $unlock_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?action=unlockthread&bid=$board_id&threadid=$threadid")."\" ><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/unlockthread.gif\" border=0 alt=\"".$lang['unlock_thread']."\"></a>";
                      } else {
                   $lock_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?action=lockthread&bid=$board_id&threadid=$threadid")."\" ><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/lockthread.gif\" border=0 alt=\"".$lang['lock_thread']."\"></a>";
                  }
                   $threadquote=" <a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qt&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/reply_quote.gif\" border=0 alt=\"".$lang['reply_quote']."\"></a>";
                       $newreply_button="<a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qu&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/postreply.gif\" alt=\"".$lang['post_reply']."\" border=0></a>";
                   $delete_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?action=deletethread&bid=$board_id&threadid=$threadid")."\" onClick=\"return confirm(' ".$lang['delete_post']."')\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/fo_del_top.gif\" border=0 alt=\"".$lang['delete_thread']."\"></a>";
                                                                        }
               
}
     $txt_clickstream = "<a href=\"".$site_sess->url(ROOT_PATH."board.php")."\">".$boardconfig['board_name']."</a>".$config['category_separator']."<a href=\"".$site_sess->url(ROOT_PATH."board.php?categoryid=$catid")."\">$catname</a>".$config['category_separator']."<a href=\"".$site_sess->url(ROOT_PATH."showboard.php?bid=$board_id")."\">$board_name</a>".$config['category_separator']."$thrtopic";
     $showtopic .="<table border=\"0\" width=\"100%\" cellspacing=\"2\" cellpadding=\"1\" class=backboard  >\n";
     $showtopic .="<tr>\n";
     $showtopic .="<td  valign=\"bottom\" >$newtopic  $newreply_button\n";
     $showtopic .="<table border=\"0\" width=\"100%\" cellspacing=\"2\" cellpadding=\"1\" class=boxlineboard>\n";
     $showtopic .="<tr>\n";
     $showtopic .="<td >\n";
   
    $showtopic .="<table width=\"100%\" border=\"0\"  cellspacing=\"1\" cellpadding=\"0\" class=boxlineboard3>\n";
     $showtopic .=" <tr>\n";
     $showtopic .="<td><table width=\"100%\" border=\"0\" class=rowboard2>\n";
     $showtopic .=" <tr>\n";
     $showtopic .="   <td class=catforum >&nbsp; &nbsp; <b>".$lang['authorboard']."</b></td>\n";
     $showtopic .="  </tr>\n";
     $showtopic .=" </table></td>\n";
     $showtopic .="<td width=\"100%\"><table width=\"100%\" border=\"0\" class=rowboard2>\n";
     $showtopic .=" <tr>\n";
     $showtopic .="  <td class=catforum>&nbsp; &nbsp; <b>".$lang['massage']."</b></td>\n";
     $showtopic .="  </tr>\n";
     $showtopic .=" </table>\n";

   
 
   
     $showtopic .="</td>\n";
     $showtopic .="</tr>\n";
     if ($page == 1) {
     $showtopic .="<tr>\n";
     $showtopic .="<td width=\"0\" valign=\"top\" class=backboard nowrap>\n";
     $showtopic .="<table border=\"0\" width=\"100%\"  cellpadding=\"6\" >\n";
     $showtopic .="<tr>\n";
     $showtopic .="<td ><b>$thrstarter</b><br>$rank_user_info<br>$user_picture<br>$author_info <br>$topicip</td>\n";
     $showtopic .="</tr>\n";
     $showtopic .="</table>\n";
     $showtopic .="</td>\n";
     $showtopic .="<td class=backboard  valign=\"top\">\n";
     $showtopic .="<table border=\"0\" width=\"100%\" cellpadding=\"6\">\n";
     $showtopic .="<tr>\n";
     $showtopic .="<td>".$lang['subject']." $thrtopic</b> $thrlasteuser $thrlasteditdate $thrlastecount</td>\n";
     $showtopic .="</tr>\n";
     $showtopic .="<tr>\n";
     $showtopic .="<td valign=\"top\">$thrtext\n";
   
     $showtopic .=" $sig";
     $showtopic .="</td>\n";
     $showtopic .="</tr>\n";
     $showtopic .="</table>\n";
     $showtopic .="</td>\n";
     $showtopic .="</tr>\n";
     $showtopic .="<tr>\n";
     $showtopic .="<td class =\"headboard2\">\n";
     $showtopic .="<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\">\n";
     $showtopic .="<tr>\n";
     $showtopic .="<td align=\"center\" nowrap  >\n";
     $showtopic .="<img src=\"".TEMPLATE_PATH."/board_images/posticon.gif\" alt=\"".$lang['post_date']."\" >&nbsp;$thrdate </td>";
     $showtopic .="</tr>\n";
     $showtopic .="</table>\n";
     $showtopic .="</td>\n";
     $showtopic .="<td class =\"headboard2\">\n";
     $showtopic .="<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"1\">\n";
     $showtopic .="<tr>\n";
   
    $showtopic .="$profile ";
    $showtopic .="<td align=\"right\" width=\"50%\" class =\"headboard2\"> $delete_thread $edit_thread $threadquote $unlock_thread $lock_thread </td>\n";
    $showtopic .="</tr>\n";
    $showtopic .="</table>\n";
    $showtopic .="</td>\n";
    $showtopic .="</tr>\n";
}
       $reply_page = $boardconfig['posts_perpage'] ;
     $thread_rep = mysql_query ("SELECT * FROM ".BOARD_TREP_TABLE." WHERE repthrid ='$threadid'");
     $total_reply = mysql_numrows($thread_rep);

$link_arg = $site_sess->url(ROOT_PATH."showthread.php?bid=$board_id&threadid=$threadid");
$text = "Found:&nbsp;&nbsp; [{$total_reply } ] Reply on {total_pages} pages &nbsp;&nbsp;<strong><font color=\"#FFFFFF\">|</font></strong>&nbsp;&nbsp; Displayed: Reply &nbsp; [{first_page}] to [{last_page}]&nbsp;&nbsp;";

  include(ROOT_PATH.'includes/paging.php');
  $getpaging = new Paging($page, $reply_page, $total_reply , $link_arg, $text);
  $offset = $getpaging->get_offset();
  $site_template->register_vars(array(
    "paging" => $getpaging->get_paging(),
   "paging_stats" => $getpaging->get_paging_stats()
  ));    

      $thread_replies = mysql_query ("SELECT repid,repthrid,repforid,reptopic,repuser,repuser_id,reptext,repdate,repposterip,replastedate,replastecount,replasteuser 
    FROM ".BOARD_TREP_TABLE."
    WHERE repthrid ='$threadid'  ORDER BY repid ASC LIMIT $offset,$reply_page ");
     while ($row = mysql_fetch_array($thread_replies)) {
         $repid = $row['repid'];
         $repthrid = $row['repthrid'];
         $repforid = $row['repforid'];
         $reptopic = $row['reptopic'];
         $repuser = $row['repuser'];
       $repuser_id = $row['repuser_id'];
       $replastedate = $row['replastedate'];
        $replastecount = $row['replastecount'];
       $replasteuser = $row['replasteuser'];

$posts = "

SELECT ".get_user_table_field("", "user_id"). get_user_table_field(",", "user_level").", user_signature, user_posts, user_avatar
FROM ".USERS_TABLE."
WHERE ".get_user_table_field("", "user_id")." = ".$repuser_id;

$result = $site_db->query($posts);

                while ($user = $site_db->fetch_array($result)) {
                $post_count = $user['user_posts'];
                $user_id = $user['user_id'];
                $user_rank = $user['user_level']; REPLACE_EMPTY;
                $signature = format_boardtext($user['user_signature'],$boardconfig['html_board'], $boardconfig['wordwrap_board'],       
                $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);
                $user_avatar = (empty($user['user_avatar'])) ? $lang['no_image_found'] : "<a
                 href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".TEMPLATE_PATH."/avatars/".$user['user_avatar']."\"
                 width=\"".$width."60\" height=\"60".$height."\" border=\"0\" /></a>";

     }     
         $reptext = format_boardtext($row['reptext'], $boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'],1);
         $repdate = $row['repdate'];
         $repdate =  format_date($boardconfig['date_format']." ".$boardconfig['time_format'], $repdate);
         $repposterip = $row['repposterip']; 
                
   if ( $repuser_id == GUEST ) {
            $rank_user_info = $lang['userlevel_guest'];
       } elseif ( $user_rank== 9 ) {
            $rank_user_info = $lang['userlevel_admin'];               
      } elseif ($user_id == $board_moderator_id){                          
              $rank_user_info = $lang['rank_user_mod'];
      } elseif ($repuser_id == GUEST){                          
              $rank_user_info = "";
        } elseif ($post_count <= 100){
              $rank_user_info = $lang['rank_user_newbie'];
      } elseif($post_count >= 200){      
            $rank_user_info = $lang['rank_user_add'];
                                 }
                           
                           
                           
       if ( $replastedate == 0) {
              $relasteditdate ="";
           $replastecount="";
           $replasteuser="";             
        } else {
          $replasteuser="<hr><span class=\"smalltextbaord2\"> ".$lang['last_edit']."<b>$replasteuser</b>";
          $replastecount="".$lang['last_edit_count']."<b>$replastecount</b></span>";
          $dateinfo=format_date($boardconfig['date_format']." ".$boardconfig['time_format'], $replastedate) ;
          $relasteditdate =" ".$lang['last_edit_at']." $dateinfo";
              }
            
                 $thread_contents = mysql_query ("SELECT thrlock FROM ".BOARD_TCONT_TABLE."  WHERE thrid ='$threadid' ");
                    while ($row = mysql_fetch_array($thread_contents)) {
                   $thrlock = $row['thrlock']; }
            
           $edit_post = "";
          $delete_thread = "";
      if ( $user_info['user_level'] == ADMIN) {
           $delete_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?action=deletereply&amp;bid=$board_id&threadid=$threadid&replyid=$repid&page=$page ")."\"  onClick=\"return confirm(' ".$lang['delete_post']."')\" ><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/fo_del_top.gif\" border=0 alt=\"".$lang['delete_reply']."\"></a> ";
             $edit_post = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?mode=ep&bid=$board_id&threadid=$threadid&replyid=$repid&page=$page")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/edit_post.gif\" border=0 alt=\"".$lang['edit_reply']."\"></a>";       
        } elseif ($sender_name == $repuser) {
           $delete_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?action=deletereply&amp;bid=$board_id&threadid=$threadid&replyid=$repid")."\"  onClick=\"return confirm('".$lang['delete_post']."')\" ><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/fo_del_top.gif\" border=0 alt=\"".$lang['delete_reply']."\"></a> ";
             $edit_post = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?mode=ep&bid=$board_id&threadid=$threadid&replyid=$repid&page=$page")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/edit_post.gif\" border=0 alt=\"".$lang['edit_reply']."\"></a>";
      } elseif ($user_info['user_id'] == $board_moderator_id) {
          $delete_thread = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?action=deletereply&amp;bid=$board_id&threadid=$threadid&replyid=$repid")."\"  onClick=\"return confirm('".$lang['delete_post']."')\" ><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/fo_del_top.gif\" border=0 alt=\"".$lang['delete_reply']."\"></a> ";
             $edit_post = "<a href=\"".$site_sess->url(ROOT_PATH."boardmod.php?mode=ep&bid=$board_id&threadid=$threadid&replyid=$repid&page=$page")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/edit_post.gif\" border=0 alt=\"".$lang['edit_reply']."\"></a>";
                  }
               
             
          if ($user_info['user_level'] == ADMIN){
             $repip=" ".$lang['ip_address']." : $repposterip ";
             $repquote=" <a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qr&bid=$board_id&threadid=$threadid&replyid=$repid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/reply_quote.gif\" border=0 alt=\"".$lang['reply_quote']."\"></a>";
             $newreply_button="<a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qu&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/postreply.gif\" alt=\"".$lang['post_reply']."\" border=0></a>";
           } elseif ($user_info['user_id'] == $board_moderator_id) {
               $repip=" ".$lang['ip_address']." : $repposterip ";
                 $repquote=" <a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qr&bid=$board_id&threadid=$threadid&replyid=$repid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/reply_quote.gif\" border=0 alt=\"".$lang['reply_quote']."\"></a>";
               $newreply_button="<a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qu&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/postreply.gif\" alt=\"".$lang['post_reply']."\" border=0></a>";               
         } elseif ($thrlock == 1) {
               $repquote="";
               $newreply_button="";
          } else {
              $repip=" ";
                 $repquote=" <a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qr&bid=$board_id&threadid=$threadid&replyid=$repid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/reply_quote.gif\" border=0 alt=\"".$lang['reply_quote']."\"></a>";
               $newreply_button="<a href=\"".$site_sess->url(ROOT_PATH."boardreply.php?action=qu&bid=$board_id&threadid=$threadid")."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/postreply.gif\" alt=\"".$lang['post_reply']."\" border=0></a>";           
                   }
                  
                  
         if ($repuser_id == GUEST) {
             $datereg="";
             $user_location="";
                 $num_post ="" ;
             } else {
                 $num_post = "".$lang['post'].": $post_count<br>";
             $datereg="".$lang['registered']." :<br> $date_registered<br>";
                           }

         if ($repuser_id == GUEST) {

            $profile = " <td align=\"left\" width=\"1%\" class =\"headboard2\"><img src=\"".TEMPLATE_PATH."/board_images/spacer.gif\" border=0 height=\"23\"></td>\n";
            } else {
            $profile = " <td align=\"left\" width=\"1%\" class =\"headboard2\"><a href=\"".$site_sess->url(ROOT_PATH."member.php?action=showprofile&user_id=".$user_id)."\"><img src=\"".TEMPLATE_PATH."/board_images/images_".$config['language_dir']."/profile_post.gif\" border=0 alt=\"".$lang['profile']."\"></a></td>\n";
           }
     
             if ($boardconfig['alow_sig'] == 1 && $repuser_id <> -1) {
                        $sig = '<br><br>***********************<br>'  . $signature ;
                          } else {
                        $sig = "";
                          }

if ($config['userpic']) {

$user_picture = $userpic;

} else {

$user_picture = "";

} ###### End of if statement.
   
   $row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;
    $showtopic .="<tr>\n";
    $showtopic .="<td width=\"0%\" valign=\"top\" class=\"rowboard$row_bg_number\"cellpadding=\"6\" nowrap>\n";
    $showtopic .="<table border=\"0\" width=\"100%\" cellpadding=\"6\">\n";
    $showtopic .="<tr>\n";
    $showtopic .="<td><b>$repuser</b><br>$rank_user_info<br>$user_avatar<br>$num_post $datereg  $repip</td>\n";
    $showtopic .="</tr>\n";
    $showtopic .="</table>\n";
    $showtopic .="</td>\n";
    $showtopic .="<td class=\"rowboard$row_bg_number\" valign=\"top\">\n";
    $showtopic .="<table border=\"0\" width=\"100%\" cellpadding=\"6\">\n";
    $showtopic .="<tr>\n";
    $showtopic .="<td >".$lang['subject']." : $reptopic  </td>\n";
    $showtopic .="</tr>\n";
    $showtopic .="<tr>\n";
    $showtopic .="<td>$reptext\n";
    $showtopic .="$sig $replasteuser $relasteditdate $replastecount";
    $showtopic .="</td>\n";
    $showtopic .="</tr>\n";
    $showtopic .="</table>\n";
    $showtopic .="</td>\n";
    $showtopic .="</tr>\n";
    $showtopic .="<tr>\n";
    $showtopic .="<td class =\"headboard2\">\n";

    $showtopic .="<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\">\n";
    $showtopic .="<tr>\n";
    $showtopic .="<td align=\"center\" nowrap >\n";

    $showtopic .="<img src=\"".TEMPLATE_PATH."/board_images/posticon.gif\" alt=\"".$lang['post_date']."\">&nbsp;$repdate </td>";

    $showtopic .="</tr>\n";
    $showtopic .="</table>\n";

    $showtopic .="</td>\n";
    $showtopic .="<td class=\"$row_bg_number\">\n";

    $showtopic .="<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"1\">\n";
    $showtopic .="<tr>\n";
    $showtopic .="$profile";
    $showtopic .="<td align=\"right\" width=\"50%\" class =\"headboard2\">  $delete_thread $edit_post $repquote &nbsp;&nbsp;</td>\n";
    $showtopic .="</tr>\n";
    $showtopic .="</table>\n";

    $showtopic .="</td>\n";
    $showtopic .="</tr>\n";

       }
    $showtopic .="</table>\n";
    $showtopic .="</td>\n";
    $showtopic .="</tr>\n";
    $showtopic .="</table>\n";

    $showtopic .="<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"6\">\n";
    $showtopic .="<tr>\n";
    $showtopic .="<td width=\"0%\" nowrap><A name=#last></A>\n";
    $showtopic .="$newtopic&nbsp;$newreply_button";
    $showtopic .="</td>\n";
    $showtopic .="<td >\n";
    $showtopic .="<div align=\"right\">$unlock_thread $lock_thread </div>";
    $showtopic .="</td>\n";
    $showtopic .="<td>\n";
    $showtopic .="</tr>\n";
   
    $showtopic .="</table>\n";
   
    $showtopic .="</tr>\n";
    $showtopic .="</table>\n";
          }
       
}
$head_title ="<font size=\"4\">$thrtopic</font>";
$site_template->register_vars(array(
  "content" => $showtopic,
  "lang_alowpost" =>$lang_alowpost,
  "lang_alowrep" =>$lang_alowrep,
  "lang_alowedit" =>$lang_alowedit,
  "lang_alowdel" =>$lang_alowdel,
  "avatar_image" => $user_avatar,
  "msg" => $msg,
  "iconmsg" => $iconmsg,
  "head_title" => $head_title,
  "lang_info" => $lang['board_langinfo']
));

$boardcontent = $site_template->parse_template("boardcontent");
//-----------------------------------------------------
//--- Print Out ---------------------------------------
//------------------------------------------------
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 11:24:33 PM
All seems to be fine from the two paragraphs I modified (and just checked your codings above which also seems to be fine) ...  :|

Ok, what about if you create an entire "new" topic. Will it work ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 30, 2006, 11:25:33 PM
Sure TheOracle, just create it and tell the url :P
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 11:28:32 PM
@crcbad:

Sorry. The reason why I asked you is because I don't understand russian. ;)

When I switch to english from your site, there are missing components. Would you mind creating the topic then report it ?

In the mean time, the message was for trez. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 30, 2006, 11:28:53 PM
All seems to be fine from the two paragraphs I modified (and just checked your codings above which also seems to be fine) ...  :|

Ok, what about if you create an entire "new" topic. Will it work ?

no, i've tried it - the topicstarter image is not shown, and here is the problem i think:

Code: [Select]
     $showtopic .="<td ><b>$thrstarter</b><br>$rank_user_info<br>$user_picture<br>$author_info <br>$topicip</td>\n";

this is the FIRST code, there is a second one that looks like this. BUT, when i change in the code above to....

Code: [Select]
     $showtopic .="<td ><b>$thrstarter</b><br>$rank_user_info<br>$user_avatar<br>$author_info <br>$topicip</td>\n";

....what i"ve did in the SECOND code, then there is a broken image in the topicstart. So anything is wrong in that line, or ABOVE this line.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 30, 2006, 11:29:47 PM
Ok, Im gonna to create it... One minute...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 30, 2006, 11:31:41 PM
for making a new topic use : (http://www.ggrec.com/zapomnime2/templates/default/board_images/images_bulgarian/newtopic.gif)
for a new answer use : (http://www.ggrec.com/zapomnime2/templates/default/board_images/images_bulgarian/postreply.gif)

its bulgarian  8)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 11:32:59 PM
Quote

then there is a broken image in the topicstart


I see ... well, could you PM me ? I have a suggestion to make. ;)

Quote

its bulgarian


 :oops:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 30, 2006, 11:33:26 PM
TheOracle the new thread is http://www.4homepages.de/forum/index.php?topic=11410.new#new
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 30, 2006, 11:34:56 PM
@crcbad:

No, no. You mis-understood. I stated a new topic on "your" forum. A whole new section to see if the avatar appears from the first user. Please delete the new topic you made on this forum immediately.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 30, 2006, 11:39:05 PM
Ok, thins now are:

I've deleted the post... misunderstood, sorry :(

You're with Trez in HIS forum trying to do that, ok.

While, I'm going to restore the showthread.php to start from 0... While, I'll be waiting your post here :P
Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 31, 2006, 12:32:25 AM
Almost 1 hour have passed and there's no replies :(
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on January 31, 2006, 12:43:56 AM
Almost 1 hour have passed and there's no replies :(

wait, he's workin' on.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Flatermann on January 31, 2006, 12:51:41 AM
Quote

wenn users replay in forum. the error come.  could it be that thear is an error in Eglys Email@reply code ??


Please provide the URL "or" the filename with the action query on where this error happends.

Thanks.


Ok-  I believ that wenn users replay ther are in boardreply.php and wen they push replay  that error come up sometimes.

Fatal error: Cannot redeclare class email in /var/www/web7/html/4images/includes/email.php on line 28

the only thing i can find in boardreply.php is the code from 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' 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 = "patrick@terradreams.de";            //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' ";

        $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 = "patrick@terradreams.de";            // 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///////////
//////////////////////////////////////////


Could it be that mail.php is included twice in the code above???? that it make the error  ??
        include_once(ROOT_PATH.'includes/email.php'); is in the code above twice..
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 31, 2006, 01:02:42 AM
This has already been corrected along with the posts in the topic. Please read the entire discussion. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Flatermann on January 31, 2006, 01:04:38 AM
@Oracle Sorry about that . i did look threw the thread but did see anything about it.  but i will look again :))
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 31, 2006, 01:21:39 AM
To make this fast, from what you posted above,

find :

Quote

$post_url=$script_url."/showthread.php?bid=$bid&threadid=$threadid&page=$getlastpage";
        include_once(ROOT_PATH.'includes/email.php');
        $site_email = new Email();


(twice)

replace with :

Quote

$post_url = $script_url."/showthread.php?bid=".$bid."&threadid=".$threadid."&page=".$getlastpage;
        include_once(ROOT_PATH.'includes/email.php');
        if (!empty($site_email) || $site_email != "") {
        unset ($site_email);
        }
        $site_email = new Email();


This should do it. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Flatermann on January 31, 2006, 06:36:47 AM
OK ty very much..  i canged and will see if it still comes.

Title: Re: [addon] DREAMBOARD V 2.1
Post by: crcbad on January 31, 2006, 10:59:54 PM
Hi TheOracle!! How went with Trez yesterday? The avatar worked at the end??

I hope.... Greetinz
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on January 31, 2006, 11:00:55 PM
Please do not fill this topic with status questions. If you wish to do so, you may PM me.

Thanks.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on February 06, 2006, 08:27:10 PM
Hi Mantra

i have the same problem:

the code of version 2.1 for 4images 1.7.1 does not redirect after replying or quoting a post.

In the admin zone the redirect is working, but when i post a thread direct on the board, then it is only the message:

INfo


You will be redirected to your post shortly

but it does not return to the post.

please help me!!
Thanx lot


added on board.html  this tag {redirect} before {board}  :mrgreen:


-----

How make BBcode Smileys work in board ? i Mean on posts ? :|
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Flatermann on February 08, 2006, 01:33:58 PM
HI Me again  :)) . My user askt me if there is a way to insert the PM mod to the forum ???
like  in teh same way its iinplanted to thze comments

Greatzzzz 
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on February 08, 2006, 01:58:39 PM
HI Me again  :)) . My user askt me if there is a way to insert the PM mod to the forum ???
like  in teh same way its iinplanted to thze comments

Greatzzzz 

just use the regular links, u have to edin "showthread.php" to show it under each post
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Flatermann on February 08, 2006, 03:06:14 PM
it isnt that easy - i can let the new pm link show yeah that easy. . but  the thing is.. wenn you push the pm button from a comment then that comment is shown in that pm

how can i do all that.  and the pm is already filled out to send to that person that wrote that comment.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on February 08, 2006, 03:28:40 PM
Flattermann:

Try describe it a little more better ;)
So if i understand you, you wanna have this:

Board ---- Topic:
blablabla

-> user clicks on PM

->

headline: RE: Topic XXX on XXX
subject: (quote topic)

user writes text


that? If yes, Oracle or V@no could give you the answer, but this forum is coded very badly, to many bugs, i think about to pay a php-coder here in bulgaria to completely rewrite this MOD next week, so when its ready i post the new installation under an new topic.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Flatermann on February 08, 2006, 03:44:43 PM
Flattermann:

Try describe it a little more better ;)
So if i understand you, you wanna have this:

Board ---- Topic:
blablabla

-> user clicks on PM

->

headline: RE: Topic XXX on XXX
subject: (quote topic)

user writes text


that? If yes, Oracle or V@no could give you the answer, but this forum is coded very badly, to many bugs, i think about to pay a php-coder here in bulgaria to completely rewrite this MOD next week, so when its ready i post the new installation under an new topic.

Thats what i ment yes--  OH so i guess i just wait tiull Oracle or V@no see my post maybe they would hab idea how to do it.


Oh if you thinking about to pay someone to reprogramm it , sound good. i mit give you a donaint if it ever happens.  Forum is not bad.. but a few thing that ar very nessasery are miissing .. Like moving threads from on topic a to topic b
Title: Re: [addon] DREAMBOARD V 2.1
Post by: trez on February 08, 2006, 03:57:36 PM
http://www.4homepages.de/forum/index.php?topic=11523.msg60391#msg60391
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on February 08, 2006, 04:14:26 PM
it isnt that easy - i can let the new pm link show yeah that easy. . but  the thing is.. wenn you push the pm button from a comment then that comment is shown in that pm

how can i do all that.  and the pm is already filled out to send to that person that wrote that comment.

This is feasable by amending an SQL statement in your showthread.php file. Then, you need to select each PM fields from the PM_TABLE and display the results on a specific HTML table window within the appropriate action name from showthread.php file. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Flatermann on February 09, 2006, 05:00:30 AM
it isnt that easy - i can let the new pm link show yeah that easy. . but  the thing is.. wenn you push the pm button from a comment then that comment is shown in that pm

how can i do all that.  and the pm is already filled out to send to that person that wrote that comment.

This is feasable by amending an SQL statement in your showthread.php file. Then, you need to select each PM fields from the PM_TABLE and display the results on a specific HTML table window within the appropriate action name from showthread.php file. ;)

OMG Oracle i am german LOL and dont realy understand those fancy words heheh .  my english isnt like bad but hat to high for me LOL .
Title: Re: [addon] DREAMBOARD V 2.1
Post by: V@no on February 09, 2006, 05:12:42 AM
OMG Oracle i am german LOL and dont realy understand those fancy words heheh . my english isnt like bad but hat to high for me LOL .
Dont bother, I've been trying to get this message to him for over a year now - no changes...:roll:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: TheOracle on February 09, 2006, 05:17:04 AM
@flatermann:

Well, in that case, I'm sure someone who speaks German would be happy to make the translations for you. ;)

Quote

I've been trying to get this message to him for over a year now


Hum, a year and a half actually and there has been changes since. I'm getting expressively better in english everyday. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Flatermann on February 09, 2006, 06:31:19 AM
But havto sounds like alote of work and testing till it works. LOL .

I aint a ph coder noob but seem it mite be a bit to big to me.
i still havto get threw knowing the system from 4images. befor i dont know that i wouldnt be able to programm that.

i just wait til i understand the hole system. and try  :)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Fragezeichen on February 17, 2006, 09:29:28 PM
at this time,the dreamboard2.1 are not compatibel to avatarmod?
no one find any soulution,rigth...now im finish with 20 pages of that topic.
mod works great,just without avatars.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Leppi on March 01, 2006, 04:52:58 PM
Hello.
I've got a Problem after the installation of dreamboard.
If i go to ACP an want to open Board admin or Board Config, i get an error message: "Die Datei kann nicht geöffnet werden" (english: This file can't be open).
Has anyone an idea to solve this problem.

Thanks, Leppi
-------------------------------------------------------------------------------
Hi.
Hab da nen kleine Problem nach der Installation von Dreamboard.
Wann Ich ins ACP gehe und Board Admin oder Board Config anklicken will, bekomm ich ne fehlermeldung: "Die Datei kann nciht geöffnet werden"
Hat eienr vielleicht ne Idee?

MfG Leppi
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on March 11, 2006, 03:49:13 AM
@ all Dreamboardusers ... Security Fix ...  :!:

the reference took place here : http://www.4homepages.de/forum/index.php?topic=12021.msg64209#msg64209

you must also install the fix : http://www.4homepages.de/forum/index.php?topic=11855.0

in board.php ...  :!:

mawenzi

Title: Re: [addon] DREAMBOARD V 2.1
Post by: IcEcReaM on March 11, 2006, 08:55:35 PM
its unfortunatly not only in board.php,
you have to apply the fix to the other dreamboard files too.
or what would be a better solution just delete the line,
cause i think they are not necessary and were just copy and pasted from the index.php
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Chicco on March 26, 2006, 10:10:50 PM
Ich habe ein ähnliches Problem wie Leppi.

Das Board ansich funktioniert. Nur wenn ich im Admin-Panel auf ein der beiden neuen Befehle klicke, kommt immer diese Meldung:
Template Error: Couldn't open Template ./../templates/default/menue_form.html

Diese Datei existiert in Wirklichkeit schon. Denn diese ist eine HTML-Datei welche ich in allen Dateien wie Index.php details.php usw... per {menu_form} einbinden lasse.

Lass ich diese datei drin, zeigt er mir den inhlat dieser datei an. Lösche oder benenne ich diese um, so bekomme ich die oben genannten Fehlermeldung.

Wie oder wo kommen diese Befehle darauf, nach dieser Datei zu suchen??????

Ich meine damit den Befehl "Config Board" und "Board Manager"
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Chicco on March 26, 2006, 11:53:23 PM
Okay....Fehler gefunden....

Ich habe in meiner page_header.php folgenden Code drin gehabt:

Code: [Select]
$site_template->register_vars("menue_form", $menue_form);
$menue_form = $site_template->parse_template("menue_form");
$site_template->register_vars("menue_form", $menue_form);
unset($menue_form);

Mit diesem Code und der Variable {menue_form} habe ich dann in meiner index.php, details.php, register.php usw. usw... meine Menü-Seite einbinden lassen...
Wenn ich nun diesen Code aus der page_header.php entferne, gehen meine beiden Funktion im Admin-Panel.

Aber dafür habe ich nun kein Menü mehr..Muss ich nun in jeder html-Datei das menü wieder reinschreiben oder kann ich einfach diesen Code in einer anderen php-datei einbinden, ohne das dieser die Baordfunktion im Admin-Panel stört.


Habe mir damals diesen Code selbst zusammengebaut. Jetzt sieht man ja, was dabei herauskommt. ;-)

Wie baut man denn sonst so eine variable ein??
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Chicco on March 27, 2006, 06:47:53 PM
HIer wurde zwar mehrmals danach gefragt, aber eine Antwort bekamen diejenigen keine.

Und zwar geht es um die SUCHE funktion in dem Dreamboard. Hat ein User keine Möglichkeit, das Forum zu durchsuchen? Kann man wenigstens in der normalen Suchefunktioin von der Galerie dann das Forum mit einbinden, so das dieses mit durchsucht wird?? Wundert mich, das nur ich diese Funktion ziemlich vermisse.... :roll:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: IcEcReaM on March 27, 2006, 08:19:47 PM
antwort zum thema suchfunktion.

das lässt sich meiner meinung nach nicht so einfach realisieren,
da die posts nach suchworten indiziert werden müssten,
so wie es bei den bildbeschreibungen usw ist.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Chicco on March 28, 2006, 07:29:18 AM
Oh.... 8O

Hmm, das ist natürlich schon etwas blöd. Häte mich da doch zuvor das Dreamboard etwas genauer anschauen sollen.....Anfangs geht es ja noch, wenn wenig Einträge vorhanden sind....Aber später....Hui HUi....

Okay, die meisten verwenden sowieso kaum die Suchefunktion und schreiben einfach ein neues Thread. Aber trotzdem.....

Wie haben es denn die grossen Programmeirer wie V@no und Mawenzi in ihren Foren gemacht? leben die auch ohne Suche oder haben die sich was gebastelt? Wenn ja, kann ich mir aber nicht vorstellen, das diese es danach nicht hier veröffentlicht hätte. Muss mich mal umschauen, wie die anderen es so haben...

Denn wie gesagt, geht es mir nicht aus den Kopf, das ich der einzige bin, der gerne eine Suchefunktion im Dreamboard hätte btw. diese vermisst und nach Lösungen sucht.... :P
Title: Re: [addon] DREAMBOARD V 2.1
Post by: IcEcReaM on March 28, 2006, 05:38:01 PM
auf weitergehende Dreamboard spezifische Fragen, müssten dann wohl User antworten,
die es installiert haben.
Ich habs nicht drauf.

Bei mawnzi gibt es glaub ich auch keine Suchfunktion,
und vano hat meines Erachtens gar kein Dreamboard drauf.

Ich hab bisher jedenfalls noch kein Dreamboard mit Suchfunktion gesehen.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Chicco on March 29, 2006, 10:00:17 AM
Also das mit dem Copyright-Vermerk hat sich nun erledigt. Man darf das {dreamboard} nicht, wie in seiner Anleitung beschrieben, in die footer.html reinsetzen sondern muss es in derboard.html direkt unter das {board}setzen. Dann wird auch der Copyright-Vermerk angezeigt. Vielleicht haben die meisten Benutzter gar nicht das Copyright heruasgenommen, wie MANTRA manchmal vermutet, sondern haben es zwar drin, wird aber nicht angezeigt. Zumindest konnte ich es in der footer.html hin setzen wo ich es wollte....angezeigt wurde nie was...Aber so steht es in seiner Anleitung drin...

Und das bei mir keine Buttons angezeigt wurden, liegt daran, das diese nur im englischen imgaes_english drin liegen. Hat man aber die deutsche Sprache am laufen, so werden die Bilder nicht angezeigt, da es kein images_deutsch Ordner gibt. Daher einfach den englischen in images_deutsch umbenennen.... Ach ja....und das Images "dreamlogo.GIF" im Ordner "board_images" muss noch in "dreamlogo.gif" umbenannt werden (also aus dem grossen GIF ein kleines gif machen) da es sonst nicht angezeigt wird. Ein Hoch an UNIX. ;-) Das trifft auch auf die Dateien "topic_sticky.GIF" und "topic_sticky_new.GIF" zu.

Denn ich hatte mich gewundert, als ich Buttons einbauen wolte, das bereits Buttons eingebaut sind, aber nie angezeigt wurden... :oops:

Tja, und das mit der SUCHE....SCHADE SCHADE SCHADE :cry: :cry: :cry:

Das kostenlose PHP Forum kann man ja nicht mit der Datenbank von 4images kombinieren, oder? So das man sich z.b. nicht separat einloggen oder registrieren muss und man auf Daten vom User von 4images zurückgreifen kann? Das sind nämlich die einzigen Gründe, warum ich dieses Forum (von PHP) nicht verwende. zwiemla sich registrieren finde ich irgendwie blöd und zugleich umstädnlich...Da muss sich jedes Mitglied zweimal einloggen ggf... :x

NOCH EINE KLEINE FRAGE:
Vieleicht habe iche s ja überlesen, aber kann wieso kann ein Mitglied, welches einen neuen Beitrag erstellt ha, diesen nicht löschen, obwohl es unten heisst "Du kannst deinen Beitrag wieder löschen"?? Genauso finde ich es blöd, das jemand, der eine ANTWORT gegeben hat, diese nicht nachbearbeiten kann....

Wie gesag, vielleicht habe ich es überlesen, gefunden habe ich nix.....
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Chicco on March 29, 2006, 11:59:37 AM
Frage über Frage....

Sollte vielleicht einmal erst eine Liuste aufstellen mit meinen Fragen,die sich so sammeln und dann ein Thread schreiben...

Wie ich Anwtorten verschieben kann, ist mir klar.per id.... Aber wie kann ich Foren (Also die Hauptpunkte) verschieben? Habe zwar mal per phpmyadmin in 4images_board_cat die id getauscht, aber die mit ID 1 wird trotzdem als letztes angezeigt, obwohl ich sie ganz oben anzeigen lassen möchte.

und bei 4images_board_trep kann ich nur die struktur sehen aber nicht den inhalt anzeigen lassen. Wieso`??
Title: Re: [addon] DREAMBOARD V 2.1
Post by: sigma. on April 15, 2006, 07:07:51 PM
ORACLE.

In regards to the avatar mod code you did a few pages back for showthread.php
I was just going to try it out but Im noticing my showthread.php is much different then the one you were working with.

I cant make some of the changes you point out becaus ethe code doesnt match what you have. Ive never addusted after install.
Heres my code (php file zipped). Just thought I would let you know.

I would love to have this work but after reading the work you did and the frustrations, i can understand if this doesnt get solved. np
Title: Re: [addon] DREAMBOARD V 2.1
Post by: sigma. on April 15, 2006, 07:51:51 PM
another question.

Anyoen have success in moving and editing the 'powered by mantra' line at the bottom?
I want to remove the mantra logo, move the text so its right justified and make the 'mantra' text a link to his website, inted of that logo.

anyone know where i can find that text to edit? I feel like Ive searched everywhere.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on April 16, 2006, 12:00:19 AM
Have you check your html files ?   :wink:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: sigma. on April 16, 2006, 12:29:21 AM
Have you check your html files ?   :wink:

of course. can you be more specific as to which one and where in the code that it references this text?
cant find it.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: sigma. on April 19, 2006, 07:13:09 PM
I guess Oracle isnt around.
The Avatar question is more important than the other.

Title: Re: [addon] DREAMBOARD V 2.1
Post by: Alanmelon on April 25, 2006, 08:04:50 PM
I've picked up a bit of a problem with my installation in that someone who has reached 100 posts is now displaying as an Admin. Any ideas where I can amand this?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: webslingers on May 08, 2006, 08:34:11 PM
Can someone make this available? It seems everytime I go to Mantras site, it's in Maintenance Server mode...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Jim on May 09, 2006, 09:51:10 PM
i got a little problem =)

i also need a kind of board for my 4images. the problem is, that the postet links at the beginning of the post are not working any more. is there somebody who's able to send me the files in a zip or rar ?

*****************

ich hab ein kleines problem =)

ich bräuchte ein forum für mein 4images. das problem ist aber, das die links, am anfang des posts, nicht mehr funktionieren. kann mir jmd die dateien, die ich benötige, als zip oder rar zukommen lassen?

wäre prima!
jim
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Alanmelon on May 22, 2006, 09:24:34 PM
Here it is...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on June 10, 2006, 04:01:56 AM
Its possible modify in board_admin, in the place of set a single moderator, make a "user group" ??

 :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on August 03, 2006, 11:40:48 PM
i've 2 questions :

1) its possible list all posts added by User (xx)

i would appreciate any ideias or help for it  :)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on August 04, 2006, 03:14:16 AM
i've 2 questions :

1) its possible list all posts added by User (xx)

i would appreciate any ideias or help for it :)

well i've solve it :) , but if someone can help at my 1) line woud be great :)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on August 04, 2006, 08:51:31 AM
Where du you want to have the link to the list of all posts added by User (xx) ?
In userprofile, memberlist, forum ... ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on August 04, 2006, 04:12:35 PM
Where du you want to have the link to the list of all posts added by User (xx) ?
In userprofile, memberlist, forum ... ?

my ideia is show at userprofile one of two things :

1) Show all posts , posted by him
2) Last Topics by him

:)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on August 05, 2006, 02:24:17 AM
well actually i'm just needing the 1) Show all posts , posted by him ...

 :roll:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: tdkpaul on August 05, 2006, 09:42:23 PM
somebody using this dreamboard with 1.7.2 or 1.7.3?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on August 07, 2006, 07:09:15 PM
i've got a ideia but i don't know how do , i've take a look at showcomments under profile and think how modify it to show user posts :

[qcode]//-----------------------------------------------------
//---Show Member Comments-------------------------------
//-----------------------------------------------------

if ($action == "showcomments") {

 if (isset($HTTP_GET_VARS[URL_USER_ID]) || isset($HTTP_POST_VARS[URL_USER_ID])) {
   $user_id = (isset($HTTP_GET_VARS[URL_USER_ID])) ? intval($HTTP_GET_VARS[URL_USER_ID]) : intval($HTTP_POST_VARS[URL_USER_ID]);
   if (!$user_id) {
     $user_id = GUEST;
   }
 }
 else {
   $user_id = GUEST;
 }

   $additional_sql = "";
     $table_fields = $site_db->get_table_fields(USERS_TABLE);
     foreach ($additional_user_fields as $key => $val) {
       if (isset($HTTP_POST_VARS[$key]) && isset($table_fields[$key])) {
         $additional_sql .= ", $key = '".un_htmlspecialchars(trim($HTTP_POST_VARS[$key]))."'";
       }
     }
 $sql = "SELECT c.comment_id, c.image_id, c.user_id, c.user_name AS comment_user_name, c.comment_headline, c.comment_text, c.comment_ip, c.comment_date".get_user_table_field(", u.", "user_level").get_user_table_field(", u.", "user_name").get_user_table_field(", u.", "user_email").get_user_table_field(", u.", "user_showemail").get_user_table_field(", u.", "user_invisible").get_user_table_field(", u.", "user_joindate").get_user_table_field(", u.", "user_lastaction").get_user_table_field(", u.", "user_comments").get_user_table_field(", u.", "user_homepage").get_user_table_field(", u.", "user_icq").$additional_sql."
         FROM ".COMMENTS_TABLE." c
         LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = c.user_id)
         WHERE c.user_id = $user_id
         ORDER BY c.comment_date DESC, c.image_id ASC";
 $result = $site_db->query($sql);
 $comment_row = array();
 while ($row = $site_db->fetch_array($result)) {
   $comment_row[] = $row;
 }
 $site_db->free_result($result);
 $num_comments = sizeof($comment_row);
 if (!$num_comments) {
   $comments = "<TABLE width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"bordercolor\"><tr><td class=\"commentrow1\" colspan=\"2\">".$lang['member_no_comments']."</td></tr></table>";
 }
 else {
   $comments = "";
   $bgcounter = 0;
   $comments ="<TABLE width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"bordercolor\">\n<TR>\n<TD>\n<TABLE width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\">\n";
   $current = "";
   for ($i = 0; $i < $num_comments; $i++) {
    $image_id = $comment_row[$i]['image_id'];
     $sql = "SELECT i.image_id, i.cat_id, i.image_name, c.cat_name, i.image_media_file, i.image_thumb_file, i.image_allow_comments
           FROM ".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c
           LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = i.user_id)
           WHERE i.image_id = $image_id AND c.cat_id = i.cat_id";
     $image_row = $site_db->query_firstrow($sql);
     $cat_id = (isset($image_row['cat_id'])) ? $image_row['cat_id'] : 0;
    $image_allow_comments = (check_permission("auth_readcomment", $cat_id)) ? $image_row['image_allow_comments'] : 0;
    if ($image_allow_comments == 1){
    if ($current != $comment_row[$i]['image_id']) {
      $comments .= ($i == 0) ? "" : "</TABLE>\n</TD>\n</TR>\n</TABLE>\n<br>\n<TABLE width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"bordercolor\">\n<TR>\n<TD>\n<TABLE width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\">\n";
      $same = 1;
    }else{
      $same = 0;
    }
     $row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;

     $comment_user_name = htmlspecialchars($comment_row[$i]['comment_user_name']);
     $comment_user_info = $lang['userlevel_guest'];

     $comment_user_id = $comment_row[$i]['user_id'];
    $user_row_comment = get_user_info($comment_user_id);
     if (isset($comment_row[$i][$user_table_fields['user_name']]) && $comment_user_id != GUEST) {
       $comment_user_name = htmlspecialchars($comment_row[$i][$user_table_fields['user_name']]);

       $comment_user_info .= "<br />";
     }

     $comment_user_ip = ($user_info['user_level'] == ADMIN) ? $comment_row[$i]['comment_ip'] : "";

     $admin_links = "";
     if ($user_info['user_level'] == ADMIN) {
       $admin_links .= "<a href=\"".$site_sess->url(ROOT_PATH."admin/index.php?goto=".urlencode("comments.php?action=editcomment&amp;comment_id=".$comment_row[$i]['comment_id']))."\" target=\"admin_edit\">".$lang['edit']."</a>&nbsp;";
       $admin_links .= "<a href=\"".$site_sess->url(ROOT_PATH."admin/index.php?goto=".urlencode("comments.php?action=removecomment&amp;comment_id=".$comment_row[$i]['comment_id']))."\" target=\"admin_edit\">".$lang['delete']."</a>";
     }
     elseif ($is_image_owner) {
       $admin_links .= ($config['user_edit_comments'] != 1) ? "" : "<a href=\"".$site_sess->url(ROOT_PATH."member.php?action=editcomment&amp;".URL_COMMENT_ID."=".$comment_row[$i]['comment_id'])."\">".$lang['edit']."</a>&nbsp;";
       $admin_links .= ($config['user_delete_comments'] != 1) ? "" : "<a href=\"".$site_sess->url(ROOT_PATH."member.php?action=removecomment&amp;".URL_COMMENT_ID."=".$comment_row[$i]['comment_id'])."\">".$lang['delete']."</a>";
     }
    $show_link = (!check_permission("auth_viewcat", $cat_id) || !check_permission("auth_viewimage", $cat_id)) ? 0 : 1;
     $site_template->register_vars(array(
      "comment_image" => ($same) ? get_thumbnail_code($image_row['image_media_file'], $image_row['image_thumb_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['image_name'], $mode, $show_link, 0, 1) : "",
      "comment_image_name" => (!$show_link) ? $image_row['image_name'] : "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$comment_row[$i]['image_id'].((!empty($mode)) ? "&amp;mode=".$mode : ""))."\">".$image_row['image_name']."</a>",
      "comment_cat_name" => (!check_permission("auth_viewcat", $cat_id)) ? $image_row['cat_name'] : "<a href=\"".$site_sess->url(ROOT_PATH."categories.php?".URL_CAT_ID."=".$cat_id)."\" class=\"smalltext\">".$image_row['cat_name']."</a>",
       "comment_id" => $comment_row[$i]['comment_id'],
       "comment_user_id" => $comment_user_id,
       "comment_user_name" => $comment_user_name,
       "comment_user_info" => $comment_user_info,
       "comment_user_ip" => $comment_user_ip,
       "comment_headline" => format_text($comment_row[$i]['comment_headline'], 0, $config['wordwrap_comments'], 0, 0),
       "comment_text" => format_text($comment_row[$i]['comment_text'], $config['html_comments'], $config['wordwrap_comments'], $config['bb_comments'], $config['bb_img_comments']),
       "comment_date" => format_date($config['date_format']." ".$config['time_format'], $comment_row[$i]['comment_date']),
       "row_bg_number" => $row_bg_number,
       "admin_links" => $admin_links
     ));
     $comments .= $site_template->parse_template("member_comment_bit");

    $current = $comment_row[$i]['image_id'];
}
   } // end while
 } //end else
 $comments .= "</TABLE>\n</TD>\n</TR>\n</TABLE>\n";
 $content = $comments;
 $txt_clickstream = $lang['member_comments'].(($user_id == GUEST) ? $lang['userlevel_guest'] : $comment_user_name);
}
//---End Member Comments----[/qcode]

make is show all users post's :?:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on August 08, 2006, 02:17:56 AM
For who is looking for "show board names + posts names" at page window , and for post shortcuts heres a answer:

BACKUP YOUR FILES BEFORE YOU TRY IT !!!


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
));

at board.html added {title} at your page <title>....</title>

This ill work ;)

post shortcuts :

At showthread find:

Code: [Select]
    $showtopic .="<tr>\n";
    $showtopic .="<td >".$lang['subject']." : $reptopic  </td>\n";
    $showtopic .="</tr>\n";

Added:

Code: [Select]
    $showtopic .="<tr>\n";
    $showtopic .="<td >".$lang['subject']." : $reptopic <br>Forum Post:&nbsp;(<a href=\"#$repid\">#$repid</a>)  </td>\n";
    $showtopic .="</tr>\n";

You can change it if you want ;)



Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on September 05, 2006, 07:23:26 AM
I need help for a small modification

Quote
//---------------------------
//------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\" ></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><br><b>$catname</b><br></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-width=\"1\" cellpadding=\"5\" cellspacing=\"1\" class=\"imagerow$row_bg_number\"><tr><td>$newtopic</td><td> <a href=\"showthread.php?bid=$board_id&threadid=$board_lastpost_id&page=$board_lastpost_page \"><b>$topic</b> </a><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);

I need make it show the the last 5 last posts only from board - 22 , how can i do it ???
Title: Re: [addon] DREAMBOARD V 2.1
Post by: V@no on September 05, 2006, 08:15:29 AM
maybe change
Code: [Select]
$boardgories = mysql_query ("SELECT catid,catname FROM ".BOARD_CAT_TABLE ."");to this:
Code: [Select]
$boardgories = mysql_query ("SELECT catid,catname FROM ".BOARD_CAT_TABLE ." WHERE catid = 22");
 
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on September 05, 2006, 05:34:57 PM
maybe change
Code: [Select]
$boardgories = mysql_query ("SELECT catid,catname FROM ".BOARD_CAT_TABLE ."");to this:
Code: [Select]
$boardgories = mysql_query ("SELECT catid,catname FROM ".BOARD_CAT_TABLE ." WHERE catid = 22");
 


well that work , but ideia its get last 10 topics from:

cat_id = 6 , board_id = 22 :P
Title: Re: [addon] DREAMBOARD V 2.1
Post by: JinYoshi on September 16, 2006, 06:23:52 PM
somebody using this dreamboard with 1.7.2 or 1.7.3?

Compatible with 1.7.3 ?
Anyone ?
Well, then i'll try it...

No No No... the link is broken, so i cant see the step of this board installation..
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on September 24, 2006, 10:40:36 PM
I need help , i'm trying show the text and the number of replies at this way :

text - The original post (1º)
replies - Total of replies of that topic

Topic Name ..

text text text

total replies( total replies )

How do it , i really need it  :|

Note: using the code above , showing the last topics at (index.php, etc ) !!
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on October 07, 2006, 07:52:16 PM
i've got a ideia but i don't know how do , i've take a look at showcomments under profile and think how modify it to show user posts :

[qcode]//-----------------------------------------------------
//---Show Member Comments-------------------------------
//-----------------------------------------------------

if ($action == "showcomments") {

 if (isset($HTTP_GET_VARS[URL_USER_ID]) || isset($HTTP_POST_VARS[URL_USER_ID])) {
   $user_id = (isset($HTTP_GET_VARS[URL_USER_ID])) ? intval($HTTP_GET_VARS[URL_USER_ID]) : intval($HTTP_POST_VARS[URL_USER_ID]);
   if (!$user_id) {
     $user_id = GUEST;
   }
 }
 else {
   $user_id = GUEST;
 }

   $additional_sql = "";
     $table_fields = $site_db->get_table_fields(USERS_TABLE);
     foreach ($additional_user_fields as $key => $val) {
       if (isset($HTTP_POST_VARS[$key]) && isset($table_fields[$key])) {
         $additional_sql .= ", $key = '".un_htmlspecialchars(trim($HTTP_POST_VARS[$key]))."'";
       }
     }
 $sql = "SELECT c.comment_id, c.image_id, c.user_id, c.user_name AS comment_user_name, c.comment_headline, c.comment_text, c.comment_ip, c.comment_date".get_user_table_field(", u.", "user_level").get_user_table_field(", u.", "user_name").get_user_table_field(", u.", "user_email").get_user_table_field(", u.", "user_showemail").get_user_table_field(", u.", "user_invisible").get_user_table_field(", u.", "user_joindate").get_user_table_field(", u.", "user_lastaction").get_user_table_field(", u.", "user_comments").get_user_table_field(", u.", "user_homepage").get_user_table_field(", u.", "user_icq").$additional_sql."
         FROM ".COMMENTS_TABLE." c
         LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = c.user_id)
         WHERE c.user_id = $user_id
         ORDER BY c.comment_date DESC, c.image_id ASC";
 $result = $site_db->query($sql);
 $comment_row = array();
 while ($row = $site_db->fetch_array($result)) {
   $comment_row[] = $row;
 }
 $site_db->free_result($result);
 $num_comments = sizeof($comment_row);
 if (!$num_comments) {
   $comments = "<TABLE width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"bordercolor\"><tr><td class=\"commentrow1\" colspan=\"2\">".$lang['member_no_comments']."</td></tr></table>";
 }
 else {
   $comments = "";
   $bgcounter = 0;
   $comments ="<TABLE width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"bordercolor\">\n<TR>\n<TD>\n<TABLE width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\">\n";
   $current = "";
   for ($i = 0; $i < $num_comments; $i++) {
    $image_id = $comment_row[$i]['image_id'];
     $sql = "SELECT i.image_id, i.cat_id, i.image_name, c.cat_name, i.image_media_file, i.image_thumb_file, i.image_allow_comments
           FROM ".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c
           LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = i.user_id)
           WHERE i.image_id = $image_id AND c.cat_id = i.cat_id";
     $image_row = $site_db->query_firstrow($sql);
     $cat_id = (isset($image_row['cat_id'])) ? $image_row['cat_id'] : 0;
    $image_allow_comments = (check_permission("auth_readcomment", $cat_id)) ? $image_row['image_allow_comments'] : 0;
    if ($image_allow_comments == 1){
    if ($current != $comment_row[$i]['image_id']) {
      $comments .= ($i == 0) ? "" : "</TABLE>\n</TD>\n</TR>\n</TABLE>\n<br>\n<TABLE width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"bordercolor\">\n<TR>\n<TD>\n<TABLE width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\">\n";
      $same = 1;
    }else{
      $same = 0;
    }
     $row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;

     $comment_user_name = htmlspecialchars($comment_row[$i]['comment_user_name']);
     $comment_user_info = $lang['userlevel_guest'];

     $comment_user_id = $comment_row[$i]['user_id'];
    $user_row_comment = get_user_info($comment_user_id);
     if (isset($comment_row[$i][$user_table_fields['user_name']]) && $comment_user_id != GUEST) {
       $comment_user_name = htmlspecialchars($comment_row[$i][$user_table_fields['user_name']]);

       $comment_user_info .= "<br />";
     }

     $comment_user_ip = ($user_info['user_level'] == ADMIN) ? $comment_row[$i]['comment_ip'] : "";

     $admin_links = "";
     if ($user_info['user_level'] == ADMIN) {
       $admin_links .= "<a href=\"".$site_sess->url(ROOT_PATH."admin/index.php?goto=".urlencode("comments.php?action=editcomment&amp;comment_id=".$comment_row[$i]['comment_id']))."\" target=\"admin_edit\">".$lang['edit']."</a>&nbsp;";
       $admin_links .= "<a href=\"".$site_sess->url(ROOT_PATH."admin/index.php?goto=".urlencode("comments.php?action=removecomment&amp;comment_id=".$comment_row[$i]['comment_id']))."\" target=\"admin_edit\">".$lang['delete']."</a>";
     }
     elseif ($is_image_owner) {
       $admin_links .= ($config['user_edit_comments'] != 1) ? "" : "<a href=\"".$site_sess->url(ROOT_PATH."member.php?action=editcomment&amp;".URL_COMMENT_ID."=".$comment_row[$i]['comment_id'])."\">".$lang['edit']."</a>&nbsp;";
       $admin_links .= ($config['user_delete_comments'] != 1) ? "" : "<a href=\"".$site_sess->url(ROOT_PATH."member.php?action=removecomment&amp;".URL_COMMENT_ID."=".$comment_row[$i]['comment_id'])."\">".$lang['delete']."</a>";
     }
    $show_link = (!check_permission("auth_viewcat", $cat_id) || !check_permission("auth_viewimage", $cat_id)) ? 0 : 1;
     $site_template->register_vars(array(
      "comment_image" => ($same) ? get_thumbnail_code($image_row['image_media_file'], $image_row['image_thumb_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['image_name'], $mode, $show_link, 0, 1) : "",
      "comment_image_name" => (!$show_link) ? $image_row['image_name'] : "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$comment_row[$i]['image_id'].((!empty($mode)) ? "&amp;mode=".$mode : ""))."\">".$image_row['image_name']."</a>",
      "comment_cat_name" => (!check_permission("auth_viewcat", $cat_id)) ? $image_row['cat_name'] : "<a href=\"".$site_sess->url(ROOT_PATH."categories.php?".URL_CAT_ID."=".$cat_id)."\" class=\"smalltext\">".$image_row['cat_name']."</a>",
       "comment_id" => $comment_row[$i]['comment_id'],
       "comment_user_id" => $comment_user_id,
       "comment_user_name" => $comment_user_name,
       "comment_user_info" => $comment_user_info,
       "comment_user_ip" => $comment_user_ip,
       "comment_headline" => format_text($comment_row[$i]['comment_headline'], 0, $config['wordwrap_comments'], 0, 0),
       "comment_text" => format_text($comment_row[$i]['comment_text'], $config['html_comments'], $config['wordwrap_comments'], $config['bb_comments'], $config['bb_img_comments']),
       "comment_date" => format_date($config['date_format']." ".$config['time_format'], $comment_row[$i]['comment_date']),
       "row_bg_number" => $row_bg_number,
       "admin_links" => $admin_links
     ));
     $comments .= $site_template->parse_template("member_comment_bit");

    $current = $comment_row[$i]['image_id'];
}
   } // end while
 } //end else
 $comments .= "</TABLE>\n</TD>\n</TR>\n</TABLE>\n";
 $content = $comments;
 $txt_clickstream = $lang['member_comments'].(($user_id == GUEST) ? $lang['userlevel_guest'] : $comment_user_name);
}
//---End Member Comments----[/qcode]

make is show all users post's :?:

Nobody ??????????????  :cry:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: keemo on October 17, 2006, 06:58:35 AM
Has anyone figured out how to add a search to the forums or have the existing search include the forums?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on October 17, 2006, 07:39:30 PM
Has anyone figured out how to add a search to the forums or have the existing search include the forums?

The search only works at users/images  :|
Title: Re: [addon] DREAMBOARD V 2.1
Post by: KimmyMarie on October 18, 2006, 12:26:46 AM
http://www.mantradream.com/dreamskin/details.php?image_id=15
This link has not been active for many days. I wonder if the OP will correct it at some point.



Best wishes,
Kimmy
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on October 18, 2006, 04:16:10 AM
http://www.mantradream.com/dreamskin/details.php?image_id=15
This link has not been active for many days. I wonder if the OP will correct it at some point.



Best wishes,
Kimmy

This didn't open the page ... just show my IP more some info ...... =/
Title: Re: [addon] DREAMBOARD V 2.1
Post by: impss on October 30, 2006, 05:20:54 PM
I recently moved my gallery from a Win server to a Linux server with MySql 5 .

And now my board will not work,  It shows the dates of last posts but when i go to open a catogory its says "The topic or post you requested does not exist"

Is there any specific changes that need to be made to work with MySql 5?

thanks for the help.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on October 30, 2006, 05:46:16 PM
... try this ...
http://www.4homepages.de/forum/index.php?topic=10184.msg53697#msg53697
Title: Re: [addon] DREAMBOARD V 2.1
Post by: impss on October 30, 2006, 06:48:15 PM
... try this ...
http://www.4homepages.de/forum/index.php?topic=10184.msg53697#msg53697

Im not sure I know enough to find where to make those changes..

has anyone else done this?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: ipicture on November 01, 2006, 10:58:45 AM
http://www.mantradream.com/dreamskin/details.php?image_id=15
This link has not been active for many days. I wonder if the OP will correct it at some point.

Reminder - Has somebody the mod to download?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: impss on November 10, 2006, 04:57:28 PM
http://www.mantradream.com/dreamskin/details.php?image_id=15
This link has not been active for many days. I wonder if the OP will correct it at some point.

Reminder - Has somebody the mod to download?

Its attached to this post:

http://www.4homepages.de/forum/index.php?topic=9598.msg70227#msg70227
Title: Re: [addon] DREAMBOARD V 2.1
Post by: IGC on November 17, 2006, 07:20:28 AM
Hello... I have a problem with the board...

I followed the installation step by step, adding everything to the gallery files, adding the new ones and running the install php file, but it does not work correctly.

If I go to /board.php, it shows the test category and post, but if I click on the post I get an error saying the post does not exists and anything I try to change from the admin menu give me an error... I can't add categories, forums, or edit the configuration...

Does anyone have the same problem?

I will investigate to see if I can figure it out... but it would be nice if anyone had the same problem and was able to solve it...

PS: I've tried looking through most of the posts... but all I've seen is people reporting similar errors but no solutions :S

EDIT

I know why this problem occurs. I don't know if the version I downloaded wasn't complete or something, but the problem was that NONE of the .php files read the values passed by the forms or the GET and POST methods. So, everytime I tried to change something, it wasn't reading any variables so the script didn't know what to change.

I am still half way adding the proper commands, but basically you guys need to add the following for each variable that is needed:

Code: [Select]
$variablexxx = (isset($_GET['variablexxx'])) ? intval($_GET['variablexxx']) : intval($_POST['variablexxx']);
$variablexxx needs to be changed with the appropriate variable name and depending on the type of variable you may need to use something else other than intval in front of the parenthesis.

For those of you that know php, that's the way to solve it... and it seems to be working fine...
Right now I am able to add new categories / forums / threads / topis. Edit topics / threads. Delete categories / forums / threads / topics.

I am still missing some things, like modifying categories and forums, and some modifications need to be done so the board counts the number of posts properly... but that's secondary.

Title: Re: [addon] DREAMBOARD V 2.1
Post by: impss on December 08, 2006, 09:43:05 PM
Thats what mine is doing..

The forum worked and everything was fine, till i moved to a Apache server with MySql 5.

I have all the post counts and everything , but when i click on a category it says theres nothing there. And the admin area wont allow me to may any changes either.

Wish I could get a straight answer on this.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: metznallen on January 13, 2007, 02:16:23 AM
we're  is a download foe the board software? :cry:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: CeJay on January 13, 2007, 10:43:36 AM
As said 3 post before yours it is attached to this post:

http://www.4homepages.de/forum/index.php?topic=9598.msg70227#msg70227
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mantra on January 15, 2007, 11:52:04 AM
i just want to say thanks for the dreaMboard user , i try to update the board that can work on new 4images version 1.7.4 and also for mysql update since that all category have problem to view also with captcha 
Please if anyone have capability to help make this board work again send me pm [ of course I will put you in credit script ] .
just wait............. :lol:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: gustav on February 04, 2007, 02:49:41 PM
Hi.

For some reason the clickstream in the forum uses a different font/fontsize than the clickstream in the gallery.... what entry in the css file is responsible for it??
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Jan-Lukas on February 12, 2007, 11:03:41 PM
Hallo,
Habe mir auch das Forum installiert
Nur leider lässt sich da nichts speichern (Admin)
Habe alle Code überprüft, trotzdem kann ich im Admin nichts ändern.
Klicke ich auf der Seite den Link um einen neuen Thread zu erstellen, kommt eigenartiger Weise ein Fehler in der Shout.php  :?:
Das ist nun schon das zweite Skript was mit der Shoutbox Probleme bereitet
http://www.4homepages.de/forum/index.php?topic=6692.msg77785#msg77785

Fehlermeldung

Fatal error: Cannot redeclare get_num_words() (previously declared in /srv/www/vhosts/ue-ei-portal-sammlerkatalog.de/httpdocs/includes/shout.php:13) in /srv/www/vhosts/ue-ei-portal-sammlerkatalog.de/httpdocs/includes/shout.php on line 13

Vielleicht könnt ihr mal beide Postings nachsehen :D

Test Account kann über PM gesendet werden

Danke Harald
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Muckellein on March 12, 2007, 10:14:19 PM
Quote
Is there anyway to figure out what problems

-When i try to save changes made to the configuration fo the board, its says "Your request got error on prosses"
but it doesnt give me any indication of what that problem is.

- When i try to add a new catogory, it says "Category fields required"

- When i try to add a new board is says:
 "Board name fields required
You don't have any category yet
Board description fields required"

And Im sure that i installed this correctly, This is my second install attempt. and I just rechecked the changed files for the 3rd time.


Ich habe genau das gleiche Problem, kann niemand helfen?
I have the exact same problem, can anybody help?

Danke

(Anbei habe ich ein Bild hochgeladen, auf dem zu sehen ist, was passiert, wenn ich auf den Test-Eintrag klicke!)
(das zweite bild zeigt, was passiert, wenn ich im Adminbereich versuche, etwas zu ändern)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: derzimmerer on March 23, 2007, 11:17:26 AM
Hallo zusammen,

ein kleines Problem habe ich auch mit dem Forum. Ich als Admin kann eine Post nachträglich bearbeiten. Aber alle anderen registrierte User können das nicht. Das Problem haben ja schon einige hier gehabt.
Wurde das schon gelöst oder habe ich etwas übersehen?

Mfg, Andreas
Title: Re: [addon] DREAMBOARD V 2.1
Post by: kira2oo2 on May 26, 2007, 04:10:05 AM
hallo

Habe mir auch das  DREAMBOARD V 2.1 installiert, aber ich bringe es unter 1.7.4 nicht zum laufen....
Es  lässt sich da nichts speichern umbenennen oder sonstiges. (Admin)

Hat sich jemand mal die Mühe gemacht das Ding an die neuste Version anzupassen, oder muss ich mich heulend davon verabschieden? :cry:

Das Addon wäre der Hammer, wenn es nur laufen würde..........

ICH BITTE DRINGEND UM HILFEEEEEE!!
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Fragezeichen on June 12, 2007, 05:29:35 PM
ich habe genau das selbe problem!
alles läuft ohne fehler,aber einstellungen können nicht gespeichert werden oder etwas hinzufügen...
ich habe version 1.7.4
Title: Re: [addon] DREAMBOARD V 2.1
Post by: impss on June 12, 2007, 08:36:35 PM
I really wish we could get some help to get this working again.

Im not sure if its Mysql 5 or php5  that is the problem, but i really miss having a working forum.

 :(
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Fragezeichen on June 15, 2007, 11:22:51 AM
i´m tired to update the latest version of 4images,im tired to play roulette with mods.
i´m not a gambler
 :|
Title: Re: [addon] DREAMBOARD V 2.1
Post by: thunderstrike on August 02, 2007, 10:13:18 PM
Look like lot prob ... fix now ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mantra on August 03, 2007, 03:47:15 AM
IF this mood work... and  cost you 20$ each domain could pay for it.... just wonder i find some good contributor getting more less in this forum .
Title: Re: [addon] DREAMBOARD V 2.1
Post by: thunderstrike on August 03, 2007, 04:22:55 AM
Quote
just wonder i find some good contributor getting more less in this forum .

Rewrite with 4images code ... possible. Acxept ... would take time. Would not do it free time. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: b.o.fan on August 17, 2007, 11:05:06 AM
hello mantra

would you make a new  [addon]?

I think some functions in other boards can be intregatet? or not?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: rinaldos on November 03, 2007, 06:34:57 PM
Hallo,
ich habe dieses Board heute in meine Galerie integriert und ich muss sagen, Well done. Alles funktioniert. Das einzigste was er mir im ACP immer anzeigt, sind eben die Zugriffsbeschränkungen guest. Ich kann diese zwar auf member und admin ändern, er sichert es auch in der Datenbank, aber angezeigt wird immer wieder guest.
Ansonsten läuft das Board.

Gruß
Ingo
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on November 26, 2007, 08:19:58 PM
Hello gentlemens!

I have installed the Bod and it works ok for me.
But the images (the buttons) are not shown:

(http://www.katzen.ag/images/neu/forum.jpg)

Could anybody say why?!? 8O

Thanks
KatzenAG
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on November 26, 2007, 08:38:24 PM
... offensichtlich liegen deine Button nicht in dem vom Script vorgesehenen Ordner ...
... einfach ... Klick rechte Maustaste -> Eigenschaften ... und dir wird der richtige Ordner angezeigt ...
... und in dem sollten die Button liegen ...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on November 26, 2007, 08:53:28 PM
Hi mawenzi,

hmmm...ich habe heut wohl ein Brett vor dem Kopf.
Wo soll ich auf Eigenschaften klicken?

Die Anleitung beschreibt folgendes:

-------------------------------------------
Upload all html file and images_board  folder, smiles_board  folder to your templates directori of curent templates you use at the moment.
Upload board_mailtopics.html  to email folder in lang directori of curent langguage you use now.
Upload board_admin.php, board_config.php,board_edit.php  to admin folder of your 4images.
Upload all php file to root directori where you install 4images.
----------------------------------------------

Die Icons befinden sich nach dem entpacken in dem Ordner images_board/images_english.
Ich habe es also gemäß der anleitung alles ausgeführt?

Gruß
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on November 26, 2007, 09:04:01 PM
... Klick rechte Maustaste auf einen Button ... z.B.Benutzerprofil ... es erscheint das Kontextmenü ...
... dort auf Eigenschaften ... und du siehst den kompletten Pfad zu dem Button, der durch das Script vorgegeben wird ...
... und dann wirst du sehen, das irgendetwas nicht stimmt ...
... entweder falscher Ordner ...
... oder falsche Button Namen ... ( da ggf. im Ordner "images_english" ) ... dann die Button umbenennen ...
... usw. ...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on November 26, 2007, 09:14:32 PM
Jau!!!
Danke, mal wieder was dazu gelernt!

Vergelts Gott  :wink:

KatzenAG
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on November 26, 2007, 09:19:15 PM
Vergelts Gott  :wink:

... heist ... Fehler gefunden, Problem gelöst ... ?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on November 26, 2007, 09:22:19 PM
Ja, Problem gelöst - jetzt ist alles da  :D.

Danke nochmals für den schnellen support!

Grüße aus Köln
KatzenAG
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on November 27, 2007, 08:11:36 PM
Hallo noch einmal!

In diesem Thread wurde auch die integration des avatar Mod (von Veno) versucht.
Es funktioniert tatsächlich, bis auf einen Bug:

Der jenige der einen neuen Thread eröffnet, von dem wird kein Avatar dargestellt. Die darauf folgenden postigs werden dann aber ordnungsgemäß die avatare angezeigt.
Ich denke diese Zeile funktioniert nicht:

Code: [Select]
$showtopic .="<td><b>$repuser</b><br>$rank_user_info<br>$user_avatar<br>$num_post $datereg  $repip</td>\n";
Das die passage $user_avatar zeigt nicht das gewünschte Bild an, es erscheint nur ein leeres Bild.
Vieleicht muss hier der absolute Pfad angegeeben werden?

Ich weiss leider nicht wie...
Hat Jemand da schon eine Lösung gefunden?

Grüße
KatzenAG
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on November 28, 2007, 03:42:36 PM
mmhh?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on December 06, 2007, 09:02:50 PM
Dreamboard is good, but it could be better:

- the avatar problem should be solved
- search function should be added
- A preview window (I mean e.g. the last 5 posts) in main tamplate
- Postigs can not be moved in to another board - should be solved

Hmmm... but I assume this Mod will not supported anymore?!?

Hakan
 
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on December 06, 2007, 11:09:50 PM
@Hakan
... ich könnte noch anbieten ... "[MOD] Forum News on Index (Dreamboard)" ...
... wäre zu finden ... hier (http://klick.kl.funpic.de/files.php?page=2) ...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on December 06, 2007, 11:28:20 PM
Aah, sehr gut!
Danke für den Tipp, dieser Punkt war mir auch am wichtigsten...werde mich gleich mal bei dir registrieren.

:mrgreen: :D :)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on December 07, 2007, 01:12:03 AM
Funktioniert tadellos  :mrgreen:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: mawenzi on December 07, 2007, 10:53:04 AM
... warum auch nicht ... und danke für den Hinweis ... ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on December 19, 2007, 09:54:20 PM
Wer Veno's avatar Mod hatte, hatte das Problem das vom  Topicstarter das Avater nicht angezeigt wurde.
Habe duch ausprobieren es geschafft:

ersetze:
Quote
$user_avatar = (empty($user['user_avatar'])) ? $lang['no_image_found'] : "<a href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".TEMPLATE_PATH."/avatars/".$user['use_avatar']."\" width=\"".$width."60\" height=\"60".$height."\" border=\"0\" /></a>";

durch:
Quote
$user_avatar = (empty($user['user_avatar'])) ? $lang['no_image_found'] : "<a href=\"".$site_sess->url(ROOT_PATH."member.php?action=showprofile&user_id=".$user_id)."\"><img src=\"".TEMPLATE_PATH."/avatars/".$user['user_avatar']."\"
                 width=\"".$width."60\" height=\"60".$height."\" border=\"0\" /></a>";

Bei mir klappt es!

Hakan
Title: Re: [addon] DREAMBOARD V 2.1
Post by: skiemor on December 21, 2007, 08:39:24 AM
Hallo, ich bräuchte zur Anpassung der deuschen main.php die deutsche Übersetzung.
Hat das jemand und wäre so nett, mir zu helfen?

Und noch ein kleines Problemchen: Wenn ich mein Test-Topic aufrufe, wird diese Zeile generiert:
    
Gefunden: 1 Bild(er) auf 1 Seite(n). Angezeigt: Bild 1 bis 1.  --> was ja hier nicht so ganz passt. ;-)
Wie kann ich das verhindern?

Danke,

Gruß Chris.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on December 21, 2007, 07:12:53 PM
Quote
//-----------------------------------------
// DREAMBOARD LANG V 2.0
// German Version by Dominion
//------------------------------------
$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\">ERROR: Could not load configuration settings <br> PLEASE MAKE SURE YOU INSTALL THE BOARD !</font></strong></div></td></tr></table>";
$lang['board_disable'] = "Sorry das Forum ist gerade nicht verfügbar!";
$lang['board_badrequest'] = "Fehlermeldung ";
$lang['board_langinfo'] = "Information ";
$lang['board_register'] = "Du bist nicht eingeloggt oder hast keine Berechtigung diese Seite zu betreten. <br>
Wenn du schon einmal Beiträge schreiben konntest, hat der Admin deinen Account eventuell gesperrt oder du wurdest noch nicht freigeschaltet. <br><a href=\"{url_register}\">Jetzt anmelden</a><br><br><br>";
$lang['delete_post']="Du willst alles löschen aus dem Beitrag, bist du sicher?";
$lang['stat_board3']="Themen geschrieben.";
$lang['stat_board2']="Beiträge und";
$lang['stat_board1']="Es wurden bisher";
$lang['rank_user_newbie']="Newbie";
$lang['rank_user_add']="Addvance";
$lang['rank_user_member']="Member";
$lang['rank_user_mod']="Moderator";
$lang['user_signature']="Signatur:";
$lang['last_edit']="<br>Dieser Beitrag wurde zuletzt geändert von ";
$lang['last_edit_at']="am";
$lang['last_edit_count']=" - insgesamt: ";
$lang['editboard']="bearbeiten";
$lang['deleteboard']="löschen";
$lang['add_cat']="Kategorie hinzufügen";
$lang['add_catname']="Kategoriename:";
$lang['lang_add_board']="Forum hinzufügen";
$lang['lang_b_yes']="Ja";
$lang['lang_b_no']="Nein";
$lang['edit_reply']="Antwort bearbeiten";
$lang['edit_topic']="Thema bearbeiten";
$lang['unlock_thread']="Thema öffnen";
$lang['lock_thread']="Thema schliessen";
$lang['lock']="Geschlossen";
$lang['delete_thread']="Thema löschen";
$lang['delete_reply']="Antwort löschen";
$lang['forum_name'] = "Foren";
$lang['forum_desc'] = "Beschreibungen";
$lang['mod_sttop'] = "Moderator bekommt eine eMail bei einem neuen Thema";
$lang['mod_strep'] = "Moderator bekommt eine eMail bei einer neuen Antwort";
$lang['forum_selectcat'] = "Wähle eine Kategorien im Forum";
$lang['smiles'] = "Smilies";
$lang['topic'] = "Themen";
$lang['topic_review'] = "Thema vorschauen";
$lang['authorboard'] = "Autor";
$lang['massage'] = "Nachricht";
$lang['replies'] = "Antworten";
$lang['views'] = "Hits";
$lang['sticky'] = "Wichtig";
$lang['lang_userposts'] = "Beiträge im Forum :";
$lang['last_post'] = "letzter Beitrag";
$lang['topic_edit'] = "Thema ändern";
$lang['new_thread'] = "neuer Beitrag";
$lang['reply_quote'] = "Quote antworten";
$lang['post_reply'] = "Antwort schreiben";
$lang['post_replyquote'] = "neue Antworten in quote";
$lang['new_reply'] = "neue Antwort";
$lang['moderator'] = "Moderator";
$lang['post'] = "Beiträge";
$lang['location'] = "Position";
$lang['registered'] = "Registriert seit";
$lang['ip_address'] = "IP Adresse";
$lang['button_lastpost'] = "die letzten Beiträge anschauen";
$lang['no_newpost'] = "Keine neuen Beiträge";
$lang['new_post'] = "Neuer Beitrag";
$lang['post_date'] = "Beitragsdatum";
$lang['redirect_msg'] = "Du wirst in kürze zu deinem Beitrag weitergeleitet";
$lang['redirect_delpost'] = "Der beitrag wurde aus dem Forum gelöscht";
$lang['redirect_editpost'] = "Der Beitrag wurde im Forum geändert";
$lang['redirect_deltopics'] = "Das Thema wurde im Forum gelöscht";
$lang['redirect_edittopics'] = "Das Thema wurde im Forum verändert";
$lang['redirect_locktopics'] = "Das Thema wurde im Forum geschlossen";
$lang['redirect_unlocktopics'] = "Das Thema wurde im Forum geöffnet";
$lang['errorredirect_msg'] = "Das Thema ist nicht mehr vorhanden";
$lang['no_post'] = "Keine Beiträge in diesem Forum";
$lang['no_postfront'] = "---";
$lang['lang_auth_view'] = "Wer kann das Forum sehen?";
$lang['lang_auth_topics'] = "Wer kann neue Themen erstellen?";
$lang['lang_auth_reply'] = "Wer kann Antworten erstellen?";
$lang['lang_canpost'] = "<b>Du kannst neue Themen erstellen</b>";
$lang['lang_canrep'] = "<b>Du kannst auf Themen antworten</b>";
$lang['lang_canedit'] = "<b>Du kannst deinen Beitrag editieren</b>";
$lang['lang_candel'] = "<b>Du kannst deinen Beitrag löschen</b>";
$lang['lang_notpost'] = "Du kannst <b>keine</b> neuen Themen erstellen";
$lang['lang_notrep'] = "Du kannst <b>keine</b> Antworten erstellen";
$lang['lang_notedit'] = "Du kannst deine Beiträge <b>nicht</b> editieren";
$lang['lang_notdel'] = "Du kannst deine Beiträge <b>nicht</b> löschen";
$lang['thema_schreiben'] = "Thema schreiben als:";
$lang['ankuendigung'] = "Ankündigung";
//-----------------------------------------
// DREAMBOARD LANG
//------------------------------------
Title: Re: [addon] DREAMBOARD V 2.1
Post by: skiemor on December 21, 2007, 07:27:29 PM
Oh, vielen vielen Dank für dieses vorzeitige Weihnachtsgeschenk.
Freut mich wirklich sehr!
Müsste wohl auch noch die E-mail-Texte anpassen, kann ich die auch noch schnorren?  :oops:

Gruß Chris.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on December 21, 2007, 10:19:25 PM
HI!

Ich habe es so gemacht:

Quote
Hallo {recipient_name},
{sender_name} hat {about} auf {forum_name} geschrieben.

--------------------------------------------------------
{topics_content}

--------------------------------------------------------
  Um zu antworten gehe auf: {topics_url}
--------------------------------------------
  Grüsse, {board_name}
 
  Hinweis: Weil du Moderator des Forums bist, erhälst zu erinnerungs Mails.
           Um diese funktion zu deativieren, sende eine Mail an den Adminstrator.

Freut mich das ich helfen konnte :lol:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: skiemor on December 21, 2007, 10:25:54 PM
nochmals danke! ;-)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on December 29, 2007, 11:57:45 AM
Hi,

I have found a bug. When I delete a posting then the script makes a mistake regarding the statistik.
One deleted posting >>> the script reduce 2 postings and 2 threats in the statistic. Somethimes I have to delete spam postings and due to this error my statistic is comlpleatly wrong.

Has anybody a idea?

Hallo,

ich habe einen bug gefunden. Wenn ich einen Beitrag lösche, dann wird das in der Statistik falsch berechnet.
Einen Beitrag löschen verursacht das 2 Themen und 2 Beiträge in der Statistik reduziert werden. Da ich schon mal Spameinträge löschen muss, addieren sich diese Fehler und di Statistik ist völlig falsch.

Hat Jemad ne Idee? 8O

Hakan
 
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on January 19, 2008, 07:55:31 PM
Hello everybody!

It would be very nice if Dreamboard (board.php) shows not only the last post date xx.xx.xxx but also "today xx.xx.xxxx" and "yesterday xx.xx.xxx".
So the visitors can see faster and better which message is new.

Can anybody help?
Kann Jemand herlfen?

Bin mal gespannt :wink:


PS: here is my Board: http://www.katzen.ag/board.php (http://www.katzen.ag/board.php)


 
Title: Re: [addon] DREAMBOARD V 2.1
Post by: thunderstrike on January 19, 2008, 09:39:10 PM

It would be very nice if Dreamboard (board.php) shows not only the last post date xx.xx.xxx but also "today xx.xx.xxxx" and "yesterday xx.xx.xxx".

Yes, I create:

http://www.4homepages.de/forum/index.php?topic=20160.0

and is possible for use with Dreamboard. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on January 19, 2008, 11:22:16 PM
Thanks, I will try it to integrate it into Dreamboard.
Thanks
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on January 20, 2008, 03:17:57 PM
Hi thunderstrike!

I installed the MOD and it works.
But I need help to modify the

board.php:
$lastpostdate = format_date($config['date_format']." ".$config['time_format'], $board_lastpost_date);

AND

showboard.php:
$lastpost_date = format_date($config['date_format']." ".$config['time_format'], $thrlastpost_date);


I don't know how to replace it like e.g.:
echo "<td>".get_universal_field_date($comment_row['comment_date'])."</td>\n";


Any Idea??!? Thanks
Title: Re: [addon] DREAMBOARD V 2.1
Post by: thunderstrike on January 20, 2008, 03:29:17 PM
Hi thunderstrike!

I installed the MOD and it works.
But I need help to modify the

board.php:
$lastpostdate = format_date($config['date_format']." ".$config['time_format'], $board_lastpost_date);

AND

showboard.php:
$lastpost_date = format_date($config['date_format']." ".$config['time_format'], $thrlastpost_date);


I don't know how to replace it like e.g.:
echo "<td>".get_universal_field_date($comment_row['comment_date'])."</td>\n";


Any Idea??!? Thanks


Code: [Select]
$lastpostdate = format_date($config['date_format']." ".$config['time_format'], $board_lastpost_date);

for:

Code: [Select]
$lastpostdate = get_universal_field_date($board_lastpost_date);

and

Code: [Select]
$lastpost_date = format_date($config['date_format']." ".$config['time_format'], $thrlastpost_date);

for:

Code: [Select]
$lastpost_date = get_universal_field_date($thrlastpost_date);
Title: Re: [addon] DREAMBOARD V 2.1
Post by: www.katzen.ag on January 20, 2008, 03:39:14 PM
I*T W*O*R*K*S

Thanks a lot! Have nice Sunday, you made my day fine...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: thunderstrike on January 20, 2008, 03:47:45 PM
Very good. Thank for posting. ;)
Title: Re: [addon] DREAMBOARD V 2.1
Post by: rinaldos on January 21, 2008, 12:18:42 PM
Hallo zusammen,
ist es möglich im Dreamboard einige Topics nur für Benutzer einer bestimmten Nutzergruppe freizugeben. Also nicht nur für Member sondern nur für Member einer Gruppe (als Beispiel: Diesunddas)
-----
Hello at all
Is it possible in some Dream Board Topics only for users of a particular user group to release. So, not only for member but only for members of a group (for example: Diesunddas)


Gruß
Ingo
Title: Re: [addon] DREAMBOARD V 2.1
Post by: GeO3x on February 22, 2008, 08:17:26 PM
Hi, I've downloaded the zip filled attached to the first post and installed it as it sais in the readme file! (of course it didn't work - some major bugs)! lucky me - I have backed up all.
I've seen there have been some updates - it shows - writed on red - in the readme file..
My version is 1.7.6 - So what changes should I do?!
It sais to read the entire topic to track the changes.. but OMG - there are endless messages..
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Chicco on February 29, 2008, 09:34:03 PM
HI.

Habe ein riesen Problem. nachdem ich bemerkt habe, das jemand mein Board als SPAM mißbraucht, habe ich nochmal die Berechtigungen geprüft und festgestellt, das alles auf GUEST steht. Sprich, nicht nur Gäste können nun die Beiträge lesen, sondern auch welche erstellen und beantworten etc. Ich bin mir sicher, das dies zuvpr aber nciht der fall war. Auch wenn ich nun das ganze ändere, behält er die einstellungen aber nciht bei. Sprich, es steht wieder guest danach drin.

Was ist los und wo kann ich es ändern, das z.b. nur members sich beiträge erstellen können sowie auf einen antworten können?

ist es etwa ein  Bug?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: FotoRalle on March 01, 2008, 02:04:49 PM
HI.

Habe ein riesen Problem. nachdem ich bemerkt habe, das jemand mein Board als SPAM mißbraucht, habe ich nochmal die Berechtigungen geprüft und festgestellt, das alles auf GUEST steht. Sprich, nicht nur Gäste können nun die Beiträge lesen, sondern auch welche erstellen und beantworten etc. Ich bin mir sicher, das dies zuvpr aber nciht der fall war. Auch wenn ich nun das ganze ändere, behält er die einstellungen aber nciht bei. Sprich, es steht wieder guest danach drin.

Was ist los und wo kann ich es ändern, das z.b. nur members sich beiträge erstellen können sowie auf einen antworten können?

ist es etwa ein  Bug?

I have the same Problem with Spam by GUEST. Can't change to MEMBER.
Does anybody know the Problem?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: desperate_housewif on March 08, 2008, 04:53:34 PM
Ich habe alle Dateien installiert. Wenn ich die board21_install.php aufrufe kommt folgende Fehlermeldung. In Linie 39 steht aber nur ein Erklärungstext. Was tun?

I have a problem, when I open board21_intall.php, I became this warning:

Code: [Select]
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in L:\Web\XAMPP\xampp\htdocs\4images\includes\db_mysql.php on line 39

DB Error: Could not connect to the database server (localhost, root).
Title: Re: [addon] DREAMBOARD V 2.1
Post by: wulfseidel on April 20, 2008, 01:49:50 PM
Hi,

funktioniert dieses Board mit 4images 1.7.6, wenn ich die Installations so durchführe wie hier angegeben?

die Integragtion von phpbb3 habe ich inzwischen aufgegeben  :?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: wulfseidel on April 20, 2008, 03:55:13 PM
Quote
Is there anyway to figure out what problems

-When i try to save changes made to the configuration fo the board, its says "Your request got error on prosses"
but it doesnt give me any indication of what that problem is.

- When i try to add a new catogory, it says "Category fields required"

- When i try to add a new board is says:
 "Board name fields required
You don't have any category yet
Board description fields required"

And Im sure that i installed this correctly, This is my second install attempt. and I just rechecked the changed files for the 3rd time.


Ich habe genau das gleiche Problem, kann niemand helfen?
I have the exact same problem, can anybody help?

Danke

(Anbei habe ich ein Bild hochgeladen, auf dem zu sehen ist, was passiert, wenn ich auf den Test-Eintrag klicke!)
(das zweite bild zeigt, was passiert, wenn ich im Adminbereich versuche, etwas zu ändern)
Well now i tried this an got same Problem as Muckelein
i run 4 images 1.7.6
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Skaidon 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!
Title: Re: [addon] DREAMBOARD V 2.1
Post by: komsho25 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?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: komsho25 on May 23, 2008, 12:56:19 PM
can someone help me... please... !?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: derzimmerer 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
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Sheon 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.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: FotoRalle on November 04, 2008, 10:01:13 AM
The "Guest"Problem seems to be still there at the moment...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: derzimmerer 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
Title: Re: [addon] DREAMBOARD V 2.1
Post by: derzimmerer 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
Title: Re: [addon] DREAMBOARD V 2.1
Post by: bergblume 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
Title: Re: [addon] DREAMBOARD V 2.1
Post by: bergblume 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
Title: Re: [addon] DREAMBOARD V 2.1
Post by: IWS_steffen 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
Title: Re: [addon] DREAMBOARD V 2.1
Post by: milance on January 09, 2009, 06:30:28 PM
and its possible create a search form for forum ? searching in forum  :?: :idea: :cry:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: IWS_steffen 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
Title: Re: [addon] DREAMBOARD V 2.1
Post by: bergblume 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}">

Title: Re: [addon] DREAMBOARD V 2.1
Post by: bergblume 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!
Title: Re: [addon] DREAMBOARD V 2.1
Post by: bergblume on January 14, 2009, 08:34:26 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!

thanks to The Oracle I have found a solution... for those who looked also for it, here we go (i have corrected some errors in code meanwhile so that it should work now in this version):

Ok, for the latest post from a specific thread, I believe I found the way to do so (untested).

First, make a backup of your member.php file.

Then, find this block :

Quote

$user_icq = (isset($user_row['user_icq'])) ? $user_row['user_icq'] : REPLACE_EMPTY;
    if (!empty($user_icq) && $user_icq != REPLACE_EMPTY) {
      $user_icq_button = "<a href=\"http://wwp.icq.com/scripts/search.dll?to=".$user_icq."\" target=\"_blank\"><img src=\"http://web.icq.com/whitepages/online?icq=".$user_icq."&img=5\" width=\"18\" height=\"18\" border=\"0\" alt=\"".$user_icq."\" /></a>";
    }
    else {
      $user_icq_button = REPLACE_EMPTY;
    }


add below :

Code: [Select]

$boardgories = "

SELECT catid, catname
FROM ".BOARD_CAT_TABLE."

";

$result = $site_db->query($boardgories);

$dboard_cat_row = $site_db->fetch_array($result);

$board_catid = $dboard_cat_row['catid'];

$dreamboard_selection = "

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, auth_view
FROM ".BOARD_TABLE."
WHERE board_catid = '$board_catid'
LIMIT 1

";

$result = $site_db->query($dreamboard_selection);

$dboard_row = $site_db->fetch_array($result);

$board_id = $dboard_row['board_id'];
$board_catid = $dboard_row['board_catid'];
$board_name = $dboard_row['board_name'];
$board_desc = $dboard_row['board_desc'];
$board_topics = $dboard_row['board_topics'];
$board_posts = $dboard_row['board_posts'];
$board_lastpost_id = $dboard_row['board_lastpost_id'];
$board_lastpost_user = $dboard_row['board_lastpost_user'];
$board_lastpost_date = $dboard_row['board_lastpost_date'];
$board_lastpost_page = $dboard_row['board_lastpost_page'];
$board_moderator = $dboard_row['board_moderator'];
$board_moderator_id = $dboard_row['board_moderator_id'];
$auth_view = $dboard_row['auth_view'];
$newlastpost = "<img src=\"".TEMPLATE_PATH."/board_images/new_last_post.gif\" border=\"0\" alt=\"".$lang['button_lastpost']."\">";


Then, find :

Quote

"user_icq_status" => (isset($user_row['user_icq'])) ? get_icq_status($user_row['user_icq']) : REPLACE_EMPTY,


add right below :

Code: [Select]

"lang_dboard_lastpost_topic" => $lang['dboard_user_lastposted'],
"dboard_lastpost_topic" => "<a href=\"".$site_sess->url(ROOT_PATH."showthread.php?bid=".$board_id."&threadid=".$board_lastpost_id."&page=".$board_lastpost_page)."\">".$newlastpost."</a>",


Then, in your lang/english/main.php file,

add before the : "?>" tag :

Code: [Select]

$lang['dboard_user_lastposted'] = "Last post from user:";


Then, on your member_profile.html file,

you should now be able to use these two tags :

Code: [Select]

{lang_dboard_lastpost_topic}
{dboard_lastpost_topic}



enjoy it!  :D
Title: Re: [addon] DREAMBOARD V 2.1
Post by: dsc_phi on February 10, 2009, 02:38:52 AM
Hello.

I am sorry for my English.

I have a problem with the use of script dreambord. I changed my provider, but that does not work anymore.
Finally, I add a new topic, he said "The topic you requested does not exist".

Unable to edit, not delete it.
If anyone among you has the solution, I'm interested.
At first I thought it was a problem with php5, I dropped in and it is identical php4.

Thank you in advance.

- - - - - - -
Bonjour.

Je suis désolé pour mon anglais.

J'ai un problème avec l'utilisation du script dreambord. J'ai changé d'hebergeur, mais celui ci ne fonctionne plus.
Enfin des que j'ajoute un nouveau sujet, il me dit "Le sujet que vous demandez n'existe pas".

Impossible de l'éditer, impossible de le supprimer.
Si quelqu'un parmis vous a la solution, je suis preneur.
Au début je pensais que c'etait un problème de php5, je suis repassé en php4 et c'est identique.

Merci d'avance.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: bergblume on February 22, 2009, 02:18:33 PM
hallo,

könntet ihr bitte mal bei mir einen blick auf mein mantra-forum werfen => speziell diese seite:
http://www.tourendatenbank.com/showthread.php?bid=2&threadid=13
wie ihr seht ist da kaum eine abgrenzung zwischen frage und antwort(en) erkennbar... was muss ich wo verändern, dass ich eine linie zwischen beiden threads reinbekomme??

danke für eure tips!
bergblume
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Stoleti on April 11, 2009, 11:02:09 PM
theres any "search" mod addon working with this board ? this would be alot useful to avoid double-triple posts and spam  :roll:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: GaYan on April 19, 2009, 12:14:50 PM
"Forbidden

You don't have permission to access /wallpaper/board21_install.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.nuwaragedara.com Port 80"

i get this erroe when i goto create tableboard . please some1 help me with this issue ..


Title: Re: [addon] DREAMBOARD V 2.1
Post by: schlepperonline on May 06, 2009, 11:24:45 PM
Hallo

habe da ein problem mit dem Board. und zwar ich kann keine berechtigungen einstellen. Es steht immer auf gast. Member und admin gehen einfach nicht. Kann mir da einer helfen?

Gruß Christian
Title: Re: [addon] DREAMBOARD V 2.1
Post by: bergblume on June 21, 2009, 08:55:13 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

gibt´s da mittlerweile neuigkeiten bzgl einer suchfunktion im forum??
Title: Re: [addon] DREAMBOARD V 2.1
Post by: 4ella on June 22, 2009, 12:08:27 PM
Hello , I have installed forum DreamBoard and when I call forum url I'm getting this error :

Parse error: syntax error, unexpected $end in /home2/dancersr/public_html/pictures/includes/template.php(101) : eval()'d code on line 211

Due to very simple installation I think that I didn't make the error , I'm using 1.7.6 , was controlling it many times , can you help me ? , I had some problems with Forum database installation , maybe it has something to do with it .

From that time I have also problem to get to member_profile
it says :
    
Parse error: syntax error, unexpected '}' in /home2/dancersr/public_html/pictures/includes/template.php(101) : eval()'d code on line 140

appreciate any help thanks Daniel
Title: Re: [addon] DREAMBOARD V 2.1
Post by: GaYan on June 25, 2009, 05:37:07 PM
is thier a way to get latest posts to our home page ? :( !
Title: Re: [addon] DREAMBOARD V 2.1
Post by: airliner on September 03, 2009, 08:57:10 AM
Hello,

I found that addon pretty awesome, did exactly what was told.
Now I can't create new topic cause of an ERROR message: ERROR, error request

Then in admin panel can't create a category due tio this:
ERROR Category field required. I did fill in category field.

What might be wrong here=? Someone solved that, I tried to search but with no answer.
My MySQL ver is 5*.

Thanx in advance...

Best regards
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Sunny C. on September 03, 2009, 01:55:09 PM
Use this: http://www.4homepages.de/forum/index.php?topic=25247.0
The best way
Title: Re: [addon] DREAMBOARD V 2.1
Post by: juewei on February 08, 2011, 06:56:31 PM
hallo,
geht das Forum auch mit 4images Version: 1.7.9 ?

danke für eure Hilfe
Jürgen
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Sunny C. on February 08, 2011, 07:11:11 PM
Das sollte auch mit der aktuellen Version funktionieren: http://www.4homepages.de/forum/index.php?topic=25247.0
Title: Re: [addon] DREAMBOARD V 2.1
Post by: juewei on February 08, 2011, 07:50:29 PM
so habe jetzt mal diese hier probiert, könnte sogar gehen.
allerdings kann ich bei mir die board21_install.php nicht ausführen, geht bei mir nie, keine ahnung warum.
kann mir einer sagen, was ich bei phpmyadmin als Datenbank einfügen müsste?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Rembrandt on February 08, 2011, 08:02:32 PM
.... geht bei mir nie, ...
das lese ich schon des öfteren bei dir, was geht nicht, b.z.w wie führst du die datei aus?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: juewei on February 08, 2011, 08:06:10 PM
als ich mache
www.domain.de/board21_install.php

und dann kommt diese Fehlermeldung
Fatal error: Call to undefined function: date_default_timezone_set() in /homepages/40/dxxxxxxxx/htdocs/domain/config.php on line 25
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Rembrandt on February 08, 2011, 08:12:03 PM
http://www.4homepages.de/forum/index.php?topic=27939.0
Title: Re: [addon] DREAMBOARD V 2.1
Post by: juewei on February 08, 2011, 08:17:37 PM
hätte ich nieeee gefunden, danke

aber was muss ich hier machen, das verstehe ich nicht

Then open config.php if you find a line with date_default_timezone_set then insert above
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Rembrandt on February 08, 2011, 08:22:08 PM
was verstehst du da nicht, suche in der "config.php" die zeile mit "date_default_timezone_set******" und füge darüber ein.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: juewei on February 08, 2011, 08:30:30 PM
misst habe ich gemacht und jetzt glaube zerschossen.
habe es dann wieder rückgängig gemacht aber die Seite geht nicht mehr auf, versucht zu laden, aber geht nicht mehr
Title: Re: [addon] DREAMBOARD V 2.1
Post by: juewei on February 09, 2011, 12:49:46 PM
Dreamboard feht bei mir auch noch... aber die install von Dreamboard geht leider nicht zeigt errror an... jetzt stehe ich mit meinem wissen am ende...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: FotoRalle on February 14, 2011, 09:34:40 PM
Echt traurig, dass das Board mit der neuesten PHp nicht mehr laufen kann...

Topics Author Replies Views Last Post
There are no posts in this forum
 
 und dann wird man zur Übersicht zurückgeschickt...
Title: Re: [addon] DREAMBOARD V 2.1
Post by: juewei on February 15, 2011, 05:12:06 AM
ja hätte auch gerne ein Froum aber es geht wohl keins von beiden :(
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Rembrandt on February 15, 2011, 05:18:02 AM
ja hätte auch gerne ein Froum aber es geht wohl keins von beiden :(
wenn ich ein forum möchte würde ich eine professionelle lösung nehmen  z.b. "WBB".
 kostet etwas aber dafür funktioniert es und es gibt support.
Title: Re: [addon] DREAMBOARD V 2.1
Post by: juewei on February 15, 2011, 05:19:56 AM
und das geht dann auch mit den gleichen Usern und einem Login?
Und das würde auch der Jürgen schaffen? :D
Und könnte man auch mit in 4images einbauen?

Dann wäre das was für mich.... :P
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Rembrandt on February 15, 2011, 05:31:27 AM
und das geht dann auch mit den gleichen Usern und einem Login?
Und das würde auch der Jürgen schaffen? :D
...
keine ahnung zu beiden, aber suche mal im forum danach user @sumale.nine hat das schon gemacht
Title: Re: [addon] DREAMBOARD V 2.1
Post by: juewei on February 15, 2011, 05:52:36 AM
habe mir das mal angesehen und einiges gelesen 8O
aber das läuft wohl auch icht richtig mit dem neuen 4images.

mich wunderts, dass es das hier nicht gibt, denn die Nachfrage ist ja wohl da :D

ich habe da leider keine Ahnung von, ich kann nur Autos Schrauben :wink:
Title: Re: [addon] DREAMBOARD V 2.1
Post by: h24 on February 27, 2011, 12:33:20 PM
Hallo habe bei mir das Addon installiert und nur Probleme

 :arrow: Script 4images 1.7.9
 :arrow: nach Anleitung installiert (read_me.html)

Mein Probleme
 :arrow: sobald ich Einstellung ändern oder sogar Kategorien oder Foren anlegen möchte bekomme ich ( CSRF check failed.) als Fehler Meldung
 :arrow: user oder ich als admin kann auch keine beiträge erstellen dann kommt nur die meldung ( Fehlermeldung  )

wer kann mir helfen
http://www.h25.lima-city.de/board.php

Ich danke schon mal im voraus für eure hilfe Danke 
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Merlina on September 23, 2011, 10:18:46 AM
Hallo zusammen

ich hab die addon installiert
(sobald ich Einstellung ändern oder sogar Kategorien oder Foren anlegen möchte bekomme ich ( CSRF check failed.) als Fehler Meldung
woran liegt das würde sehr gern den addon nutzen

LG Merlina
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Rembrandt on September 23, 2011, 11:18:30 AM
Willkommen im Forum!

da der Thread opener diesen mod nicht mehr supportet und das dreamboard auch nicht mehr weiterentwickelt wurde
 würde ich an deiner stelle das hier versuchen:
http://www.4homepages.de/forum/index.php?topic=25247.0

mfg Andi
Title: Re: [addon] DREAMBOARD V 2.1
Post by: ASAD on October 26, 2011, 10:13:03 PM
und das geht dann auch mit den gleichen Usern und einem Login?
Und das würde auch der Jürgen schaffen? :D
Und könnte man auch mit in 4images einbauen?

Dann wäre das was für mich.... :P

[Mod] WBB/4images Einzelregistrierug
http://www.4homepages.de/forum/index.php?topic=27421.0
Title: Re: [addon] DREAMBOARD V 2.1
Post by: MrAndrew on March 09, 2012, 03:22:49 AM
If anyone have old version of this ADDON, or have work version of this, send me PM, please. Thx
Title: Re: [addon] DREAMBOARD V 2.1
Post by: qazeg on October 01, 2012, 04:32:39 PM
Anybody know how on main page of 4image gallery show total unread messages in dreamboard for logged user?
Title: Re: [addon] DREAMBOARD V 2.1
Post by: Guldstrand on March 07, 2013, 01:53:33 PM
If anyone have old version of this ADDON, or have work version of this, send me PM, please. Thx
I also want a copy of a working version.