need help adding custom bbcode

Discuss the development of future releases of phpBB (phpBB 3.x minor releases) and MODing/Coding related questions.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
ppenguin
New member
New member
Posts: 9
Joined: 26 Oct 2007, 14:51
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

need help adding custom bbcode

Postby ppenguin » 26 Oct 2007, 14:59


User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: need help adding custom bbcode

Postby igorw » 27 Oct 2007, 12:49

Why excactly do you need to use getimagesize()? Explain what you excactly want to do ;)

- we're poor!

User avatar
ppenguin
New member
New member
Posts: 9
Joined: 26 Oct 2007, 14:51
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: need help adding custom bbcode

Postby ppenguin » 27 Oct 2007, 18:59


User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: need help adding custom bbcode

Postby igorw » 28 Oct 2007, 08:47

There is no such thing as image download prevention :P I could simply look at the html source or quote the post ;)

- we're poor!

User avatar
ppenguin
New member
New member
Posts: 9
Joined: 26 Oct 2007, 14:51
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: need help adding custom bbcode

Postby ppenguin » 28 Oct 2007, 11:08

Yea it won't stop downloading completely. But it makes harder to do, at least.

User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: need help adding custom bbcode

Postby igorw » 28 Oct 2007, 11:28

If it doesn't stop it it doesn't have much use, does it? I have seen many sites with "download protection", but i don't really see the point of it.

- we're poor!

User avatar
ppenguin
New member
New member
Posts: 9
Joined: 26 Oct 2007, 14:51
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: need help adding custom bbcode

Postby ppenguin » 28 Oct 2007, 12:12

:D We are the guru's, so it's easy for us. But there are a lot of casual lurkers that won't know how to get around the simple system like this.

btw, this pink theme was quite a shock...


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “phpBB Development discussion”

Who is online

Users browsing this forum: No registered users and 33 guests