Colorful Users Nicknames

Started on the old forum in August 2007 · view the original in the archive · old links redirect here

74 replies · 5,614 views · started 19 years ago · 1 min read

TL;DR · summary of 74 replies
  • alesh needs help implementing code that allows users to choose their own nickname colors, but is having trouble with the database setup.
  • The thread suggests creating a new row in the users table for storing the color preference, but alesh is unsure if this is correct and how to implement it properly.
  • The issue of changing all nicknames to one color instead of individual user preferences remains unresolved.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

14 participants
alexism Developer · 136 posts #41

lol...send my regard to ur gf...hope u marry her..

alesh Lead · 604 posts #42

okay here its only example... cuz sql query is nt the same 4 all the links and im not doing all 4 u.... lol

make new row in users table

`boja` varchar(7) NOT NULL default '#0000FF'

then make changes like this everywhere u wish 2 c users chosen color

$nickboja = mysql_fetch_array(mysql_query("SELECT boja FROM ibwf_users WHERE id='$item[2]'"));         
          $lnk = "<a href=\"inbox.php?action=readpm&pmid=$item[1]&ses=$ses\"><font color=\"$nickboja[0]\">$iml $item[0]</font></a>";
          echo "$lnk
";

this is from inbox.php ..... ($action=="main")

when u do all the changes in entire script (and theres alot), make a page where users cn chose their fav color...or make it in user cpanel....

anyway i saw many diferent ways 2 do the same, even in core and in *.css file, but i wanted just like this and i like it lol

eeeeerrr....

alesh Lead · 604 posts #43

Prevedi na naski sta ti tacno treba?

meni vise nista....ja sam napravio sta sam htjeo.....neg ovaj mujo gore place.... hahaha

eeeeerrr....

alesh Lead · 604 posts #45

Ma neka ga nek place External image (may be gone) nego da te pitam znas li slucajno kako odraditi da u postovima ispod nicka pojavljuje se avatar od istog. Jbg nikako da ustimam, a inace sam preuredio funmobile skriptu evo pogledaj http://united1x2.com/forum

pa virni u profil pa se poigraj sa avatarom i "who"

eeeeerrr....

Guest #46

pa virni u profil pa se poigraj sa avatarom i "who"

Ma danima pokusavam al ne ide pa ne ide jbg, sve sto sam uspio jeste da se prikaze jedan te isti avatar za sve

metulj Super moderator Principal · 1,726 posts #47

Ma danima pokusavam al ne ide pa ne ide jbg, sve sto sam uspio jeste da se prikaze jedan te isti avatar za sve

znaci da negde ti fali onaj $uid=..... ali po mome to ti je bezveze.. useri nece bit odusevljeni, jer GPRS je skup External image (may be gone)

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

Guest #49

$usl je nick u postovima a on je: $usl = " <a href="index.php?action=viewuser&sid=$sid&who=$ttext[0]">$iml$unick</a>";

E sad kako dobiti ispod $usl prikaz avatara od tog nicka? E a moze li i molba da neko od Vas posto vidim da znate engleski sto meni nije jaca strana otvori temu za ovo pa valjda ce neko skontati, unaprijed hvala

alexism Developer · 136 posts #50

lol.........english plz...

amylee Principal · 1,092 posts #51

yeah keep it english or ill delete your posts

alesh Lead · 604 posts #52

Ma danima pokusavam al ne ide pa ne ide jbg, sve sto sam uspio jeste da se prikaze jedan te isti avatar za sve

Croatian: tebi fali ono "ciji avatar" a da probas ovo $avatar = mysql_fetch_array(mysql_query("SELECT avatar FROM ibwf_users WHERE id='$ttext[0]'")); nisam siguran al probaj........


English: ur mising whos avatar try this $avatar = mysql_fetch_array(mysql_query("SELECT avatar FROM ibwf_users WHERE id='$ttext[0]'")); im nt sure but try....


lol okay amy...

multylanguage lol

eeeeerrr....

Guest #53

Croatian: tebi fali ono "ciji avatar" a da probas ovo $avatar = mysql_fetch_array(mysql_query("SELECT avatar FROM ibwf_users WHERE id='$ttext[0]'")); nisam siguran al probaj........


English: ur mising whos avatar try this $avatar = mysql_fetch_array(mysql_query("SELECT avatar FROM ibwf_users WHERE id='$ttext[0]'")); im nt sure but try....


lol okay amy...

multylanguage lol

Nece , rezultat je: Array

alesh Lead · 604 posts #54

Nece , rezultat je: Array

it worksssss!!!!

echo "
<img src=\"$avatar[0]\" alt=\"avatar\"/>";

eeeeerrr....

alexism Developer · 136 posts #55

MALAY:

pukimak korg mcm lancau babi anjing sial anak gampang burit mak korg tebelah dua..


ENGLISH:

i want full coding for nick color..post here plz....

Guest #56

it worksssss!!!!

echo "
<img src=\"$avatar[0]\" alt=\"avatar\"/>";

External image (may be gone) kod mene ne radi

Radi samo na prvom postu kod usera koji je otvorio topic

Guest #57

Evo radi sve hvala majstore na ideji p.s. ako nesto zatreba External image (may be gone)

ovo ide dole u postove

$avattar = mysql_fetch_array(mysql_query("SELECT avatar FROM ibwf_users WHERE id='$post[2]'")); echo " <img src="$avattar[0]" alt="avatar"/>";

alesh Lead · 604 posts #58

MALAY:

pukimak korg mcm lancau babi anjing sial anak gampang burit mak korg tebelah dua..


ENGLISH:

i want full coding for nick color..post here plz....

hmmm "u want"??

well "i want" 1.000.000€ but no1 wanna give 2 me lol i wonder why?? WHY"" WHHHHHHHHHHHHHHHHHY??????? lol

i already posted an example 4 u and i told u ill not do it 4 u


read it again in case u missed! u have an example and go from there


eeeeerrr....

alexism Developer · 136 posts #59

$nickboja?? whats that?re post in english pls alesh..

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close