Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 50

Thread: Adding Profile Phot and URL to view_video.tpl

  1. #21
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Adding Profile Phot and URL to view_video.tpl

    Quote Originally Posted by ramius
    I have solved in a "drastic" way, just putted 3000 standard pictures on /photo/, batch renamed 1.jpg, 2.jpg, 3.jpg etc etc... So the script have the pictures to associate to users (first 3000) and when a user upload his picture automatically the default one is overwritten! ;)
    Rough but it works!
    The code you provided works to get their profile picture showing, is what you did make it so that a generic picture will show if the person has not uploaded one?
    If it's not fun, stop doing it!

  2. #22
    Join Date
    Jan 2008
    Posts
    216

    Default Re: Adding Profile Phot and URL to view_video.tpl

    That's affermative grynmoors ;)

  3. #23
    Join Date
    May 2007
    Posts
    212

    Default Re: Adding Profile Phot and URL to view_video.tpl

    Awesome

  4. #24
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Adding Profile Phot and URL to view_video.tpl

    I'm revisiting this because I want to use the profile pics on the view_video.tpl

    I haven't figured out how to get the no_pic.gif to display when no profile picture has been uploaded, but raimus, how did you mass rename the images? I have Vista and when I go to do it it does this: 1(2).jpg, 1(3).jpg...it puts the original name with the sequential number in a parenthesis.
    If it's not fun, stop doing it!

  5. #25
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Adding Profile Phot and URL to view_video.tpl

    OOPS, never mind, I found this handy little thing:

    http://www.thefreewindows.com/?p=98
    If it's not fun, stop doing it!

  6. #26
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Adding Profile Phot and URL to view_video.tpl

    Quote Originally Posted by ramius
    I have solved in a "drastic" way, just putted 3000 standard pictures on /photo/, batch renamed 1.jpg, 2.jpg, 3.jpg etc etc... So the script have the pictures to associate to users (first 3000) and when a user upload his picture automatically the default one is overwritten! ;)
    Rough but it works!

    I tried this. When I uploaded a new avatar, it was not overwritten. :/
    If it's not fun, stop doing it!

  7. #27
    Join Date
    Jan 2008
    Posts
    216

    Default Re: Adding Profile Phot and URL to view_video.tpl

    Yes it is overwritten! I'm using it for a long time and it is working fine.. May be you need to reload the page or clear the cache of the browser? ;)

  8. #28
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Adding Profile Phot and URL to view_video.tpl

    Tried that and even went into FTP to check the image and view it, it was still the default image. Weird, huh...
    If it's not fun, stop doing it!

  9. #29
    Join Date
    Jan 2008
    Posts
    216

    Default Re: Adding Profile Phot and URL to view_video.tpl

    Permission CMOD of the folder? Is it right?

  10. #30
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Adding Profile Phot and URL to view_video.tpl

    Oh definately.

    It says "your upload was successful", yet the image doesn't get overwritten, which it *should* especially if a person decides to change their profile picture. I'll have to test this on all my sites and see what happens.
    If it's not fun, stop doing it!

Page 3 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. all thumbs on a view_video
    By Ensyte in forum Template Modifications
    Replies: 4
    Last Post: 03-09-2009, 05:33 AM
  2. rearranging the view_video.tpl help
    By alanjoseph4 in forum Template Modifications
    Replies: 6
    Last Post: 09-12-2008, 01:35 PM
  3. Fatal Error in view_video.php
    By khsoh in forum Fixed Bugs
    Replies: 3
    Last Post: 11-03-2007, 07:58 AM
  4. Fatal Error in view_video.php
    By khsoh in forum Installation Support
    Replies: 0
    Last Post: 11-02-2007, 04:01 AM
  5. Table problem in view_video.tpl
    By Philthy in forum Fixed Bugs
    Replies: 0
    Last Post: 06-01-2007, 11:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •