Search found 3234 matches

by jacek
Thu Aug 11, 2016 11:11 pm
Forum: Tutorials
Topic: Blog(including commenting) Tutorial
Replies: 4
Views: 21355

Re: Blog(including commenting) Tutorial

You're in the right direction. I can't quire remember how the blog tutorial goes but if I remember rightly there is a column for the title and one for the content? Essentially you need to add a new column to the table to store a link to the product document so you can use that on the page. I guess a...
by jacek
Sun Jul 31, 2016 7:16 pm
Forum: Tutorials
Topic: Blog(including commenting) Tutorial
Replies: 4
Views: 21355

Re: Blog(including commenting) Tutorial

Do you have the products stored in a database or as static pages?

You'd need to store the link to the product document in the database and output it to the page here instead of setting a fixed value
by jacek
Sun Jul 31, 2016 7:14 pm
Forum: Tutorials
Topic: Problem to make upload images in blogpost.php
Replies: 3
Views: 3285

Re: Problem to make upload images in blogpost.php

You're almost there, there is just one slight mistake On this line [syntax=php]imagejpeg($thumb, "{$GLOBALS['path']}/avatars/{$_GET['pid']}.jpg");[/syntax] $_GET['pid'] will not be defined. That is the variable you see in the address bar on the edit page so because you're not editing anyth...
by jacek
Wed Jun 22, 2016 9:03 pm
Forum: General Chat
Topic: Frameworks!! (?)
Replies: 4
Views: 16735

Re: Frameworks!! (?)

I've always been a little hesitant to build something in a framework, I'm not really sure why though - I always imagine doing loads of work on a project then coming up to some limitation of the framework being used and basically having to start again. Plus I never really see the benefit, it's not th...
by jacek
Wed Jun 22, 2016 8:57 pm
Forum: PHP
Topic: Temporary Download Script - Unlink file after download
Replies: 3
Views: 16366

Re: Temporary Download Script - Unlink file after download

To do it once the time was reached you'd need a scheduled task to run every hour or so to check for expired files and remove them. I'm not sure how many hosting providers provide that sort of thing though :/ You'd essentially need to do a query for all expired files [syntax=sql]SELECT stuff FROM fil...
by jacek
Wed Jun 22, 2016 8:51 pm
Forum: General Chat
Topic: New forum software?
Replies: 19
Views: 19210

Re: New forum software?

I say we stick with phpbb but just maybe reskin it! =) Yeah that's pretty much the current plan when I get some time, feel like I've been saying that about everything recently. One of the things I really don't like about phpbb is how hard it is to modify. The addon market is pretty good but they al...
by jacek
Wed Jun 22, 2016 8:48 pm
Forum: General Chat
Topic: How's life?
Replies: 4
Views: 5234

Re: How's life?

Congrats on the house! Im in the market for a house right now but first I need to save up some more money. Thanks :) I was lucky really, was living at home so only had to pay half of the bills and stuff while having a full time job. I think it took me about 2 years to save up enough. Where I live h...
by jacek
Wed Jun 22, 2016 8:46 pm
Forum: Tutorials
Topic: Private Message System CSS
Replies: 1
Views: 2712

Re: Private Message System CSS

Hey,

Sorry but I don't make any of the code available, the idea is that you use the videos to learn something then try and do something yourself. The code from most of the videos isn't really complete enough to actually use anyway.
by jacek
Thu May 26, 2016 8:33 pm
Forum: Premium Items
Topic: Images Not Showing?
Replies: 1
Views: 13792

Re: Images Not Showing?

Hey,

It looks like you're missing the files in the ext folder (images, stylesheets etc)

Did you upload that with the other files? It needs to be in the same folder as the index.php file.
by jacek
Thu May 26, 2016 8:29 pm
Forum: PHP
Topic: Temporary Download Script - Unlink file after download
Replies: 3
Views: 16366

Re: Temporary Download Script - Unlink file after download

Hey, Sorry for the delay! You could put the unlink() straight after the readfile() readfile() should block until the file has been fully read since it returns the number of bytes read so you won't remove the file before it's downloaded. So this should work [syntax=php] readfile('core/files/'. $row['...
by jacek
Fri Apr 22, 2016 6:38 pm
Forum: PHP
Topic: profile upload
Replies: 1
Views: 3579

Re: profile upload

Hey, It looks like the $extensie variable is not being defined - I can only see that used in the id statement anyway. This is also likely why you're always getting the extension error instead of the upload code being run. You probably want something like this to get the file extensions [syntax=php]$...
by jacek
Wed Mar 30, 2016 8:00 pm
Forum: Tutorials
Topic: [Add folder]Limit File Download Speed
Replies: 1
Views: 2746

Re: [Add folder]Limit File Download Speed

Hey, I don't think I'm completely understanding what you're after. If you're after a folder structure like you might get on something like Dropbox then it's surprisingly hard to do but here goes my explanation :P There are a couple of ways that I can think of; either use the actual filesystem or sto...
by jacek
Thu Mar 10, 2016 10:39 pm
Forum: Tutorials
Topic: Multiple forms to mailing list
Replies: 4
Views: 4611

Re: Multiple forms to mailing list

Hey, It looks like your using a two step form but trying to use the data from both of them at the last step. $_POST doesn't work the same way as $_SESSION, it's only there for one page load unlike $_SESSION which will stay until the user leaves. You can pass the email address through to the form on ...
by jacek
Mon Jan 25, 2016 11:55 pm
Forum: PHP
Topic: Bug with PHP 7
Replies: 5
Views: 5302

Re: Bug with PHP 7

Ooo someone is experimenting with PHP 7 before I even did :P It has some features that I love thought! the reason you got a blank page might have been because of the display_errors setting in the php.ini. By default this is set to false and means any error at all will just cause the result to be a b...
by jacek
Mon Jan 25, 2016 11:52 pm
Forum: CSS / Styling
Topic: Table Positioning
Replies: 4
Views: 16334

Re: Table Positioning

As killfrog said it's a good idea to try and use more modern techniques for this sort of thing. Saying that if you're just playing around and learning then it's a good place to start. Also I think the reason it wrapped under the menu is because the border size is not included in the width so you had...
by jacek
Mon Jan 11, 2016 10:18 pm
Forum: General Chat
Topic: How's life?
Replies: 4
Views: 5234

Re: How's life?

Still pretty quiet! Sorry! My life has changed pretty massively since this place was all active, still working on that I promise. I got a full time job doing PHP stuff mostly and bought a house - so grown up! I've also got an awesome recording set up bookmarked on Amazon for when I get my desk sorted.
by jacek
Mon Jan 11, 2016 10:16 pm
Forum: General Chat
Topic: New forum software?
Replies: 19
Views: 19210

Re: New forum software?

Is that app that Tapatalk thing? I always find the prompts to install the app really annoying.

the alternatives really do suck though, phpbb seems to be the best there is and it's rubbish :P
by jacek
Thu Oct 29, 2015 9:12 pm
Forum: Premium Items
Topic: link_tracker
Replies: 3
Views: 4438

Re: link_tracker

The first is caused by the browsercap update - the database file it creates has not become very large requiring more memory. The latest upload of the item has the memory limit set higher to get around this. You may have to manually run the update, instructions here https://github.com/browscap/browsc...
by jacek
Wed Jul 29, 2015 6:41 pm
Forum: General Chat
Topic: Questions and things regarding rebooting the activity here.
Replies: 22
Views: 20408

Re: Questions and things regarding rebooting the activity he

Ecaz wrote:I'm still here!

Just can't access my old account for some reason. Can't use "Forgot Password" and if I type the wrong password I instantly exceed the maximum amount of login attempts.
Temor wrote:I had that problem too. Jacek had to manually reset my password.
I can do this too :) PM me :)
by jacek
Wed Jul 29, 2015 6:40 pm
Forum: General Chat
Topic: New forum software?
Replies: 19
Views: 19210

Re: New forum software?

Ecaz wrote:XHBB? ;)
It does exist :P

Never been used properly though and I don't really feel like maintaining it will be fun.
by jacek
Sun Jul 19, 2015 5:05 pm
Forum: General Chat
Topic: Questions and things regarding rebooting the activity here.
Replies: 22
Views: 20408

Re: Questions and things regarding rebooting the activity he

Even just switching software might help, phpbb is pretty much the most common thing on the internet.

Also totally unrelated but I'm making the site HTTPS at the moment :)