View Full Version : Home Page URL in postbit
kleidaras
04-05-2011, 03:31 PM
Hello guys
http://img708.imageshack.us/img708/8098/screenshot20110405at724.png
active Home Page URL in postbit ... how to...
Thanks
Lynne
04-05-2011, 05:21 PM
Do a search in the articles forum for the article on how to insert custom profile fields into your postbit.
kleidaras
04-05-2011, 05:32 PM
I do .. but nothing for this.. maybe search for wrong name
please help
Lynne
04-05-2011, 05:40 PM
Doing a search on "postbit*" in the articles forum, titles only, gives me this:
How To Add Custom Profile Field Information To The Postbit (https://vborg.vbsupport.ru/showthread.php?t=118896&highlight=postbit%2A)
kleidaras
04-07-2011, 10:57 AM
thank u Lynne, but
I still trying to find a solution but nothing. can you help me again
Frosty
04-07-2011, 11:15 AM
This is quite easy, but you'll have to create a new profile field for this.
Go to:
User Profile Field Manager - Add New User Profile Field:
Title: Website
Description: Enter the link of your Website.<br />
<p>Please make sure that you don't add the:
"http://www.", or "http://". Just enter:
"YourDomainName.com". <br />
You may enter <b>one</b> domain name only. </p>
Profile Field Category: (Uncategorized)
Default Value: leave blank
Max length of user allowed input: 15
Field length: 25
Profile Field Type: Single line text box
Field required: No
Field editable by user: Yes
Private Field: No
Field searchable on members list: No
Show on members list: No
Save it..
Go to postbit or postbit_legacy, find:
$vbphrase[posts]: $post[posts]
Posts are in the div tag, and leave 'em in it. After the </div> close tag, add this code:
<if condition="$post[field13]">Website: <a href="http://www.$post[field13]" target="_blank" rel="nofollow"> $post[field13]</a></if>
Replace number "13" with the number of your field, as you can see on this screenshot:
http://i.imgur.com/LPuAk.png
Field number is shown in the overview of the profile fields, enjoy!
Screenshot of how it looks like after you have added it:
http://i.imgur.com/aPUf8.png
kleidaras
04-07-2011, 12:34 PM
Yes that's it
thank u very much
best regards
BirdOPrey5
04-07-2011, 04:09 PM
I don't understand why you would make a new profile field ($post[field13]) when you can use the built in homepage option in vbulletin which can be accessed by:
$post[homepage]
kleidaras
04-28-2011, 04:25 PM
for vb 4.x.x something like this
kleidaras
05-03-2011, 11:47 PM
ok I found the solution for vb 4
Go to:
User Profile Field Manager - Add New User Profile Field:
Title: Website
Description: Enter the link of your Website.<br />
<p>Please make sure that you don't add the:
"http://www.", or "http://". Just enter:
"www.YourDomainName.com". <br />
You may enter <b>one</b> domain name only. </p>
Profile Field Category: (Uncategorized)
Default Value: leave blank
Max length of user allowed input: 15
Field length: 25
Profile Field Type: Single line text box
Field required: No
Field editable by user: Yes
Private Field: No
Field searchable on members list: No
Show on members list: No
Save it..
Go to -->postbit_legacy
find
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
add above:
<vb:if condition="$post['field2']"><span style="color:green"><b>Website</b></span>:
<a href="http://{vb:raw post.field2}">{vb:raw post.field2}</a>
</vb:if>
Replace number "2" with the number of your field
Frosty
05-04-2011, 12:58 AM
Great thinking buddy! =)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.