Skocz do zawartości
Hosting webh.pl - 20%

kolorystyka userów

Rekomendowane odpowiedzi

Opublikowano

witka

ja zrobic bajer ze tu gdzie jest moj napis po lewej stronie domino był kolotu pomaranczowego i tak dla kazdego innego uzytkownika inne kolory?

Opublikowano

ACP >>> Manage User Groups >>> Edit Group >>> Online List Format [Prefix] i Online List Format [suffix]

jam_artists_button.png

Opublikowano

@b4it to co ty podałeś to jest tylko na liście on line, a z tego co wywniskowałem to jemu chodzi żeby w topiku było widać

Opublikowano
  • Autor

on line hmm chodzi o taki napis jak ma pan Spanner i zeby takk bylo gdy uzytkownik jest dostepny i nie dostepny

tak tak dla wybranych grup :P

Opublikowano

W tym modzie chyba trzeba jeszcze cos jakies zapytania dodawac z tego co zobaczylem czy nie??

To jest to:

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', '5', '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', '5', '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 it go to Admin CP -> View all general settings -> Topics, Posts and Polls

Enjoy!

Z reszta sobie poradze ale tego nie mam pojecia jak zrobic ;)

Opublikowano

Ale jak bo nie wiem co mam na co pozmieniac. Ktos pomoze?? Niec hsie na PW odezwie jak moze plz

  • 3 tygodnie później...
Opublikowano
  • Autor

poddaje sie jak dokonuje sie edycji tych tabel i ktore sie je dokonuje aby pozniej dokonac tego zapytania ?

albo ja nie znalazlem albo niewiem szukalem na forum ale nic cisza w poszukiwaniu tego tematu <_<

Opublikowano

logujesz się do phpmyadmin, przechodzisz na zakładke SQL i w okienku wklejasz to zapytanie i dajesz wykonaj

inny sposób to w ACP masz coś takiego jak SQL tool box i tam wyświetlone są wszystkie tabele sql, a pod nimi masz takie samo okienko jak w phpmyadmin, w którym wklejasz te zapytania i dajesz wykonaj

Opublikowano
  • Autor

wiec tak prze z ACp niemoge wersja: trial version.

a przez phpmyadmin daje zapytanie to wywal mi:

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', '5', 'yes_no', 'member_colors', '1', '', '', '', 0, 34, 'Member name's

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

);

MySQL zwrócił komunikat:

#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

Opublikowano

a sprawdzałeś poprawność prefixów tabel, napewno masz prefix ibf_ ?? bo ja z tym modem nie miałem żadnych problemów więc coś musisz mieć nie takk skoro nie chce dodać zapytnia

Opublikowano
  • Autor
a sprawdzałeś poprawność prefixów tabel, napewno masz prefix ibf_ ??

a jak to sprawdzic lub zamienic ?

bo ja z tym modem nie miałem żadnych problemów więc coś musisz mieć nie takk skoro nie chce dodać zapytnia

przep[rszam ze tak szczegolowo ale nowicjusze tacy sa <_<)

Opublikowano

jak zalogujesz się do phpmyadmin to jaki masz początek nazw tabeli ibf_ ?? jeżeli nie to w tych zapytaniach jak masz

INSERT INTO `ibf_conf_settings`

to zamień to ibf_ na to to co Ty masz

Opublikowano
  • Autor

wszystkie tablele mam na:

inv2_admin_logs

inv2_admin_sessions

i tak pokolei

i teraz powli co mam zrobic gdzie wejsc zebym sobie czegos nie skopał ;)

Opublikowano

no to już wiesz dlaczego wywala Ci błąd ;) teraz poprostu zrób tak że dodajesz te zapytania tylko zamiast początu ibf_ dajesz ten Swój czyli inv2_. więc Twoje zapytania będą wyglądać następująco

INSERT INTO `inv2_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', '5', 'yes_no', 'member_colors', '1', '', '', '', 0, 34, 'Member name's in topic's', 0, '', 1);
INSERT INTO `inv2_conf_settings` VALUES ('', 'Member name style', 'With this setting you can make member name''s in topic view bold/italic/underlined/normal', '5', '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);

Opublikowano
  • Autor

zrobilem wedlug skazowek i wywala dalej

zapytanie SQL:

INSERT INTO `inv2_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', '5', 'yes_no', 'member_colors', '1', '', '', '', 0, 34, 'Member name's

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

);

MySQL zwrócił komunikat:

#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

[

Opublikowano

Witam,

INSERT INTO `inv2_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', '5', 'yes_no', 'member_colors', '1', '', '', '', 0, 34, 'Member name's in topic's', 0, '', 1);

INSERT INTO `inv2_conf_settings` VALUES ('', 'Member name style', 'With this setting you can make member name''s in topic view bold/italic/underlined/normal', '5', '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);

Masz załadować je bezżadnych enterów. Wiesz co ? Chyba Ci prywatnie pomogę i nawet fotki zrobie jak to zrobiłem. Odezwij się na PW, jak jeszcze chcesz tej pomocy.

Pozdrawiam,

Largo

Jeżeli Ci pomogłem, nie zapomnij proszę o kliknięciu - add.png

Możesz liczyć na moją pomoc z zakresu: PHP5, MySQL, JavaScript i Ajax | W trakcie nauki CSS i xHTML!

W sprawie pomocy z zakresu IP.Board służę pomocą w dziale Zaawansowane programowanie IP.Board

Proszę o nie wysyłanie próśb PW o prywatną pomoc - pomagam JEDYNIE na forum lub na zlecenie!

Opublikowano
  • Autor

chya zostaiw ta robote bo i tak wywala blad moze ktos cos wymysli :( na PW wyslalem ale cisza jak makiem zasiał ;)

Opublikowano
  • Autor

dziala aw taki spsob:

INSERT INTO `inv2_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', '5', 'yes_no', 'member_colors', '1', '', '', '', 0, 34, 'Member name\'s in topic\'s', 0, '', 1);

INSERT INTO `inv2_conf_settings` VALUES ('', 'Member name style', 'With this setting you can make member name\'s in topic view bold/italic/underlined/normal', '5', '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);

Opublikowano
  • Autor

no tak jest poporostu róznica w w niektorych mioejscach w kodzie z poprzednimi kodami ;)

Ostatnio przeglądający 0

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

Konto

Nawigacja

Szukaj

Szukaj

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.