<dt style="width:100%;"><!-- BEGIN fnum --><span style="width:10%;float:left;text-align:center;">{fnum.FLAG}<br />{fnum.L_FLAG_USERS}</span><!-- END fnum --></dt>
No matter what i add it wont push the flags to the center they remain on the left.
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
it's got me stumped i'l leave it for a while and let my head calm down a bit.
<dt style="width:100%;"><!-- BEGIN fnum --><span style="width:10%;float:left;text-align:center;">{fnum.FLAG}<br />{fnum.L_FLAG_USERS}</span><!-- END fnum --></dt>
No matter what i add it wont push the flags to the center they remain on the left.
<dt style="width:100%;"><!-- BEGIN fnum --><span style="width:100%;float:left;text-align:center;">{fnum.FLAG}<br />{fnum.L_FLAG_USERS}</span><!-- END fnum --></dt>
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.
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?
Thanks for that; I did find the string in common.php and patched it. The other problem I had when I installed the Top Flag mod is that it inserted this text in the top_flags.hmtl
But nowhere in the distribution was there a hide.png so that came up as a broken link. I note that on this forum the image is named hide.gif (not a png) but in either case the file is not found in either the National Flags 2.0.4 package or the Top Flags mod. I am sure this is just an oversight when packaging the files for disgtribution.
So with that code excised (my template does not need it) and the tweak to common.php all is right with the world.
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?
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.
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.