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

0 Members and 1 Guest are viewing this topic.

Offline beseech

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #30 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 ?

 :?:

Offline universal

  • Full Member
  • ***
  • Posts: 213
    • View Profile
    • http://www.funny.lt
Re: [addon] DREAMBOARD V 2.1
« Reply #31 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?
Again this addres?!
http://www.funny.lt

Offline beseech

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #32 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....)

;)

Offline seleck

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #33 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.


Offline sonyman

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #34 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

Offline beseech

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #35 on: October 13, 2005, 06:44:20 PM »
try del and install again :)


You've miss some step (constants.php) ???

Offline beseech

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #36 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&".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

Offline Egly

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #37 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:

Offline Egly

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #38 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:

Offline beseech

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #39 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) 

Offline mantra

  • Sr. Member
  • ****
  • Posts: 358
    • View Profile
    • DREAM WITH MANTRA
Re: [addon] DREAMBOARD V 2.1
« Reply #40 on: October 15, 2005, 04:19:52 AM »
 :D ehm.... thats what i call sharing, keep going my friends

Offline beseech

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #41 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 ;)

Offline tsitsou

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #42 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.

Offline Egly

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #43 on: October 23, 2005, 10:12:27 AM »
have you changed something in showboard.php or is it the original file?

Offline Egly

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #44 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 ;-)