Template variable for checking user id

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
[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
Foai
New member
New member
Posts: 28
Joined: 05 Jul 2009, 18:58
[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

Template variable for checking user id

Postby Foai » 12 Aug 2009, 18:01

Will you further develope another variable usnig user's id.

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: Template variable for checking group membership

Postby RMcGirr83 » 13 Aug 2009, 02:10


Foai
New member
New member
Posts: 28
Joined: 05 Jul 2009, 18:58
[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: Template variable for checking group membership

Postby Foai » 13 Aug 2009, 09:50

Sir, you are very genius and great ! :rofl:

Foai
New member
New member
Posts: 28
Joined: 05 Jul 2009, 18:58
[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: Template variable for checking group membership

Postby Foai » 13 Aug 2009, 22:24

The variable userid :

(1)only the id in the <> can see , founder (admin) cannot see !

(2) How can 2 id can see together ?

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: Template variable for checking user id

Postby RMcGirr83 » 13 Aug 2009, 22:51


Foai
New member
New member
Posts: 28
Joined: 05 Jul 2009, 18:58
[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: Template variable for checking user id

Postby Foai » 13 Aug 2009, 23:05

:clap: Now I can see also :inlove:

Foai
New member
New member
Posts: 28
Joined: 05 Jul 2009, 18:58
[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: Template variable for checking user id

Postby Foai » 24 Oct 2009, 22:46


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: Template variable for checking user id

Postby RMcGirr83 » 25 Oct 2009, 11:15


sophos9
New member
New member
Posts: 2
Joined: 01 Aug 2012, 23:07
[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: Template variable for checking user id

Postby sophos9 » 01 Aug 2012, 23:21

Is it possible to use the same code to get the group_id and use that in an IF statement?

I would like to show advertisements to everyone outside of a specific group_id?

Thanks in advance

sophos9
New member
New member
Posts: 2
Joined: 01 Aug 2012, 23:07
[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: Template variable for checking user id

Postby sophos9 » 01 Aug 2012, 23:58

I found the answer in one of your other posts - big thanks for the help with this :)

filmtablette
New member
New member
Posts: 2
Joined: 11 Aug 2014, 16:52
[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: Template variable for checking user id

Postby filmtablette » 11 Aug 2014, 18:59

Hello,
I trying to achieve the folowing: if somebody quoted me, this post should be highlighted.
Is it possible to do it with the user_id and IF statements

thank you.

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: Template variable for checking user id

Postby RMcGirr83 » 12 Aug 2014, 01:03

No that isn't possible

filmtablette
New member
New member
Posts: 2
Joined: 11 Aug 2014, 16:52
[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: Template variable for checking user id

Postby filmtablette » 17 Aug 2014, 13:51

it it not possible in general? would be thankful for any advise.


[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 “Modders MOD support”

Who is online

Users browsing this forum: No registered users and 4 guests