[pmwiki-users] ads in PMWiki
tamouse.lists at gmail.com
Mon Aug 26 01:29:33 CDT 2013
On Aug 25, 2013, at 1:14 PM, Timothy Yoo <timyoo87 at gmail.com> wrote:
> Hi Tamara,
> I tried doing this. I edited the config.php file to contain this code and then edited the article and added this: (:bidvertiser PIDXXX BIDXXX:), but then when I publish the article, i just get this showing up on the website "(:bidvertiser PIDXXX BIDXXX:)"
> Am I doing something wrong?
Maybe — I didn't test the code, exactly. Can you pastebin your local/config.php (scrubbing all passwords) so I can look at it?
> On Sat, Aug 24, 2013 at 3:14 PM, Tamara Temple <tamouse.lists at gmail.com> wrote:
> On Aug 24, 2013, at 8:45 AM, DaveG <pmwiki at solidgone.com> wrote:
> > On 8/23/2013 9:30 PM, Timothy Yoo wrote:
> >> I'm using the CleanSimple skin for PMWiki. Do you guys know how I can
> >> integrate ads with that? I'm using Bidvertizer, and I have this block of
> >> code to integrate:
> > Check out $HTMLHeaderFmt, http://www.pmwiki.org/wiki/PmWiki/LayoutVariables#HTMLHeaderFmt.
> > So:
> > $HTMLHeaderFmt['bidvertiser'] =
> > '<!-- Begin BidVertiser code -->
> > SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=XXXXXXX&bid=XXXXXX"
> > <noscript><a
> > href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_xml_feed.dbm">xml
> > feed</a></noscript>
> > <!-- End BidVertiser code -->
> > ';
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> Markup("bidvertiser",">link","/\\(:bidvertiser (.*?) (.*?):\\)/",
> "Keep('<!-- Begin BidVertiser code -->
> <!-- End BidVertiser code -->')");
> Then in the place you want the ad to show up, you put (:bidvertiser PIDXXX BIDXXX:) in the page text.
More information about the pmwiki-users