vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   phpAdsnew (https://vborg.vbsupport.ru/showthread.php?t=95848)

mikexxx 01-16-2006 05:54 PM

Phpadsnew Problem !!

Yesterday I had a problem with the server. I completely restored the server (Cobalt Raq550) to a fresh install. After that I restored the Backup (I’m lucky the backup was only a few ours old) from the website and mysql.

The website works again. But there is a problem.

When a user Reply on a post it goes wrong. I give you two examples. This was working fine before I restored the server.

#1

Quick Reply > When clicking the send button “Posting Quick Reply - Please Wait” appears and noting else. When I refresh the page the post is made. So after the post is made the page will net refresh.

#2

When ik use the button “Post Reply” I go to the page “newreply.php?do=…..” I type in a message and click “Submit Reply” then the next page can’t be found? I get a IE error screen. Again if i go back to the tread the message is there.

After a lot of searching I fond the problem. If I disable the phpadsnew plugin (post #3) it is working fine !!

Can somebody please advice me.

imported_infitech 11-10-2006 05:16 AM

isthis going to work in 3.6.3?

shunx91 01-20-2007 08:17 PM

Hi Guys,

SOrry I've been trying to get phpadsnew to work on my site for 2 days alreayd and I can't figure out why it doesn't display the threads. I followed the directions and uploaded the plugin with the folloing code:

HTML Code:

  <?xml version="1.0" encoding="ISO-8859-1" ?>
- <plugins>
- <plugin active="1" product="vbulletin">
  <title>PhPadsNew</title>
  <hookname>global_start</hookname>
- <phpcode>
- <![CDATA[ // Ads
if (@include(getenv('DOCUMENT_ROOT').'/phpads/phpadsnew.inc.php'))
{
    if (!isset($phpAds_context))
    {
        $phpAds_context = array();
        $phpAds_raw = view_raw ('zone:1', 0, '', '', '0', $phpAds_context);

        $phpAds_context2 = array();
        $phpAds_raw2 = view_raw ('zone:2', 0, '', '', '0', $phpAds_context2);

        $phpAds_context3 = array();
        $phpAds_raw3 = view_raw ('zone:3', 0, '', '', '0', $phpAds_context3);

        $phpAds_context4 = array();
        $phpAds_raw4 = view_raw ('zone:4', 0, '', '', '0', $phpAds_context4);

        $phpAds_context7 = array();
        $phpAds_raw7 = view_raw ('zone:7', 0, '', '', '0', $phpAds_context7);

    }
}
  ]]>

  </phpcode>
  </plugin>
  </plugins>

My question right now is what do I do after this? I have zone 1 defined in phpadsnew with a couple of banners linked to it. Can someone tell me what I have to do after this?


All times are GMT. The time now is 12:00 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.00947 seconds
  • Memory Usage 1,725KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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