vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Welcome Headers: Notices System Default Messages & Settings to Drive Participation (https://vborg.vbsupport.ru/showthread.php?t=231384)

Simon Lloyd 07-16-2011 02:06 AM

just change the setting of that particular notice to be persistant, non dismissable

LisaArnold 07-18-2011 10:46 AM

Quote:

Originally Posted by Simon Lloyd (Post 2221062)
just change the setting of that particular notice to be persistant, non dismissable

Thanks, I'll try doing that without breaking something (I'm new to this modding stuff). :(

I've been told I can find where to do that (in the Notice Manager), but I have no idea where to find that. :o

cavyspirit 07-23-2011 05:47 AM

Quote:

Originally Posted by Simon Lloyd (Post 2114460)
Go to your style>Main CSS and in the additional css box add this
HTML Code:

/* ***** Notice colours ***** */
.notice {padding:.8em;margin-bottom:1.6em;border:2px solid #ddd;}
.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
.notice a {color:#514721; background:none; padding:0; margin:0; }
/* ***** End of Notice Colours ***** */

then wrap your notice in this:
HTML Code:

<p class="notice">YOUR NOTICE TEXT</p>

I just wanted to add a variation on this that I did that was more what I was looking for.

Rather than a paragraph class (it takes up too much space and still leaves the default background), I have some specific notices that I wanted in a DIFFERENT background color.

So, I put this code in my Additional CSS template:

Code:

.notices li#navbar_notice_4 {background: #fee303 !important;}
You can get the notice number by looking at the link when hovering over it in the backend or in the view source on the frontend. #4 was the one I wanted in a different background color.

Peter Cook 07-23-2011 11:15 AM

I don't see a use for this mod as it's easy enough to change the notices header manually yourself to match the template you are using! Once saved there is no further modification required

Ted S 07-23-2011 12:02 PM

Quote:

Originally Posted by Peter Cook (Post 2223863)
I don't see a use for this mod as it's easy enough to change the notices header manually yourself to match the template you are using! Once saved there is no further modification required

Did you read the intro to this addon?

Filgga 10-08-2011 08:24 PM

This' not working for me nowadays, 3rd day now :(

Simon Lloyd 10-08-2011 08:53 PM

it's nothing to do with the mod as it simply "adds" some notices in notices manager to get you started, if it doesn't work it may be disabled in notce manager or you have changed something there.

Filgga 10-08-2011 09:51 PM

Quote:

Originally Posted by Simon Lloyd (Post 2254852)
it's nothing to do with the mod as it simply "adds" some notices in notices manager to get you started, if it doesn't work it may be disabled in notce manager or you have changed something there.

https://vborg.vbsupport.ru/external/2011/10/51.jpg

https://vborg.vbsupport.ru/external/2011/10/52.jpg

Where did I go wrong?

Ted S 10-08-2011 10:07 PM

Quote:

Originally Posted by Filgga (Post 2254867)
Where did I go wrong?

As the previous poster mentioned, this modifcation is a series of notices. If the notices don't show up, check the notices manager [a default part of vBulletin] and the settings you have for notices. If everything is enabled and it still hasn't show, check your template modifications to be sure you didn't remove the system.

And as a piece of advice saying a mod "doesn't work" is not the best way to get help. Be specific. Explain the issue. It saves the reply from asking for those exact things speeding up help by hours if not days.

Simon Lloyd 10-09-2011 07:09 AM

In your navbar template look for
HTML Code:

<!-- / nav buttons bar -->

<br />

and
HTML Code:

<if condition="$show['forumdesc']">
and replace everything between them with this
HTML Code:

<if condition="$show['notices']">
<form action="profile.php?do=dismissnotice" method="post" id="notices">
<input type="hidden" name="do" value="dismissnotice" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
<input type="hidden" name="url" value="$return_link" />
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr>
                <td class="thead">$vbphrase[notices]</td>
        </tr>
        <tr>
                <td class="alt1">
                        $notices
                </td>
        </tr>
        </table>
        <br />
</form>
</if>

that will be your standard notices, if they still dont work you probably have them set wrong in notice manager.

Bro_Joey_Gowdy 11-21-2012 01:13 AM

Downloaded and installed... nice upgrade from this one:

https://vborg.vbsupport.ru/showthread.php?t=201564

:cool:


All times are GMT. The time now is 01:02 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.01471 seconds
  • Memory Usage 1,750KB
  • 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)bbcode_code_printable
  • (5)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (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
  • (11)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