The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Country Flag and simcard model and .. Details »» | |||||||||||||||||||||||||||||
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
Screenshots
Show Your Support
|
Comments |
#32
|
|||
|
|||
Yes I get this:
|
#33
|
||||
|
||||
The contents of the OPTIONS.XML file are to be Copied and Pasted into the "Options" section of your Add new user profile field, as I described in my post #12. The list was too long for me to add to the thread. These are the options that your member will see (Drop down Menu) when he or she registers or Edits their Profile.
THE OPTIONS.xml IS NOT to be uploaded as a file. Just copy and paste its content into the Options as described above. |
#34
|
|||
|
|||
Thanks I will try that now. I tried to upload it
|
#35
|
||||
|
||||
I can see that there is a stray ] in the code I gave - I am no coder, but could that give an error too?
that trailing </if> has to be inserted somewhere to close it, Yes? |
#36
|
|||
|
|||
Nope I have done that after all. It just says User Flags! still though. As you see I added the flag path in the first code but can't use it as I get the </if> condition error. If I remove it all is well but no flags show in the posts.
|
#37
|
|||
|
|||
I would think so as well as it begins with if condition.
|
#38
|
|||
|
|||
Okay took out the </if> and instead of users flag! it now says Country:
So we are close somewhere to make this work in postbit. |
#39
|
||||
|
||||
Can you PM me Your forum Address please?
|
#40
|
||||
|
||||
There is No square with a red X in it - is there?
|
#41
|
|||
|
|||
This is on a test site. I can post the resulting code.
This is in the postbit and I posted a bit of code before and after this is the default code besides the flag code. Code:
<span class="username guest">{vb:raw post.username}</span> </vb:if> <span class="usertitle"> {vb:raw post.usertitle} <!-- Flags Start --> <if condition="$post['field7']"> Country: <img src="http://www.Your ForumAddress.com/images/buttons/Flags/$post[field7].GIF"/> <!--// Flags End --> </span> {vb:raw template_hook.postbit_userinfo_left} <vb:if condition="$show['reputation']"> <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span> </vb:if> I found a mistake I made corrected in in the image path code but still no go. / public_html / testvb / images / buttons / Flags / Flags / The second flags is the folder with all the gifs. Should I move them to the first flags folder? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|