PDA

View Full Version : Adding a section below users posts....


TalkGaming
07-29-2003, 11:14 PM
Hi, I'm sorry if this is troublesome but this is what I'm looking to do

I'm looking to add a table beneath users posts, this table will contain information about the user such as their avatar, posts.. you know stuff like that. Anyhow... I want to place this table beneath every users posts and even have it collapsable.

Can someone please point me in the right direction with this? I'm betting its possible but all my attempts at coding something myself have failed. And I am aware that the code would most likely change before Vb3 goes gold.

THanks in advance!

imported_BarryA
07-30-2003, 12:19 AM
Look in the Postbit Template and put your code right before:

</table>
<!-- /3 -->

TalkGaming
07-30-2003, 12:49 AM
hmm.. when i do that it seems to trap the posts: and the profile, pm ect buttons in with it... is that because I am trying to create a seperate table?

Thanks!

TalkGaming
07-30-2003, 12:52 AM
ok, that last post is a bit of a waste cause i figure out how to get it out of that one table... But now, I need to figure out how to get my content under the right column.... do I just add another row to the post table and just fill in the right cell or is it more complicated?

Another question, how would I go about making it collapsable. Does anyone know of any tutorials for this?

TalkGaming
07-30-2003, 01:00 PM
Can someone please help me with 2 more problems, the break tag doesnt seperate the posts, I need to know how to do that. I also need to know how to make the new table collapsable. Please point me in the right direction. Thanks!

imported_BarryA
07-30-2003, 02:58 PM
Can someone please help me with 2 more problems, the break tag doesnt seperate the posts, I need to know how to do that. I also need to know how to make the new table collapsable. Please point me in the right direction. Thanks!

The <br> or Break tag does not create a new cell, it only moves you to the next line in the current cell. You need to use <tr> to create a new cell in the table or use the <table> tag to create a whole new table. As for the collapsable tables Im not sure what your talking about.

TalkGaming
07-31-2003, 01:44 AM
Thanks for the tip!

The collapsing tables, I'm talking about javascript I think. Javascript that allows you to close certain tables or what not in a web page. For example.. the vbulletin admin panel for version 3 beta allows you to collapse and expand sections on the navigation panel. I want to implement something like that to the table below each users post.

Does that clear it up?

Thanks!