Photo Before Nickname

Started on the old forum in July 2008 · view the original in the archive · old links redirect here

9 replies · 745 views · started 18 years ago · 1 min read

3 participants
mary Junior · 14 posts #1

Hi people!!!

Hi wont add a small photo random from users photos uploaded at chat page before nickname..

anyone know the code to help me ?

cordial

sweetangel Lead · 885 posts #3

mmmh.... I think...

if the count is >0

this is the query:

SELECT imgurl FROM gallery WHERE uid='".$who."' ORDER BY RAND();

byeeeee

if like my post click:

External image (may be gone)

mary Junior · 14 posts #4

where I add this code at chat page???

Guest #5

don't just add and resize the image with "width=XX" or "height=XX", that will load the full image size and eat alot of bandwidth of the users. get a script to reduce the size of the image.

mary Junior · 14 posts #6

but where I can add the code at chat page?? :?

sweetangel Lead · 885 posts #7

but where I can add the code at chat page?? :?

use this query:

if the count photos is >0

SELECT imgurl FROM gallery WHERE uid='".$who."' ORDER BY RAND();

and you print image before nickname 😉

if like my post click:

External image (may be gone)

mary Junior · 14 posts #9

I'm new with php. where I add the code at page chat??? how print a photo ?

tnks sweet 🙂

Guest #10

hmmmm good seen sweetangel helping ;)

helping herself

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