Cant use OPenx Ads with Pligg
-
Casual Pligger
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
-
Pligg Developer
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?
-
New Pligger
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.
-
Casual Pligger
Sorry my keyboard is messed up
Yeah now its work thank you
-
Casual Pligger
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
-
Pligg Developer

Originally Posted by
micxuy
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...
-
Casual Pligger
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
-
Pligg Developer

Originally Posted by
micxuy
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.
-
New Pligger
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
-
Casual Pligger
Thank you , and i did try, i changed like ".table_comments." to pligg_comments but no luck.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules