vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - vBulletin Flags In Postbit (https://vborg.vbsupport.ru/showthread.php?t=159252)

freddymaze 11-19-2007 10:51 AM

Installed. Uninstalled.

nyunyu 11-21-2007 01:17 PM

It works!! Thanks for this useful hack. Any plan to release an animated flag?

mauriceo 12-08-2007 09:51 AM

I'm using version 3.6.8 and can choice in the user profile the flag (only diggits available) but bihind or below the MSN or AIM icons i dont see any flag, where do i have to look to see the flag?

Here the code what i did changed.
Code:

                                ...<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
<!-- / flags start -->
<div>
<if condition="$post[fieldXX]"><img src="images/flags/$post[fieldXX].png"></if>
</div>
<!-- / flags end -->

                        </div>                                       
               
        </td>
        <if condition="$show['moderated']">...


Jase2 12-15-2007 01:24 PM

I followed the instructions but I can't get it to work. When I go in my profile it just shows the two letters that it said copy and paste.

And nothing shows in the post bit.

Regards Jason :)

gforce75 12-28-2007 11:23 AM

Hey guys i figured it out and it's so simple. You see that field option? You need to change it to whatever your field number is. Mine was 8. I left it at xx and just started to look at the code. Anyways, change it to your number and make sur ethe images point to your directory. You'll be fine!

franzjuve 02-01-2008 03:14 AM

Quote:

Originally Posted by freddymaze (Post 1385455)
Installed. Uninstalled.

same for me

TCE Killa 02-01-2008 01:28 PM

Thanks man.

River_rush 02-01-2008 06:51 PM

installed, and after changing the flag list to reflect what actually is there, changing the image/flag to the full url and making sure I put the right field number in, it works perfectly, thanks

TCE Killa 02-02-2008 11:57 PM

If you want your flag to show up next to your location - as so in the screenshot, simply replace your location, so find...

PHP Code:

<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if> 

Replace with this:

PHP Code:

<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]<!-- / flags start -->
<if 
condition="$post[field32]"><img src="images/flags/$post[field32].png"></if>
<!-- / 
flags end --></div></if> 

All I did was take out the div tags and added one at the end.

Screenshot: https://vborg.vbsupport.ru/external/2008/02/49.jpg

Magnusson2u 02-07-2008 04:18 PM

This looks GREAT! Can people use multiple flags?


All times are GMT. The time now is 01:06 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.01102 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_php_printable
  • (1)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
  • (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