Jump to content
MakeWebGames

Recommended Posts

Posted

As Promised ive been busy updating the Media script this one is now more User friendly Staff and Users can add their favourite Videos or music or radio stations from a Vast Majority of media Sites. the newly improved script Lets users Vote on a users choice of media wether its good or bad. Users and staff can edit, delete and add new media. But Staff have the abililty to Delete media they feel is unappropriate.....

SCREENIES EDITING

part1.jpg

part2.jpg

part3.jpg

ADDING

part4.jpg

part3.jpg

[ UPDATE ]

Ive decided to remove staff ability to add Videos as it seemed pointless. Now also includes Ability to add flash Games.....

Posted

...UPDATE...

Users when adding Videos have to be approved by staff before being aired. Added Videos are set as Pending until Staff are happy that it causes no discomfort to other users...

Whilst a Video is in Pending Mode..

Ability to ADD, EDIT and DELETE are frozen......

Posted
Looks great! But I don't see the point in it. Anyway! :thumbup:

I Agree i dont see the point in it either..

But another coder may see something completely different and it may help to make an entirely new mod :)

So its not about what i post its about what potential others can see from it :)

Posted

Get the silly bits out of the way First.....

Put this in header.php inside your CSS

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now open up preferences.php

Add these Cases and links..

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and the Links

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Same File add the functions....

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now for the SQLS

[mysql]CREATE TABLE IF NOT EXISTS `user_videos` (

`videoID` int(11) NOT NULL auto_increment,

`userid` int(11) NOT NULL,

`artist` varchar(255) NOT NULL default '',

`tracktitle` varchar(255) NOT NULL default '',

`videoalphabet` varchar(255) NOT NULL default 'A',

`playerswflink` varchar(255) NOT NULL default '',

`allowaccess` varchar(255) NOT NULL default 'always',

`autostart` varchar(255) NOT NULL default 'true',

`width` int(11) NOT NULL default '350',

`height` int(11) NOT NULL default '400',

`source` varchar(255) NOT NULL,

`views` int(11) NOT NULL default '0',

`pending` tinyint(2) NOT NULL default '0',

PRIMARY KEY (`videoID`)

) ENGINE=MyISAM DEFAULT CHARSET=latin1;[/mysql]

Also add these 2 SQLS to Users

[mysql]ALTER users ADD preview int(2) NOT NULL default '0';

ALTER users ADD pending tinyint(2) NOT NULL default '0';[/mysql]

Open up global_func.php and add

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

SECOND PART TO FOLLOW.

Posted

PART 2

call this file usercreatedvideos.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now call this file videos.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

PART 3 BELOW

Posted

PART 3

call this file searchvideo.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

And finally Call this file playvideo.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Im still working on the staff PENDING Section but that shouldnt take too long to do.

Posted

Good job Illusions but i noticed you didn't filter your submit of a video?

Drop downs would be a good solution ie (youtube video, google video) so then they specify the normal link

say if the drop down is youtube then the beginning (not editable) link would be something like http://www.youtube.com/watch?v=

and give them a input box which only allows alpha+numeric chars... quite simple if you do it right (maybe a length restriction of 20 on the input)

google and others will be different obviously.

  • 2 months later...
Posted

Update to this mod..

1 = Recoded so users Cant type in full URL they only add the Video ID...

2 = All Videos that users add are set to PENDING mode for Staff to view before releasing as Public...

3 = Visual Update looks better...

4 = Now supports Media from most well used Sites ( And can be edited to aquire more )

FOOTNOTE

I havent updated the script on the topic as yet will probably create a new one so as to not confuse people

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...