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)

Dave-M 11-12-2007 11:24 PM

Hi,

Thanks for this :)

When I have the plugin enabled, my forums disappear, and I get this error on a white screen.
PHP Code:

Parse errorsyntax errorunexpected $end in /mysite.com/forums/includes/vb_ad_management/global_start.php on line 331 

Would you have any idea what I might have done wrong?

I have re-uploaded everything, but to no avail.

Only issues when installing the template hacks were that I'm using a custom skin, so didnt have the
PHP Code:

&nbsp

in my header, so I put it above $spacer_open.

Any help would be greatly aprreciated :)

Thanks.

Dave.

RedTyger 11-13-2007 08:43 AM

Quote:

Originally Posted by saintcjh (Post 1381159)
Hello,

I've installed this mod, however its not showing any adverts at all.

Can you please advise me what to do? I've done everything as susgested in other threads of the forum, but with no luck whatsoever.

Kind Regards
Charlie

It must be set up incorrectly somehow, check your settings, template edit, change the advertisment code to plain text to check it.

Quote:

Originally Posted by razvans (Post 1381377)
The mod works very good with old versions of adsense codes. not it works very good. if i am switching back to the new type of adsense code the ads are not showing
Thank you for your reply

I tried the new adsense code and while no advertisements appear, a blank space appears of the size where the advertisement should be. I can't tell you what the issue is I'm sorry to say, but the modification is working correctly.

Quote:

Originally Posted by Dave-M (Post 1381396)
Hi,

Thanks for this :)

When I have the plugin enabled, my forums disappear, and I get this error on a white screen.
PHP Code:

Parse errorsyntax errorunexpected $end in /mysite.com/forums/includes/vb_ad_management/global_start.php on line 331 

Would you have any idea what I might have done wrong?

I have re-uploaded everything, but to no avail.

Only issues when installing the template hacks were that I'm using a custom skin, so didnt have the
PHP Code:

&nbsp

in my header, so I put it above $spacer_open.

Any help would be greatly aprreciated :)

Thanks.

Dave.

Have you redownloaded the files from here, then overwritten? It sounds like global_start.php has been edited somehow.

conimus 11-13-2007 09:58 AM

When I visit my board as a guest, I can not see any banner or ad. But as soon as I log in as a registered user, I see all the banners.

How can I change this so that every visitor can see the banners?

RedTyger 11-13-2007 10:01 AM

Guests are usergroup 1, add this to your usergroup settings in Global Settings.

conimus 11-13-2007 10:19 AM

Quote:

Originally Posted by RedTyger (Post 1381640)
Guests are usergroup 1, add this to your usergroup settings in Global Settings.


Sorry, but I don't understand...

Dave-M 11-13-2007 12:31 PM

Quote:

Originally Posted by RedTyger (Post 1381619)
Have you redownloaded the files from here, then overwritten? It sounds like global_start.php has been edited somehow.

I downloaded the files from here, did the edit of the files in wordpad (that ok?), upped the files to the server in "auto" mode (could this be it?).

I will redownload and start a fresh and see what happens :)

RedTyger 11-13-2007 01:17 PM

Oh, you edited the file? There's your problem then. Your editing is incorrect.

Dave-M 11-13-2007 02:47 PM

Yes, sorry, have I misunderstood the instructions?

Wasn't there any need to follow the "How to add your own custom adcode blocks in 3 minutes" part?

Should I just reupload the unedited files then?

Thanks for your patience :)

Edit 1: fixed, all my fault :)

Edit 2: can I ask a noob question while I'm here as well please?

If I am using adsense javascript ads, and the are aligning left, what would be the correct way of centering the ads without murdering my skin's layout. If I use
PHP Code:

<div align="center"

before the
PHP Code:

<script type="text/javascript"><!-- 

part of the adsense code, it looks fine in firefox, but it sends my custom skin all out of line in IE.

Any pointers would be great :)

class101 11-14-2007 05:39 AM

I'd like to see on the futur version this type of random ads box build in a iframe/flash look, like on this forum on the top:

http://www.psicofxp.com/forums/

The visitors dont have to refresh that they have already seen tons of ads , I'd like to see this as an optional box like you made for static and random codes /per refresh, that would be so much kickass.

DAdiguzeL 11-14-2007 09:24 PM

It's really good but i can't do banner rotation to left and right side of the forum without coloumns. I did with coloumns and that was not looking so good. Will anyone help me please?


All times are GMT. The time now is 04:56 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.04933 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
  • (6)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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