Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2009, 06:43 AM
Mahar Mahar is offline
 
Join Date: Aug 2004
Location: Wisconsin
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 02-24-2009, 04:59 PM
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<table>
<tr>
<td>Announcements</td><td>Created By</td><td>Date Created</td><td>Views</td>
</tr>
</table>
Reply With Quote
  #3  
Old 02-24-2009, 06:42 PM
Mahar Mahar is offline
 
Join Date: Aug 2004
Location: Wisconsin
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where would I put that into my templates to make that my new announcement table though?
Reply With Quote
  #4  
Old 02-24-2009, 11:00 PM
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Owe on forum home or as a new annoucement that your able to update by the annoucements link the the acdmincp.
Reply With Quote
  #5  
Old 02-24-2009, 11:24 PM
Mahar Mahar is offline
 
Join Date: Aug 2004
Location: Wisconsin
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 02-25-2009, 01:22 AM
mmoore5553 mmoore5553 is offline
 
Join Date: Aug 2008
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you do a sample screen shot on what you want ..kinda got idea but not sure
Reply With Quote
  #7  
Old 02-25-2009, 11:28 AM
Mahar Mahar is offline
 
Join Date: Aug 2004
Location: Wisconsin
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 03-02-2009, 12:08 AM
mmoore5553 mmoore5553 is offline
 
Join Date: Aug 2008
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Attached Files
File Type: txt forumdisplayfixedannouncements.txt (26.6 KB, 5 views)
File Type: txt threadbit_announcementfixedannouncemnts.txt (1.2 KB, 4 views)
Reply With Quote
  #9  
Old 03-02-2009, 12:12 AM
mmoore5553 mmoore5553 is offline
 
Join Date: Aug 2008
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 .
Attached Images
File Type: jpg forumannouncemntfixed.jpg (47.0 KB, 0 views)
Reply With Quote
  #10  
Old 03-02-2009, 12:17 AM
Mahar Mahar is offline
 
Join Date: Aug 2004
Location: Wisconsin
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04103 seconds
  • Memory Usage 2,263KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete