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

IPBtester

Użytkownik
  • Postów

    41
  • Dołączył

  • Ostatnia wizyta

Odpowiedzi opublikowane przez IPBtester

  1. Witam, mam mały problem. Kidy wchodzę na moją domenę, wyskakuje mi błąd:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/sites/yoyo.pl/c/g/cgc/admin/sources/base/ipsRegistry.php on line 30

    Wchodzę w owy plik, przeglądam linię 30 i mam tylko: */

    Serdecznię prosiłbym o pomoc.

    Witam, mam ten sam problem - serwer płatny vel.pl, licencja jest rzecz jasna.

  2. Ok, może tak, jestem w:

    Panelu admina / Admin / Zarządzanie SQL / Narzędzia SQL - tutaj mogę wysłać zapytanie do bazy danych, wklejam cały ten tekst:

    INSERT INTO `ibf_conf_settings` VALUES ('', 'Member Color in topic', 'If this setting is set to yes the name''s of poster''s will have the same color as the member group he is in.\r\nit will show colored in topic''s', '25', 'yes_no', 'member_colors', '1', '', '', '', 0, 34, 'Member name's in topic's', 0, '', 1);
    INSERT INTO `ibf_conf_settings` VALUES ('', 'Member name style', 'With this setting you can make member name''s in topic view bold/italic/underlined/normal', '25', 'dropdown', 'member_colors_style', '', '6', '0=Normal\r\n1=Bold\r\n2=Italic\r\n3=Underlined\r\n4=Overlined\r\n5=Line through member name\r\n6=Style Default', '', 0, 35, '', 1, '', 1);

    I pojawia się taki komunikat:

    Błąd SQL

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's in topic's', 0, '', 1); INSERT INTO `ibf_conf_settings` VALUES ('', 'Member n' at line 1

  3. Tylko teraz pytanie czy mam to wkleić w do tego pola w SQL - http://img834.imageshack.us/img834/7456/47571547.jpg

    Czy mam wejść w ibf_conf_settings - i w tam wklejić w pole SQL

    Próbowałem w obydwu miejscach i wyświetla mi sie taki błąd:

    Błąd

    zapytanie SQL:

    INSERT INTO `ibf_conf_settings`

    VALUES (

    '', 'Member Color in topic', 'If this setting is set to yes the name''s of poster''s will have the same color as the member group he is in.\r\nit will show colored in topic''s', '25', 'yes_no', 'member_colors', '1', '', '', '', 0, 34, 'Member name's

    IN topic 's', 0, '', 1

    );

    MySQL zwrócił komunikat: Dokumentacja

    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's in topic's', 0, '', 1)' at line 1

  4. Witam, zainstalowałem modyfikacje, zmieniającą kolory nicków w tematach, według tej instrukcji - ale trzeba tutaj jeszcze wykonać jakieś zapytanie do bazy danych.

    Wiem, że robi się to w PHP my admin'ie - ale nie bardzo wiem w którym miejscu i w jaki sposób.

    ___

    \\ // //\\ ||__) //\\

    \\ //\\ // //_\\ || \ //_ \\

    \\// \\// // \\ ||__ / // \\

    Made by Waba ([email protected]).

    Note: i am not responsable for anything, it works fine though.

    Description:

    with this mod enabled and you are viewing a topic all member name's of poster's will have the same color as their User group.

    You can disable & enable through the Admin CP

    Change Log:

    V1.1: Now able to change the style of the member easily

    V1.2: Updated it to work with IPB 2.1

    V1.2: Made a Typo wich i corrected now :)

    How to install:

    ------------[ Open: sources/action_public/topics.php ]----

    Find:

    ===================================

    if ( $poster['id'] )

    {

    $poster['members_display_name'] = "<a href='{$this->base_url}showuser={$poster['id']}'>{$poster['members_display_name']}</a>";

    }

    ===================================

    Replace By:

    ===================================

    if ($poster['id'])

    {

    if ($this->ipsclass->vars['member_colors'])

    {

    if($this->ipsclass->vars['member_colors_style'] == 0){

    $Mstyle = "text-decoration: none;";

    $Mprefix = "";

    $Msuffix = "";

    } elseif($this->ipsclass->vars['member_colors_style'] == 1){

    $Mstyle = "text-decoration: none;";

    $Mprefix = "<b>";

    $Msuffix = "</b>";

    } elseif($this->ipsclass->vars['member_colors_style'] == 2){

    $Mstyle = "text-decoration: none;";

    $Mprefix = "<i>";

    $Msuffix = "</i>";

    } elseif($this->ipsclass->vars['member_colors_style'] == 3){

    $Mstyle = "text-decoration: underline;";

    $Mprefix = "";

    $Msuffix = "";

    } elseif($this->ipsclass->vars['member_colors_style'] == 4){

    $Mstyle = "text-decoration: overline;";

    $Mprefix = "";

    $Msuffix = "";

    } elseif($this->ipsclass->vars['member_colors_style'] == 5){

    $Mstyle = "text-decoration: line-through;";

    $Mprefix = "";

    $Msuffix = "";

    } elseif($this->ipsclass->vars['member_colors_style'] == 6){

    $Mstyle = "";

    $Mprefix = "";

    $Msuffix = "";

    }

    $poster['members_display_name'] = "<a href='{$this->base_url}showuser={$poster['id']}' style=\"".$Mstyle."\">".$Mprefix.$this->ipsclass->cache['group_cache'][$poster['mgroup']]['prefix'].$poster['members_display_name'].$this->ipsclass->cache['group_cache'][$poster['mgroup']]['suffix'].$Msuffix."</a>";

    } else {

    $poster['members_display_name'] = "<a href='{$this->base_url}showuser={$poster['id']}'>".$Mprefix."{$poster['members_display_name']}".$Msuffix."</a>";

    }

    }

    ===================================

    Then run this query:

    ===================================

    INSERT INTO `ibf_conf_settings` VALUES ('', 'Member Color in topic', 'If this setting is set to yes the name''s of poster''s will have the same color as the member group he is in.\r\nit will show colored in topic''s', '25', 'yes_no', 'member_colors', '1', '', '', '', 0, 34, 'Member name's in topic's', 0, '', 1);

    INSERT INTO `ibf_conf_settings` VALUES ('', 'Member name style', 'With this setting you can make member name''s in topic view bold/italic/underlined/normal', '25', 'dropdown', 'member_colors_style', '', '6', '0=Normal\r\n1=Bold\r\n2=Italic\r\n3=Underlined\r\n4=Overlined\r\n5=Line through member name\r\n6=Style Default', '', 0, 35, '', 1, '', 1);

    ===================================

    if you're table prefix is different then change the ibf into you're table prefix.

    To enable/disable it or change some other settings go to Admin CP -> Tools & Settings -> View all general settings -> Topics, Posts and Polls

    Its enabled by default though :)

    Enjoy!

  5. Witam, już praktycznie wszystko jest gotowe, tylko dwie sprawy - proszę chociaż o małą podpowiedź, w których plikach mogę zrobić następujące rzeczy:

    1. http://img8.imageshack.us/img8/8421/poletesktowe.png - w którym pliku mogę zmienić szerokość pola tekstowego ?

    2. W którym pliku mogę zmienić układ wyświetlania postów w tematach - http://img203.imageshack.us/img203/7364/18918488.png

    3. W którym miejscu albo w jaki sposób mogę zmienić kolor tego napisu - http://img441.imageshack.us/img441/4448/99410842.png

  6. Witam, ponawiam swoją prośbę o pomoc w tej kwestii.

    Tylko tym razem byłbym wielce wdzięczny za konkretne odpowiedzi na moje pytania.

    Jeśli ktoś nie jest w stanie ich udzielić - jak niestety Panowie z wcześniejszych stron, proszę się nawet nie wypowiadać.

    Jest to trochę irytujące, ciśnie mi się na usta pewne staro polskie powiedzenie, ale może lepiej będzie jak zachowam je dla siebie. :)

    Jeszcze raz proszę o (KONKRETNE) odpowiedzi, z góry dziękuje i pozdrawiam!

×
×
  • 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ę.