Jump to content

Adaugare Logo Si Background Intr-O Tema Ce Nu Le Are!?


Edy ChP's

Recommended Posts

Salut PCT!

 

De curand am vazut ca am niste probleme, noua tema pe care am adaptat-o pentru forumul meu si pe care vreau s-o lucrez eu in continuare nu "detine" un logo si nici un background pentru acesta.

 

Dupa cum stiti, cam orice tema IPB Deflection are bar-urile (Forums, members, etc.) exact sub logo sau sub background-ul acestuia, ei bine aceasta tema nu are asa ceva, nu are logo si in + de asta din aceeasi problema (cred) nu apare Moderator CP si Admin CP.

 

Bar-urile sunt lipite de "portiunea" link-ului, deci la limita forumului.

 

Intrebarea mea este: Cum as putea eu sa fac sa reapara acest logo si background-ul lui si totodata ACP si MCP.

M-am conectat de pe vechea mea tema in ACP si am cautat in globalTemplates unde am gasit ACP si link-ul catre acesta, logo-ul si restul dar nu le vad pe forum.

 

Mai jos am uploadat un notepad cu tot globalTemplate-ul meu.

CLICK!!!

Link to comment
Share on other sites

  • Moderators

Pentru link-urile admincp / modcp vad ca ai ce trebuie:

 

<if test="accessreports:|:$this->memberData['is_mod'] OR !empty($this->memberData['access_report_center']) || ($this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link'])">
						<div id='admin_bar'><div class='wrapper'>
							<if test="showacplink:|:$this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link']">
								<ul class='ipsList_inline right'>
                                <li>
									<a href="{$this->settings['_admin_link']}" title='{$this->lang->words['admin_cp']}' target="_blank">{$this->lang->words['login_to_acp']}</a>
								</li>
                                </ul>
							</if>
                        <ul class='ipsList_inline left'>
							<li><a href="{parse url="app=core&amp;module=modcp" base="public"}" title='{$this->lang->words['gbl_modcp_link']}'>{$this->lang->words['gbl_modcp_link']}</a></li>
							<if test="rclink:|:$this->memberData['access_report_center'] && $this->memberData['_cache']['report_num'] > 0">
								<li class='active'>
									<a href="{parse url="app=core&amp;module=reports&amp;do=index" base="public"}" title='{$this->lang->words['view_reports']}'>{$this->memberData['_cache']['report_num']} {$this->lang->words['report_member_bar']}</a>
								</li>
							</if>
						</ul></div></div>
					</if>

 

La fel si pentru logo.

 

Ce ai in Global Templates > defaultHeader ?  (mai jos de globalTemplate)

Link to comment
Share on other sites

<if test="$this->settings['textLogo']=='yes'">


<a href='{$this->settings['board_url']}' class='textLogo' title='{$this->lang->words['go_home']}' rel="home" accesskey='1'>{$this->settings['board_name']}</a>
<else />
<a href='{$this->settings['board_url']}' title='{$this->lang->words['go_home']}' rel="home" accesskey='1'><img src='{parse replacement="logo_img"}' alt='{$this->lang->words['.']}' /></a>
</if>

Link to comment
Share on other sites

Am incercat o chestie care cred ca ar putea rezolva tot.

Am dat un "search" cu CTRL + F cu textul Moderator si AdminCP, se pare ca mi-a gasit exact in header-ul forumului ambele texte, dar nu le vad nicaieri, ar putea ca bara cu Mebers, Forums, etc. sa le acopere, deoarece acea bara are un script sa ramana lipita de "spatiul" cu link-ul in totalitate, fie ca esti sau nu in header-ul forumului.

Cum as putea sa pun acea bara ceva mai jos?

Link to comment
Share on other sites

Imi cer scuze ca mai postez inca odata, dar cred ca stiti ca nu poti da edit decat o data la un mesaj.

As vrea sa intreb un singur lucru:

Cum as putea sa fac acea bara cu MCP si ACP sa fie ceva mai jos? Sa nu mai fie lipita de header?

In globalTemplates voi gasii un script cu dimensiunile si locatia acestora sau trebuie sa fac eu unul?

Link to comment
Share on other sites

UP!!
 

Inteleg ca nu sunt aici cei mai buni programatori, dar banuiesc ca fiind un subforum numai pentru IPB, ar trebuii sa stie cineva sa-mi raspunda la intrebare... Zic si eu...

:'(

Macar se mai uita cineva peste acest topic?

Daca da, va rog frumos ajutati-ma si pe mine cu problema asta...

Va rog!!

:')

 

Link to comment
Share on other sites

Codul il gasesti in globaltemplate si este acesta.

<!-- ::: TOP BAR: Sign in / register or user drop down and notification alerts ::: -->			
					<if test="accessreports:|:$this->memberData['is_mod'] OR !empty($this->memberData['access_report_center']) || ($this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link'])">
						<div id='admin_bar'><div class='wrapper'>
							<if test="showacplink:|:$this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link']">
								<ul class='ipsList_inline right'>
                                <li>
									<a href="{$this->settings['_admin_link']}" title='{$this->lang->words['admin_cp']}' target="_blank">{$this->lang->words['login_to_acp']}</a>
								</li>
                                </ul>
							</if>
                        <ul class='ipsList_inline left'>
							<li><a href="{parse url="app=core&amp;module=modcp" base="public"}" title='{$this->lang->words['gbl_modcp_link']}'>{$this->lang->words['gbl_modcp_link']}</a></li>
							<if test="rclink:|:$this->memberData['access_report_center'] && $this->memberData['_cache']['report_num'] > 0">
								<li class='active'>
									<a href="{parse url="app=core&amp;module=reports&amp;do=index" base="public"}" title='{$this->lang->words['view_reports']}'>{$this->memberData['_cache']['report_num']} {$this->lang->words['report_member_bar']}</a>
								</li>
							</if>
						</ul></div></div>
					</if>

pe care ii poti da cut, si il copiezi undeva mai jos .

 

 

sau poti modifica din Css>> ipb_styles.css>> cauti >>


 admin_bar{

si adaugi la cod

admin_bar{
 margin-top:10px;
// sau 
padding-top:30px;

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.