vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [HowTo] Break posts up from eachother (https://vborg.vbsupport.ru/showthread.php?t=37584)

Bad Bunny 05-10-2002 03:53 PM

The reason you experience this "problem" is because the postbits are not really in the table that displays the background color. Ever notice how a really long post still has the borders around it? You have to do a bit of hacking in the postbit realm to get rid of the columns with spacers in them, and in the showthread realm, you have to place the postbits back inside the main content table.

Do it...go look at a really wide post, you will see that the page border shifts along with it. Otherwise, you are going to have an issue with the page border stretching to fit the wodest post.

Bad Bunny 05-10-2002 04:26 PM

I just found an easy way to add a break the way it does i here without a hack.
Place a break before the postbit, and then in view thread, place a break before the table holding the time and post/reply buttons on the bottom.

But if people really wanna use this hack, it instead of placing a break between the posts, you could place this
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td>
<td width="100%">
<!-- spacer -->
<!-- spacer -->
<img width="10" height="10" src="{imagesfolder}/space.gif" alt=""> </td>
<td width="10"><img width="10" height="8" src="{imagesfolder}/space.gif" alt=""></td>
</tr>
</table>
It will simulate that the table keeps going on. :-> Let me know how that works. Oh yes, you can change the image height to whatever you want.

wintz 05-19-2002 10:59 AM

Thanks but where would i put this code you mension?

Floris 05-20-2002 06:45 AM

This is the thread about the code hack, not the template hack. It was already mentioned that this could be done with a template. Re-read arguments in first somewhat posts about that.

madhouse 05-31-2002 05:32 PM

Here i installed it with collasping post and it worked great...even though i was using mosty black
This is from a clan that I am hosting....

madhouse 05-31-2002 05:35 PM

And here it is expanded...

madhouse 05-31-2002 05:41 PM

It works great even on the main forum,but I am reluctant to upgrade my board untill 3.0 comes out so yes I am using 2.2.1

If you want to see the main forums go to The Clan Forums

FleaBag 06-21-2002 08:42 PM

Great improvement to 2.2.6, thanks! :)

Chris M 06-21-2002 09:37 PM

Nice:)

Satan

Grealm 06-22-2002 02:36 AM

for some reason it didnt work for me.. im using 2.2.6

K33nny 06-28-2002 06:44 PM

<a href="http://ewplanet.com/e/showthread.php?postid=2" target="_blank">http://ewplanet.com/e/showthread.php?postid=2</a>

You may notice the break tag being visible between the posts. I'm in the process of constructing the forums so at times things will look extremely sloppy, don't mind that.

How do I fix that? Also, how would I break the categories on forumhome?

K33nny 06-28-2002 06:51 PM

Nevermind guys.

Heineken77 07-16-2002 05:26 PM

Nicely done!

Thanks :D

NexDog 08-10-2002 01:32 PM

Nice hack once again. I got most of yours now. :)

Tyrant 08-23-2002 10:27 PM

Is the same not achiveable without editing the showthread.php file? I think it is, heres what i did:

* Goto Templates > Modify > [expand list] > Postbit Templates [expand] > postbit [edit]

* Then find this:

Code:

<!-- spacer --></td><td width="10"><img width="10" height="1" src="images/space.gif" alt=""></td></tr></table>
* Now Insert this directly below it

Code:

<!--added spacer-->
<table align="center">

<td bgcolor="#FFFFFF" width="100" height="10" align="center"></td>

</table>
<!--/added spacer-->

Replace the bgcolour value with the your site's

kmfdm_kid2000 08-27-2002 06:45 PM

Sorry, had to uninstall, conflicted w/ no double posting hack...Looks nice cosmetically anyway :) Easy install too...

FleaBag 09-03-2002 02:40 AM

Works on 2.2.7. Thanks. ;)

Floris 09-03-2002 03:35 AM

Yeah it does. I re-applied it to 227 yesterday when I took the time to upgrade, and had no errors what so ever. (ofcourse)

FleaBag 09-04-2002 07:21 AM

I love your little hacks, they make a big difference to the presentation of my forums. :D

UnForums2k 10-05-2002 09:43 PM

br in the template is alot easier, and this hack ddnt work on forum im usin 2.2.7 all well i still got it though

TheSaint-AeD 10-23-2002 08:08 AM

Quote:

Originally posted by heretic
for those that want to spend 5 seconds on it instead of 5 minutes you can just add a <br> at the end of your postbit template :)


and when you upgrade, it's one less ahck to think about.

Could you post the Code for this in the Thread? I tested the other ones, only the Hack seperated the Posts correctly, all other means produced the same Problems Xiphoid had.

FleaBag 10-28-2002 11:10 PM

Works with 2.2.8. Thanks. :D

Floris 10-28-2002 11:12 PM

I am happy to hear that :)

Xer 11-30-2002 03:42 AM

thx xiphoid ..working on 2.2.9

Dribbles 12-23-2002 10:56 AM

working perfectly on 2.2.9 .. thnx

Silenced Soul 12-24-2002 02:45 AM

There wasn't a major point to this hack, if you ask me... just a simple <br/> does the trcik, but, nice thought.

trickfly 01-17-2007 10:58 PM

does this work on 3.6.2 ? please pm me


All times are GMT. The time now is 01:02 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.01498 seconds
  • Memory Usage 1,770KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete