vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Spilt the postbit (two sides) (https://vborg.vbsupport.ru/showthread.php?t=84184)

DestyNova 08-14-2002 03:55 PM

Spilt the postbit (two sides)
 
I spend lots of time work on postbit, I try and fail anyway I want to know how to spilt postbit. I want to add several features to postbit but I dont want to have large left and eat up the space so I try to spilt postbit to have two side "left and right" on postbit instead of only left side.

I try and couldnt get it look right. So any suggest?

DestyNova 08-15-2002 09:55 PM

*bump* Anyone?

imported_plattopus 08-15-2002 10:20 PM

I don't understand what you mean.... can you post a screenshot?

DestyNova 08-15-2002 10:49 PM

1 Attachment(s)
K I dont have any screenshot for it but I ll use original vb with cut/paste as example..

MaXNet 08-16-2002 08:58 AM

so basically you want to create a three column thing for that?

i think its easy.. really easy..

sadly i aint got time right now.. cuz i m thinking about my question.. :)


need to get it fixed..

Tony G 08-16-2002 10:08 AM

So all you want to do is put it on the right?

Easy, I can do it for you soon. :)

EDIT - NO wait, you want 3 colums right?

DestyNova 08-16-2002 02:14 PM

Easy? hmm look like that I need more practice with HTML by then...

Yes, it is three columns..

mashby 08-16-2002 03:35 PM

DestyNova,

Can you please make a post with your postbit template as a .txt file? Anyone who helps you will need this information.

Thanks. :)

DestyNova 08-16-2002 07:48 PM

1 Attachment(s)
Mashby

Ok, I ll do that but I will use default VB template so that I know which to edit. Also it will be nice if someone or you to add the comment so that I ll know where it is and play around with it to nail down thur my brain to get it. I guess VB template is still new to me, so far I m only use VB for three weeks now so excuse my stupidity..

As usual you re always helpful in any way. Thanks

imported_badmeetsevil- 08-16-2002 08:49 PM

1 Attachment(s)
Okay, this should make the third column like you want. I haven't tested this out yet, so reply telling me if there is any problems.

Just replace "#######FILL IN STUFF YOU WANT ON THIRD COLUMN HERE#######" with the variables and stuff you want to put in the third column.

DestyNova 08-16-2002 09:08 PM

1 Attachment(s)
Cool, you re great! Thanks! But there is a black under that third column? Check this attachment

Thanks for comment on that postbit so I put anything between
PHP Code:

<td bgcolor="$post[backcolor]width="175" valign="top" nowrap

and
PHP Code:

</td

Right? Thanks for offer!

imported_badmeetsevil- 08-16-2002 09:17 PM

Quote:

Originally posted by DestyNova
Cool, you re great! Thanks! But there is a black under that third column? Check this attachment

Thanks for comment on that postbit so I put anything between
PHP Code:

<td bgcolor="$post[backcolor]width="175" valign="top" nowrap

and
PHP Code:

</td

Right? Thanks for offer!

Once you fill in some variables and stuff to make the third column longer, the 'black' spot will go away. Try putting some filler text in there right now.

And yes, you are exactly right in where to put it.

DestyNova 08-16-2002 09:32 PM

oh ok, but I plan to add "comment" and other hack button under line of third column. Thanks for reply

DestyNova 08-16-2002 09:36 PM

1 Attachment(s)
I try to fill up the third column with texts and black spot didnt go away. It is still there

DestyNova 08-16-2002 09:39 PM

I have same problem with mine, I made it with same thing as yours and black spot always there. That s why I spend some time on it and cannot get it normal as first column

imported_badmeetsevil- 08-16-2002 09:50 PM

Okay, the reason the black spot is there is because there is a third column. On the second row, the first column and second column are already filled, but the third (new) column isn't.

So, what you could do is move the 'edit' and 'quote' buttons over to that third column on the second row. To do that, do this:

find

<td><smallfont>$ onlinestatus
$ post[profile] $ post[pmlink] $post[useremail] $ post[homepage] $ post[search] $ post[buddy]
<!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] -->
</smallfont></td>
<td align="right" nowrap><smallfont>
<a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="images/edit.gif" border="0" alt="Edit/Delete Message"></a>
<a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="images/quote.gif" border="0" alt="Reply w/Quote"></a>
</smallfont></td>


and replace it with:

<td><smallfont>$ onlinestatus
$ post[profile] $ post[pmlink] $ post[useremail] $ post[homepage] $ post[search] $ post[buddy]
<!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] -->
</smallfont></td>


then find:

</smallfont></td>
</tr>
</table>
</td>


and replace it with:

</smallfont></td>
</tr>
</table>
</td><td bgcolor="$ post[backcolor]" width="175" height="16" nowrap><a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="images/edit.gif" border="0" alt="Edit/Delete Message"></a>
<a href="newreply.php?s=$ session[sessionhash]&action=newreply&postid=$post[postid]"><img src="images/quote.gif" border="0" alt="Reply w/Quote"></a></td>


Sorry if it looks a bit sloppy there, it's because I wrote it by hand...
Tell me if that gets rid of the black spot.

MOD Edit: If you have large code edits, please place them in a .txt attachement so that they don't throw the forum design off.

DestyNova 08-16-2002 09:54 PM

Ok, I ll do it right away also it will better if you use attachment or Saintdog will hunt us down.

Thanks!! I m try that now

DestyNova 08-16-2002 10:02 PM

Great, black spot finally go away but two icons of online/offline???

attachment..

Thanks for patience with me :D

Edit-- It s fix, I copy/paste in wrong place. Thanks!! It look perfect now :thumbup: You re great help!

DestyNova 08-16-2002 10:05 PM

1 Attachment(s)
Also I realize that you change from {imagesfolder } to images. So all I do is replace all of images to {imagesfolder } right? (without space ofc)

It s all work now. It s perfect! Thanks to badmeetsevil-'s for his/her hard work and patience with me :thumbup:

check this attachment..

imported_badmeetsevil- 08-16-2002 10:31 PM

Quote:

Originally posted by DestyNova
Also I realize that you change from {imagesfolder } to images. So all I do is replace all of images to {imagesfolder } right? (without space ofc)

It s all work now. It s perfect! Thanks to badmeetsevil-'s for his/her hard work and patience with me :thumbup:

check this attachment..

No problem. :)

I'm not sure I understand your question though.

DestyNova 08-16-2002 10:35 PM

Ok, you use "images" instead of {imagesfolder } in your post. I know it is not change anything but I just change "images/quote.gif" to {imagesfolder }/quote.gif.

Hope it is clear enough =) thanks!

imported_badmeetsevil- 08-16-2002 10:41 PM

Quote:

Originally posted by DestyNova
Ok, you use "images" instead of {imagesfolder } in your post. I know it is not change anything but I just change "images/quote.gif" to {imagesfolder }/quote.gif.

Hope it is clear enough =) thanks!

Yeah, that's fine. Both will work unless you changed the name of your image directory.


All times are GMT. The time now is 04:44 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01301 seconds
  • Memory Usage 1,769KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete