The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
hi
im not so good in mysql, but good enough in php. so i need some help to know whats the user country to set a small flag that apear in his post, in postbit template. i want to do something looks like the following: if ($post[field2]=="england") { $flag="EN"; } if ($post[field2]=="germany") { $flag="GR"; } ..and so on $flag="<img src=".$flag.".gif>"; and then but $flag in postbit template for those who may tell me that i need to create anew table: my members are from 6 countries only. thats why i dont think that i have to create a new table to do so. |
#2
|
||||
|
||||
![]()
Put that in the phpinclude template or functions.php
So it would be: PHP Code:
![]() - miSt |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|