MediaSignage support forum

community support => General discussion on the mediaCLOUD => Topic started by: DoctorMicro on July 16, 2017, 10:53:39 AM

Title: WordPress Page to work with AdNet Banner Code
Post by: DoctorMicro on July 16, 2017, 10:53:39 AM
I am trying to setup a WordPress website page newbielink:https://successpartnerdna.com/testdir/ [nonactive] with the code generated by the Enterprise addition Target area.
I am using the Divi Theme and have placed the script type tags in the Head section of the page and the rest of the code into the Body.

Is there something else I need to do for this to work in WordPress?  :)

NOTE: I added an * in front of the external links so they would show

Mike

<Html>
   <Head>
     <script type="text/javascript" src=" newbielink:https://code.jquery.com/jquery-1.10.2.js [nonactive]"></script>
     <script type="text/javascript" src=" newbielink:https://leda.signage.me/Sdk/adnetSdk.js [nonactive]"></script>
   </Head>
   <Body>
     <div id="banner1" style="width:300px;height: 300px;">
     </div>
     <script type="text/javascript">
      adNetStart(-1, 0, " newbielink:https://successpartnerdna.com [nonactive]", banner1);
     </script>
   </Body>
<Html>
Title: Re: WordPress Page to work with AdNet Banner Code
Post by: DoctorMicro on July 16, 2017, 01:02:24 PM
I had to remove the Scripts under the Head Tag because it was causing an issue with the Directory on their website.

I have setup another Testing Page at newbielink:http://reikibydiana.com/test-banner/ [nonactive]

This is a standard WordPress website setup, but still Not Working.

Please check this out and let me know why this is not working for me?


Mike
Title: WordPress Page to work with AdNet Banner Code
Post by: BezzubovaEvaptemistesktep on March 27, 2019, 01:30:41 PM
Just wanted to know if anyone has this installed in the new PD3v3 version and if you do was there any thing extra you had to do to make it work?
Title: Re: WordPress Page to work with AdNet Banner Code
Post by: admin on March 28, 2019, 08:27:29 AM
wordpress is indeed known for mangling codes. was trying to access the url http://reikibydiana.com/test-banner/ - is this is word press site or does it point to a simple html page?  (we can't seem to access the server - the domain reikibydiana.com seems registed but does not resolve to an IP thus we can only assume this is your local webserver)

also, the value -1 in your first post found in the function adNetStart, you have the correct id code on your actual page?

for privacy reason, you may join us on chat http://chat.digitalsignage.com so you can give us the actual url for us to check

best regards

- ADMIN