vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Mini Mods - Add A Site Wide HTML Message To Your Board ( Easy Install ) (https://vborg.vbsupport.ru/showthread.php?t=163133)

gotlinks 11-18-2007 10:00 PM

Add A Site Wide HTML Message To Your Board ( Easy Install )
 
This mod allows you to define a good looking Site Wide message on your whole forum! You can also define this just under your Forum Home so it only displays on the forum home.

1.) Simply login to your AdminCp

2.) Then under your styles find your Main Css edit option. At the bottom of all these style options you will see two boxes, scroll to the bottom of the second box, past this in it:

PHP Code:

/* ***** Gotlinks, Sitewide Message Mod ***** */
.gotlinks-mod color#867a66; font-size: large; font-weight: bold; font-style: italic; background-color: #dbd7bf; background-position: 0 top; text-align: center; width: 100%; padding-bottom: 10px; border: solid 1px; } 

After that simply load up your header template and put the following of course with your HTML site wide message and you will be set to go!

PHP Code:

<div class="gotlinks-mod">Your Message Here</div


djdonx 11-19-2007 07:48 PM

This is a template modification, not a product...

gotlinks 11-19-2007 07:51 PM

Its a Mini Mod? Sorry these are my first mods...

djdonx 11-19-2007 08:36 PM

Things that are simply template edits go under their own section called 'Template Modifications'. This kind of stuff should really be in there :)

aycan555 11-20-2007 01:04 AM

is there any demo sites please, if someones installed?

vip-q.com 11-20-2007 06:11 AM

u should add it in this page

https://vborg.vbsupport.ru/forumdisplay.php?f=192

and there are product named ( product global announce )

it's do the same thing but in very good way and with more options :)

gotlinks 11-20-2007 11:03 AM

Ic, well I just saw a request for a mod such as this on another thread and never saw one so I popped some code up and created it :D

Thanks anyhow!

Marco van Herwaarden 11-20-2007 11:22 AM

To those that are complaining that it is (was) in the wrong section: Please stop posting in threads about this, please simply report the thread and staff will handle it.

gotlinks 11-20-2007 12:19 PM

Thank you for moving my thread to the proper place! I will try to rember to get my mods in the right sections from now on :D

Triky 11-21-2007 06:59 AM

Installed. It could be helpfull. :)

gotlinks 11-21-2007 11:05 AM

Again thanks for using my mods guys! Its a blessing!

DarthCoder 11-21-2007 11:19 AM

change the width to width: 99.8%;
or it will show a horizontal scrolling bar which is annoying

gotlinks 11-21-2007 11:36 AM

Thanks for sharing that for those who dont have a 100% width skin already!

DarthCoder 11-21-2007 12:28 PM

demosite www.ihatetorrents.com/forums

Magnumutz 11-21-2007 01:13 PM

gotlinks, can it be modified to use the style's CSS?

gotlinks 11-21-2007 01:19 PM

Well I just defined a new css field for it, but in the HTML you can just use this if you want:

PHP Code:

<div class="alt1">Your Message Here</div

The alt1 is the default which you can define using the Main CSS doc :D

Magnumutz 11-22-2007 11:03 AM

Lol... your right, that's pretty basic.

gotlinks 11-22-2007 03:02 PM

:) No Problem Buddy!


All times are GMT. The time now is 04:54 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.01097 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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