I was wondering how I could enable a JavaScript code in a post. The only thing I want to do it add my Adsense JavaScript code into a post instead of performing a template modification for the Adsense...I don't want that. I just want to be able to add it in a post when I want and where I want. I saw that another member was able to do this that had a vBulletin board I just don't know how he did it. I tried performing this by using the replacement variable and it seems like it stripped it out of the post. By the way...I am using vBulletin 3.7.4 Any help will be MUCH appreciated. I can't seem to find ANYONE who knows how to do this. If anyone needs more clarification on what I am talking about, please let me know.
Just following up in case you guys over-looked me This is really killing me and I would really like to know how to do this.
Usually there is some type of ad managing plugin that allows you to do this. I'm more familiar with SMF boards. Sorry I can't be of more service.
That's alright. I appreciate you trying to help. Basically, I am just looking to place my Adsense code into certain posts. There are modifications that can be done but it's for templates...which place them globally once modified Anyone else?
Allowing javascript in posts is a REALLY bad idea, since it pretty much opens the door for a forums to be pretty much pwned by every script kiddy on the web. If I were to try to implement some sort of allowing adverts in a post, I would strip the unique data from the advertising code and try to wrap those values in some sort of bbCode type tag - being DAMNED sure to verify the values in that bbCode server site to make sure there is no javascript in it, then server side create the javascript that is sent to the end user. Even then I'm not certain it's worth the security risk - WAY too easy to do a code injection with that sort of thing. Which is likely the reason you've gotten few if any real responses - no sane developer would even THINK of implementing that sort of thing.... (the other reason being the engrish moist goodry - took me four passes to figure out what the devil you meant)
@Nintendo-Daily I may be able to help, but I do not own a copy of vBulletin. Hence, I can give you the directions, using which you can get the coding done by some other programmer. Contact me if you are interested. And I will be charging for this.
Sorry for the delay guys. What I have done is enable HTML for specific sub-forums and disabled the use of HTML for all usergroups other than mine...the administrators usergroup. Is this safe or should I change strategies?