Back to vBulletin 3.6 Template Modifications

UKBL ~ Selling on Ebay Link in Postbit
Mod Version: 1.00, by UKBusinessLive

This modification is in the archives.
vB Version: 3.6.12 Rating: (2 votes - 4.50 average) Installs: 3
Released: 15 Feb 2009 Last Update: Never Downloads: 16
Not Supported Template Edits Re-usable Code Translations  

UKBL ~ Selling on Ebay Link in Postbit


Want to allow members the choice of adding an ebay logo to their postbit?? prevent unindended spamming of threads with members ads??? Well now you can



A simple to do Ebay logo in your Postbit so Members can advertise their ebay goods for sale

Just go to your admin cp and make a User Custom profile field Called "My ebay Sales"

and add this to the description = Add your Ebay user name below to show other members what you have for sale

Make a note of the field number as this is what we are going to add to our Code. For example, we'll use Field10

Your User CP should now have a Field like this



Add this template conditional, to prevent guest and non registered from seeing your link, Replace the X's with your UserGroup ID

<if condition="is_member_of($bbuserinfo, X, X, X)">
The Code goes here !!
</if>
So our code should look something along the lines of this, Remember you need to replace the Red parts with your own information

Code:
<if condition="is_member_of($bbuserinfo, 6, 7, 9)">
<if condition="$post['field10']">
<a href="http://shop.ebay.com/merchant/$post[field10]" target="_blank" rel="nofollow" title="Click to View my Sales">
<img alt="My Ebay Sales" border="0" src="http://www.yourforum.com/images/misc/ebay.png" border="0"/>
</if></if>
Then we need to Upload our ebay logo to our forums directory images/misc folder and replace the image url in the code with our own url.



Now to add our Code

In template postbit_legacy or postbit:

find

Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]
and below it add your code

Code:
<if condition="is_member_of($bbuserinfo, 6, 7, 9)">
<if condition="$post['field10']">
<a href="http://shop.ebay.com/merchant/$post[field10]" target="_blank" rel="nofollow" title="Click to View my Sales">
<img alt="My Ebay Sales" border="0" src="http://www.yourforum.com/images/misc/ebay.png" border="0"/>
</if></if>
Thats all there is to it and now members can if they want add the ebay logo to their posbit and advertises their goods for sale, without spamming

Enjoy

Click installed if you use

Download

This modification is archived, downloads are still allowed.

File Type: %1$s eaby.zip (139.2 KB, 17 downloads)

Screenshots

Click image for larger version
Name:	ebay 2.png
Views:	15
Size:	103.4 KB
ID:	94923   Click image for larger version
Name:	ebay field.png
Views:	17
Size:	37.9 KB
ID:	94924  

Similar Mods

End-User Options UKBL ~ Selling on Ebay Link in Postbit vBulletin 3.8 Template Modifications
End-User Options UKBL ~ Selling on Ebay Link in Postbit vBulletin 3.7 Template Modifications
[release] Ebay in Postbit and Profile with direct Link to members auctions vBulletin 2.x Template Modifications

vblts.ru supports vBulletin®, 2022-2024