Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vb Ad Management Details »»
vb Ad Management
Version: 2.1, by RedTyger RedTyger is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Version: 3.5.7 Rating:
Released: 11-19-2006 Last Update: 12-03-2006 Installs: 21
Uses Plugins Template Edits
 
No support by the author.

This is the 3.5 version of the already existing product for 3.6. Read all about the features it in that thread:

https://vborg.vbsupport.ru/showthread.php?t=131150

This is exactly the same, but compatible with 3.5 versions of vBulletin.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 12-21-2006, 04:26 PM
ski diva ski diva is offline
 
Join Date: Jun 2006
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I uninstalled and then re-installed, and seem to be having an installation problem.

This is what I get after I hit "import."

Quote:
Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO Myname_plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'vB Ad Management - Template Cache', '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\'] || $vbulletin->options[\'adintegrate_pms_onoff\'] || $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 : Thursday, December 21st 2006 @ 01:20:36 PM
Script : http://www.MYFORUMNAME/admincp/plugin.php
Referrer : http://www.MYFORUMNAME/testforum/adm...?do=productadd

Classname : vb_database
I don't know what this means or how it can be fixed. Any ideas?

Thanks
Reply With Quote
  #33  
Old 12-21-2006, 04:29 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It means you're trying to install the 3.6 version on a 3.5 forum, which won't work.
Reply With Quote
  #34  
Old 12-21-2006, 04:34 PM
ski diva ski diva is offline
 
Join Date: Jun 2006
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AHA!!!!!!!

Thanks.
Reply With Quote
  #35  
Old 12-21-2006, 05:17 PM
ski diva ski diva is offline
 
Join Date: Jun 2006
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now we're getting somewhere!!!!! It installed fine and it's showing up in the AdminCP and everything! Woo-hooo!

But on to other problems. I have zero coding experience, and when it asks to put in the code for the ad, I'm putting in something like this:

http://www.MYFORUMNAME.com/images/ads/ADNAME.gif

That didn't work. So I tried this:

<a href="http://www.MYFORUMNAME.com/images/ads/ADNAME.gif"></a>

And that didn't work, either.

What am I doing wrong? What should I be putting in, code-wise?

Again, thanks for your help. And sorry for my complete incompetence.
Reply With Quote
  #36  
Old 12-21-2006, 05:33 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What are you trying to achieve? This will give you an image that is linked to somewhere else.

Code:
<a href="http://www.MYFORUMNAME.com/LINKTOPAGE">
<img src="http://www.MYFORUMNAME.com/LINKTOPICTURE" alt="" border="0" /></a>
Reply With Quote
  #37  
Old 12-21-2006, 05:46 PM
ski diva ski diva is offline
 
Join Date: Jun 2006
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! It worked! Just what I needed.
Reply With Quote
  #38  
Old 12-21-2006, 06:58 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Be sure to click install to the right of the mod description in the first post above so you receive update notifications.
Reply With Quote
  #39  
Old 12-22-2006, 02:06 PM
ski diva ski diva is offline
 
Join Date: Jun 2006
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Done and thanks for all your help! This is a great hack, and you've been very supportive.

A couple more questions:

1) Is there a way to make different header & footer ads for each forum?

2) I'm having trouble with the left column ad. I currently have what's essentially a two column layout: the narrower left column has forum stats above text google adsense ads, the wider, right column has the actual forum stuff (threads, etc). When I use your code (and get rid of the google adsense, since I want to replace it with my own ads), I get a third column to the left of the existing left column, and the right column essentially collapses -- the footer moves above it and it's just a mess.

Any ideas what I'm doing wrong?
Reply With Quote
  #40  
Old 12-22-2006, 02:14 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ski diva View Post
Done and thanks for all your help! This is a great hack, and you've been very supportive.

A couple more questions:

1) Is there a way to make different header & footer ads for each forum?

2) I'm having trouble with the left column ad. I currently have what's essentially a two column layout: the narrower left column has forum stats above text google adsense ads, the wider, right column has the actual forum stuff (threads, etc). When I use your code (and get rid of the google adsense, since I want to replace it with my own ads), I get a third column to the left of the existing left column, and the right column essentially collapses -- the footer moves above it and it's just a mess.

Any ideas what I'm doing wrong?
1) Not in such a way as you could manage them like you can now, no. It would have to be manual template edits, there's lots of information about that both here and on the vbulletin.com forums.

2) If it's a custom layout I couldn't guess how to fix it, you'd have to get someone to give it some personal attention probably. Could try asking the author of the theme the best way to add columns? They're are a pain in the behind to do even on the default layout. You're not doing anything wrong, it's just the way it works. Sorry.
Reply With Quote
  #41  
Old 01-25-2007, 07:31 AM
lefteris lefteris is offline
 
Join Date: Sep 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all

I have install the plugin and setup it normally.

I have setup the script Code given to me from google adsense but the plugin not showing to any thread/forum/topic anything.
I have put the forumid into the plugin but nothing....

What am i wrong?
my website is www.gsmforum.gr/forum/

At the footer i have put the adsense code manually and it works.
I put the following code into the script
Quote:
<script type="text/javascript"><!--
google_ad_client = "pub-6439519209298156";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text";
google_ad_channel = "";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

Regards
Lefteris
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:39 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.06112 seconds
  • Memory Usage 2,304KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete