Search found 33 matches

by Z645
Mon May 27, 2013 2:41 am
Forum: PHP
Topic: Getting Data from 3 MySQL tables
Replies: 3
Views: 1032

Re: Getting Data from 3 MySQL tables

ExtremeGaming wrote:Is there any reason why you can't just do like:

[syntax=php]<?php
session_start();
if($_SESSION['user_id'] == $_GET['user_id']) {
// Display
} else {
// Don't display
}
?>[/syntax]

I don't think it'll work with what I'm doing. Unless you can explain further o-o
by Z645
Sun May 26, 2013 5:59 am
Forum: PHP
Topic: Getting Data from 3 MySQL tables
Replies: 3
Views: 1032

Getting Data from 3 MySQL tables

Hi, I've been struggling with getting data from 3 tables (users, feeds and friends). I want my code to get the users friends feeds and display it on the homepage. (Only the users and no one elses, and users who are not friends cannot see it. Sort of like what Twitter and Facebook are doing.) My tabl...
by Z645
Thu Apr 25, 2013 12:21 am
Forum: PHP
Topic: Blog/comments integration with login
Replies: 7
Views: 1737

Re: Blog/comments integration with login

uhm. I've gone through another error with linking user profiles. I can't seem to get the uid to show when the user clicks portfolio. And then I get an error: [syntax=php]Notice: Undefined index: uid in /home/a8126323/public_html/home.php on line 6[/syntax] The home.php: [syntax=php]<?php include('co...
by Z645
Tue Apr 16, 2013 11:35 pm
Forum: PHP
Topic: Blog/comments integration with login
Replies: 7
Views: 1737

Re: Blog/comments integration with login

Explanation please? I tried replacing everything I could think of o-o Line 25 of comments.inc.php; When you call the function "add_comment" (when they submit their comment), instead of using a $_POST variable (or whatever) use a $_SESSION variable. You can't just make one up like a normal...
by Z645
Tue Apr 16, 2013 2:14 am
Forum: PHP
Topic: Blog/comments integration with login
Replies: 7
Views: 1737

Re: Blog/comments integration with login

Explanation please? I tried replacing everything I could think of o-o
by Z645
Sat Apr 13, 2013 10:49 pm
Forum: PHP
Topic: Blog/comments integration with login
Replies: 7
Views: 1737

Blog/comments integration with login

Hi, I just finished the blog and comments tutorial and was wondering if there was a way to integrate the blog thing with the login. So everytime someone wants to post a status or a post, they don't need to post their name (or username). It'll automatically enter it into the database. My code of what...
by Z645
Wed Mar 06, 2013 11:41 pm
Forum: PHP
Topic: Status posting error
Replies: 3
Views: 873

Re: Status posting error

Thanks guys, now to get working on giving that data back to the user :/
by Z645
Wed Mar 06, 2013 4:11 am
Forum: PHP
Topic: Status posting error
Replies: 3
Views: 873

Status posting error

So i tried creating some code of my own and I can't get the status placed into the MySQL database. Also, it shows no errors when I use error_reporting(); home.php [syntax=php]<?php include('core/init.inc.php'); $errors = array(); if (isset($_POST['status'])){ if(empty($_POST['status'])){ $errors[] =...
by Z645
Tue Dec 11, 2012 2:17 am
Forum: Tutorials
Topic: Login Probs again D:
Replies: 2
Views: 887

Login Probs again D:

Hai guys. So my problem is that My user.inc.php file is all correct but it shows the error [syntax=php]Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/a4495253/public_html/core/inc/user.inc.php on line 19[/syntax] My user.inc.php file: [syntax=php]<?php // Ch...
by Z645
Sat Nov 17, 2012 3:53 am
Forum: Other
Topic: [Java] Block Denying
Replies: 3
Views: 1737

Re: [Java] Block Denying

I'll try that permissions. And for commands, I was thinking of maybe something like an on/off command? Also, for adding more blocks to be denied. Where to I put it? Cause I've put them together, and it only shows the Messages for the first block denied only. It doesn't even deny placing of that block.
by Z645
Wed Nov 14, 2012 10:41 pm
Forum: Other
Topic: [Java] Block Denying
Replies: 3
Views: 1737

[Java] Block Denying

So I got the TNTNotifier code. And I wanted to add more stuff onto it like Permissions and Commands. But I'm not getting how that would happen. I've worked a bit on the Commands and Permissions but suddenly the plugin stopped working. So heres the code: NoMoeTNT.java [syntax=java]package me.Z645.nom...
by Z645
Sun Oct 14, 2012 10:49 pm
Forum: PHP
Topic: Share button
Replies: 2
Views: 654

Re: Share button

If you're looking for something to share on Facebook. Use this
by Z645
Sun Oct 14, 2012 10:45 pm
Forum: Suggestions
Topic: Source code to tutorials
Replies: 3
Views: 3417

Re: Source code to tutorials

The reasoning behind no Source Code downloads is so you can have a Trial and Error. If you're just copy/pasting you really aren't learning much. You'll think "Oh this is easy" until it comes to actually having to code something that's not made into a tutorial anywhere.
by Z645
Sun Sep 30, 2012 5:22 am
Forum: Code
Topic: All of the Error functions *Download*
Replies: 3
Views: 1799

All of the Error functions *Download*

Hey guys! So I was running through my docs and suddenly found a list of all the error pages ex. 404 error.
Feel free to download it it's fully styled and what not.
by Z645
Wed Sep 26, 2012 11:10 pm
Forum: PHP
Topic: Profile linking issues
Replies: 1
Views: 564

Profile linking issues

Hey guys. I'm trying to link the Profile link from the "Page" to the users profile using the website.com/users/profile.php?uid= function. But I can't get that link working from the homepage. my profiles link is m but the homepage isn't directing me to that link. (Maybe I'm wording this con...
by Z645
Sat Sep 22, 2012 2:58 am
Forum: Code
Topic: Stop Forum Spam Checking Function
Replies: 15
Views: 4529

Re: Stop Forum Spam Checking Function

Bots can't do Security codes ;)
by Z645
Sat Sep 22, 2012 2:51 am
Forum: General Chat
Topic: A Very Useful Website
Replies: 10
Views: 1768

Re: A Very Useful Website

It's blank? All I see is a template and no test. D:
by Z645
Sat Sep 22, 2012 2:47 am
Forum: General Chat
Topic: Recommendations (spelling?)
Replies: 4
Views: 1107

Re: Recommendations (spelling?)

000webhost No, they block A LOT of PHP. And they are always getting DDoS'd. I would say azok.org, but if you go there you may notice that their domain was revoked. The best thing to do in my opinion is to use x10 Hosting ( http://x10hosting.com/ ). They also offer a paid service ( http://x10premium...
by Z645
Sat Sep 22, 2012 2:44 am
Forum: General Chat
Topic: I want to become a professional web programmer.
Replies: 6
Views: 1304

Re: I want to become a professional web programmer.

Try and Master most of HTML and CSS. Then move into Javascript and Php. Once you complete those 4, you have the option to go into something like Python, or try changing to Programming like C or C++ (Btw, those are similar to Php, so it will become easy if you can master Php first).
by Z645
Mon Sep 17, 2012 3:09 pm
Forum: Suggestions
Topic: Link to main website/youtube channel
Replies: 14
Views: 4830

Re: Link to main website/youtube channel

jacek wrote:
Z645 wrote:I could help with the design if you'd like. I could get some new logos and such.

That would be awesome ! I don't really have a style in mind, any ideas :P ?

We'll, If I try and get something from scratch I'd probably be able to get some nice ideas.
by Z645
Mon Sep 17, 2012 12:55 am
Forum: Suggestions
Topic: Link to main website/youtube channel
Replies: 14
Views: 4830

Re: Link to main website/youtube channel

How about we link it on the front page? Or have recently uploaded videos on here and a link under then for view more. I'm still hoping to create the whole new website, it was meant to be my summer project this year but I got stuck doing other stuff. I could help with the design if you'd like. I cou...