vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Country flag hack? (https://vborg.vbsupport.ru/showthread.php?t=60538)

spence2 03-07-2004 04:52 PM

Quote:

Originally Posted by Roody
Does anyone know which template we are supposed to be editing this in in vB3? The directions say "postbit_userinfo", but there is no template called that.

I think it is postbit_legacy.

Let us know, please.

Roody 03-07-2004 05:08 PM

Quote:

Originally Posted by spence2
I think it is postbit_legacy.

Let us know, please.

A search for the line mentioned in the hack said "Not Found" so Im guessing that wasn't it. Any other ideas?

Kohhal 03-08-2004 07:55 AM

postbit or postbit_legacy, depends which style postbit you are using, put it where you want...

Roody 03-08-2004 10:07 PM

Perhaps the line to edit has changed. I cant seem to find this code. Can someone help me with this? I have searched in all the mentioned templates above and nothing. :(

xg3 03-09-2004 12:24 AM

is there a hack to allow you to add more than 30 countries?

Kohhal 03-09-2004 10:07 AM

Quote:

Originally Posted by xg3
is there a hack to allow you to add more than 30 countries?

If you're using RCx then you can use as many countries as you like, that restriction was removed a while ago :D

Roody 03-10-2004 12:39 AM

Quote:

Originally Posted by TheMasterG
If you're using RCx then you can use as many countries as you like, that restriction was removed a while ago :D

Any ideas on my last question?

Roody 03-10-2004 09:01 PM

Quote:

Originally Posted by Roody
Perhaps the line to edit has changed. I cant seem to find this code. Can someone help me with this? I have searched in all the mentioned templates above and nothing. :(

bumping this up

ChuanSE 03-11-2004 04:52 AM

Roody,

if you want the flags to appear in the new postbit style, you add the code to "postbit" & if ya want them in the old style, you will have to add the code to "postbit_legacy".

Works for me ;)

But what was the line you didn't found?

ChuanSE 03-11-2004 05:04 AM

btw, i add a little tweak to the img link so that if you hoover over the flag, it doesn't say country but it says the countryname.

this is the normal line:

Code:

<if condition="$post[field18]"><img src="images/flags/$post[field18].gif" border="0" /></if>
this is what i changed it to:

Code:

<if condition="$post[field18]"><img src="images/flags/$post[field18].gif" border="0" alt="$post[field18]" /></if>
So this way it pops up the countryname when hoovering over the flag :)
just a simple alt tag...


All times are GMT. The time now is 06:58 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.00982 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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