Quote:
Originally Posted by BadgerDog
Here's the "My Videos" screen of the user "tester" who uploaded a video that's waiting for approval, but has yet to be approved by anyone...
I don't see anywhere it shows that it's waiting for approval and won't appear until it gets approved?
Am I missing something?
|
I'll check it after a short rest, but at least the code is correct. The restriction in query for what videos to show is only $userid
Code:
$items = $vbulletin->db->query_read("
SELECT *
FROM `" . TABLE_PREFIX . "videoclub_items`
WHERE userid=$userid
ORDER BY postdate DESC
LIMIT " . ($limitlower-1) . ", $perpage");
There is no other restriction like in normal listings: approved=1 AND hidden=0
Quote:
Originally Posted by BadgerDog
ps: By the way, what does "hide" mean and what's its purpose?
|
Sometimes users may want to hide the video for their own reasons. Instead to delete and republish it (which means loosing all view, votes, comments), he can hide it from public view (owner and moderators can still see it with direct link), and then they can activate it again.