How do I make this IF statement?

Discuss phpBB 3.0.x in general.
Forum rules
Please post any phpBB 3.1.x related topics in the forum.
[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
Dan27
New member
New member
Posts: 15
Joined: 14 Apr 2009, 21:30
Real name: Dan
Location: A secret location in England
Contact:

How do I make this IF statement?

Postby Dan27 » 27 Jul 2009, 17:50


User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

Re: How do I make this IF statement?

Postby MasterZ » 27 Jul 2009, 17:51

Change == to eq
My MODS:
About Me: -

Dan27
New member
New member
Posts: 15
Joined: 14 Apr 2009, 21:30
Real name: Dan
Location: A secret location in England
Contact:

Re: How do I make this IF statement?

Postby Dan27 » 27 Jul 2009, 17:54

What just "eq" or "equal"?

Thanks :)

User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

Re: How do I make this IF statement?

Postby MasterZ » 27 Jul 2009, 17:56

eq
My MODS:
About Me: -

Dan27
New member
New member
Posts: 15
Joined: 14 Apr 2009, 21:30
Real name: Dan
Location: A secret location in England
Contact:

Re: How do I make this IF statement?

Postby Dan27 » 27 Jul 2009, 17:58


User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: How do I make this IF statement?

Postby Obsidian » 27 Jul 2009, 20:03

You're using the wrong template var. POST_AUTHOR_FULL also includes HTML with the usercolor as well -- I don't know what template var you need though, I couldn't say.

I should know, because I used template pranks way back in the old days to get the site admin on a site I worked on. :lol:
Some of the things I did...just beautiful.

User avatar
Mr. Bond
Member
Member
Posts: 89
Joined: 30 Mar 2008, 20:34
Real name: Bobby
Location: 127.0.0.1
[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: How do I make this IF statement?

Postby Mr. Bond » 27 Jul 2009, 21:44

• •

User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

Re: How do I make this IF statement?

Postby MasterZ » 27 Jul 2009, 21:47

My MODS:
About Me: -

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[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: How do I make this IF statement?

Postby RMcGirr83 » 28 Jul 2009, 11:26


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: How do I make this IF statement?

Postby igorw » 05 Aug 2009, 00:03

If something doesn't show try purging your cache and enabling debug.

- we're poor!

comkid
New member
New member
Posts: 18
Joined: 28 Jun 2009, 11:32
[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: How do I make this IF statement?

Postby comkid » 12 Sep 2009, 05:23

You could also refresh the template ;)

User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: How do I make this IF statement?

Postby Obsidian » 12 Sep 2009, 06:39



[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 3.0.x "Olympus" discussion”

Who is online

Users browsing this forum: No registered users and 18 guests