![]() |
[Release] Forumhome Announcement Box
Description: Will add a box to the forumhome template where you can add/edit news via that template.
Warning: You will need some quite basic html skills to get the full force out of this hack once installed. Attacked below, screenshot in next post. |
Screenshot: (Small)
|
really great post.
|
Thanks, it's simple stuff. And if any errors please report because I rushed that code a bit. Sorry. ^^;
|
You can make it so you can edit it to the cp. this is how i would install it if i where ganna use it.
Under Replacements in the admin cp click modify. the click [add custom replacement] name the new replacement {news} and in the input put <b>Date Goes Here</b> - Place news for this date here then change this: <!-- announcements --> <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td> <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%"> <tr id="cat"> <td bgcolor="{categorybackcolor}"><normalfont color="{categoryfontcolor}"><b>Announcements</b></normalfont></td> </tr> <tr> <td bgcolor="{firstaltcolor}"><smallfont> <b>Date Goes Here</b> - Place news for this date here</smallfont></td> </tr> </table> </td></tr></table> <! -- announcements --> <br /> to this: <!-- announcements --> <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td> <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%"> <tr id="cat"> <td bgcolor="{categorybackcolor}"><normalfont color="{categoryfontcolor}"><b>Announcements</b></normalfont></td> </tr> <tr> <td bgcolor="{firstaltcolor}"><smallfont>{news}</smallfont></td> </tr> </table> </td></tr></table> <! -- announcements --> <br /> This way you dont have to worry about messing up the template when you edit. |
Thanks AL, I never actually thought about doing that kinda thing, it helps for other things too :)
|
I use Replacements whenever possible and ive been doing so for a year now. ive always wondered why more people do not, it makes customizing text tons easyer then searching in the templates.
|
cool mod, Tony
*installs* |
I made the News ticker (Which you can get at vB.Org) and it is very similar to this. You cane dit in admin CP. But I like this tony and Anime, nice.
|
Great mod Tony! I like this alot - if I didnt already have Dynamic Annoucments hack installed, I woulda used this!
Brilliant work though |
All times are GMT. The time now is 05:12 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|