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 11-25-2006 07:54 PM

Correct. If you search the thread earlier someone did something very similar to have the banner show on vB CMPS. Both the header and footer banners will work anywhere.

Is anyone going to tell me if the code update in this post fixes the bugs mentioned?

Kevlar 11-26-2006 01:22 PM

Quote:

Originally Posted by RedTyger (Post 1124393)
Unfortunately I don't actually use any advertising myself so I don't have access to the code to test on.

However! The file attached to this post should, I hope, fix both the problem with the Google Analytics code causing problems with the footer and the Google Adsense code that wouldn't show up. I can't test myself, so if anyone would like to be a guinea pig...just overwrite your existing product with this one.

So far so good... I turned on the global on switch and the google switch and seems to be working thus far. I'll get back to you if I have any more issues...

Kevlar 11-26-2006 04:33 PM

It doesn't seem to want to display the google adsense script code when I put it in the box. It outputs the advertisement box, but the box is empty. If I put regular text in the box, it will output the regular text.

RedTyger 11-26-2006 04:35 PM

Curses. Is there any issue with me using your adcode to test on my own empty passworded dev forum? If not, can you PM me the code and I'll do some proper testing.

AWJunkies 11-26-2006 11:58 PM

I would love this mod to have counter for the links and reports and so on like this mod. If you can view there source and make it happen I would really appreciate it.
https://vborg.vbsupport.ru/showthread.php?t=131512

michaelsilvia 11-27-2006 04:02 AM

RedTyger, this is an AWESOME mod and should be part of the next vb upgrades!

What is the best way to change the "Sponsored Links" from the PM, Threads, announcemnet area? This may conflict with Google since they don't like those words. I would like to change it to "Ads By Google".

Mike

RedTyger 11-27-2006 04:23 PM

Quote:

Originally Posted by AWJunkies (Post 1126012)
I would love this mod to have counter for the links and reports and so on like this mod. If you can view there source and make it happen I would really appreciate it.
https://vborg.vbsupport.ru/showthread.php?t=131512

Grabbing someone else's code? Don't think so mate, not terribly ethical. I don't actually need to see anyone else's code to do that, but it's not something I have plans to do at this time. Sorry. I'd have to rewrite most of what I've done so far and half the attraction (I hope/think) is it's flexibility, I'd likely have to remove some of that to incorporate stats.

Quote:

Originally Posted by michaelsilvia (Post 1126149)
RedTyger, this is an AWESOME mod and should be part of the next vb upgrades!

What is the best way to change the "Sponsored Links" from the PM, Threads, announcemnet area? This may conflict with Google since they don't like those words. I would like to change it to "Ads By Google".

Mike

Just change the "Sponsored Links" text in the Global Settings section. It's near the bottom.

Click install please!

AWJunkies 11-28-2006 11:14 PM

I didn't mean steal toolio I ment look at it and see what I ment by stats and what could be a future add on to this mod. No reason to be nasty. I am a programer as well and we all share and help eachother to make the best mods possible it has nothing to do with stealing and always give original coder credit. If you don't like the idea that is totaly understandable it is your mod and a GREAT mod at that no credit taken away. But for a business or commercial stand point without the stats it is useless. I have 25 websites and will use this mod on about 10 of them but rest are to commercial and need to record stats to show the clients. I client log in to check stats is a huge plus as well which would be a great add on.

The Wedge 11-29-2006 01:08 AM

when you have ads after posts it kills the ability to click the users name and get the drop down for View Public Profile
Send a private message
Visit homepage!
Find More Posts by
Add to Your Buddy List

This happens on on the posts that appear just before the ad

Michel Fortin 11-29-2006 03:22 AM

Hmmm, got this error message when trying to install the product...

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vb_plugin
        (`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
        ('1', '5', 'Postbit/Postbit_Legacy advertisement integrate', 'cache_templates', '\r\nif ($vbulletin->options[\'adintegrate_onoff\'])\r\n{\r\n        if ($vbulletin->options[\'adintegrate_footer_onoff\'])\r\n        {\r\n                $adtemplates[] = \'footer_advertisement\';\r\n        }\r\n        \r\n        if ($vbulletin->options[\'adintegrate_forumbit_onoff\'])\r\n        {\r\n                $adtemplates[] = \'forumbit_advertisement\';\r\n        }\r\n        \r\n        if ($vbulletin->options[\'adintegrate_header_onoff\'])\r\n        {\r\n                $adtemplates[] = \'header_advertisement\';\r\n        }\r\n        \r\n        if ($vbulletin->options[\'adintegrate_leftcolumn_onoff\'])\r\n        {\r\n                $adtemplates[] = \'leftcolumn_advertisement\';\r\n        }        \r\n        \r\n        if ($vbulletin->options[\'adintegrate_announcements_onoff\'] OR $vbulletin->options[\'adintegrate_pms_onoff\'] OR $vbulletin->options[\'adintegrate_posts_onoff\'])\r\n        {\r\n                if ($vbulletin->options[\'legacypostbit\'])\r\n                {        \r\n                        $adtemplates[] = \'postbit_legacy_advertisement\';\r\n                }\r\n                else\r\n                {\r\n                        $adtemplates[] = \'postbit_advertisement\';\r\n                }\r\n        }\r\n        \r\n        if ($vbulletin->options[\'adintegrate_rightcolumn_onoff\'])\r\n        {\r\n                $adtemplates[] = \'rightcolumn_advertisement\';\r\n        }        \r\n        \r\n        if ($vbulletin->options[\'adintegrate_threadbit_onoff\'])\r\n        {\r\n                $adtemplates[] = \'threadbit_advertisement\';\r\n        }\r\n        \r\n        if (count($adtemplates) > 0)\r\n        {\r\n                $globaltemplates = array_merge($globaltemplates, $adtemplates);\r\n        }\r\n}\r\n', 'adintegrate_rt');

MySQL Error  : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date        : Wednesday, November 29th 2006 @ 12:15:35 AM
Script      : http://www....
Referrer    : http://www.....com/admincp/plugin.php?do=productadd
IP Address  : 74.101.243.93
Username    : Michel Fortin
Classname    : vB_Database



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