Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

Shoutout - szerokość


AMIGAnTOMEK

Rekomendowane odpowiedzi

W skinie shoutouta jest bit o nazwie bodajże global albo wrapper - wklej mi go tutaj.

skin_shoutout ma tylko bit our_js

<script type='text/javascript' src='jscripts/shoutout.js'></script>

<script type='text/javascript'>
<!--
  var shoutout = new shoutout();
<if="$this->ipsclass->input['autocom'] == 'shoutbox'">
  shoutout.edit_textarea = my_getbyid('edit-Shout');
</if>
  shoutout.refreshtime = "{$this->shoutout['vars']['sb_refreshrate']}";
  shoutout.textarea_cols = "50";
  shoutout.textarea_rows = "3";
  shoutout.sorting = "{$this->shoutout['vars']['sb_sorting']}";

<if="$this->ipsclass->input['autocom'] == 'shoutbox'">
  shoutout.in_history = true;
<else />
  shoutout.in_history = false;
</if>
  shoutout.init();

<if="$this->shoutout['func']->check_perm('canview')">

 setTimeout("shoutout.runtimeout();", {$this->shoutout['vars']['sb_refreshrate']});

</if>

 shoutout.lang['sendprivately'] = "{$this->ipsclass->lang['sendprivately']}";
 shoutout.lang['cancelprivately'] = "{$this->ipsclass->lang['cancelprivately']}";
 shoutout.lang['whotosendto'] = "{$this->ipsclass->lang['whotosendto']}";
 shoutout.lang['thanksnowentermsg'] = "{$this->ipsclass->lang['thanksnowentermsg']}";
 shoutout.lang['saveshout'] = "{$this->ipsclass->lang['saveshout']}";
 shoutout.lang['cancel'] = "{$this->ipsclass->lang['cancel']}";
 shoutout.lang['enterahexcode'] = "{$this->ipsclass->lang['enterahexcode']}";
 shoutout.setonclick();
-->
</script>

skin_shoutout_default ma następujące bity:

active_users
history_message_row
ignore_system
me_shout
priv_shout
shout_row
shoutbox_end
shoutbox_start
show_global_message
show_message
start_splashstatistics
top_shouter_row

Odnośnik do komentarza
Udostępnij na innych stronach

  • Manager

Ah, pomyliłem sb, zatem w tym bicie shoutbox_start spróbuj go ograniczyć tabelą z zadaną szerokością w px.

Pamiętaj by 'koniec' tabeli wstawić w bit o nazwie shoutbox_end. Może to coś da :(

intermedia - profesjonalne rozwiązania Invision Power Board

---

Chcesz uzyskać szybko i sprawnie pomoc? Uzupełnij wersję i adres w profilu.

Odnośnik do komentarza
Udostępnij na innych stronach

<br />
<div id="total_shoutbox">
<div class="borderwrap" id="fc_shoutbox" style="display: {$show['div_fc']};">
  <div class="maintitle">
  <p class="expand"><a href="java script:shoutout.activate();"><{E_PLUS}></a></p>
  <p><a href="{$this->ipsclass->base_url}autocom=shoutbox">{$this->shoutout['vars']['sb_boxtitle']}</a></p>
  </div>
</div>
<div class="borderwrap" id="fo_shoutbox" style="display: {$show['div_fo']};">
  <div class="maintitle" id="shoutoutdrag">

  <p class="expand"><a href="java script:shoutout.deactivate();"><{E_MINUS}></a></p>
<div style="position: relative;float: right;margin-right: 10px;">
<if="($this->shoutout['vars']['sb_allow_privshouts'] AND $this->shoutout['func']->check_perm('pm') AND $this->shoutout['func']->check_perm('canshout')) OR ($this->shoutout['vars']['sb_ignore_system'] AND $this->shoutout['func']->check_perm('canignore')) OR ($this->shoutout['vars']['sb_activeusers'] AND $this->shoutout['func']->check_perm('activusr'))">
	   <input type='button' class='button' onclick="shoutout.openTab('shoutbox');" style='border-top: 0;' value="{$this->ipsclass->lang['shoutbox']}">
</if>

<if="$this->shoutout['vars']['sb_allow_privshouts'] AND $this->shoutout['func']->check_perm('pm') AND $this->shoutout['func']->check_perm('canshout')">		
	   <input type='button' class='button' onclick="shoutout.openTab('private');" style='border-top: 0;' value="{$this->ipsclass->lang['private']}">
</if>

<if="$this->shoutout['vars']['sb_ignore_system'] AND $this->shoutout['func']->check_perm('canignore')">
	   <input type='button' class='button' onclick="shoutout.openTab('ignore');" style='border-top: 0;' value="{$this->ipsclass->lang['ignore']}">
</if>

<if="$this->shoutout['vars']['sb_activeusers'] AND $this->shoutout['func']->check_perm('activusr')">
	   <input type='button' class='button' onclick="shoutout.openTab('active');" style='border-top: 0;' value="{$this->ipsclass->lang['activeusers']}">
</if>
</div>   

  <p><a href="{$this->ipsclass->base_url}autocom=shoutbox">{$this->shoutout['vars']['sb_boxtitle']}</a></p>
  </div>

  <div class='bg1'>
  <table class="ipbtable" cellspacing="1">
  <tr>
	 <td class='nopad'>
		<div>
		   <div style="height: {$size};overflow:auto;" id='global-shouts-parentNode' class="row1">
			  <!-- IBSPEAK_ANNOUNCEMENT -->
			  <div id='global-shouts'>

Znaczy gdzie?

Odnośnik do komentarza
Udostępnij na innych stronach

  • Manager

Może tak:

<br />
<table>
<div id="total_shoutbox">

+ dodanie atrybutu do szerokości tabeli ;-)

intermedia - profesjonalne rozwiązania Invision Power Board

---

Chcesz uzyskać szybko i sprawnie pomoc? Uzupełnij wersję i adres w profilu.

Odnośnik do komentarza
Udostępnij na innych stronach

  • 2 tygodnie później...
  • Manager
Informacja:
Problem ROZWIĄZANY. Jeśli są jakiekolwiek wątpliwości, pytania proszę o założenie nowego tematu.
Wszelkie uzasadnione reklamacje/pretensje/sugestie/rady przyjmuję 24/7/12/365 dni w roku na PM.

intermedia - profesjonalne rozwiązania Invision Power Board

---

Chcesz uzyskać szybko i sprawnie pomoc? Uzupełnij wersję i adres w profilu.

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.