Hello. Is possible set some "clear flag" for users, which don't set any flag? Could you help me? Thank you.
:handshake:
Default Flag
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
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
- RMcGirr83
- 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: Default Flag
You want a "clear flag" set for users that don't choose a flag? If they don't choose a flag nothing will display so that is already a "clear flag".
-
- New member
- Posts: 18
- Joined: 18 Dec 2013, 08:33
- [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: Default Flag
Yes, i wanna set something .gif file for users, which don't have choose a flag.
-
- Senior member
- Posts: 211
- Joined: 11 Feb 2011, 11:27
- Contact:
Re: Default Flag
Here is a clear flag for you
>>>>>> <<<<<<<<<
Very beautiful, don't you agree?
>>>>>> <<<<<<<<<
Very beautiful, don't you agree?
PhpBB3 Version: 3.1.2
We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.
We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.
-
- New member
- Posts: 18
- Joined: 18 Dec 2013, 08:33
- [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: Default Flag
Why you doing kidding me? "Clear flag" is only phrase. I wanna use some universal flag for everybody, who don't have has not set a flag. It's important for me.
-
- Senior member
- Posts: 211
- Joined: 11 Feb 2011, 11:27
- Contact:
Re: Default Flag
PhpBB3 Version: 3.1.2
We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.
We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.
Re: Default Flag
Would be as simple as an HTML else statement <!--IF USER_FLAG -->{USER_FLAG}<-- ELSE --><img src="" alt"" /><!-- ENDIF -->
Steve ©
- RMcGirr83
- 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: Default Flag
That file is only used where users choose a flag (ucp_profile_profile_info.html). It is not used in the other files so do similar as you did for viewtopic_body.html.
-
- New member
- Posts: 18
- Joined: 18 Dec 2013, 08:33
- [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: Default Flag
And i have one idea. In DB I see, that users, which don't set flag, have a set user_flag ID on 0 (zero).
I think, that simplest way is changing info, that if user have set user_flag zero show default flag. What do you thing? It is possible?
I think, that simplest way is changing info, that if user have set user_flag zero show default flag. What do you thing? It is possible?
Return to “Modders MOD support”
Who is online
Users browsing this forum: No registered users and 24 guests