![]() |
UKBL ~ Selling on Ebay Link in Postbit
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://vborg.vbsupport.ru/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:
Code:
<if condition="is_member_of($bbuserinfo, 6, 7, 9)"> https://vborg.vbsupport.ru/external/2009/02/73.png Now to add our Code In template postbit_legacy or postbit: find Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] Code:
<if condition="is_member_of($bbuserinfo, 6, 7, 9)"> Enjoy Click installed if you use :p |
:D reserved :eek:
|
wow no one commented.
REALLY nice. really fits with my forum ;) |
Quote:
That stopped the spam overnight ;) Thanks, don't forget to click installed ;) |
Where am I putting the template conditional?
Can't wait to add this to my forums, it's awesome!! Rebecca |
Quote:
Hi Rebecca, Its in the instructions in the first post ;) |
If the obvious is escaping me, I apologize. What template folder do I put this is in:
Quote:
Thanks again. Rebecca |
Quote:
Code:
<if condition="is_member_of($bbuserinfo,6, 7, 9)"> Just change the numbers in the top line of the conditional to the usergroups that you want the ebay link to be displayed to. Hope that helps :D |
Sorry that I never came back to thank you! Installed on three forums and a big hit with the members. Thank you so much for the extra help you gave me.
:) Rebecca |
Quote:
|
All times are GMT. The time now is 03:58 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|