Author Topic: Add a name close the duration of the videos  (Read 403 times)

Octavi

  • Newbie
  • *
  • Posts: 20
Add a name close the duration of the videos
« on: August 08, 2010, 07:59:05 AM »
Hi all, I would like below the the thumbnails in the homepage , a fact of the videos, next to the duration of the videos, for example, adding the country of the videos, anyone know how?

thank you very  much

Octavi

citrus

  • Sr. Member
  • ****
  • Posts: 158
    • NoobTube- Video Sharing For Gamers!
Re: Add a name close the duration of the videos
« Reply #1 on: August 08, 2010, 09:26:37 PM »
That wouldn't be a simple thing to do, and the only way that would work is if you referenced the database entry of location recorded, if the user didn't add anything to that list then it won't happen.

Octavi

  • Newbie
  • *
  • Posts: 20
Re: Add a name close the duration of the videos
« Reply #2 on: August 09, 2010, 03:49:40 AM »
Ok, i understand you, but, for example i want add the first name of the video owner/user. How?

thanks a lot

Octavi


citrus

  • Sr. Member
  • ****
  • Posts: 158
    • NoobTube- Video Sharing For Gamers!
Re: Add a name close the duration of the videos
« Reply #3 on: August 10, 2010, 08:52:53 AM »
Subject to the same thing only you have to find the database string in phpmyadmin of the users actual name and reference it in the page you want to show like example..

$name = result$name (not exact code just to help you) in your index.php file

then in your html you would put <-var.name-> of course this isnt all correct but you get the idea.