vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=205437

UKBL ~ Selling on Ebay Link in Postbit
by UKBusinessLive
15 Feb 2009 13:08

4 Attachment(s)
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

https://www.vbulletin.org/forum/external/2009/02/72.png

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

Quote:

<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


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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.

https://www.vbulletin.org/forum/external/2009/02/73.png

Now to add our Code

In template postbit_legacy or postbit:

find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and below it add your code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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 :D

Enjoy

Click installed if you use :p

UKBusinessLive 15 Feb 2009 13:09

:) reserved :cool:


All times are GMT. The time now is 09:42.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.