PDA

View Full Version : End-User Options - UKBL ~ Selling on Ebay Link in Postbit


UKBusinessLive
02-14-2009, 10:00 PM
https://vborg.vbsupport.ru/external/2009/02/70.png
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 ;)

https://vborg.vbsupport.ru/external/2009/02/71.png

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

<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

<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.

https://vborg.vbsupport.ru/external/2009/02/73.png

Now to add our Code

In template postbit_legacy or postbit:

find

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]

and below it add your 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 :D

Enjoy

Click installed if you use :p

UKBusinessLive
02-15-2009, 11:06 AM
:D reserved :eek:

murekhalir
02-19-2009, 11:31 PM
wow no one commented.

REALLY nice.

really fits with my forum ;)

UKBusinessLive
02-20-2009, 04:57 AM
wow no one commented.

REALLY nice.

really fits with my forum ;)

I made this for a guy whose members kept on posting links to their ebay sales, other members were complaining about the excess spam on the forums, Now they'll be able to add, their Ebay username to their UserCP and get their very own Ebay logo in their postbit.

That stopped the spam overnight ;)

Thanks, don't forget to click installed ;)

sowyrgardn
02-24-2009, 03:37 PM
Where am I putting the template conditional?

Can't wait to add this to my forums, it's awesome!!

Rebecca

UKBusinessLive
02-24-2009, 04:26 PM
Where am I putting the template conditional?

Can't wait to add this to my forums, it's awesome!!

Rebecca


Hi Rebecca,

Its in the instructions in the first post ;)

sowyrgardn
02-24-2009, 07:15 PM
If the obvious is escaping me, I apologize. What template folder do I put this is in:

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>

I've done a ton of mods but for some reason I am not understanding that portion, and I do not see it in the OP.

Thanks again.
Rebecca

UKBusinessLive
02-24-2009, 07:26 PM
If the obvious is escaping me, I apologize. What template folder do I put this is in:



I've done a ton of mods but for some reason I am not understanding that portion, and I do not see it in the OP.

Thanks again.
Rebecca

Look at the code below

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

You'll see the code which you need to add to your postbit and the conditional what we're talking about is in red the top line and the bottom </if> ;)

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

sowyrgardn
05-18-2009, 11:00 PM
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

UKBusinessLive
05-19-2009, 05:38 AM
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

Glad you liked it ;)

lm3a.net
05-21-2009, 07:28 AM
thanks alot,,