I started this thread on vB.org.... Looking to post HTML for Admins only - vBulletin.org Forum ....I want to use HTML to post my banners/links for my affiliate program through ShopToEarn.net If I can get it to work properly, I want to add the html code in the first post with the spoiler mod displaying the discount codes for my registered members and allowing them to go shop on the normal websites, but with my referral link (and discount/coupon code via spoiler mod) that they could use at the shopping cart of that site. So, again, I'd like to have it so that I can have the admin (and admin only) be allowed to post HTML within a particular forum. Hopefully someone out there in AA-land has a solution for me
Arny, I'm not sure if this is a viable option for you but I think you can enable HTML in announcements on a per-announcement basis. Perhaps that's something you could do?
He will probably hack the spoiler mod so that only registered members can see the contents. (Like vBulletin.org does for contents within code tags)
Can you accomplish this without HTML? Just upload the banner some where and use img code to embed it you can wrap it with a link too. The use the spoiler mod as planned.
Yes, I planned to use a spoiler/hide hack for the discount code. Dan, I might need some help (or just some rest before re-reading it) on your suggested solution. But, sounds like it might work.
Have you heard of Replacement Variables? You could easily make a replacement variable that looked for [banner-advertiser1] and replaced it with the HTML that is necessary to actually show the banner. You could then use that in any post and vBulletin would replace it every time it is seen. You could even create one that looked for [Random-Banner] to show a random banner. If you are just looking for a way to insert advertising but not actually include it in the content of the post, vBulletin 3.7.0 and higher includes Ad Location Templates. Two of them are actually in the first post. One at the start and another in the signature area. There is a third that is immediately after the first post. You can put your advertising code in those templates and even use conditionals to control how they show up. The only drawback, or is it a bonus, is that Replacement Variables are considered part of the style. So you would need to create one for each style unless they are children of the default style so you can take advantage of parent hierarchies.
Replacement variables? Hmm..interesting. Gotta do some reading now on how to get those setup. Sounds like that's the way to go for me Thanks Wayne!
Is this the correct way to go about replacement variables? Just checking to make sure Replacement Variables - vBulletin.org Forum
So, I can make the "Search for Text" field be anything that I want. For example, I can use "Banner_Affiliate_1" and then input in the "Replace with Text" field the html for the banner and associated referral link that I want to use? Then, for my next one I could use "Banner_Affiliate_2", etc. Is that right?
Yes, that is correct, Arny. We have a RV set up here... for censoring of a certain competitor. If you can figure out who (name starts with a 'T') feel free to mention it in a post here and you will see what happens. :unhunh: