National Flags User Flags

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
martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: National Flags User Flags

Postby martin123456 » 04 Apr 2012, 16:03


steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: National Flags User Flags

Postby steve » 04 Apr 2012, 16:04

Take out the float left code.
Steve ©

martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: National Flags User Flags

Postby martin123456 » 04 Apr 2012, 17:14

Yeah i tried that too it seems if you touch any thing or remove any thing in the above line it puts the flags on top of each other and not next to each other :D

it's got me stumped i'l leave it for a while and let my head calm down a bit.

mikef35
New member
New member
Posts: 38
Joined: 21 Feb 2012, 21:05
[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: National Flags User Flags

Postby mikef35 » 12 Jun 2012, 13:07


hirschheinrich
New member
New member
Posts: 3
Joined: 13 Jul 2012, 15:17
[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

National Flags User Flags

Postby hirschheinrich » 19 Jul 2012, 18:28

Hi, i've just downloaded the addon-zip and will try it.
tks - Heiner

Hodag
New member
New member
Posts: 3
Joined: 28 Oct 2012, 17:14
[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: National Flags User Flags

Postby Hodag » 01 Nov 2012, 16:02

I assume that this mod works on 3.0.11 but I want to make sure. Has anybody experienced problems with it?

Also, am I correct that the flagsaddon.zip posted at the top of this thread is only for "Top 10" functionality (i.e. I have to install the main national flag mod first and then, optionally, the flagsaddon only if I want the top ten list?).

Sorry I am still somewhat stupid about tweaking mods, but I am getting there.

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: National Flags User Flags

Postby RMcGirr83 » 01 Nov 2012, 16:21

You must have the original mod installed first before using the files within this topic.

Hodag
New member
New member
Posts: 3
Joined: 28 Oct 2012, 17:14
[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: National Flags User Flags

Postby Hodag » 02 Nov 2012, 23:08

OK, what I am I missing here. I installed the National Flags mod (albeit with some trouble) and got it all working. Then I installed the "Top Flags" zip referenced at in this thread, and updated top_flags.html from your link with the coffee cup.

Everything is working great except the caption. Your caption is left justified and says "Top 10 National Flags" while mine is centered and says "Top 5 National Flags". It displays 10 flags (well only 9, but I only have 9 entered so far so that is correct) but where the heck is the code for the caption? Or do I really need 10 unique flags for this to work?

BTW this is a really cool mod!

martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: National Flags User Flags

Postby martin123456 » 03 Nov 2012, 01:04


Hodag
New member
New member
Posts: 3
Joined: 28 Oct 2012, 17:14
[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: National Flags User Flags

Postby Hodag » 03 Nov 2012, 02:44


digitalpro
New member
New member
Posts: 3
Joined: 05 Nov 2012, 00:05
[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: National Flags User Flags

Postby digitalpro » 05 Nov 2012, 00:28

Hello Rich - first of all, thank you for the chat and this mod for the user flag. Little help needed...

I installed the mod, uploaded the flag_addon.zip and top_flags.html. Now, I am not sure what do I need to do to have the "TOP 10 NATIONAL FLAGS" shown on home page of this site on mine? Could you please enlighten me?

Thanks,
dave

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: National Flags User Flags

Postby RMcGirr83 » 05 Nov 2012, 01:36

The zip gets unzipped and the files uploaded into the correct places...then refresh the template in the ACP.

digitalpro
New member
New member
Posts: 3
Joined: 05 Nov 2012, 00:05
[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: National Flags User Flags

Postby digitalpro » 05 Nov 2012, 03:06

I unzipped the zip and put the top_flags.html file in the "root\styles\prosilver\template" dir, uploaded the root folder into the root of forums, went into ACP and refreshed the template and still no luck.

The site is http://English.Asia/abc, if you could, kindly take a look and let me know what I did wrong.

Also, when I access http://english.asia/abc/flag_users.php, i see the FLAG_DISABLED message, I am pretty sure, I have enabled the mod. Any idea.

Again, thank you for your help!

Thanks,
dave

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: National Flags User Flags

Postby RMcGirr83 » 05 Nov 2012, 10:45

You didn't do it correctly. Open the install xml file in your browser and read what it states. root means to copy the files found in the folder into the root directory of your forum...not into a new directory called root.

digitalpro
New member
New member
Posts: 3
Joined: 05 Nov 2012, 00:05
[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: National Flags User Flags

Postby digitalpro » 17 Nov 2012, 23:30

I think I found what I did wrong... I used the mod from here https://www.phpbb.com/customise/db/mod/ ... r_edition/ instead of here: https://www.phpbb.com/customise/db/mod/ ... 75ca80382a

I did "uninstall" and "install" and now getting "NO_USER_HAS_FLAG" msg here @ http://english.asia/abc/flag_users.php

and still do not see top flag on the index page.

Help please


[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 5 guests