Be a Supporter!
Quote/price - E-commerce Assistance Posted October 15th, 2014 in Programming

Hey there,

I am in the middle of working on a new fitness apparel site, and I have literally no experience with programming for e-commerce. I have built everything pretty much except for the checkout, and I am in need of someone, if interested to give me a quote/price to help create a working checkout and shipping function for the website.

We can talk more in depth if you like on here or through email. chrischaseonline@gmail.com

Response to: Php Json & Facebook Posted February 25th, 2013 in Programming

Ok ill try these out thanks a lot guys!

Php Json & Facebook Posted February 25th, 2013 in Programming

I have been searching all day and trying many different methods. I cant seem to get this code to display any information whatsoever.

<?php
$graph = json_decode(file_get_contents("https://graph.facebook.com/122243664545681/photos"));

$picture = $graph->picture;
$pageid = $graph->id;
echo  $picture.' '.$pageid;
?>
Response to: Php Error Help Posted November 3rd, 2012 in Programming

Never mind, I figured out the problem. I had given the second query the same variable name as the first.

Php Error Help Posted November 3rd, 2012 in Programming

I cant figure out why I am getting this error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/teach/public_html/included/query.php on line 7

I have tried re-writting the first query and still no luck. Here is my code:

<?php
include("/home/teach/public_html/included/db_config.php");
echo("Loading<br /><br />");
$query1 = mysql_query("SELECT * FROM `TABLE 91` ORDER BY `SKU` DESC") or die("Q1: ".mysql_error());
if(mysql_error() == ""){

	while($qArray = mysql_fetch_array($query1)){
		
		$productModel = $qArray['SKU'];
		$productUPC = $qArray['UPC'];
		
		$query1 = mysql_query("UPDATE `products` SET `products_upc` = '$productUPC' WHERE `products_model` = '$productModel' LIMIT 1") or die("Q2: ".mysql_error());
		
		$productModel = "";
		$productUPC = "";
		
	}
}
?>
Css & Jquery Drop Down Menu Posted February 23rd, 2012 in Programming

Hey guys,

I got my drop down menu to work good, but anything thats added after the menu moves down every time the menu drops. Tried changing the value of position but no luck. Here is my code:

HTML

<a href="http://www.ividsonline.com/">
<img src="/layout/btn_home.png" alt="Home" name="home" border="0" onMouseOver="window.document.home.src = '/layout/btn_home_on.png';" onMouseOut="window.document.home.src = '/layout/btn_home.png';"/>
</a>

<img src="/layout/nav_sep.png" alt=""/>

<img src="/layout/btn_live.png" alt="Live" name="live" border="0" onMouseOver="window.document.live.src = '/layout/btn_live_on.png';" onMouseOut="window.document.live.src = '/layout/btn_live.png';" class="menu_class" />
<ul class="the_menu">
<li>
<a href="#">Live Stream</a>
</li>
<li>
<a href="#">Featured Webseries</a>
</li>
<li>
<a href="#">Featured Film</a>
</li>
</ul>

<img src="/layout/nav_sep.png" alt=""/>

<a href="http://www.ividsonline.com/charts/">
<img src="/layout/btn_charts.png" alt="Charts" name="charts" border="0" onMouseOver="window.document.charts.src = '/layout/btn_charts_on.png';" onMouseOut="window.document.charts.src = '/layout/btn_charts.png';"/>
</a>

Javascript

$(document).ready(function () {
    $('img.menu_class').click(function () {
    $('ul.the_menu').slideToggle('medium');
    });
});

CSS

ul{
	position:relative;
	z-index:1100;
}
ul, li {
    margin:0;
    padding:0;
    list-style:none;
}
.the_menu {
    display:none;
    width:200px;
    border: 1px solid #1c1c1c;
}
.the_menu li {
    background-color: #000;
}
.the_menu li a {
    color:#FFFFFF;
    text-decoration:none;
    padding:10px;
    display:block;
}
 
.the_menu li a:hover {
    padding:10px;
    font-weight:bold;
    color: #808DEE;
}
Response to: Css - Position Absolute - Safari Posted February 15th, 2012 in Programming

You could always make a browser specific section for that code alone. Adjust it any way you can to make it look right in safari and call it when its needed.

Facebook App Posted February 10th, 2012 in Programming

Hey guys, I am in the middle of switching a site from its own user based system, to using facebooks user system. The only problem I have come accross so far is I cant seem to grab thier email from facebook. I added email to the permissions request field in the app settings, and it wont appear when someone signs up for the app.

Response to: Classic MPAA Story Posted January 16th, 2012 in NG News

At 1/15/12 03:27 PM, McZero wrote: Tom I've noticed that the "attitude" of Newgrounds since its inception has changed a lot from more of a shock site to more of a games site.
Was that your intention?

Im curious to know too. When I was a kid thats the original reason I came to newgrounds. Cuz it had adult games and videos that i really shouldnt have been watching. Then they started having really cool animations coming in, and now they all just seem...generic. No shock value whatsoever. I remember when fallen angel teaser came out. it blew everyones mind! And at the moment the only animations I look forward to now are ones done by Egoraptor, or Oney.

Response to: Flash Streaming Posted December 7th, 2011 in Game Development

im looking to do this on my own site, i dont want any other sites involved. I just need to know which software im looking for. or which tutorial i need to follow.

Flash Streaming Posted December 6th, 2011 in Game Development

Hey, I was wondering if anyone knew of a streaming software, that kind of worked like a channel. When someone tunes in, I dont want the video to start from the beginning, I want it to start at the point that its streaming at. Any ideas?

Response to: How/When did you start Programming? Posted November 27th, 2011 in Programming

Started HTML at 13, moved to Actionscript, PHP & CSS at 14, and then Javascript at 16. im now 21 and still learning every time i build something.

Response to: PHP Voting Posted November 6th, 2011 in Programming

I have only done one cronjob before.......gotta try'er out.

Response to: PHP Voting Posted November 5th, 2011 in Programming

ill giver a try, thanks!

PHP Voting Posted November 4th, 2011 in Programming

I have a script for my site to vote on videos, but it only has one problem that i cant figure out. When someone votes it stores thier ip, and the date that they voted in the database to stop them from voting more than once per day. When they vote the next day, the script tells them that they arleady voted that day before it clears the database, and they have to click it a second time for it to work.

<?php
//connect to the database
include('db_config.php');

//grab this users IP address
$ip = $_SERVER["REMOTE_ADDR"];
//grab the video ID
$vId = mysql_real_escape_string($_POST['id']);

//query the database
$vQuery = mysql_query("SELECT * FROM `videos` WHERE `id` = '$vId' LIMIT 1")or die("Error: ".mysql_error());
$vA = mysql_fetch_array($vQuery);

//check that the date in the database is the correct date. if not then clear the database and change the date
$oldDate = $vA['voteday'];
$todayDate = date('dmY');

if($oldDate != $todayDate){
	
	$upDate = mysql_query("UPDATE `videos` SET `users` = '', `voteday` = '$todayDate' WHERE `videos`.`id` = '$vId';") or die("Error1: ".mysql_error());
	
	if($upDate){$cont = 'go';}
	
}else{

$cont = 'go';

}

if($cont == 'go'){
//grab the proper information from the database
$whoVote = explode(",", $vA['users']);
	
if(in_array($ip,$whoVote)){
	
	echo('You have already voted on this submission today.');
		
	exit();
		
}

$newVote = $vA['votes'] + 1;

$newUsers = $vA['users'].','.$ip;

$upRow = mysql_query("UPDATE `videos` SET `votes` = '$newVote', `users` = '$newUsers' WHERE `videos`.`id` = '$vId';") or die("Error2: ".mysql_error());

//we want to track total voted in a day so lets add to the vote table
$vTable = mysql_query("SELECT * FROM `votes` WHERE `date` = '$todayDate' LIMIT 1") or die("Error1: ".mysql_error());

//if there isnt a row where the date matches up lets create one
$vRowCount = mysql_num_rows($vTable);

if($vRowCount == 0){

	$msql_insert = mysql_query("INSERT INTO `votes` (`date`, `votes`) VALUES ('$todayDate','1')") or die(mysql_error());

}else{
	
	$vGrab = mysql_fetch_array($vTable);
	
	$newNum = $vGrab['votes'] + 1;
	
	$upVRow = mysql_query("UPDATE `votes` SET `votes` = '$newNum' WHERE `votes`.`date` = '$todayDate';") or die("Error2: ".mysql_error());

}

echo("Thanks for voting!");
}
?>
Meta Tags & Facebook Posted November 2nd, 2011 in Programming

Hey guys, yesterday I started doing the meta tags for open graphics on facebook to show a default image, and to load videos when shared. The problem is when I share a video it wont play (right clicking says the video failed to load). The general URL i try to share for testing is http://www.ividsonline.com/videop/1 . Here is my code:

<meta property="og:image" content="http://www.ividsonline.com/<?php echo($pic_link); ?>"/>
<meta property="og:title" content="<?php echo($artist.' - '.$title); ?>"/>
<meta property="og:type" content="movie"/>
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:video" content="<?php echo($full_link); ?>" />
<meta property="og:video:width" content="640" />
<meta property="og:video:height" content="360" />
Response to: Member Subscription Posted July 21st, 2011 in Programming

well sam i sent you a PM

Member Subscription Posted July 21st, 2011 in Programming

I am currently working on a new site where I would like there to be a monthly fee of $10/month. If possible I would like to incorporate paypal somehow so that when a payment is not made, the account is automatically deactivated. Does anyone have experience in this area, or have a better alternative to paypal?

Response to: Stupid Html Question Posted July 18th, 2011 in Programming

genious! thanks.

Stupid Html Question Posted July 18th, 2011 in Programming

I need to move the text inside a text field over just a little bit without using padding.....is that possible? When I use padding the box itself moves over, and i can only tell cuz im using safari.

Response to: My First Music Video Posted July 8th, 2011 in General

At 7/8/11 01:02 AM, dj9547 wrote: Not my kind of my music, but damn, that is pretty good. Good quality and everything. Very catchy. I just can't stand the autotune.

is the autotune that strong?

My First Music Video Posted July 8th, 2011 in General

Hey guys if you dont like hip-hop this might not be your thing, but I put a lot of time and effort into this. For those of you that are into this type of music please leave a comment and some criticism.

http://www DOT youtube DOT com/watch?v=ko6rQwgi6cI

Response to: You know what I could go for. Posted July 2nd, 2011 in General

not gonna lie i really love the idea!

Response to: Selling My Flash Portal Site Posted July 1st, 2011 in General

i guess the only thing DIFFERENT is the tutorial section, and the member area navigation. Other than that you cant get much different for a flash portal site.

Response to: Selling My Flash Portal Site Posted July 1st, 2011 in General

I've asked for help in the past, i've given 100% revenue before. I am very proud to own this site and to have done it all myself, but its just not feasible for me anymore.

More than anything I just want to make sure it has a good home.

Selling My Flash Portal Site Posted June 30th, 2011 in General

The site I am selling is in my signature. (I re-read all the forum rules before posting this) I love it, I have had it for many years, but truth is, i dont have time to work on it anymore, and i dont have the time to promote and invite users. Its a good site, I just redesigned most of it, and I think it has good potential. I would like to see it go somewhere, but I dont have the time to do it.

So if anyone is interested please send an email to chrischaseonline@gmail.com

Im posting this before I go to work so I will not be able to respond for quite a while.
Thanks.

Site Gone Posted June 22nd, 2011 in Programming

Hey guys, today I went to visit my sites homepage and it gives me my error page saying the file doesnt exist. The problem is, that is does exist, I logged on to my FTP client, and the file is there. I think it could possible be a CHMOD problem my files are all set to 644, and im not sure if thats what it SHOULD be. If its not what it should be I have no clue why the entire sites CHMOD is set to that.

Response to: Javascript File Selection Posted May 29th, 2011 in Programming

Just incase anyone is looking for the same thing, I did find the answer.

http://www.quirksmode.org/dom/inputfile.
html

Thanks.

Javascript File Selection Posted May 29th, 2011 in Programming

Hey guys, I am trying to achieve the same effect newgrounds has here where they have a fake file field, that triggers the file browsing function of your browser when clicked. Not having an easy time figuring this out, and I have searched the web to find countless people asking the same questions with no avail.

click()

thats just not cutting it so what should i do?

Response to: Verdict on supporting IE 6 Posted May 27th, 2011 in Programming

At 5/26/11 12:57 AM, VigilanteNighthawk wrote:
If you launch the site and find that 50% of the users are coming from IE6 then shit son, I'd do something about it, but I think that's incredibly unlikely for the type of website you're building there.

I think that time spent making a website look perfect in a massively outdated browser could be put to far better use, or even just save you a whole lotta headache, and your client a whole lotta money.

Thats about all that I understood/made sense of, from your post....possibly cuz im drunk.....