The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
help with conditions
I am trying to come up with a way to use phpadsnew on our site. We did in the past having seperate ads for each forum by using a different set of templates for each forum. This makes some edits very hard and I wanted to makes things a little simpler. We have also been using the remote invocation codes and I would like to use the php codes instead.
In order to do this, and I am trying to make it simple for others to edit.... I have considered several options and been trying hard to make them work. Getting my butt kicked all over the place. I was thinking if I set a condition based on forumid I should be able to call the proper set of avdertisements embeded in a table... I tried PHP Code:
I also have tried to set conditions for advertiser2 so it would call the advertisments for that forum PHP Code:
I have even considered making new templates just to contain the linking codes thinking I could use the local php invocation codes but that didnt seem to work either. I can't believe this is so hard to do but I am sure it is not that hard just that I don't know enough to do it. Any help would be appreciated for sure. I just feel so beatin down by this, been working on it for two days and gotten nowhere. I can get text to work for the variable but not the table. :tired: PHP Code:
This seems to be working in the navbar template but wont work in the forumdisply template. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|