Jump to content

Help with Hook


uneek

Recommended Posts

Hello. I need help with this Hook. He created on IPB 3.4.7. I use IPB 3.4.9 and when i install this hook he not intall corectly. When i instaled this hook, hook list seems like this "^". Please help with this hook if you can. How to fix install?

 

Hook code:

 

 

<?xml version="1.0" encoding="utf-8"?>
<settingexport>
  <settinggroup>
    <setting>
      <conf_is_title>1</conf_is_title>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_title_title>(WK34) Spark 3</conf_title_title>
      <conf_title_desc>Ustawienia stylu Spark 3.</conf_title_desc>
      <conf_title_tab>WebKolo.pl</conf_title_tab>
      <conf_title_app>core</conf_title_app>
      <conf_title_noshow>0</conf_title_noshow>
    </setting>
    <setting>
      <conf_title>Włącz zmianę tła</conf_title>
      <conf_description><![CDATA[Jeżeli 'tak', będzie możliwa zmiana kolorystyki forum.]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>yes_no</conf_type>
      <conf_key>wk_spark3_bg_enabled</conf_key>
      <conf_default>1</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>1</conf_position>
      <conf_start_group>Ogólne ustawienia</conf_start_group>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Wyłącz zmianę tła dla</conf_title>
      <conf_description><![CDATA[Zaznacz grupy dla których chcesz <b>wyłączyć</b> możliwość zmiany tła.]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>multi</conf_type>
      <conf_key>wk_spark3_groups_off</conf_key>
      <conf_default>5,2,1</conf_default>
      <conf_extra>#show_groups#</conf_extra>
      <conf_evalphp><![CDATA[$key = 'wk_spark3_groups_off';

if ( $save == 1)
{
    if ( is_array($_POST[ $key ]) )
    {
        $_POST[ $key ] = implode(",",$_POST[ $key ]);
    }
    else
    {
        $_POST[ $key ] = "";
    }
}
if ( $show == 1 )
{
    $key .= '[]';
}]]></conf_evalphp>
      <conf_protected>1</conf_protected>
      <conf_position>2</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Włącz widget</conf_title>
      <conf_description><![CDATA[Jeżeli 'tak', widoczny będzie widget społecznościowy po lewej stronie.]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>yes_no</conf_type>
      <conf_key>wk_spark3_wg_enabled</conf_key>
      <conf_default>0</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>3</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Włącz slider</conf_title>
      <conf_description><![CDATA[Jeżeli 'tak', włączony zostanie slider obok loga.]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>yes_no</conf_type>
      <conf_key>wk_spark3_slider_enabled</conf_key>
      <conf_default>1</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>4</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Włącz przyciski</conf_title>
      <conf_description><![CDATA[Jeżeli 'tak', zobaczysz przyciski pod logiem]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>yes_no</conf_type>
      <conf_key>wk_spark3_btn_enabled</conf_key>
      <conf_default>0</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>5</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Włącz wiadomość dla gościa</conf_title>
      <conf_description><![CDATA[Jeżeli 'tak', pokazywać się będzie wiadomosc dla gości o zalogowaniu lub rejestracji]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>yes_no</conf_type>
      <conf_key>wk_spark3_gm_enabled</conf_key>
      <conf_default>1</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>6</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Domyślne tło</conf_title>
      <conf_description><![CDATA[Wpisz nazwę pliku tła (<b>bez .jpg</b>) z folderu stylu <i>public/style_images/spark_3/backgrounds/</i>. Np. background1 <br /><span style='color:red'>(UWAGA: Działa tylko gdy zmiana tła jest włączona.</span>]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>input</conf_type>
      <conf_key>wk_spark3_defaultbg</conf_key>
      <conf_default>background1</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>7</conf_position>
      <conf_start_group>Ustawienia tła</conf_start_group>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Domyślny kolor</conf_title>
      <conf_description><![CDATA[Domyślny kolor belek i innych elementów. Np. #9F0401. <br /><span style='color:red'>(UWAGA: Działa tylko gdy zmiana tła jest włączona.</span>]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>input</conf_type>
      <conf_key>wk_spark3_defaultcl</conf_key>
      <conf_default>#9F0401</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>8</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Domyślny kolor czcionki</conf_title>
      <conf_description><![CDATA[Domyślny kolor czcionki. Np. #BCBCBC. <br /><span style='color:red'>(UWAGA: Działa tylko gdy zmiana tła jest włączona.</span>]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>input</conf_type>
      <conf_key>wk_spark3_defaultclf</conf_key>
      <conf_default>#BCBCBC</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>9</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Facebook</conf_title>
      <conf_description><![CDATA[Jeżeli 'tak', zobaczysz przycisk Facebook'a.]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>yes_no</conf_type>
      <conf_key>wk_spark3_fb_enabled</conf_key>
      <conf_default>1</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>10</conf_position>
      <conf_start_group>Ustawienia widgetu</conf_start_group>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Facebook URL</conf_title>
      <conf_description><![CDATA[Wpisz tutaj link do grupy społecznośiowej Facebooka. <span style='color:red'>(Nie zapomnij o <u>http://</u>)</span>]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>input</conf_type>
      <conf_key>wk_spark3_fb_url</conf_key>
      <conf_default>http://facebook.com/</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>11</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Steam</conf_title>
      <conf_description><![CDATA[Jeżeli 'tak', zobaczysz przycisk Steam.]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>yes_no</conf_type>
      <conf_key>wk_spark3_st_enabled</conf_key>
      <conf_default>0</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>12</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Steam URL</conf_title>
      <conf_description><![CDATA[Wpisz tutaj link do grupy steam. <span style='color:red'>(Nie zapomnij o <u>http://</u>)</span>]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>input</conf_type>
      <conf_key>wk_spark3_st_url</conf_key>
      <conf_default>http://steampowered.com/</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>13</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Twitter</conf_title>
      <conf_description><![CDATA[Jeżeli 'tak', zobaczysz przycisk Twittera]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>yes_no</conf_type>
      <conf_key>wk_spark3_tt_enabled</conf_key>
      <conf_default>0</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>14</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Twitter URL</conf_title>
      <conf_description><![CDATA[Tutaj wpisz adres do strony na Twitterze. <span style='color:red'>(Nie zapomnij o <u>http://</u>)</span>]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>input</conf_type>
      <conf_key>wk_spark3_tt_url</conf_key>
      <conf_default>http://twitter.com/</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>15</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Google+</conf_title>
      <conf_description><![CDATA[Jeżeli 'tak', zobaczysz przycisk Google+]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>yes_no</conf_type>
      <conf_key>wk_spark3_gp_enabled</conf_key>
      <conf_default>0</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>16</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Google+ URL</conf_title>
      <conf_description><![CDATA[Wpisz tutaj adres do strony Google+. <span style='color:red'>(Nie zapomnij o <u>http://</u>)</span>]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>input</conf_type>
      <conf_key>wk_spark3_gp_url</conf_key>
      <conf_default>http://google.pl/</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>17</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Efekt przejścia</conf_title>
      <conf_description>Tutaj możesz wybrać efekt przejścia slidera.</conf_description>
      <conf_group>37</conf_group>
      <conf_type>dropdown</conf_type>
      <conf_key>wk_spark3_slider_type</conf_key>
      <conf_default>0</conf_default>
      <conf_extra>0=Efekt zanikania&#13;
1=Efekt przewijania</conf_extra>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>18</conf_position>
      <conf_start_group>Ustawienia slidera</conf_start_group>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Szybkość animacji</conf_title>
      <conf_description>Szybkość efektu slajdów co X msc</conf_description>
      <conf_group>37</conf_group>
      <conf_type>input</conf_type>
      <conf_key>wk_spark3_slider_ad</conf_key>
      <conf_default>450</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>19</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Szybkość slajdów</conf_title>
      <conf_description>Slajdy będą zmieniać się co X msc.</conf_description>
      <conf_group>37</conf_group>
      <conf_type>input</conf_type>
      <conf_key>wk_spark3_slider_as</conf_key>
      <conf_default>4000</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>20</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Zatrzymaj po najechaniu</conf_title>
      <conf_description>Automatyczne przewijanie nie zadziała, po najechaniu myszą na slider.</conf_description>
      <conf_group>37</conf_group>
      <conf_type>yes_no</conf_type>
      <conf_key>wk_spark3_slider_hp</conf_key>
      <conf_default>1</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>21</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Automatyczne przewijanie</conf_title>
      <conf_description><![CDATA[Jeżeli 'tak', slajdy będą przewijane automatycznie.]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>yes_no</conf_type>
      <conf_key>wk_spark3_slider_am</conf_key>
      <conf_default>1</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>22</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>AMXBans URL</conf_title>
      <conf_description><![CDATA[Tutaj wpisz link do AMXBans'a. <span style='color:red'>(Nie zapomnij o <u>http://</u>)</span>]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>input</conf_type>
      <conf_key>wk_spark3_amx_url</conf_key>
      <conf_default>http://</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>23</conf_position>
      <conf_start_group>Ustawienia przycisków</conf_start_group>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Psychostaty URL</conf_title>
      <conf_description><![CDATA[Tutaj wpisz link do Psychostatów. <span style='color:red'>(Nie zapomnij o <u>http://</u>)</span>]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>input</conf_type>
      <conf_key>wk_spark3_ps_url</conf_key>
      <conf_default>http://</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>24</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
    <setting>
      <conf_title>Sklep URL</conf_title>
      <conf_description><![CDATA[Tutaj wpisz link do sklepu. <span style='color:red'>(Nie zapomnij o <u>http://</u>)</span>]]></conf_description>
      <conf_group>37</conf_group>
      <conf_type>input</conf_type>
      <conf_key>wk_spark3_sh_url</conf_key>
      <conf_default>http://</conf_default>
      <conf_extra/>
      <conf_evalphp/>
      <conf_protected>1</conf_protected>
      <conf_position>25</conf_position>
      <conf_start_group/>
      <conf_add_cache>1</conf_add_cache>
      <conf_keywords/>
      <conf_title_keyword>wk_spark3set</conf_title_keyword>
      <conf_is_title>0</conf_is_title>
    </setting>
  </settinggroup>
</settingexport>

 

 

 

Link to comment
Share on other sites

He created on IPB 3.4.7. I use IPB 3.4.9 and when i install this hook he not intall corectly

 

be more detailed so some one can help you thas not telling us anything

 

when I load your site, I was like a vampire, slept for thousands of years and just now is my first glimpse of light haha.

Link to comment
Share on other sites

Well i can't see what your trying to do @uneekI'm trying to understand it.
Might be a language barrier, but all i get from your first post is a xml file pasted with stuff into a post all that was said is.


 

Quote

Hello. I need help with this Hook. He created on IPB 3.4.7. I use IPB 3.4.9 and when i install this hook he not intall corectly. When i instaled this hook, hook list seems like this "^"

So does this mean it installs, no errors but the name is incorrect ?
Does it work at all ? Did you check if there was an upgrade from 3.4.7 as it could be some changes (its a minor release so should not matter) but never the less.

VAEfvMI.png

Liked what i posted remember to feed me a cookie ->
Or you can add a cookie to myCookieJar

Link to comment
Share on other sites

Yes you right. When i installed this hook name are incorect. When i want edit hook settings, there is no setting. Yes, i,m trying this hook on IPB 3.4.6 version, but it is same problem. He dont work at all. Maybe, how you say, need translate language ,  but or help this? Settings have to look like this attache file. But how i say, like this settings there is no. Thanks all who trying help us. I trying fix this, but I'm not cool in this requirements.

sparkset.png

Link to comment
Share on other sites

In IPB 3.4 i thought you could rename the plugin under Applications & Modules -> Hooks and rename it there.

I dont' got a IPB 3.4 so i can't do much, but if you want to you can PM me some admin credentials and i can login and see if i can get it done ?

VAEfvMI.png

Liked what i posted remember to feed me a cookie ->
Or you can add a cookie to myCookieJar

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...