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

0 Members and 1 Guest are viewing this topic.

Offline chip

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

Offline crappytheclown

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


Offline TheOracle

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

Offline crappytheclown

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


Offline TheOracle

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

Offline crappytheclown

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


Offline TheOracle

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

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [addon] DREAMBOARD V 2.1
« Reply #202 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.

Offline sigma

  • Full Member
  • ***
  • Posts: 127
    • View Profile
    • http://cydonian.com
Re: [addon] DREAMBOARD V 2.1
« Reply #203 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 by v@no

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #204 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 ? :)

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #205 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";


:)

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [addon] DREAMBOARD V 2.1
« Reply #206 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:

Offline TheOracle

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

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [addon] DREAMBOARD V 2.1
« Reply #208 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.

 :? :?:

Offline TheOracle

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