![]() |
I don't know if anyone has already posted this but I had to make a few adjustments to the what's inserted into the template to get it working in vBulletin 4.2.2 PL4 using Postbit Legacy naturally.
I chose to place it under the built in "Location" field but you can really put it anywhere you want. In postbit_legacy find: HTML Code:
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if> HTML Code:
<!-- Country Flags Start --> The last thing to note is that this assumes the location of the flags is /forums/images/buttons/flags so adjust accordingly. Just a friendly "FYI" for anyone trying to get this running on 4.2.2. Works like a charm too. |
Quote:
I'm using 4.2.2PL4 and I got everything to work except I can't seem to get the pictures to show? It's just showing image error with the title of the file.. I put them into my public_html -> Images -> Buttons -> Flags I extracted all the flag gif's into one folder, was I not supposed to do that? I don't know what I'm doing wrong. |
hmm nice mod
|
Works well
|
1 Attachment(s)
Here we go...pictures are in the right location. The word of the flag lands in the correct position underneath the location. I posted screen shots of everything.
Attachment 153443 Attachment 153444 Attachment 153445 Attachment 153446 Attachment 153447 Attachment 153448 |
hello, please check your uploaded images again.
i've taken a look at your website and for example http://www.aspenandvolare.com/forums...gs/Germany.GIF doesn't exist in that location too. |
Yes I took the /forum out of the code because they were not there.
<!-- Country Flags Start --> <vb:if condition="$post['field5']"><dt><style="text-align:left"> Country:</dt> <dd><img src="/images/buttons/flags/{vb:raw post.field5}.GIF" align="middle" alt="{vb:raw post.field5}" border="" /></dd></vb:if> <!-- Country Flags End --> |
Looks like you fixed it :)
|
Quote:
works this way with Version 4.2.3 |
replace Users Flag! with {vb:raw post.fieldX} to show countryname when hovering ;)
|
All times are GMT. The time now is 01:05 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|