![]() |
vBulletin Country Flags Modification
1 Attachment(s)
Hello,
vBulletin Country Flags Modification My first modification to vBulletin 3.7.x, and my first vB modification in a long time. I used my old phpBB mod and did some tweaks. Installation instructions to include in your site are included Code:
======================= http://www.k4z.org/blog/wp-content/uploads/screen1.jpg In Usercp http://www.k4z.org/blog/wp-content/uploads/screen2.jpg More modifications soon! For the RAR version visit here. |
Has been released at least 3 times, in what this one is better ?
|
Quote:
For start my attachments include installation for both legacy and postbit legacy which makes it easy for the less experienced and for seconds is my images don't match the size of an avatar! Smaller smoother items.. |
hello SLR722 kinda new to all this but have succesfully added a few mods to my new board but I just cannot seem to get this to work i have followed the instructions and have the option to choose the flag no problem but nothing appears am I editing the postbits wrong help please
|
Hello
Can you tell me what the actual problem is? What template are you using postbit or postbit_legacy? |
I am using postbit_legacy, I have the option to choose a flag in the ucp and in my profile the word Ireland shows up beside country flag, however there is no image I have checked the pathe to the flag folder with the url and it shows up so the only thing I can think of is that I am editing the template wrong. Thanks for your reply sorry for being a pest.
|
Quote:
Please attach your full template code. |
1 Attachment(s)
Hi there there is no flag in the postbit nor the word Ireland however if I got to my profile and click about me my country flag is stated as Ireland and there is an option in the UCP to change it, thanks again for your time the posbit_legacy template is attached.
|
Hi Slr722 sorry for wasting your time but I have resolved this now thanks
|
Its a good feeling when you solve a coding problem. Can you post the solution of what was wrong and how you solved it incase someone else has this issue?
Thanks! |
1 Attachment(s)
i install this mod on VB 7.3.4 and step by step all sitting but country flag is not display and also show the User Flag! word....plz also check the attachment file.
check link http://www.newsoftworld.com/forums/g....html#post6605 |
Please can you PM me the link to your forum. I think if you are on Firefox, righ click he "Users Flag" and click view image. It will load the URL directory structure of where the image should go/be in. Upload it there. You may have uploaded in the wrong location. Common issue
|
uuuuhhhh thxxx & worng location problem & now it solved.....
thxxxxx once a again......... |
was wondering if you or anyone you know of, has this one with "U.S. State Flags"
Thanks |
ok i checked 4x and i dont see <div>$vbphrase[posts]: $post[posts]</div> inside postbit legacy can some one help me
|
1 Attachment(s)
Quote:
Code:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> Code:
<if condition="$post['fieldX']">Country: <img src="$stylevar[imgdir_button]/flags/$post[fieldX].gif" alt="Users Flag!" border="" /></div></if> Also some extra flags to add to your flag list |
Quote:
|
i install this mod on VB 3.8.3 and step by step all sitting but country flag is not display and also show the User Flag! word....plz also check the attachment file.
This Is my Code Can Some Buddy check and Solve It plz ..... Code:
$template_hook[postbit_start] |
Is there a way to get the flags to show on the member list? All I'm getting is image placeholders, but no image.
|
Quote:
make you've uploaded "flags" folder to :- If your site using custom theme:- ./images/{your site theme folder}/button/ else for default theme:- ./images/button/ |
IF you are using a template, you need to put your flags there and upload. IF you are using a template, do not put in the default buttons folder.
<!-- K4Z.ORG Country Flags Start --> Country: <img class="inlineimg" src="images/(yourTemplateNameFolder)/buttons/flags/japan.gif" alt="Users Flag!" border="" /> <!--// K4Z.ORG Country Flags End --> ******************** If you can NOT find: "<div>$vbphrase[posts]: $post[posts]</div>" Use your search function, Ctrl+F |
How about making this for vb 5 - vb5 is the wave of the future!
I was stuck in vb3 for years but now that I've upgraded to vb5 over all I am glad I made the move. |
All times are GMT. The time now is 05:25 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|