vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   How do I create a table? (https://vborg.vbsupport.ru/showthread.php?t=206430)

Mahar 02-24-2009 06:43 AM

How do I create a table?
 
Okay...I'm looking to create a Table for my announcements...to completely replace my announcement box right now.

I want to create a table that has four columns and have it look like this:
________________________________________________
Announcements | Created By | Date Created | Views
________________________________________________

With the possibility for infinite rows so the announcements can stay shown up.

pein87 02-24-2009 04:59 PM

<table>
<tr>
<td>Announcements</td><td>Created By</td><td>Date Created</td><td>Views</td>
</tr>
</table>

Mahar 02-24-2009 06:42 PM

Where would I put that into my templates to make that my new announcement table though?

pein87 02-24-2009 11:00 PM

Owe on forum home or as a new annoucement that your able to update by the annoucements link the the acdmincp.

Mahar 02-24-2009 11:24 PM

The second one. I'm looking for a way to make that my announcements table...as in..instead of the box for announcements above each forums threads, it's that table with each row being a different announcement.

mmoore5553 02-25-2009 01:22 AM

can you do a sample screen shot on what you want ..kinda got idea but not sure

Mahar 02-25-2009 11:28 AM

Yeah, not a problem.

This is exactly how I am aiming to make the table:
http://img.photobucket.com/albums/v2...nouncement.jpg

That is exactly how I am trying to make my announcement box.

mmoore5553 03-02-2009 12:08 AM

1 Attachment(s)
Make a backup first of your own template before you do anything. This is working on a test board that is not modified at all but the standard template. if you have problem it could be mod and just post up your code and i can take a look at it .

the two templates you need to backup are
1. FORUMDISPLAY
2. threadbit_announcement

this is where all the modifications where added.

YOU need to backup both of those and then download the ones i have put up and cut and paste them into the appropriate template. I am not held liable if something is not working right when you apply this modification. If that happens post your code up here and I will take a look at it.Also if you run into problems just cut and paste your old code back.

this modification was a tricky one as it affected two different things. Enjoy

mmoore5553 03-02-2009 12:12 AM

1 Attachment(s)
here is a screen shot. i have put in yellow what was changed

also if you want it to show all the announcment you can change a setting in vbulletin .thanks to mahar for showing me

vBulletin Options -> Forum Display Options(forumsdisplay) -> Group Announcements
change that option to list them out .

Mahar 03-02-2009 12:17 AM

Thank you very much. I was beginning to think it was never going to be done and I was going to be out of luck. You're awesome!


All times are GMT. The time now is 09:21 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.01135 seconds
  • Memory Usage 1,728KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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