T X
Members-
Content Count
60 -
Joined
-
Last visited
About T X
-
Rank
Member [Level 1]
- Birthday 08/15/1993
Profile Information
-
Gender
Male
-
Location
Rochester, NY
-
Yes and I suppose I should thank you as well, since I was planning on doing something like this for my website (preferably with video upload however it doesn't really matter) and I needed something to do.
-
Thank you for the information. I'll try to bear that in mind when I'm posting, and try to be as in-depth as possible.
-
This is just a quick write-up and isn't necessarily what you would call 'advanced', but it should be a sufficient base if you were to go about implementing something like this. -mysql db (drupal) --posts ----id ----yid -- phpMyAdmin SQL Dump-- version 3.2.4-- phpmyadmin.net/home_page/index.php---- Host: localhost-- Generation Time: Mar 30, 2010 at 05:09 PM-- Server version: 5.1.41-- PHP Version: 5.3.1SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;/*!40101 SET NAMES utf8 */;---- Database: `drupal`---- ------------------------------------------------------------ Table structure for table `posts`--CREATE TABLE IF NOT EXISTS `posts` ( `id` int(11) NOT NULL AUTO_INCREMENT, `yid` text NOT NULL, PRIMARY KEY (`id`)) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2;---- Dumping data for table `posts`--INSERT INTO `posts` (`id`, `yid`) VALUES(1, 'kCIZhS_Vp8c');/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; and then... <?php $id = $_GET['id']; $mysql = mysql_connect('localhost', 'root', ''); mysql_select_db('drupal'); $query = mysql_query('SELECT * FROM posts WHERE id = '.$id, $mysql); $resultset = mysql_fetch_array($query); $code = $resultset['yid']; echo '<object width="640" height="385"> <param name="movie" value="youtube.com/watch?v=&%2339;.$code.' </param> <param name="allowFullScreen" value="true"> </param> <param name="allowscriptaccess" value="always"> </param> <embed src="youtube.com/watch?v=&%2339;.$code.'" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"> </embed> </object> ';?><html> <head> <title>Video</title> </head> <body> <p> The video you requested. </p> </body></html> LOCALHOST/video.php?id=1 Result:
-
You should be able to allow certain sites to hotlink, however I wouldn't know how. I would tak a look at http://forums.xisto.com/no_longer_exists/ It is explained there.
-
So then it doesn't take into account things like replies and stuff like that? Like if you had a really hot topic you would get only the myCENTS for that one post?
-
I'm trying to be as active as I can be, however this is quite difficult considering the fact that the rest of the community is much less active than me, thus making me look like an *BLEEP*. However, I can assure you that if you get to know me you won't think of me that way (or at least I hope not!).
-
I recommend 3DS Max from Autodesk: http://forums.xisto.com/no_longer_exists/ It's a great 3d editing software and I use it a lot! You can make them, edit them, render them, animate them, texture them, and more and it's very simple to do all of those! @src=wikipedia
-
How are myCENT calculated? What factors effect how much myCENT you get besides the length and detail of the post?
-
Thanks for this. I'll be sure to bear this in mind when I'm starting up my site. One concern though is what if you want to allow hotlinking to certain images or such? So in other words, how would I go about keeping everything off-limits with hotlinking and then making certain files able to be hotlinked.
-
Whats Going On With Trap17?!?!?!? its broken... :(
T X replied to Soviet Rathe's topic in Web Hosting Support
The advanced mode for replies is messed up. You aren't given a cursor and the seeking doesn't work, and sometimes you get stuck and can't move.Another thing, when you reply to a post you can't put stuff below the quote.In all, the main problem I have is the text editor when you're posting in advanced mode. -
Is Facebook A Threat To A New Social Community Today?
T X replied to africa's topic in Websites and Web Designing
If you want word to travel fast, you can ask a very successful YouTube channel or something of the sort if they can put the word out about it.Advertising, well...I can't help you there since I always ignore ads.Tell your friends and have them tell their friends and so on until it becomes big.