View Full Version : Promote ads in forum posts
March 17th, 2007, 06:40 AM
Some of our members promote their ads by having a link to "Show all" in their signature.
I would like to take this a bit further by automatically place a button (with link to "Show all) in the avatar column of those that have ads.
But how can I test this from the forum? (Invision)
March 17th, 2007, 10:50 AM
well that all depends on your invisionboard sorry can not be of much help I do not own or use that forum
Basically you need to edit whatever template is that postbit and place some html link there and find out what the invision userid is there and use that
the link is something like this
<a href="http://www.domain.com/classifieds/showcat.php?cat=500&ppuser=SOMEUSERID">User's Ads</a>
March 17th, 2007, 11:47 AM
Thanks Chuck. That links is what the users are already using in their signature.
My idea was to place a "My ads" button in the avatar column for all users that have ads. In other words, when rendering the topics, I need to test if the user has ads on not.
Think this function would be useful for all those that have forum integration.
March 21st, 2007, 07:15 AM
With all users who use forum integration I would think that more than oldengine (http://www.photopost.com/forum/showthread.php?p=1192174#post1192174) and me are interested in this??
I need to know how to test if a user has ads or not...
March 21st, 2007, 11:00 AM
Well then you need to write yourself a modification or hack my friend. I have given you how a link is formed. If your trying to do some vb conditional to show that link then you need to write a query to check that. Your free to discuss code modifications and such which fall outside product support in the mod corner forums.
March 23rd, 2007, 06:54 AM
Reason I try to ask here is because Jordan asked the same question (http://www.photopost.com/forum/showthread.php?t=130927) in the mod forum and didn't get any replies.
I'll try at the Invision forum then...
March 23rd, 2007, 09:47 AM
That may explain why he does not get a reply if your expecting someone from the company to respond.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.