• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Are vBulletin notices converted to xenforo notices?

Rob

Well-known member
#1
Hi,

As the title says I want to know if vBulletin notices are converted to xenforo when running the native importer?

Same question for the censorlist?

If not thats fine, I just need to know so I can prepare our empty, fully configured install prior to import.

Thank you,

Rob
 

Rob

Well-known member
#5
Is there no way to stop a notice appearing on a certain page?

I've set up a register notice that appears to guests and I want to stop it showing on the login/register page.
 

Jake Bunce

XenForo moderator
Staff member
#6
Is there no way to stop a notice appearing on a certain page?

I've set up a register notice that appears to guests and I want to stop it showing on the login/register page.
The notice system doesn't have criteria for that. But you can edit the templates:

Admin CP -> Appearance -> Templates -> PAGE_CONTAINER

Add the red code:

Code:
			<xen:if is="{$sidebar}">
				<div class="mainContainer">
					<div class="mainContent"></xen:if>
						
						<xen:include template="ad_above_top_breadcrumb" />

						<xen:if is="!{$visitor.user_id} AND !in_array({$contentTemplate}, array('register_form', 'register_confirm', 'register_process'))">
							<p class="importantMessage">
								THIS MESSAGE WILL SHOW ON ALL PAGES EXCEPT THOSE SPECIFIED, AND ONLY FOR GUESTS
							</p>
						</xen:if>

						<xen:hook name="page_container_breadcrumb_top">
						<div class="breadBoxTop">
							<xen:if is="{$topctrl}"><div class="topCtrl">{xen:raw $topctrl}</div></xen:if>
							<xen:include template="breadcrumb"><xen:set var="$microdata">1</xen:set></xen:include>
						</div>
						</xen:hook>
edit - updated code to only show for guests.