PDA

View Full Version : Show Thread Enhancements - User PC Specs in Postbit


LG Alex
11-23-2008, 10:00 PM
LIVE DEMO (http://pcarmada.com/forums/showthread.php?t=176)

Introduction:

This template mod will put User PC Specs in your Postbit!
This mod is obviously FREE, and I do not ask for donations. All I ask is that you support me and my passion for Forum Success and register at my new site and give me your input on it!
- http://pcarmada.com/ -thanks :)

Installation:

Create the following new User Profile Fields:

Type: Single-Selection Radio Buttons
Title: Type of Computer
Description: What ever you want.
Options:
PC
Laptop
Mac
iPhone
Handheld


Type: Single-Line Text Box
Title: Motherboard
Description: What ever you want.


Type: Single-Line Text Box
Title: Processor
Description: What ever you want.


Type: Single-Line Text Box
Title: Video Card
Description: What ever you want.



In the Postbit Templates > Postbit Legacy
FIND:
$template_hook[postbit_userinfo_right_after_posts]


(IF YOU CANT FIND THAT ONE, TRY THIS AND ADD THE BELOW CODE BELOW IT INSTEAD:
$vbphrase[posts]: $post[posts]
</div>)

Add Above:
$post[musername]'s <if condition="$post['fieldXXX']">
$post[fieldXXX]
</if> Specs:<br>
<b>Mobo</b>: <if condition="$post['fieldXXX']">
$post[fieldXXX]
</if><br>
<b>Prcr</b>: <if condition="$post['fieldXXX']">
$post[fieldXXX]
</if><br>
<b>Vid</b>: <if condition="$post['fieldXXX']">
$post[fieldXXX]
</if>


Replace the XXX with your corresponding Field ID. (Ex: Field7)

DONE!

Please visit my site to support this mod and to support me:
http://pcarmada.com/
Thank you so much. If I typed something in wrong, let me know and I'll fix it ASAP.

Mike-D
11-24-2008, 08:40 PM
It's pretty much the same like Profile Fields in a Postbit Dropdown (https://vborg.vbsupport.ru/showthread.php?t=180309) ;)

Alex LD
11-24-2008, 09:40 PM
Actually it is way different then that.
Nice mod.

LG Alex
11-25-2008, 12:29 AM
Yes, I would say that that modification has a bit more content to it though. And mine displays the info right on the postbit (better for members to show off) and in a sentance form.

ebed146
12-29-2008, 03:15 PM
How do you make this to show up in new postbit not the legacy?