Click to See Complete Forum and Search --> : Have a question-Need Help Getting Started with something


Conor
11-18-2003, 03:53 PM
Well im working with discoboards In the profiles on the boards they show all the users watching you on the main profile page. I want to instead have a link there that says watched bye and have this link go to the page where it shows the users watching you in a format like this


Username PostCount


Heres the part of the profile i want to edit

<TR VALIGN=BASELINE>
<TD ALIGN=RIGHT CLASS='BoardProfileHeading'>Watched By:&nbsp;</TD>
<TD CLASS='BoardRowBody'>".$watchingusersoutput."</TD></TR>


so i just want that to show a link instead of all the people watching you and i want it to link to the people watching you

Sexay_Hamster
11-18-2003, 04:00 PM
just put what displays the users thing in a seperate file and have it link to it...

Conor
11-18-2003, 04:05 PM
so waht your saying is too take

$watchingusersoutput."

and put that in a seperate and say replace that in the profile with a link to like watchedby.php


Any ideas on how to format it and have it grab the users post count

Sexay_Hamster
11-18-2003, 04:14 PM
so you want to get a users postcount?

whos post count do you want?

the persons whose profile it is or the count of the person viewing it?

where are your boards i thought they were down?

Conor
11-18-2003, 04:22 PM
i want the page to list all the people watching you on one side then across from their name i want it to display there post count

Sexay_Hamster
11-18-2003, 04:28 PM
use mysql_fetch_array to get post counts and use a loop to display all of the names.

i cant tell you more i would be doing more than helping u get started :p

Conor
11-18-2003, 04:32 PM
uggh mysql damnit any tutorials?

Sexay_Hamster
11-18-2003, 04:38 PM
post counts and absolutly everything in discoboards is stored in mysql so u might as well learn it :)

if u want tutorials on it u could try http://mysql.com

Conor
11-18-2003, 04:40 PM
yeah thanks webmonky and w3schools have them

Conor
11-19-2003, 04:43 PM
so im coding the thing and i try to impliment it and its showing every user on the boards how to make only include the watched by thing

pyro
11-19-2003, 04:48 PM
Could you reiterate your question? I'm not sure what you are asking.

Conor
11-19-2003, 04:51 PM
well you see im running these boards right here


http://nucleus.ih0p.com/index.php



if you click on one of the users names you will go into there profiles and see a Watched By section which is in the pice of coed at the beginning of my post. I want that to simpy show a link to a page where it will list all the users that are watching you

pyro
11-19-2003, 04:58 PM
It's going to depend on how this variable is filled: $watchingusersoutput

Conor
11-20-2003, 07:54 PM
im not qutie sure i know what you mean