vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vB Ad Management 4 (https://vborg.vbsupport.ru/showthread.php?t=131150)

RedTyger 12-14-2007 12:46 PM

The method for adding a column was changed in this version to speed it up slightly. Open up global_start.php.

FIND:
Code:

                                                $spacer_open = '<table width="'.$stylevar['outertablewidth'].'" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td valign="top">'.$spacer_open;
                                                // Legacy column insertion. If you're having trouble adding your column in the right place, comment out the line
                                                // above (add // in front of it), uncomment the 2 lines below and change '$spacer_open' to something else in your header template to do a search-and-add on.
                                                // $rc_str_replace = '<table width="'.$stylevar['outertablewidth'].'" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td valign="top">';
                                                // $vbulletin->templatecache['header'] = str_replace('$spacer_open', $vbulletin->db->escape_string($rc_str_replace).'$spacer_open', $vbulletin->templatecache['header']);

REPLACE WITH:
Code:

                                                // $spacer_open = '<table width="'.$stylevar['outertablewidth'].'" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td valign="top">'.$spacer_open;
                                                // Legacy column insertion. If you're having trouble adding your column in the right place, comment out the line
                                                // above (add // in front of it), uncomment the 2 lines below and change '$spacer_open' to something else in your header template to do a search-and-add on.
                                                $rc_str_replace = '<table width="'.$stylevar['outertablewidth'].'" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td valign="top">';
                                                $vbulletin->templatecache['header'] = str_replace('$spacer_open', $vbulletin->db->escape_string($rc_str_replace).'$spacer_open', $vbulletin->templatecache['header']);


That should just put it back the way it was before, I don't recall changing what I replaced.

tekguru 12-14-2007 01:07 PM

My thanks that has fixed it nicely :)

netcommander 12-14-2007 01:14 PM

Quote:

Originally Posted by RedTyger (Post 1400847)
Unfortunately I can only understand English. :( I'm not sure a translation would be enough, but if anyone gets it in English I'll deal with it.

I will add new atachment for you

error code is invalid character if I've close adsense everything is good I dont see error message ? how can I do.?

bjpembo 12-14-2007 02:06 PM

Quote:

Originally Posted by Howell
Just installed 4.02 and i'm now getting the following at the top of my showthread.php pages???

Warning: mt_rand() expects parameter 2 to be long, string given in /includes/vb_ad_management/functions_vb_ad_management.php on line 139
I'm having the same issue, upgraded from 3.14 to 4.02

bjpembo 12-14-2007 03:48 PM

I've tried to search for the answer to this but i havent really found what I'm looking for, only a way to completely remove the link instead of modifying where it points.

right now when you click on the "remove ads" link it directs you to register.php, how do i change it to direct to payments.php? the way my site is set, buying a premium subscription removes the ads, not simply registering.

Thanks for your help.

bjpembo 12-14-2007 03:51 PM

Quote:

Originally Posted by bjpembo (Post 1400995)
I'm having the same issue, upgraded from 3.14 to 4.02

just found that this has something to do with the ad refresh option, i turned that part off and the issue went away.

understyle 12-14-2007 03:57 PM

work perfect but

in admincp say this

Quote:

Warning: Invalid argument supplied for foreach() in /admincp/vb_ad_management.php on line 346
help ?

Slingblade61 12-14-2007 04:11 PM

My admin cp is malfuctioning.

The menu reads like this....

Quote:

vB Ad Management
*[setting_adintegrate_global]*
*[setting_adintegrate_ad_sharing]*
*[setting_adintegrate_headernavbar]*
*[setting_adintegrate_leftright]*
*[setting_adintegrate_postbit]*
*[setting_adintegrate_forumbitthreadbit]*
*[setting_adintegrate_footersponsors]*
*[setting_adintegrate_fullpage]*
*[setting_adintegrate_archive]*
*[setting_adintegrate_custom]*

redlabour 12-14-2007 05:20 PM

Quote:

Originally Posted by redlabour (Post 1400848)
Thats what i did.

See here (Settings are after every 4 Post - before Update it only shows them on the first Page - now not on any Page) :

http://www.politikstube.de/forum/fun...t_haetten.html

Anything new about this Bug ?

Think you have only to check the parts again you edit at last Update for Postbit.

Quote:

Originally Posted by Slingblade61 (Post 1401030)
My admin cp is malfuctioning.

The menu reads like this....

Read the Instructions.:rolleyes:

Slingblade61 12-14-2007 05:40 PM

Quote:

Read the Instructions.
Funny.

I did read them. I uninstalled an earlier version first and followed the install instructions.

Perhaps you could be more specific

never mind...... corrupted upload


All times are GMT. The time now is 08:36 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.02626 seconds
  • Memory Usage 1,755KB
  • 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
  • (2)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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