YouTube Gallery -Non Donator Edition-

Forum
Last Post
Threads / Messages

Bloodrun

I am, who I am.
Premium Member
Joined
Apr 20, 2009
Messages
532
Points
0
Age
33
Mysidian Dollar
15,756
This is the non donation release of the YouTube Gallery.

Of course those whom are donators will have much more Options for this modification.

Thankfully though, this modification is very simple to upload, just upload the files to the directory where you adopts script is held, and import the sql into your adopts database.

YouTube Gallery Includes:
  • YouTube Gallery Main page that lists all the videos.
  • An upload feature, a member can only upload one video a day.
  • The watching page, lists shows the video, the name your user inputed for it, the number of views, and a description.

Will include(For donators):
  • Members receive points depending on the number of views.
  • You can restrict certain usergroups from uploading, and viewing videos.
  • A 'Favorites' feature, that will show up in your profile.

Preview:
f58vtk.jpg

op4ton.jpg

24d0ako.jpg
 
Getting an error...
Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/a7685593/public_html/vupload.php on line 88
When I upload a video. And it also says thst I already uploaded a video when I didn't.
 
SJC said:
Getting an error...
Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/a7685593/public_html/vupload.php on line 88
When I upload a video. And it also says thst I already uploaded a video when I didn't.

The second thing I figured would happen, the first...

The first, I hate this type of warning, because the error is so general it could mean anything.
Ill fix the second thing, in the mean time, find the line, and place this right under the '$result'

die('Invalid query: ' . mysql_error());

and tell me what it spits out.
 
Okay, it says:
Invalid query: Unknown column 'username' in 'where clause'
 
SJC said:
Okay, it says:
Invalid query: Unknown column 'username' in 'where clause'

Wow, that explains everything, lol. Hold on fixing things right now.

Okay, wow, I thought for sure that would fix the problem but it won't.

Okay, well your error will be gone now, but the limitation where members can only upload one video a day wont work.

Please download the new folder to upload, as it contains the new files.
 
Okay, it uploaded the video, but there was this error on the top of the page:
Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/a7685593/public_html/vupload.php on line 90
 
SJC said:
Okay, it uploaded the video, but there was this error on the top of the page:
Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/a7685593/public_html/vupload.php on line 90

Please add this:
die('Invalid query: ' . mysql_error());

after the $result and tell me what it says.
 
Invalid query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from='Steve' AND date='2009-05-29'' at line 1
 
SJC said:
Invalid query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from='Steve' AND date='2009-05-29'' at line 1

Fixed >.<

You can redownload now =/
 
Thats alright :) May I ask? What new mod are you going to make next?
 
SJC said:
Thats alright :) May I ask? What new mod are you going to make next?

Well the Donator YouTube Gallery.

Then Ill be working on my Shop, but that one probably wont come out for another month probably since I start my next college semester on the 5th.
 
College, wow! I'm still in Middle School. And good luck with those mods :)
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,267
Messages
33,048
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top