December 11, 2019, 06:40:30 PM
Welcome, Guest. Please login or register
News: Join us for a FREE Webinar this Thursday at http://webinar.digitalsignage.com

MediaSignage support forum



Author Topic: WordPress Page to work with AdNet Banner Code  (Read 9283 times)

DoctorMicro

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
WordPress Page to work with AdNet Banner Code
« 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>

DoctorMicro

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: WordPress Page to work with AdNet Banner Code
« Reply #1 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

BezzubovaEvaptemistesktep

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
WordPress Page to work with AdNet Banner Code
« Reply #2 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?

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 5014
  • Karma: +35/-8
    • View Profile
Re: WordPress Page to work with AdNet Banner Code
« Reply #3 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

 

Carbonate design by Bloc
variant: carbon
SMF 2.0.12 | SMF © 2016, Simple Machines