vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Welcome headers - Improve community registration rates (https://vborg.vbsupport.ru/showthread.php?t=165519)

Southernphuk 04-20-2008 08:16 AM

While I'm asking questions, figured I would get in one more.

I run VBCMPS from vbAdvaced. The notice shows up on the front/home page as well and just doesn't sit right with me. Is there any way to remove that? I like having it in the forums, galleries, etc, just don't want it on my front page.

Any help would be appreciated.

Ted S 04-20-2008 06:46 PM

Quote:

Originally Posted by Southernphuk (Post 1494997)
While I'm asking questions, figured I would get in one more.

I run VBCMPS from vbAdvaced. The notice shows up on the front/home page as well and just doesn't sit right with me. Is there any way to remove that? I like having it in the forums, galleries, etc, just don't want it on my front page.

You would need to modify the notices template by "wrapping" it in a set of conditionals such that it doesnt appear on whatever page you like...

i.e.

Code:

<if condition="THIS_SCRIPT != 'homepage' AND THIS_SCRIPT != 'other page'">
 
current code
 
</if>


Ted S 04-20-2008 06:49 PM

Quote:

Originally Posted by Southernphuk (Post 1494981)
I'm going to pull a dingleberry by probably asking an obvious question but ...

I've been on some sites where the guest message travels with the length of the page. Bit of an 'annoyance' factor encouraging you to sign up. How, if at all, would I be able to set something like that up?

This isn't difficult but will require you to find a script and modify your welcome headers/ notices template to integrate it. There's several scripts out there... just google search "dhtml persistent window" or "dhtml floating message" and find the option that suits your needs.

Mesohu 04-20-2008 08:06 PM

Installed .

nirvana43 04-23-2008 08:04 AM

How to remove that notices bar???? :(
please help!!! :confused:
please check attached screenshot! :o

Ted S 04-23-2008 04:05 PM

Quote:

Originally Posted by nirvana43 (Post 1497091)
How to remove that notices bar???? :(
please help!!! :confused:
please check attached screenshot! :o

Customize your notices template as you see fit. The template is a part of vBulletin's core code and not this addon.

Kaycee123 04-26-2008 06:05 AM

I have installed this - but the welcome headers/notices are not visible on the style I am using. They do show up on the default style.

How do I get them to appear on my current style?

Kaycee123 04-26-2008 05:44 PM

OK - after several hours of fiddling around I finally figured it out:

If your Notices are not showing up on your customized style, you need to add this to your Navbar template wherever you want them to show up


PHP Code:

<if condition="$show['notices']">
    <
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 />
</if>
<if 
condition="$show['forumdesc']">
    <
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
    <
tr>
        <
td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
    </
tr>
    </
table>
    <
br />
</if> 


Kaycee123 04-26-2008 06:13 PM

One other question - if a member meets the criteria for TWO different messages to show up, they are all lumped together in the Notices box. Is there a way of splitting the messages apart so it looks a bit neater??

Ted S 04-27-2008 08:55 PM

The notices are a function of vBulletin and something you would need to customize through vBulletin's templates. I've not written up documentation on this yet but will have some out shortly.


All times are GMT. The time now is 05:15 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.01270 seconds
  • Memory Usage 1,754KB
  • 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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