PoetJA-1975
04-06-2008, 10:00 PM
Howdy hi - This is a simple template modification that will show your Members' browser of choice in their postbit... The choices (matching images included) I have included are Internet Explorer, Konqueror, Netscape, Mozilla, Firefox, Safari, Camino, Opera & Flock web browsers. Of course there is the option to select "Other" as well.
This simple mod should be able to work with any of the 3.x series vBulletin....
https://vborg.vbsupport.ru/external/2008/12/94.jpg
INSTRUCTIONS ----------------
### Step 1 ###
Upload the included "browser" folder to your forum images folder
** Don't change the image file names **
### Step 2 ###
Create a new custom profile field:
AdminCP --> User Profile Fields --> Add New User Profile Field
Select Single-Selection Menu...
Fill in the following options:
Title: Web Browser of Choice
Description: Please select the browser you most surf the internet with (aka your web browser of choice).
Options: (List below - One option per line - Order doesn't matter)
Internet Explorer
Konqueror
Netscape
Mozilla
Firefox
Safari
Camino
Opera
Flock
Other
Set Default: Yes - but No First Blank Option
Field Editable by User: Yes
Allow user to input their own value for this option: No
Which page displays this option? Edit Profile
Click the save button.
### Step 3 ###
Edit your postbit and/or postbit_legacy template:
AdminCP --> Style Manager --> (select your style) Edit Templates --> Postbit Templates --> postbit OR postbit_legacy
Find:
<div>
$vbphrase[posts]: $post[posts]
</div>
Underneath - Add:
<if condition="$post[fieldX]">
<div>$post[username] Surfs The Web With: <img src="images/browser/$post[fieldX].gif" align="middle" title="$post[username] Surfs With The $post[fieldX] Web Browser." width="17" height="15" border="0"></div>
</if>
** Be sure to fill in the [fieldX] with the field number of your newly created profile field - for instance if the profile field name is field17 - Then the above code would include $post[field17] for each time it appears **
-----------------------------------
-----------------------------------
THAT'S IT = Enjoy!
Jacquii Cooke,
Webmistress of Poetry in Color Forum
http://JPiCForum.info
This simple mod should be able to work with any of the 3.x series vBulletin....
https://vborg.vbsupport.ru/external/2008/12/94.jpg
INSTRUCTIONS ----------------
### Step 1 ###
Upload the included "browser" folder to your forum images folder
** Don't change the image file names **
### Step 2 ###
Create a new custom profile field:
AdminCP --> User Profile Fields --> Add New User Profile Field
Select Single-Selection Menu...
Fill in the following options:
Title: Web Browser of Choice
Description: Please select the browser you most surf the internet with (aka your web browser of choice).
Options: (List below - One option per line - Order doesn't matter)
Internet Explorer
Konqueror
Netscape
Mozilla
Firefox
Safari
Camino
Opera
Flock
Other
Set Default: Yes - but No First Blank Option
Field Editable by User: Yes
Allow user to input their own value for this option: No
Which page displays this option? Edit Profile
Click the save button.
### Step 3 ###
Edit your postbit and/or postbit_legacy template:
AdminCP --> Style Manager --> (select your style) Edit Templates --> Postbit Templates --> postbit OR postbit_legacy
Find:
<div>
$vbphrase[posts]: $post[posts]
</div>
Underneath - Add:
<if condition="$post[fieldX]">
<div>$post[username] Surfs The Web With: <img src="images/browser/$post[fieldX].gif" align="middle" title="$post[username] Surfs With The $post[fieldX] Web Browser." width="17" height="15" border="0"></div>
</if>
** Be sure to fill in the [fieldX] with the field number of your newly created profile field - for instance if the profile field name is field17 - Then the above code would include $post[field17] for each time it appears **
-----------------------------------
-----------------------------------
THAT'S IT = Enjoy!
Jacquii Cooke,
Webmistress of Poetry in Color Forum
http://JPiCForum.info