vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   phpAdsNew Banner Ads integration (advertisements, classified ads, Adsense, etc.) (https://vborg.vbsupport.ru/showthread.php?t=100229)

chrisarmstrong 10-02-2007 07:25 PM

Quote:

Originally Posted by MediaHound (Post 1351219)
When I go to edit my template, I cannot get the header template to save the code:
Code:

<ad what="zone:1" />
I click save and it takes me to a page that merely reads "Style Manager" and that's basically all there is on the page. If I change the ad code a bit and remove a lessthan or a greaterthan symbol to break the tag, it will save! This is really odd, it seems as if the saving utility is parsing the text and it breaks if it does not like it.

Just fought with the same issue. Make sure you have no trailing / on the end of your "Location of phpAdsNew" setting.

So it needs to be:

/var/www/vhosts/yoursite.com/httpdocs/phpads

MediaHound 10-06-2007 01:20 PM

Thanks Chris, that fixed my problem. I corrected the path to my installation and the style manager was able to save the page and reload to the style manager properly.

Anne Lise 10-07-2007 10:26 PM

Quote:

Originally Posted by quasan (Post 1311109)
ok ok :) already got it ;) my fault^^

I killed my right column template *blush*

My right column is there, but the ads are disespeared with 3.6.8
I'm using phpadsnew 2,0,8. I use the link <ad what="zone:11" />

Paradise-Bodies 10-08-2007 11:27 AM

How to set it up to show ads in forums and on "no forum" sides?

For forums i use
PHP Code:

<if condition="$foruminfo['forumid']==22"><ad what="zone:forummanipedi" /><else />
<if 
condition="$foruminfo['forumid']==33"><ad what="zone:forummanipedi" /><else />
<if 
condition="$foruminfo['forumid']==34"><ad what="zone:forummanipedi" /><else />
<if 
condition="$foruminfo['forumid']==35"><ad what="zone:forummanipedi" /><else />
<if 
condition="$foruminfo['forumid']==36"><ad what="zone:forummanipedi" /><else />
<if 
condition="$foruminfo['forumid']==37"><ad what="zone:forummanipedi" /><else />
<if 
condition="$foruminfo['forumid']==38"><ad what="zone:forummanipedi" /><else />

</if>
</if>
</if>
</if>
</if>
</if>
</if> 

But how to set up a default zone that shows on the startpage and the rest?

obmob 10-24-2007 03:52 PM

This is a nice integration, will see if it still works in 3.6.8 :D

Kooldino 10-26-2007 06:53 PM

I cant get phpadsnew or openads website (http://www.openads.org/) to save my life. I've been trying for days and they just won't load. Am I alone here?

hdraye 10-26-2007 07:05 PM

it works here :)

Kooldino 10-29-2007 06:52 PM

I'm pretty thoroughly confused by this entire thing.

I installed OpenAds, and I installed this plugin.

I pointed the product to the full http: url of the openads installation.

I edited my header template and tried to add in an <ad ... /> tag, and when I tried to save it, it spat out:


Quote:

Warning: view_ad(/home/.cedarsprings/kooldino/evoxforums.com/forums/includes/lib-xmlrpc-class.inc.php) [function.view-ad]: failed to open stream: No such file or directory in /includes/init.php(329) : eval()'d code on line 88
I searched through my directories, and there is no file named "lib-xmlrpc-class.inc.php" anywhere.

Now, I'm not sure how to tell if OpenAds is setup correctly, so I made a stupid little html page with the javascript code generation...

http://www.evoxforums.com/forums/openads/www/wtf.html

Help?

Kooldino 11-01-2007 06:21 PM

Anyone? Bueller?

Kooldino 11-06-2007 08:25 PM

I could really use some help here...where am I supposed to find lib-xmlrpc-class.inc.php?


All times are GMT. The time now is 11:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01639 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete