Search found 345 matches

by Helx
Mon Sep 30, 2013 12:25 am
Forum: Code
Topic: BBCode
Replies: 10
Views: 4471

Re: BBCode

This is a very basic method. It will not wrap around highlighted text. Replace [\b][\/b] with whatever you want your bbcode to display [syntax=xhtml]<a href="#" onclick="document.getElementById('your_textarea_id').value += '[\b][\/b]'">Bold</a>[/syntax] Instead of using the hash...
by Helx
Sun Aug 18, 2013 2:14 am
Forum: Code
Topic: Jaceks Temporary Link Download Script - Working Version
Replies: 8
Views: 2647

Re: Jaceks Temporary Link Download Script - Working Version

Thanks for posting a working version (not too sure what was wrong with the original tutorial?), davestechuk! Not exactly a tutorial, so I thought the topic should go in the user submitted code. I downloaded the file, checked code, and scanned with virustotal. You can see the scan result here: m I ca...
by Helx
Fri Aug 09, 2013 3:27 am
Forum: General Chat
Topic: A sign of life!
Replies: 6
Views: 4851

Re: A sign of life!

Oh good.
I was starting to think he was dead :3
by Helx
Tue Aug 06, 2013 12:20 pm
Forum: PHP
Topic: help with paypal api
Replies: 3
Views: 1887

Re: help with paypal api

Hi there, First things first: make sure you have a PayPal business account! You need it if you want to get pingbacks from PayPal after a successful action. I found a little online tutorial from SmashingMagazine, it explains how to setup the main class and connect to the API. It also goes over some b...
by Helx
Sun Jul 28, 2013 1:02 pm
Forum: General Chat
Topic: Kickstarting the activity here.
Replies: 45
Views: 18459

Re: Kickstarting the activity here.

How About A Better Forum And Website, With A Nice Layout. How About A Better Section And a Place to download the scripts from users. How about some more YouTube in the community. Nice ideas, but we simply can't do a few of them. We can't modify the website or forum, that's up to Jacek (I believe he...
by Helx
Sun Jul 28, 2013 12:10 am
Forum: General Chat
Topic: Kickstarting the activity here.
Replies: 45
Views: 18459

Re: Kickstarting the activity here.

I think we should start submitting our own tutorials in the user-submitted content section. More tutorials for a wider range of topics, more specifically Minecraft. The post Temor made in this section titled: "Minecraft!" attracted 1,000 browsers in a few days. I think we should use that t...
by Helx
Fri Jul 26, 2013 2:24 am
Forum: General Chat
Topic: Minecraft Server List "Coders Wanted"
Replies: 3
Views: 4594

Re: Minecraft Server List "Coders Wanted"

I feel like this should have been posted in the general chat section.
Moved.
by Helx
Sat Jul 20, 2013 10:35 pm
Forum: Tutorials
Topic: Blog script problem(2)
Replies: 1
Views: 1403

Re: Blog script problem(2)

Line 22 of the code you supplied.

You put a tilde (~) where you should have a grave/backtick (`).
by Helx
Mon Jul 15, 2013 11:23 pm
Forum: Tutorials
Topic: Blog php script problem
Replies: 1
Views: 1227

Re: Blog php script problem

Line 42.

You have 2 brackets in the while loop.
Change:

[syntax=php]while (($row = mysql_fetch_assoc($posts) !== false){[/syntax]
To

[syntax=php]while ($row = mysql_fetch_assoc($posts) !== false){[/syntax]
by Helx
Sat Jul 13, 2013 11:55 pm
Forum: Introductions
Topic: Hello from Typically Spanish
Replies: 1
Views: 24733

Re: Hello from Typically Spanish

Welcome to the forums typspan!

As far as your error goes, it would be a good idea to header over to the Premium Items subforum and give us some really in-depth information so we can help you with your problem :)
by Helx
Sat Jul 13, 2013 10:39 am
Forum: PHP
Topic: JSONAPI Not sending commands to my mc server
Replies: 2
Views: 1304

Re: JSONAPI Not sending commands to my mc server

It could just be a case of broken plugins, even if you do have the latest version. I don't believe it's your code, though it may be worthwhile to look at the update notes and API changes with the new version of the plugin (maybe even plugin config? Possible change of port listening?). FYI, the IP 67...
by Helx
Tue Jul 02, 2013 12:11 pm
Forum: PHP
Topic: MYSQLI not working.
Replies: 2
Views: 1154

Re: MYSQLI not working.

Could you please give us the actual error?
If there's any sensitive information in the error statement, then please blank it out/replace it.

:)
by Helx
Sat Jun 29, 2013 2:26 pm
Forum: PHP
Topic: Minecraft Player Face Rendering problem
Replies: 17
Views: 3573

Re: Minecraft Player Face Rendering problem

Alright, that's odd.

Remove the header thing on line one, and put the following code just below the PHP opening tags:

[syntax=php]error_reporting(E_ALL);
ini_set('display_errors', '1');[/syntax]
Paste any errors :)
by Helx
Sat Jun 29, 2013 2:21 pm
Forum: PHP
Topic: Minecraft Player Face Rendering problem
Replies: 17
Views: 3573

Re: Minecraft Player Face Rendering problem

Yes, CHMOD the folder 'cache' recursively to 777.
by Helx
Sat Jun 29, 2013 2:15 pm
Forum: Tutorials
Topic: Private Message System Pt. [08]. Can't insert messages...
Replies: 8
Views: 1955

Re: Private Message System Pt. [08]. Can't insert messages..

You can set a variable with time();

Eg.
[syntax=php]$thisIsTheTime = time();[/syntax]
by Helx
Sat Jun 29, 2013 2:12 pm
Forum: PHP
Topic: Minecraft Player Face Rendering problem
Replies: 17
Views: 3573

Re: Minecraft Player Face Rendering problem

Alright.

Take a look at line 7 of the code. You need to create folders like that in the same directory as the script.
Have you done that?

Script.php
cache
-player_skins
--faces

Also be sure to CHMOD the folder to 777 (it's not normally an issue with this script, but I guess it's still possible).
by Helx
Sat Jun 29, 2013 1:55 pm
Forum: PHP
Topic: Minecraft Player Face Rendering problem
Replies: 17
Views: 3573

Re: Minecraft Player Face Rendering problem

What have you set the username to?
Remember that case matters.

Eg:
http://skins.minecraft.net/MinecraftSkins/abcedea.png
Is not the same as
http://skins.minecraft.net/MinecraftSkins/Abcedea.png
by Helx
Sat Jun 29, 2013 1:30 pm
Forum: PHP
Topic: Minecraft Player Face Rendering problem
Replies: 17
Views: 3573

Re: Minecraft Player Face Rendering

Sorry - just had to split this topic. I think I know what your problem is. You don't have GD or ImageMagick installed. If you use a professional host, you're going to need to ask them to install 'GD' for you. If you're on a VPS, you'll have to do it yourself, just Google 'how to install GD on <inser...
by Helx
Sat Jun 29, 2013 1:17 pm
Forum: Tutorials
Topic: Private Message System Pt. [08]. Can't insert messages...
Replies: 8
Views: 1955

Re: Private Message System Pt. [08]. Can't insert messages..

At line 13 of the code, replace: [syntax=php]mysql_query($sql);[/syntax] with [syntax=php]mysql_query($sql) or die(mysql_error());[/syntax] This will kill the script if any errors occur in that single query. If there are no errors, the rest of the code AND query will be unaffected. If any errors are...
by Helx
Sat Jun 29, 2013 1:08 pm
Forum: Tutorials
Topic: private message system pt. 11 mysql query
Replies: 1
Views: 927

Re: private message system pt. 11 mysql query

I'd recommend that you have a quick look through this post:
viewtopic.php?f=7&t=2223

If you get any errors displayed from following that guide, please put them in this thread (or fix them, if you know how).
by Helx
Sat Jun 29, 2013 1:04 pm
Forum: PHP
Topic: Minecraft Player Face Rendering problem
Replies: 17
Views: 3573

Re: Minecraft Player Face Rendering

I should be able to copy and paste the code and it work right. I understand most of the stuff in the code. I copied and pasted the code into php tags and it wouldnt work. It could be your host or server software. Some hosts don't like people connecting outside of their network through PHP. Some sof...