Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Addons/Mods Graveyard

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 05-29-2009, 07:43 PM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 35,923
Bloodrun
Send a message via Yahoo to Bloodrun
Default YouTube Gallery -Non Donator Edition-

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:


Reply With Quote
  #2  
Old 05-29-2009, 07:53 PM
SJC SJC is offline
Member
 
Join Date: Apr 2009
Posts: 118
Credits: 10,143
SJC
Default RE: YouTube Gallery -Non Donator Edition-

Another wonderful script!
Reply With Quote
  #3  
Old 05-29-2009, 07:58 PM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 35,923
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: YouTube Gallery -Non Donator Edition-

Quote:
Originally Posted by SJC
Another wonderful script!
Lol thanks =D
Reply With Quote
  #4  
Old 05-29-2009, 08:01 PM
SJC SJC is offline
Member
 
Join Date: Apr 2009
Posts: 118
Credits: 10,143
SJC
Default RE: YouTube Gallery -Non Donator Edition-

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.
Reply With Quote
  #5  
Old 05-29-2009, 08:15 PM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 35,923
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: YouTube Gallery -Non Donator Edition-

Quote:
Originally Posted by SJC
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.
Reply With Quote
  #6  
Old 05-29-2009, 08:21 PM
SJC SJC is offline
Member
 
Join Date: Apr 2009
Posts: 118
Credits: 10,143
SJC
Default RE: YouTube Gallery -Non Donator Edition-

Okay, it says:
Invalid query: Unknown column 'username' in 'where clause'
Reply With Quote
  #7  
Old 05-29-2009, 08:39 PM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 35,923
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: YouTube Gallery -Non Donator Edition-

Quote:
Originally Posted by SJC
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.
Reply With Quote
  #8  
Old 05-29-2009, 08:52 PM
SJC SJC is offline
Member
 
Join Date: Apr 2009
Posts: 118
Credits: 10,143
SJC
Default RE: YouTube Gallery -Non Donator Edition-

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
Reply With Quote
  #9  
Old 05-29-2009, 08:53 PM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 35,923
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: YouTube Gallery -Non Donator Edition-

Quote:
Originally Posted by SJC
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.
Reply With Quote
  #10  
Old 05-29-2009, 08:57 PM
SJC SJC is offline
Member
 
Join Date: Apr 2009
Posts: 118
Credits: 10,143
SJC
Default RE: YouTube Gallery -Non Donator Edition-

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Youtube BBC Tony Questions and Supports 7 02-03-2011 04:40 PM
Trying to be a donator wilfred888 Questions and Supports 6 05-21-2010 03:14 AM
-Coming Soon!- Youtube Gallery Bloodrun Suggestions and Feature Requests 4 05-29-2009 01:56 AM
Photo album/gallery? mugwumpr Suggestions and Feature Requests 2 04-14-2009 04:38 PM
A 'limited edition' Christmas pet Quillink Questions and Supports 4 12-27-2008 08:37 AM


All times are GMT -5. The time now is 07:18 AM.

Currently Active Users: 835 (0 members and 835 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636