vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   DHC Banner Ads - Upgrade [1.4] (https://vborg.vbsupport.ru/showthread.php?t=79738)

beansbaxter 07-20-2005 05:35 AM

i am running 3.0.7 and i cannot get this to work.

beansbaxter 07-20-2005 04:22 PM

ok so this morning, for testing purposes, i did a reinstall of vbulletin fresh on a clean new database. i figure i can test the mod out, so if it works then i can take it to my live site.

i went through the install instructions, verbatim, and not one hitch.

i go into admin cp, and the dhc banner system heading is there, but when i click on it, there are no links underneath it, just 3 little small blue boxes that are about 2 pixels high. the top little box does nothing, the bottom two do link to something, not sure what since i cant read anything.

That's ok, I can look in the code, and for whatever reason it did not make things work, but I see the link (example dhcbannerads.php?do=view) and I can make my own 3 links from there to view, add, and do settings so I'm ok with this bug.

So I deleted the default banner, and added a new banner. Everything seems to work so far up to this point. Now I just want to insert the banner into the header by adding the appropiate code. I just used the install instructions to copy and replace the code in the header template.

Keep in mind when I setup the banner, I selected ALL to make sure it was in all banner slots.

I load my forum and the banner is not there, dont know what is going on?????

beansbaxter 07-20-2005 04:32 PM

update, i got it to work. for some reason, once the banner has been saved, u have to go back and manually choose the banner slot and the dimensions again, cause they dont save on the initial load.

beansbaxter 07-20-2005 05:01 PM

and last update. i fixed the admincp issue, all you have to do is search in phrases for one of the banner phrases, i did banner_view and made no changes and saved it, it forced the phrases to rebuild themselves and now it all works perfect.

Aeolian_X 07-22-2005 10:48 PM

LOL! You fixed it yourself, by doing everything I was gonna tell you to do. Glad to see it.

carloshax 07-25-2005 04:23 PM

Quote:

Originally Posted by MissKalunji
no no trust me it does.....and as for the phrases i had to twik the index in adminc instead of making it look for the phrases (for some reason it doesnt) i put up the word myself here's what i did and it works fine :

//Banner
construct_nav_option("Banner View", 'dhcbannerads.php?do=view', '<br />');
construct_nav_option("Banner Add", 'dhcbannerads.php?do=add', '<br />');
construct_nav_option("Banner Settings", 'dhcbannerads.php?do=settings', '<br />');
construct_nav_group("DHC Banner System", '<hr />');
//Banner

thx very much worked perfectly, this was the only problem i was having

erratic assasin 07-25-2005 08:56 PM

Hi I just installed no probs but I would like to display ad under my banner in the centre anyone help me out please?

cynix2 07-26-2005 11:34 AM

Ok ummm I really need some help on this. Advertising is the only thing that keeps my site going and ever since I switched to vb I havnt been able to have a good advertisment.

I have followed every step of every page and I do not see or get the banners on my page.

I dont have any errors. I put in the phasing for admincp. I have vbadvanced but I dont care if its on that page. I downloaded it a few days ago. NO images show up ANYwhere.

Please help. My site is at your coding mercy.

BOWZONE 07-27-2005 03:38 AM

No problems here....Works great...

*installed*

John Smiley 08-03-2005 07:18 PM

The first edit takes my site down. Do I need to close my site while I add this?
Will it work, once everything is complete?

----------------------------------------------------------------------
/global.php (1 Change)
----------------------------------------------------------------------
FIND

eval('$headinclude = "' . fetch_template('headinclude') . '";');
eval('$header = "' . fetch_template('header') . '";');
eval('$footer = "' . fetch_template('footer') . '";');

ADD ABOVE

// <DHC>
require_once('./includes/functions_bannerads.php');
$TotalSlots = get_banner_slots();
for ($x=1; $x < ($TotalSlots+1); $x++)
{
$banner_ad[$x] = print_random_banner($x);
}
// </DHC>
----------------------------------------------------------------------


All times are GMT. The time now is 11:11 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.01216 seconds
  • Memory Usage 1,741KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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