Results 1 to 10 of 13

Thread: URL field (easy one)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default URL field (easy one)

    Hi there!

    Is there a way for you guys to add an option for the submitters to add an url to their uploads? I think it's not that hard to make and would be a nice option.

    So they will have a new field on the upload page which will say 'URL:' and if somebody enters an url there then it will be visible under the video (for example: Click here for more) or something like that..

    Also if somebody can make it for a few bucks please PM me..

    thank you

  2. #2

    Default

    view_viedo.php
    Code:
    $result = mysql_query("SELECT * FROM video WHERE VID='".$video_id."' and approve ='1'")or die(mysql_error());
    $row = mysql_fetch_array( $result );
        
    
    //**display wesite in video details**//
    $result4 = mysql_query("SELECT UID,username,website FROM signup WHERE UID='".$row['UID']."'")or die(mysql_error());
    $row4 = mysql_fetch_array( $result4 );
    $smarty->assign('user_website', $row4['website'] );

    view_video.tpl
    Code:
    Website:   {if $user_website ne ""}<a href="{$user_website}" target="_blank">{$user_website}</a>
        {else}
    No Website Listed{/if}

  3. #3

    Default

    will try thanks a lot

  4. #4

    Default

    Hm one more thing.. i need a field on the upload page where the submitter enters his url.. thanks

  5. #5

    Default

    Theres already one installed in user edit an admin option to request website on signup.

    user_profile.php

  6. #6

    Default

    But the user should enter a different url for every video he submits.. thanks

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
  •