Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: vbtube_tubes -> Link Table in DB

  1. #1
    demo7up is offline vBTubePRO-User BF
    Join Date
    Jun 2009
    Posts
    90

    Default vbtube_tubes -> Link Table in DB

    In my db when i first started using vbtube it used to add the link to the post automatically. Now when i check the db only the old ones have the link field filled in and not the new videos. Where are the links generated I have created an RSS feed for vbtube but my problem is that since the link field is now empty on all my new videos. the rss cant link to it.

  2. #2
    demo7up is offline vBTubePRO-User BF
    Join Date
    Jun 2009
    Posts
    90

    Default

    where can i find the dates of the posted items

  3. #3
    demo7up is offline vBTubePRO-User BF
    Join Date
    Jun 2009
    Posts
    90

    Default

    NVM I figured it Out.

    Just need to know where i can query posted dates from. PLEASE!

  4. #4
    demo7up is offline vBTubePRO-User BF
    Join Date
    Jun 2009
    Posts
    90

    Default

    Where are the posted dates stored?

  5. #5
    demo7up is offline vBTubePRO-User BF
    Join Date
    Jun 2009
    Posts
    90

    Default

    in vbtube_show.php

    Code:
    		$cmnt['posttime']=vbdate($vbulletin->options['timeformat'], $cmnt['dateline']);
    		$cmnt['dateline']=vbdate($vbulletin->options['dateformat'], $cmnt['dateline'], true);
    is this responsible for the post date?

  6. #6
    s7v7n's Avatar
    s7v7n is offline Administrator
    Join Date
    Jan 2008
    Posts
    8,108

    Default

    Yes..............
    Kind Regards
    s7v7n

    Please use only original and licensed copies of vBTubePRO. Only legal installations will guarantee you support and updates.

  7. #7
    demo7up is offline vBTubePRO-User BF
    Join Date
    Jun 2009
    Posts
    90

    Default

    Thanks.............

  8. #8
    demo7up is offline vBTubePRO-User BF
    Join Date
    Jun 2009
    Posts
    90

    Default

    Quote Originally Posted by demo7up View Post
    in vbtube_show.php

    Code:
    		$cmnt['posttime']=vbdate($vbulletin->options['timeformat'], $cmnt['dateline']);
    		$cmnt['dateline']=vbdate($vbulletin->options['dateformat'], $cmnt['dateline'], true);
    is this responsible for the post date?
    Is there any why you can tell me what i need to do to query the post date in an external php script. Like what includes i need etc.. Thanks.

  9. #9
    s7v7n's Avatar
    s7v7n is offline Administrator
    Join Date
    Jan 2008
    Posts
    8,108

    Default

    vbdate is a vbulletin function so :

    PHP Code:
    // Include Globals
    require_once('./global.php'); 
    PHP Code:
    $cmnt['dateline'
    is a db entry in vbtube_tubes table
    So you need a db query to read this.
    Kind Regards
    s7v7n

    Please use only original and licensed copies of vBTubePRO. Only legal installations will guarantee you support and updates.

  10. #10
    demo7up is offline vBTubePRO-User BF
    Join Date
    Jun 2009
    Posts
    90

    Default

    you are awesome

Page 1 of 2 12 LastLast

Posting Permissions

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