vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Adding a section below users posts.... (https://vborg.vbsupport.ru/showthread.php?t=87264)

TalkGaming 07-29-2003 10:14 PM

Adding a section below users posts....
 
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-29-2003 11:19 PM

Look in the Postbit Template and put your code right before:

Code:

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


TalkGaming 07-29-2003 11:49 PM

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-29-2003 11:52 PM

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 12: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 01:58 PM

Quote:

Originally Posted by TalkGaming
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 12: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!


All times are GMT. The time now is 08:32 PM.

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.01491 seconds
  • Memory Usage 1,724KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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