PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 8th, 2010, 12:30 PM   #1 (permalink)
Member
 
Join Date: Jun 2007
Posts: 316
Question Number of ads?

Is there a variable, or an expression I can use in vBulletin 4 html coding, where I can test if a member (using his userid) has any ads in Photopost Classifieds or not.

In other words, if his ad count is greater than 0, then I display a link to his ads. If his ad count = 0 then I don't display a link to Photopost Classifieds.

I'm trying to find the variable that I can test within vb4 to determine that?

Thanks for any help...

Regards,
Doug
Badger is offline   Reply With Quote
Old October 8th, 2010, 06:40 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
being that your talking vbulletin you would need to create some vb4 plugin to do such activities. variables such as that need to be queried for and defined by code.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 10th, 2010, 07:12 AM   #3 (permalink)
Member
 
Join Date: Jun 2007
Posts: 316
Thanks Chuck ...

I ask because I notice that the add-on plugin you wrote (see pic) shows a vBulletin field in the vBulletin member's profile with the quantity of ads.

It's that field value variable I was looking for to test against?

Am I missing something?

Regards,
Doug
Attached Images
File Type: png Screen shot 2010-10-10 at 8.08.58 AM.png (76.0 KB, 4 views)
Badger is offline   Reply With Quote
Old October 10th, 2010, 12:11 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
well that variable you refer to is a plugin written for the members profile page. It is not part of the supported application released by our company.

As noted if your trying to do anything in vbulletin you actually need to write a vb plugin to do that much like the plugins your referring to that do other things in vb that I wrote up free for users to use.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 10th, 2010, 12:15 PM   #5 (permalink)
Member
 
Join Date: Jun 2007
Posts: 316
Quote:
Originally Posted by Chuck S View Post
well that variable you refer to is a plugin written for the members profile page. It is not part of the supported application released by our company.

As noted if your trying to do anything in vbulletin you actually need to write a vb plugin to do that much like the plugins your referring to that do other things in vb that I wrote up free for users to use.
Thanks again Chuck ...

I realize that it needs to be a plugin and that's what it is. It simply puts a link in the postbit template of a user's post to create a link to the Photopost Classifieds for that member. In essence, it's equivalent to the "My Ads" function and it's running right now on our forums and works very well, except for one cosmetic element.

The link shows all the time and I thought it kind of a waste if the member didn't have any ads in Photopost Classifieds, so all I was looking for was to qualify the code which shows the link to NOT show it, if the user had 0 ads.

Regards,
Doug
Badger is offline   Reply With Quote
Old October 10th, 2010, 04:12 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Maybe you might want to post in the mod forums.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Number of Free ads problem Basil Classifieds Bug Reports 1 April 4th, 2010 09:17 PM
Limit number of photos per ads farina Classifieds How do I...? 1 December 25th, 2008 09:46 PM
Wrong number of recent ads hype901 Classifieds Bug Reports 3 October 4th, 2007 11:18 AM
Can you see the number of ads in all sub categories in the parent category? AmericanBulldog Classifieds How do I...? 2 June 1st, 2006 07:42 PM
One Issue, Number of Ads Double boxingcene Classifieds Bug Reports 5 February 17th, 2005 08:02 PM


All times are GMT -5. The time now is 08:29 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0