The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Logo in Announcement

View previous topic View next topic Go down

In progress Logo in Announcement

Post by Kami-sama on January 2nd 2017, 12:56 pm

Hello!!

So I want to put the logo into announcement code I have. Is that possible?
I have tried adding this, but it doesn't work:
Code:
<img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" />
avatar
Kami-sama
Forumember

Female Posts : 178
Reputation : 4
Language : English, Russian, German, Lithuanian
Location : Lithuania

http://hogas.huhohi.com/

Back to top Go down

In progress Re: Logo in Announcement

Post by SLGray on January 3rd 2017, 6:58 am

Just use BBCode tags:
Code:
[url=Page To Load][img]Image's URL[/img][/url]


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 38277
Reputation : 2578
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Logo in Announcement

Post by Kami-sama on January 3rd 2017, 11:57 am

I can paste URL anyway, the thing is, I want the logo to be taken automatically when I upload it in the Display -> Pics Management. In the templates the code used is the one I pasted. They use tag {L_INDEX} yet it does not work when used out of the template.
avatar
Kami-sama
Forumember

Female Posts : 178
Reputation : 4
Language : English, Russian, German, Lithuanian
Location : Lithuania

http://hogas.huhohi.com/

Back to top Go down

In progress Re: Logo in Announcement

Post by SLGray on January 3rd 2017, 9:50 pm

I believe you will have to use a JavaScript for that.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 38277
Reputation : 2578
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Logo in Announcement

Post by Kami-sama on January 3rd 2017, 10:13 pm

SO just take image from the tag {LOGO} and replace image source in the announcement?
avatar
Kami-sama
Forumember

Female Posts : 178
Reputation : 4
Language : English, Russian, German, Lithuanian
Location : Lithuania

http://hogas.huhohi.com/

Back to top Go down

In progress Re: Logo in Announcement

Post by SLGray on February 7th 2017, 9:24 pm

Removed from Garbage as Requested


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 38277
Reputation : 2578
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Logo in Announcement

Post by Kami-sama on February 7th 2017, 9:25 pm

Sooo. How would such replacing script work?
Would it work if LOGO tags are removed from the header template?
avatar
Kami-sama
Forumember

Female Posts : 178
Reputation : 4
Language : English, Russian, German, Lithuanian
Location : Lithuania

http://hogas.huhohi.com/

Back to top Go down

In progress Re: Logo in Announcement

Post by brandon_g on February 8th 2017, 6:01 pm

Hello,

If I may ask, what is the announcement code you have?

May you post it in code tags? Also is it in bbcode or html?

-Brandon


Remember to mark your topic when a solution is found.
avatar
brandon_g
Support Moderator
Support Moderator

Male Posts : 5607
Reputation : 512
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

In progress Re: Logo in Announcement

Post by Kami-sama on February 8th 2017, 9:07 pm

Uch, my announcement code is pretty hectic ;D
Some alignments may be off pasting it from admin console, but here it is:

Code in announcement:
Code:
<script>
   var topics = {FORUMCOUNTOPIC};
   var posts = {FORUMCOUNTPOST};
   var users = {FORUMCOUNTUSER};
   var lastuser = '{FORUMLASTUSERLINK}';
</script><style type="text/css">
body, a {
   cursor: url(http://i.solidfiles.net/127034dda1.png), progress !important;
}
</style><style>
.menu {
  height: 420px;
  width: 220px;
  display: inline-block;
  background-image: url("https://i.solidfiles.com/jeaAjYrGNjpwK.png");
}
.ANcontent {
  height: 400px;
  width: 400px;
  display: inline-block;
  background-image: url("https://i.solidfiles.com/Ak8VvW3kRPgVe.png");
  background-size: 390px 390px;
  background-repeat: no-repeat;
  background-position: center; 
}
.rightCont {
  height: 400px;
  width: 220px;
  display: inline-block;
  overflow: hidden;
}
.m1, .m2, .m3, .m4 {
  height: 40px;
  width: 180px;
  margin-left: 18px;
  margin-bottom: 1px;
  background-color: #04415c;
  float: left;
  position: relative;
  padding: 10px;
  border: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  outline:none;
  -htm-transform: all;
  -htm-transition: 1s;
  -moz-transform: all;
  -moz-transition: 1s;
  -o-transform: all;
  -o-transition: 1s;
  -webkit-transform: all;
  -webkit-transition: 1s;
  color: #7baea7;
  font-family: Parisienne;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  transform: all;
  transition: 1s;
}
.m1:hover, .m2:hover, .m3:hover, .m4:hover {
  background-color: #01334b;
  transition: 1s;
  transform: all;
  -htm-transition: 1s;
  -moz-transition: 1s;
  -o-transition: 1s;
  -webkit-transition: 1s;
  -htm-transform: all;
  -htm-transition: 1s;
  -moz-transform: all;
  -moz-transition: 1s;
  -o-transform: all;
  -o-transition: 1s;
  -webkit-transform: all;
  -webkit-transition: 1s;
  color: #5cdecd;
  letter-spacing: 2px;
  text-decoration: none!important;
}
.m2cont, .m3cont, .m4cont {
  height: 400px;
  width: 400px;
  background-image: url("https://i.solidfiles.com/DkPX22y8kqmA7.png");
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(56,51,52,0.4);
  background-size: 280px 360px;
  display: none;
  float:left;
}
.m1cont {
  height: 400px;
  width: 400px;
  background-image: url("http://i186.photobucket.com/albums/x3/Shelman_2007/11dab4d4.png");
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(56,51,52,0.4);
  background-size: 350px 360px;
  display: none;
  float:left;
}
.m4cont {
  background-size:80%;
  display: none;
  float:left;
}
.housePoints { 
  height: 220px;
  width: 220px;
  background-size: 180px 180px;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  transition: all 1s;
  transition:opacity 0.5s linear;
  opacity: 0;
}
.housePointsOut { 
  height: 220px;
  width: 220px;
  background-image: url("https://i.solidfiles.com/Zayq8gkjXgpV5.png");
  background-size: 180px 180px;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
}
.hpGG, .hpSV, .hpKL, .hpVN {
  height: 110px;
  width: 110px;
  float: left;
  transition: all 1s;
  border: none;
  text-decoration: none;
  cursor: pointer;
  background-color: Transparent;
  outline: none;
}
.m5cont, .m6cont, .m7cont, .m8cont {
  height: 400px;
  width: 400px;
  background-size: 280px 360px;
  background-image: url("https://i.solidfiles.com/DkPX22y8kqmA7.png");
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(56,51,52,0.4); 
  display: none;
  float:left;
}
.pamokos {
  text-align: center;
  font-size: 17px!important;
  line-height: 95%;
  font-family: Times New Roman;
}
.pamokos a:hover {
  color: rgb(181, 137, 69);
 }
.pamokos a.vyksta:link {
  color: #B8161C;
  font-weight:bold;

.pamokos a.vyksta:visited {
  color: #B8161C;
  font-weight:bold;
}
.pamokos a.yra:link {
  color: #390347;
  font-weight:bold;
}
.pamokos a.yra:visited {   
  color: #390347;
  font-weight:bold;
}
.koledzai {
  font-size: 17px;
  font-family: Times New Roman;   
}
.koledzai .top, .m4cont .top {
  font-family: Parisienne;
  font-size: 24px;
  font-weight: bold;   
}
.koledzai .gg {
  color: #B8161C;
  font-weight: bold;   
}
.koledzai .kl {
  color: #009900;
  font-weight: bold;   
}
.koledzai .sv {
  color: #ecb939;
  font-weight: bold;   
}
.koledzai .vn {
  color: #0169B5;
  font-weight: bold;   
}
.ss1 {
  background: #aebbbb;
  width: 197px;
  border: 4px double gray;
  background-image: url("http://i.solidfiles.net/7beccc2161.png");
}
.ss2 {
  background: #9f7478;
  width: 197px;
  border: 4px double gray;
  background-image: url("http://i.solidfiles.net/7beccc2161.png");
}
.ss1:hover, .ss2:hover {
  background-color: #eeede5!important;
  font-size: 15px;
}
.rcTop {
  width: 160px;
  height: 228px;
  padding: 65px 0 0 50px;
  background-image: url("https://i.solidfiles.com/GDPmQnWzVPPPZ.png");
  background-size: 210px 293px;
  float: left;
}
.rcBottom {
  width: 210px;
  height: 127px;
  float: left;
  text-align: right;
}
.rcTopCont {
  height: 171px;
  width: 110px;
  white-space: normal!important;
  font-size: 8pt;
  overflow-y: scroll;
}
.rcTime {
  font-family: Parisienne;
  font-size: 30px;
  font-weight: bold;
  line-height: 90%;
  background: -webkit-linear-gradient(top, #000000, #000000);
  background: linear-gradient(top, #000000, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ANkaras {
  font-size: 10px;
  width: 220px;
  height: 150px;
  white-space: normal;
  margin:0 auto; 
  text-align: justify;
  overflow-y: scroll;
}
.m4cont a img:hover {
  height: 90px!important;
  margin-top: -20px;
  transition: 1s;
  -htm-transition: 1s;
  -moz-transition: 1s;
  -o-transition: 1s;
  -webkit-transition: 1s;
  opacity: 1!important;
}
</style> <a href="#" class="scrollup">Scroll</a>
<div class="menu">
   
   <div style="height: 25px; width: 220px; float: left;">
   </div>
                                                                            
   <button class="m1">
      Naujienos
   </button>
   
   <button class="m2">
      Plėšiko planas
   </button>
   
   <button class="m3">
      ϟ Pamokos ϟ
   </button>
   
   <button class="m4">
      Šaltasis karas
   </button>
   
   <div class="housePointsOut">
      
      <div class="housePoints">
         
         <button class="hpGG">
         </button>
         
         <button class="hpKL">
         </button>
         
         <button class="hpSV">
         </button>
         
         <button class="hpVN">
         </button>
         
      </div>
      
   </div>
                                                                        
</div>
 
<div class="ANcontent">
   
   <div class="m1cont">
       <img src="http://i.solidfiles.net/f00b3adf51.png" style="width: 200px; padding: 100px 0 0 0;" /> <br />
      <div style="margin-left: 98px; width: 205px; font-size: 8pt; line-height: 120%; color: #231f20; border-top: dotted; border-bottom: dotted; white-space: normal!important;">
         
         <div class="ss2">
             <a style="font-size: 8pt;" href="http://hogas.huhohi.com/t2946-nominacijos#140180">SAUSIO Nominacijos</a> ϟ
         </div>
         
         <div class="ss1">
             ϟ <a style="font-size: 8pt;" href="http://hogas.huhohi.com/t2953-saltasis-karas">Šaltasis karas</a> 
         </div>
         
         <div class="ss2">
             <a style="font-size: 8pt;" href="http://hogas.huhohi.com/t2878-naujienos#153253">Naujas paskirstymo testas</a> ϟ
         </div>
         
         <div class="ss1">
             ϟ <a style="font-size: 8pt;" href="http://hogas.huhohi.com/f182-rungtynes">Kvidičas</a> 
         </div>
         
         <div class="ss2">
            
         </div>
         
         <div class="ss1">
             <a style="font-size: 8pt;" href="http://hogas.huhohi.com/t2878-naujienos?view=newest">Naujienos</a> ϟ
         </div>
         
         <div class="ss2">
             ϟ <a style="font-size: 8pt;" href="http://hogas.huhohi.com/t3100-konkursai-ir-atrakcijos">Konkursai ir atrakcijos</a>
         </div>
         
      </div>
       
   </div>
   
   <div class="m2cont pamokos">
      
      <div style="height: 90px; width: 100px;">
      </div>
       <a href="profile.forum?mode=editprofile">Personažo profilio<br />redagavimas</a><br />  <a href="http://hogas.huhohi.com/privmsg">Pelėdynas</a><br /> <a href="http://hogas.huhohi.com/portal?pid=5">Taisyklių knyga</a><br /> <a href="http://hogas.huhohi.com/f10-egzamin-sal">EGZAMINŲ salė</a><br /> <a href="http://hogas.huhohi.com/portal?pid=2#virselis">Burtažodžių knyga</a><br /> <a href="http://hogas.huhohi.com/t2862-hogo-metrastis#134695">Metraštis</a><br /><br /> <a href="http://hogas.huhohi.com/akmenin-chimera-f49/">Direktoriaus bokštas</a><br /> <a href="http://hogas.huhohi.com/mokytoj-kambarys-f37/">Mokytojų Kambarys</a><br /> <a href="http://hogas.huhohi.com/bendrasis-mokini-kambarys-f36/">Bendrasis mokinių kambarys</a><br />  <a href="http://hogas.huhohi.com/biblioteka-f43/">Biblioteka</a><br /> <a href="http://hogas.huhohi.com/ligonins-sparnas-f39/">Ligoninės bokštas</a><br /> <a href="http://hogas.huhohi.com/t3361-vakarinis-bokstas#147227">Pelėdynas (RPG)</a><br /> <a href="http://hogas.huhohi.com/arestin-f19/">Areštinė</a><br />                                       
   </div>
   
   <div class="m3cont pamokos">
      
      <div style="height: 90px; width: 100px;">
      </div>
       <strong>Rask savo klasę</strong><br /> <a href="http://hogas.huhohi.com/apsigynimo-nuo-juodosios-magijos-kabinetas-f38/" class="yra">ANJM</a><br /> ϟ <a href="http://hogas.huhohi.com/aritmomantijos-kabinetas-f34/">Aritmomantija</a><br /> ϟ <a href="http://hogas.huhohi.com/observatorijos-bokstas-astronomija-f51/">Astronomija</a><br /> <a href="http://hogas.huhohi.com/ateities-brimo-palp-f48/" class="yra">Ateities Būrimas</a><br /> ϟ <a href="http://hogas.huhohi.com/herbalogijos-siltnamiai-f57/">Herbalogija</a><br /> <a href="http://hogas.huhohi.com/kerjimo-kabinetas-f41/" class="yra">Kerėjimas</a><br /> ϟ <a href="http://hogas.huhohi.com/magijos-istorijos-kabinetas-f21/">Magijos Istorija</a><br /> <a href="http://hogas.huhohi.com/magiskj-gyvn-priezira-f55/" class="vyksta">MGP nuo 01.07</a><br /> ϟ <a href="http://hogas.huhohi.com/nuod-ir-vaist-kabinetas-f15/">Nuodai ir vaistai</a><br /> ϟ <a href="http://hogas.huhohi.com/run-kabinetas-f45/">Runos</a><br /> ϟ <a href="http://hogas.huhohi.com/kvidio-aikst-f56/">Skraidymas</a><br /> <a href="http://hogas.huhohi.com/transfiguracijos-kabinetas-f18/" class="vyksta">Transfiguracija nuo 01.15</a><br /> ϟ <a href="http://hogas.huhohi.com/ziobarotyros-klas-f23/">Žiobarotyra</a><br /><br />  <a href="http://hogas.huhohi.com/t2859-namu-darbai?view=newest">N.D.</a>                                         
   </div>
   
   <div class="m4cont">
      
      <div style="height: 60px; width: 100px;">
      </div>
      
      <div style="height: 50px; width: 125px; margin:0 auto;" class="top">
          <a href="http://hogas.huhohi.com/t2953-saltasis-karas">Šaltasis karas</a>
      </div>
      
      <div class="ANkaras onscr">
          Mirus Tamsos Valdovui Voldemortui magijos pasaulyje įsivyravo taika. Atrodytų visi nurimo ir mėgavosi ramiu gyvenimu. Atrodytu, kad blogiausia jau praeityje. Bet tiesa gyvenime yra viena - žmonės miršta, bet jų idėjos išlieka. Ne išimtis ir magiškoji visuomenė. Nors ir po savo lyderio mirties, daugelis jo pasekėjų pasidavė, bet mintys jų galvose išliko. Ir štai po daugybės metų atsirado nauja grupuotė grasinanti visų gerovei - Gyvačių Ordinas. Tik tamsa negali egzistuoti be šviesos, todėl buvo sukurta gynėjų grupuotė, kuri išlaikė senas Fenikso Brolijas bei Harrio Potterio ideologiją. Magijos pasaulyje ši grupuotė žinoma - Žaibo Ordino vardu. Visi gerai žinome, kaip baigėsi Mirties Valgytojų kova, bet kas nugalės šį kartą? Ar triumfuos chaosas? O gal sugebėsime išlaikyti taiką?
      </div>
       <br /> <a href="http://hogas.huhohi.com/f144-smirdziu-dvaras"><img src="http://i.solidfiles.net/09cc16355b.png" style="height: 75px; opacity: 0.5;" /></a> <a href="http://hogas.huhohi.com/f71-grimaldzio-aikste-12-namas"><img src="http://i.solidfiles.net/77faacecfd.png" style="height: 75px; opacity: 0.5;" /></a>
   </div>
   
   <div class="m5cont koledzai">
      
      <div style="height: 80px; width: 100px;">
      </div>
       <span class="top">Grifų Gūžta</span><br /> 0000<br /> <br />
      <div style="display: inline-block; ">
         <img src="http://i.solidfiles.net/19686dfeb6.png" />
      </div>
      
      <div style="display: inline-block; line-height: 148%; vertical-align: top;">
          Kvidičas<br /> <span class="top">Grifų Gūžta</span><br /> pergalės: <span class="top">0</span><br />
      </div>
      
      <div style="line-height: 90%;">
          <span class="gg">x</span> prieš <span class="kl">x</span><br /> <span class="gg">x</span> prieš <span class="sv">x</span><br /> <span class="gg">x</span> prieš <span class="vn">x</span>
      </div>
      
   </div>
   
   <div class="m6cont koledzai">
      
      <div style="height: 80px; width: 100px;">
      </div>
       <span class="top">Klastūnynas</span><br /> 0000<br /> <br />
      <div style="display: inline-block; ">
         <img src="http://i.solidfiles.net/27d43e6395.png" />
      </div>
      
      <div style="display: inline-block; line-height: 148%; vertical-align: top;">
          Kvidičas<br /> <span class="top">Klastūnynas</span><br /> pergalės: <span class="top">0</span><br />
      </div>
      
      <div style="line-height: 90%;">
          <span class="kl">x</span> prieš <span class="gg">x</span><br /> <span class="kl">x</span> prieš <span class="sv">x</span><br /> <span class="kl">x</span> prieš <span class="vn">x</span>
      </div>
      
   </div>
   
   <div class="m7cont koledzai">
      
      <div style="height: 80px; width: 100px;">
      </div>
       <span class="top">Švilpynė</span><br /> 0000<br /> <br />
      <div style="display: inline-block; ">
         <img src="http://i.solidfiles.net/d6e026c6d1.png" />
      </div>
      
      <div style="display: inline-block; line-height: 148%; vertical-align: top;">
          Kvidičas<br /> <span class="top">Švilpynė</span><br /> pergalės: <span class="top">0</span><br />
      </div>
      
      <div style="line-height: 90%;">
          <span class="sv">x</span> prieš <span class="gg">x</span><br /> <span class="sv">x</span> prieš <span class="kl">x</span><br /> <span class="sv">x</span> prieš <span class="vn">x</span>
      </div>
      
   </div>
   
   <div class="m8cont koledzai">
      
      <div style="height: 80px; width: 100px;">
      </div>
       <span class="top">Varno Nagas</span><br /> 0000<br /> <br />
      <div style="display: inline-block; ">
         <img src="http://i.solidfiles.net/1b004ff12e.png" />
      </div>
      
      <div style="display: inline-block; line-height: 148%; vertical-align: top;">
          Kvidičas<br /> <span class="top">Varno Nagas</span><br /> pergalės: <span class="top">0</span><br />
      </div>
      
      <div style="line-height: 90%;">
          <span class="vn">x</span> prieš <span class="gg">x</span><br /> <span class="vn">x</span> prieš <span class="kl">x</span><br /> <span class="vn">x</span> prieš <span class="sv">x</span>
      </div>
      
   </div>
</div>
 
<div class="rightCont">
   
   <div class="rcTop">
      
      <div class="rcTopCont onscr">
          Labas <strong>{USERLINK}</strong> !  Šiandien {FORUMAGE} diena Hoge.  Gyventojų skaičius :: {FORUMCOUNTUSER}.  Naujausias Hogo narys :: {FORUMLASTUSERLINK} ::  <span style="font-size:10pt;"><br />    ϟ Primename ϟ </span> Tau vis dar {USERAGE} m.  Tavo pranešimų skaičius :: {USERCOUNTPOST} (iš {FORUMCOUNTPOST} pran.) <br />    Dabar {NOWWITHTIME}                                     
      </div>
      
   </div>
                                                                
   <div class="rcBottom">
      
      <div style="padding-top: 20px;">
          <span class="rcTime"> Vasaris,</span><br /> <span class="rcTime">2117 metai </span>         
      </div>
      
   </div>
   
</div><br />

P.S. I want the LOGO to be background image for this element
Code:
<div class="ANcontent">
avatar
Kami-sama
Forumember

Female Posts : 178
Reputation : 4
Language : English, Russian, German, Lithuanian
Location : Lithuania

http://hogas.huhohi.com/

Back to top Go down

In progress Re: Logo in Announcement

Post by brandon_g on February 9th 2017, 8:56 pm

Where do you put this code? In a topic when you make it or in the admin panel somewhere?


Remember to mark your topic when a solution is found.
avatar
brandon_g
Support Moderator
Support Moderator

Male Posts : 5607
Reputation : 512
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

In progress Re: Logo in Announcement

Post by Kami-sama on February 9th 2017, 8:59 pm

As mentioned before, it is in announcement:
Admin Console -> General -> Messages and emails -> Announcements
avatar
Kami-sama
Forumember

Female Posts : 178
Reputation : 4
Language : English, Russian, German, Lithuanian
Location : Lithuania

http://hogas.huhohi.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum