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)

eLsGn 04-29-2007 03:23 PM

Quote:

Originally Posted by eLsGn (Post 1230389)
drar sir

i cannot remover ur hack every time i try to remove i still have Adsense Banner Settings in my setting panal

?? could u tell me how to safe remove the hack

ski diva 05-03-2007 03:20 PM

Does this work with 3.6.5?

jw00dy 05-03-2007 04:11 PM

yes

ski diva 05-10-2007 12:32 AM

Does it work with OpenAds?

The Bish 05-10-2007 01:01 AM

Quote:

Originally Posted by ski diva (Post 1244704)
Does it work with OpenAds?


Yes.

VViper 06-08-2007 12:10 PM

Hi There, what a good idea.

Can anyone help out with the code example that edits the header style and places banner ID one in the forums homepage or others.

I have installed the mod and the openads but i cant get the last bit to work.

Many thanks in advance.

The Bish 06-08-2007 12:16 PM

I think this is what you are looking for and if not sorry...

HTML Code:

<script language='JavaScript' type='text/javascript' src='http://prosper-living.com/openads/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
  if (!document.phpAds_used) document.phpAds_used = ',';
  phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
 
  document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
  document.write ("http://prosper-living.com/openads/adjs.php?n=" + phpAds_random);
  document.write ("&amp;what=zone:1");
  document.write ("&amp;exclude=" + document.phpAds_used);
  if (document.referrer)
      document.write ("&amp;referer=" + escape(document.referrer));
  document.write ("'><" + "/script>");
//-->

</script><noscript><a href='http://prosper-living.com/openads/adclick.php?n=ac7325d7' target='_blank'><img src='http://prosper-living.com/openads/adview.php?what=zone:1&amp;n=ac7325d7' border='0' alt=''></a></noscript>


VViper 06-08-2007 12:33 PM

Hi there thanks for the reply, i am assuming i can replace the URL with my own and stick it in the header of the forum?

If i cut and paster your code above i can get the banner from your website, but if i replace the URL with my own i get nothing.

rc1320 06-09-2007 02:36 PM

Can you run open ads while runing ad management at the same time. What I am looking to do is utilize all of the ad code blocks and unique ad placements tools from ad management while relying on openads to run my main placements and any units that I need to run reports on.

VViper 06-10-2007 01:25 AM

I tryed going to the phpaddnew new website for some how to guides but i can get my head around it.

I have made a gif banner in the php program and i want to display it below the header so i assume that i goto styles, header and add this

<ad what="zone:1" />

So if that is the first banner and the first zone shouldnt it display there?

can anyone point to a step by step as i really like the idea on this program and want to get it happening on the site.

blindman4556 06-20-2007 04:22 PM

umm how do you install this? what do i do with the location of the phpnewads text field ?

VViper 07-07-2007 08:40 AM

hi members,

i cannot get local mode in the drop down box in the invocation listing, although it is ticked under settings.

can ne1 help?

please

Boots 07-18-2007 10:55 PM

for those on 3.6.4+ who can't save, you have to make sure you have the path right to the OpenAds!

bryanb 07-23-2007 09:03 AM

Open Ads has released 2.3.35-beta. Has anyone installed this with phpAdsNew Integration yet??

bryanb 07-23-2007 09:18 AM

By the way, I just tried to upgrade this product (I was running 1.0.1) and I encountered this database error:

Database error in vBulletin 3.6.7:

Invalid SQL:
DELETE FROM phrase WHERE product = 'mip_phpadsnew' AND languageid = -1;


MySQL Error : Incorrect key file for table './xdatabasename/phrase.MYI'; try to repair it
Error Number : 126


And now I go to the Admin panel and "phpAdsNew Integration" is missing. But the ads are still being served. :confused:

I recently upgraded to MYSQL 5.0.45 - would this have anything to do with it?

bryanb 07-25-2007 02:21 PM

I've had to uninstall this mod since it was causing conflicts somehow. It dissappeared from the "Manage Products" section - but the ads were still running. I tried to install another product (I forgot about this little problem) Forum Search Stats 2.0, and the entire system crashed. I had nothing but a blank page. I restored the board and now all the ads are gone. So there was something up with this. I'm just going to use the script from php_ads from here on out. Bummer.

ruhrpottforum 08-01-2007 03:53 PM

How do I place a Skyscraper on the left of the Postbits or Threadlistings (but not on all other parts of the forum) for guests only?

I can not find the right place at the right template to do that (I have a fixed width style).

any idea?

FROGGYJ 08-03-2007 06:34 PM

well moved to a new server and this plugin is causing me to receive blank white pages with the following:

Fatal error: call to undefined function view_ad() in .....\global.php(512): eval()'d code on line 140

vb 3.5.4

any idea how to disable this thing at least temporarily? I can't get into my admincp either so I need a manual solution. I get the admin login screen, but as soon as I log in I get a blank page as well.

FROGGYJ 08-03-2007 11:29 PM

oh and yes I triple checked compatibility mode is set to true. Anyone? the adserver is working fine, but I can't access my forums whatsoever.

obetyance 08-04-2007 12:03 AM

after downloading it, where do you we go? how do we install it. sorry, i'm new to vBulletin. thansk! :)

ianwilcox 08-05-2007 02:46 PM

Does this work with 3.6.8 ?

Raffaele 08-06-2007 01:43 AM

I have followed the instructions but i do not see the image in the right corner is there a way i can troubleshoot this or maybe one of you folks can help me with this and i'm willing to pay for your services to...

Thank you,
RV

Ohh yahh i forgot i'm using VB3.6.8

Got it fixed with the latest version of Openads 2.3.36-beta Thnak you for the help
RV

quasan 08-06-2007 11:56 AM

after installing the 3.6.8 update my banners were gone

irishblacknight 08-06-2007 11:59 AM

Quote:

Originally Posted by quasan (Post 1311104)
after installing the 3.6.8 update my banners were gone

Is the code still in your template? Or did you overwrite it?

quasan 08-06-2007 12:06 PM

ok ok :) already got it ;) my fault^^

I killed my right column template *blush*

sapper6fd 08-29-2007 05:30 AM

Does this work with the latest version of phpadsnew / openads and vBulletin 3.6.8???

rpainter 09-05-2007 06:36 PM

This is a great hack. Just installed on my 3.6.8 forum, and it is working great.

heynurse 09-18-2007 11:43 PM

I'm wondering if anyone has this working using OpenAds 2.4 the latest stable version of OpenAds? I'd love to hear some feedback on successful implemtations of VB and OA :)

dfe 09-24-2007 07:29 PM

In the server settings, the path to the openads installation, must this be the full path on the server?

ie my site is install in /var/www/vhosts/domain/httpdocs/forum
OpenAds is installed at the same level as the forum, so not inside the vbulletin directory.

So do I need to put in the entire path, or just ../forum?

MediaHound 10-02-2007 05:46 AM

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.

I think pxcmedia had the same problem on page 29 on this thread, post #432. (I have a different vb version than him though)
I want to put it off on the right side of the header, you know, between these tags:
Code:

        <td align="$stylevar[right]">
        </td>

Can someone post their header template so I can see where you put it?
Does anyone know why the template editor utility is selective on what it will save and what it chokes on?
This is a real bummer because I got as far as installing both Openads and this mod but cant get my banners on the forum. I can get them to show on a test page though with my invocation code... I just can't edit my header template!
Thanks in advance!

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 04:27 PM.

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.01597 seconds
  • Memory Usage 1,835KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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