View Full Version : How do I create a table?
Mahar
02-24-2009, 06:43 AM
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/v234/willyman45/WantedAnnouncement.jpg
That is exactly how I am trying to make my announcement box.
mmoore5553
03-02-2009, 12:08 AM
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
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!
mmoore5553
03-02-2009, 10:22 AM
no problem at least we got you working now and looks like how you want it.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.