vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - CountryFlag (https://vborg.vbsupport.ru/showthread.php?t=97664)

aceofspades 07-14-2006 09:48 PM

Quote:

Originally Posted by hanna
anyone know how to incorporate this hack into the todays post section. For example, if a users posts, it will show the flag under the last poster section beside the username. Similar to the site like this:

http://www.gotfrag.com/portal/forums/

Thanks for your help!

Did you just copy that sentance out of my request in the request section? Its word for word the same :o

Regardless of that, it sounds like there is a demand for this from several people, i would REALLY appreciate it if someone could take the time to find out how to add it next to the username next to the latest posts on forum home and latest posts when viewing inside a forum.

nathanaus 07-15-2006 12:31 PM

Quote:

Originally Posted by Belder
Nice add-on :up: many thanks - *Installed*

nathanaus: It's in the zip file, together with the flag images and installation instructions ;)

Okay weird. I douwnloaded it but all I have are the flag images. No instructions and no list.

I'll try downloading again then

leftie 07-15-2006 08:04 PM

Has the support for this hack finished. Seems like it.

Bubble #5 07-16-2006 12:03 AM

Quote:

Originally Posted by aceofspades
how to add it next to the username next to the latest posts on forum home

Not possible on a stock vB forum. Extensive hacking would have to happen first.

GNDI 07-16-2006 06:43 AM

I don't know about the support, but I do know this:

If you follow the guide in the top of this page, it will work for you.

I did make an alternative guide to this hack, in case you should like to get the country name to show, instead of the flags. Just look on a earlier page.

Follow the instruction step by step on this modifikation, and all will work :)

mustangcanada 07-18-2006 05:50 AM

installed the hack, but changed it to "Favorite NHL team" instead of country (considering my forums are for canadians.)

http://mustangcanada.com/forums/showthread.php?t=114

Renmiri 07-24-2006 07:31 PM

You are an angel!!!!

I added a "Bio" field to my User profile screens and it works like a charm!
http://sinsdawn.ffproject.net/showthread.php?t=133

Polo 07-24-2006 08:15 PM

[high]* Polo installs ;)[/high]

GNDI 07-25-2006 06:25 AM

Quote:

Originally Posted by Renmiri
You are an angel!!!!

I added a "Bio" field to my User profile screens and it works like a charm!
http://sinsdawn.ffproject.net/showthread.php?t=133

dead link

Renmiri 07-25-2006 10:32 PM

Quote:

Originally Posted by GNDI
dead link

oops!

http://sinsdawn.ffproject.net/showthread.php?t=137

Sorry, the forum launches this week so we are moving a lot of stuff around! :D

optrex 08-16-2006 01:19 PM

Is this working on 3.6.0 ok?

twilighthush 08-17-2006 06:55 PM

^I guess the best way to know is to try? I'm going to give it a shot later today. I'll post the results here.

Oblivion Knight 08-18-2006 07:19 AM

Quote:

Originally Posted by optrex
Is this working on 3.6.0 ok?

It works fine on 3.6.0.. ;)

optrex 08-18-2006 09:29 AM

Thanks ;)

php 08-18-2006 03:46 PM

Can you use custom Images, i suppose you can but will they be distorted if its not the same size?

i.e did you make it have a height: and width: parameter when calling the image ;)

Avalon111 09-08-2006 11:04 AM

great!!!

thank you

freshbreeze 09-12-2006 03:34 PM

anyone has new "countryflag" modification for version 3.6.0 ?

Thomas P 09-12-2006 04:55 PM

Hmmmm, this hack would be cool if the country was auto-determined by using the ip information ;)

GNDI 09-20-2006 03:12 PM

works fine on VB 3.6.1

Mecho 09-29-2006 05:54 PM

hi .. i have problem with edit template .. i installed "Activity Modification" . and in that hack i moved this code from postbit and (.._legacy) :
Code:

                                <div>
                                        $vbphrase[posts]: $post[posts]
                                </div>

so where should i put code for this hack ?!

tnx

GNDI 09-30-2006 09:00 AM

under the code from you aktivity modifikation or just above, it is only a question about where the output is located

Mecho 09-30-2006 01:50 PM

tnx for response .. i tested it in many places in postbit .. but nothing shows up :(

i made Fields . and i replace X with no of my fileds . but .....

what shall do mate ?
tnx

rareclownfish 10-16-2006 02:13 PM

Anyone get this to work on 3.6.2 yet?

optrex 10-16-2006 02:37 PM

Quote:

Originally Posted by rareclownfish
Anyone get this to work on 3.6.2 yet?

yes thanks

Mecho 10-16-2006 04:19 PM

is it possible that it we have flags without eidtable of users . i mean flag shows up by ip of each user ..

tnx

tug? 10-17-2006 01:52 PM

can you have more than one flag appear? I'd like to use this to display up to 7 little icons. any ideas?

a squared 10-17-2006 06:32 PM

Glad to hear that this works in 3.6.2!

KenDude 10-18-2006 01:57 PM

I followed the instructions verbatim, added in the new user field (field8 in my case) and modified the template cutting and pasting in and replacing the 3 X's with 8's and when I go view posts I don't see the user's country, even my own. The .gif files are in /image/flags where they are supposed to be. Any idea what went wrong?

Forum is at www.caymanclub.net

Thanks!

GNDI 10-18-2006 09:34 PM

there are more than 3 x's to replace :) look at it again you might find a few more x's :)

Paul_d_g 10-22-2006 07:57 PM

Looks like you fixed it as you do have the flags now

KenDude 10-22-2006 10:38 PM

The problem wasn't the three places the problem is that I'm not using the legacy template, that's not what gets installed by default, I found the default template and modified it and now it works.

perfphysio 11-11-2006 09:41 AM

OK, my forum shows the falgs nicely on the userCP and now on the members list. But what I would like is the flag to show under their usertitle whc you are viewing a posting made by that user on the /showthread.php page of the forum.

Can you please advise how and where to get the flag to show at this level as well. This makes it better for advising someone directly when reading their post on an international forum. many thanks

donaldgkimball 11-12-2006 12:04 PM

Quote:

Originally Posted by Boofo
Add class="inlineimg" right after the src="whatever" in the image link. ;)

thanks for this tip but the flags are still not lined up as they should be next to the usernames.

any suggestion please..
many thanks

see attachment:

McMendo 11-12-2006 10:52 PM

How can I have the name of the countries with special characters in their own language?

E.g., country option Espa?a should go with flag image espana.gif

Is it possible to do it with cyrillic instead of latin characters?

Chadi 11-25-2006 05:04 PM

Any way to have this show the country in text instead of gif icon?

pcsb23 12-17-2006 08:44 PM

Just installed it on a vB 3.6 forum, worked perfectly thanks.

Perhaps you should move it up to the 3.6 area?

Paul

nogerorob 12-19-2006 07:26 PM

Hey I just installed this. I didn't realize I needed to modify both postbit and postbit legacy at first. It works in 3.6. Thanks so much.

rob

Funky Diver 12-21-2006 09:17 PM

Excellent... fits the bill perfectly :D

Eagle Eyes 12-26-2006 11:05 PM

Flags are uneven, anybody got better flags?

Defence.pk

KennyK 01-10-2007 01:03 AM

Three or four things...

1. This is my first post on this board ever... Greetings :)

2. I liked the included flags pretty well, and was greatful just to find this (thanks tnguy3N). In truth though, what I really wanted was a consistently-sized set of flag icons that would fit OK on a single line or in a table (I have non-VB pages I want to display them on too). I spent a while surfing for another set, but didn't find anything that I particularly liked. So... I played around with the original flags from this mod and found that they resize pretty well in Photoshop to a consistent 26x14 pixels. There are only a couple/three flags I'm not sure I want to resize in width (might be noticeable).

3. Two things came up while working with my custom flag set. When saving my new files Photoshop warned me about keeping file name lengths to 31 characters or less for certain MAC browser compatibility. It also replaced the spaces in the file names with dashes by default.

I've seen a couple references on the web that using spaces in filenames is risky. Am I being paranoid, or has anyone else run into problems with spaces or filename length lately?

(Also see sample icons in the size I'm working on to see if you like...)


All times are GMT. The time now is 12:00 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01541 seconds
  • Memory Usage 1,813KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete