vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Miscellaneous Hacks - Clan Tag In Post Bit (https://vborg.vbsupport.ru/showthread.php?t=273551)

ForceHSS 03-27-2014 03:58 AM

You put it to far up it needs to be above

Code:

<vb:else />
                <span class="username guest">{vb:raw post.musername}</span>

So it looks like
Code:

<vb:if condition="$post['field5']">
<font color="red" size="4"><B>{vb:rawphrase field5}[{vb:raw post.field5}]</B></font></vb:if>
            <vb:else />
                <span class="username guest">{vb:raw post.musername}</span>

also you said you used profile field 5 but in that ss you have it as 4

Checkmate MK8 03-27-2014 04:29 AM

Quote:

Originally Posted by ForceHSS (Post 2489827)
You put it to far up it needs to be above

Code:

<vb:else />
                <span class="username guest">{vb:raw post.musername}</span>

So it looks like
Code:

<vb:if condition="$post['field5']">
<font color="red" size="4"><B>{vb:rawphrase field5}[{vb:raw post.field5}]</B></font></vb:if>
            <vb:else />
                <span class="username guest">{vb:raw post.musername}</span>

also you said you used profile field 5 but in that ss you have it as 4

That method only puts the clan tag to the right of the username. My original coding puts it to the left of the username, which is where I want it. It also does not change the fact that the clan tag doesn't display ALT characters correctly and that is what I am looking to correct..

blind-eddie 03-27-2014 01:11 PM

I am having no issues with ATL characters displaying correctly.
Only issue I see is when you use to many ALT characters.

http://blind-eddie.com/forum/imageho...4217b78408.png http://blind-eddie.com/forum/imageho...4217bb7ad1.png http://blind-eddie.com/forum/imageho...4217bb865a.png http://blind-eddie.com/forum/imageho...4217bb8e22.png

Also, I edited your code, see below

Code:

<vb:if condition="$post['field11']">
<font color="red" size="4"><B>{vb:rawphrase field5}<br />[{vb:raw post.field11}]</B></font></vb:if>

Adding the <br /> will add clan tag on new line, looks better.

blind-eddie 03-27-2014 02:09 PM

Strange, alt9733 shows a club symbol for me in IE11 FF.


All times are GMT. The time now is 11:12 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.01117 seconds
  • Memory Usage 1,726KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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