If you take the time to read the link I included in the thread someone mentions not to edit the page container. I explained myself already on my reasons why I refuse to upgrade right now. Not everyone has money to throw at a side project while being a full time student and working just to pay the bills. My goal is to do this completely free. If you want to see why you can click my profile and read the replies there.
The point remains... running 1.2.X you are NOT going to get a lot of assistance... that version is coming up one a decade old, and not many people even REMEMBER how to integrate things, since the concentration is on the current version.
And as I have told you (repeatedly) relying on how it is done in 2.x code will usually NOT work in 1.2.... there's about 9 years of difference in coding philosophy involved.
You asked (in this thread) SPECIFICALLY
I am not sure where to add this code:
You were told that the format used to do such in the CURRENT version was not the same as in the 1.2 version.
And sorry, I'm not going to dig through your replies.... even as a student, I can almost guarantee you blow in a 2 month period what renewing would cost. It's simply a matter of priorities... you want to try to learn on a script that will NOT apply to the real world, so it's like using a instructional book from the days of tube radio to work on a solid state device.
Have you even used the search feature here (or via google) to try to find out the answers to your question?
I seriously doubt it...... as I found this in about 10 seconds in a Google search specifically using Adsense Xenforo 1.2 (and a similar example of the script segment you provided)
One of the biggest concerns with 1.2 has been how to activate the responsive design while still using AdSense. Obviously as the various page widths are now totally dynamic, simply adding a Google ad slot in the normal manner won't work. Once the...
xenforo.com
It specifically shows you how to use that script segment in an ad position.
Now, as to the use of it in XenPorta.....
Did you go specifically to the
XENPORTA
discussion thread to ask for help on that there since you specifically commented that it is a feature of XenPorta. That IS the expected process to use, if it's related to an add-on, ask in that add-on discussion thread. Not everyone uses XenPorta, so asking in the appropriate area is more likely to get you help.
But you also answered part of your own question.. your script segment HAS your CA-publisher code.... THAT is what you have to put into that XenPorta area.