Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Country Flag and simcard model and .. Details »»
Country Flag and simcard model and ..
Version: 1.00, by yaghoub yaghoub is offline
Developer Last Online: May 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.0 Beta 3 Rating:
Released: 11-18-2009 Last Update: 11-18-2009 Installs: 34
 
No support by the author.

excuse I am Persian and my English is not good
this mod only work in vbulletin4 and not work on other version and other version have in this site
whit this mod you can show your Country Flag and simcard and your car model and your phone model and …. In user profile
1.you must creat the new fild whit this properties
go to Admin Control Panel / User Profile Fields / Add New User Profile Field.
In window to right click drop down message bar and change to Single Selection Menu
In the User Profile Field, sectiom in Title area call it Country Flag
(a)Discription: Add a country flag to your profile.
(b)Profile Field Category check Uncategorized
(c)Options:Add the Country text file attached, just copy and paste the text file to this field.
(d)Set Default:None
(e)Display Order: should be set by default to next available one write this down will be needed later.
(f)Field Required: Set this to Yes, at registration and profile updating.
(g)Field Editable by user: Yes
(h)Private Field: Check No
(i)Field Searchable on Members List: Check No
(j)Show on Members list: Yes
Option Input:
Allow user to input their own value for this option: No
Max length of allowed user input: 100
Field Length: 25
Regular Expression: Blank
Display Page:
Which page displays this option?: Options:Thread Viewing

2. Upload the Flags File to server be sure to place in /buttons/flags on each skin that you wish to use this on.
3.in the Postbit Legacy of your Template
Locate: {vb:raw post.rank}{vb:raw post.usertitle}
And add below this cod:
<!-- yahoomobil(yaghoub) -->
<img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field5}.GIF" alt="Users Flag!" border="" />
<!-- yahoomobil(yaghoub) -->
field5 will need to be change to what ever field number was created befor in 1 stage foer example field6 or field7 so the number of field change and You must replice the number of new fild number
((now you can go to ((seetins)) in your site and chose ((edit optins)) and chose your Country Flag
for simcard and phone and …. You must repeat this stage and replice the image white your attachments
the passwor of rar file is: yahoomobil.ir



the vbulletin is the best and the best . we and you must help to is beter

excuseme my internet speed very slow .its dialup so i can not upload my file i tray secend but canot upload my file i upload tex of flag and screensht


mr Lynne can you help me and uoload pictuer of flag and sim here
[ATTACH][ATTACH]Attachment 106406[/ATTACH][/ATTACH]

Download Now

File Type: txt Country list.txt (2.4 KB, 451 views)

Screenshots

File Type: jpg screenshot2.jpg (61.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 11-27-2009, 02:47 PM
LordDB LordDB is offline
 
Join Date: Aug 2006
Location: CoffeeFads.Co.Uk
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bart6767 View Post
How can i fix this so that flags dont show up a red x if a member has not picked a flag ?

This is the code that im useing . and i have done every thing in post 1 .

Code:
<!-- yahoomobil(yaghoub) -->
<img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field7}.GIF" alt="Users Flag!" border="" />
<!-- yahoomobil(yaghoub) -->
Go to ACP --> User Profile Fields --> User Profile Field Manager - then choose the flag profile name you used and EDIT then scroll down User Profile Field, then you set Field Required as: Yes, Always

this means all users will have to choose one!
Reply With Quote
  #83  
Old 11-27-2009, 06:47 PM
bart6767 bart6767 is offline
 
Join Date: Aug 2008
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by daPLAYBOY View Post
Go to ACP --> User Profile Fields --> User Profile Field Manager - then choose the flag profile name you used and EDIT then scroll down User Profile Field, then you set Field Required as: Yes, Always

this means all users will have to choose one!
Thanks .
Reply With Quote
  #84  
Old 11-28-2009, 11:45 AM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really wish post 1 would be updated, reading through all of these solutions or ALMOST solutions is just a pain..

should make a java script selection, and just dump it in registration and profile edit templates.
and just save the selection <name> and call it when needed in postbit.
keep it local, instead of calling all those external links to run.


but a nice idead, that used to work on 3.x
Reply With Quote
  #85  
Old 11-28-2009, 11:49 AM
Ranger375 Ranger375 is offline
 
Join Date: Jun 2007
Location: VA
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, this is confusing. Someone should just make a new mod thread
Reply With Quote
  #86  
Old 12-03-2009, 08:18 PM
Mo7mD.ZaYOnA Mo7mD.ZaYOnA is offline
 
Join Date: Sep 2009
Location: iraq/baghdad
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Welshy2008
The subject does not have to attach anything except example!!
Reply With Quote
  #87  
Old 12-04-2009, 02:31 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cracked it.

I will post it as a mod later. (will be easier to read etc)

Works on vB4 Beta 4.
Reply With Quote
  #88  
Old 01-08-2010, 05:28 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is this ready to go now!!!
Reply With Quote
  #89  
Old 03-03-2010, 06:22 PM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My Code For This

...IMHO the better way...and to show which country belong the flag image....coz i or we dont know them all...do you?

change the red one to your correct field number

Code:
<!-- Princeedwards Country Flags Show Start -->

<div  align="center">
<vb:if condition="$post['field10']">
<img src="{vb:stylevar imgdir_misc}/flags/{vb:raw post.field10}.png" alt="Country" title=" My Home Country: {vb:raw post.field10}" border="0" />
</vb:if>
</div>
<!-- / Princeedwards Country Flags Show  End -->
Reply With Quote
  #90  
Old 04-22-2010, 03:20 AM
napy8gen napy8gen is offline
 
Join Date: Jan 2006
Location: port ++++son
Posts: 519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Welshy2008 this mod like you posted in first page is not working because the generated name is full name of the country.GIF

BUT the animated gifs names are different.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04878 seconds
  • Memory Usage 2,325KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete