View Full Version : Link to ads
March 14th, 2007, 10:01 PM
Is there any way to display a link to a members ads in the postbit in vbulletin?
My folder structure for links to member files is:
Where 1 is the userid (i think). Does the folder structure ever change?
March 15th, 2007, 07:57 AM
You need to edit your postbit template and place a link there like that and replace the 1 with the userid variable in vb for that template. It should be located in that template for you to know which to use
March 15th, 2007, 01:55 PM
So that url never changes? (ie /cat/501 or something like that)
March 15th, 2007, 05:06 PM
THAT IS THE MEMBERS GALLERY FOR THAT USER
March 15th, 2007, 06:16 PM
If anyone else wants the code to do this, here it is:
March 17th, 2007, 12:59 PM
This works fine except that with more users posting in the forum than in the classifieds, there needs to be a way of showing the link only if the user has active ads.
I had used this for a while, but removed it today because it is so repititious when only a few hundred users have ads out of thousands of forum posters. There needs to be a way to test whether the user actually has active ads.
March 17th, 2007, 05:40 PM
Seems like the same question as I asked here (http://www.photopost.com/forum/showthread.php?t=130971)?
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.