Jump to content
4.4.3
Sign in to follow this  

Банер в шапке форума


๖ۣۣۜDesperate™

Description

Добавляем флеш, gif банер в шапку вашего форума IP.Board

Пройдем в ACP - Внешний вид - Ваш стиль - Шаблоны - globalTemplate

Найти:

<div id='branding'>
	 <div id='logo'>
<if test="brandingBar:|:ipsRegistry::$applications[ $this->registry->getCurrentApplication() ]['hasCustomHeader']">
	 {parse template="overwriteHeader" group="{current_app}_global" params=""}
	 <else />
	 {parse template="defaultHeader" group="global" params=""}

</if>

</div>
</div>

Добавить ниже: (я взял код банера от SAPE)

<div class="block1">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="468" height="60" align="middle"><param name="movie" value="http://img.sape.ru/bn/sape_002.swf?myID=WfNdLOPstY" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="http://img.sape.ru/bn/sape_002.swf?myID=WfNdLOPstY" quality="high" bgcolor="#ffffff" width="468" height="60" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object></div>

Где 

<div class="block1">

Это класс стиля, который мы добавим в  ACP - Внешний вид - Ваш стиль - CSS - ipb_styles.css

.block1{
position:absolute;
float:right;
top:10px;
right:380px;
}

 



Recommended Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Add a Comment

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...