Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Casual Pligger micxuy's Avatar
    Joined
    May 2007
    Posts
    87

    Cant use OPenx Ads with Pligg

    Hi;

    I just tried to add local code of Openx (PhpAdnews) into PLiff at side bar but it shows the weird error (i ut it over the side bar comments), if put below then it is fine (seems like)

    Any ideas? Thank you

  2. #2
    Pligg Developer chuckroast's Avatar
    Joined
    Jun 2006
    Posts
    5,478
    First of all the software you are using is called PLIGG not Plidd or PLiff. Secondly without knowing what the error is, it's impossible to know how to help you.. Are we just supposed to guess?

  3. #3
    New Pligger kmb40's Avatar
    Joined
    Nov 2007
    Posts
    6
    I ran into the same issue. The error was clickurl function does not exist I believe.

    Try using the literal tag {literal}{/literal} around the phpadsnew/openads/openx code.

  4. #4
    Casual Pligger micxuy's Avatar
    Joined
    May 2007
    Posts
    87
    Sorry my keyboard is messed up Yeah now its work thank you

  5. #5
    Casual Pligger micxuy's Avatar
    Joined
    May 2007
    Posts
    87
    Well if i used Javascript then it is fine, but if I use local mode then i have this error

    Table 'ad.pligg_comments' doesn't exist

    I dont know why ? Anyone can help me? Cause use javascript is very slow

  6. #6
    Pligg Developer chuckroast's Avatar
    Joined
    Jun 2006
    Posts
    5,478
    Quote Originally Posted by micxuy View Post
    Well if i used Javascript then it is fine, but if I use local mode then i have this error

    Table 'ad.pligg_comments' doesn't exist

    I dont know why ? Anyone can help me? Cause use javascript is very slow
    Contact the developers of OpenAds...
    This is not a Pligg problem...

  7. #7
    Casual Pligger micxuy's Avatar
    Joined
    May 2007
    Posts
    87
    Well I know why now (I guess). It isnt the OpenX's problem, because if i put the ad block under the comment block then very thing is great. I think there has to be something with the sidebar_comments.php; the query from database

  8. #8
    Pligg Developer chuckroast's Avatar
    Joined
    Jun 2006
    Posts
    5,478
    Quote Originally Posted by micxuy View Post
    Well I know why now (I guess). It isnt the OpenX's problem, because if i put the ad block under the comment block then very thing is great. I think there has to be something with the sidebar_comments.php; the query from database
    Well what is the code you are trying to put in? We can't possible provide you help without seeing the code.

  9. #9
    New Pligger arlen_coupland's Avatar
    Joined
    Jul 2008
    Posts
    1
    Hi,

    When you are using a "Local Mode" ad tag from OpenX, you are basically placing PHP code into your website software, like Pligg. Placing PHP code within another software can have unkown side-effects as you have to be careful where and how you place such code.

    In this case, the OpenX code is connecting to your OpenX database to know what banner to display. After the code, Pligg is connecting to its own database again. However, OpenX and Pligg seem to be using the same variable/object name to store the database connection information, so after OpenX connects and displays the banner you must reset the Pligg database connection by telling it what database name and user to use.

    Hope this helps,
    Arlen Coupland
    OpenX

  10. #10
    Casual Pligger micxuy's Avatar
    Joined
    May 2007
    Posts
    87
    Thank you , and i did try, i changed like ".table_comments." to pligg_comments but no luck.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting