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)

specmav 07-04-2006 08:03 PM

Flag won't show up after I edited postbit-legacy template?

Here is the code. field5 is the correct field #. I uploaded the flags directory to [forum root]/images/.

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

<if condition="$post[field5] != ' ' "><div>Country:<img src="images/flags/$post[field5].gif" title="$post[field5]" align="center">
</div></if>

I am using the Kirsch style if that makes a difference.

Thanks

nathanaus 07-05-2006 06:15 AM

Uh
Quote:

Options:
[copy and paste list of countries in flags_list.txt to this option field]
Where would that flags_list.txt file be exactly?

Pete C 07-06-2006 03:38 PM

Nice add-on :up: many thanks - *Installed*

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

Polo 07-06-2006 03:53 PM

will definetly install ;)

Masked Crusader 07-11-2006 07:45 PM

Too make this even cooler, I would love to see under the 'USA' flag, the ability to pick a state flag. Just a little suggestion.

leftie 07-12-2006 10:30 AM

Quote:

Originally Posted by shanejeffery86
Too make this even cooler, I would love to see under the 'USA' flag, the ability to pick a state flag. Just a little suggestion.

Yep, i've asked for something similar. The ability to choose a second flag.

hanna 07-12-2006 05:19 PM

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!

sdebank 07-13-2006 08:10 AM

Tried editing postbit_legacy in templates and the flags don't show, might it work if you change postbit?

GNDI 07-13-2006 09:01 AM

Quote:

Originally Posted by sdebank
Tried editing postbit_legacy in templates and the flags don't show, might it work if you change postbit?

have you uploaded the flag images to the right location?

dcg 07-13-2006 12: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!

Excellent idea, anyone know how to do this?

I would be willing to pay for this as well.

-=DCG=-


All times are GMT. The time now is 07:30 PM.

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.01329 seconds
  • Memory Usage 1,735KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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