Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
AdColumns v1.0 Details »»
AdColumns v1.0
Version: 1.00, by magnus magnus is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 03-09-2004 Last Update: Never Installs: 276
 
No support by the author.

AdColumns 1.0

Description
This hack will allow you to toggle between (or have both) right/left column sidebars on your forum allowing you to insert Advertisements, Banners or whatever else you desire.

Information
Sidebar HTML code by DARK_WIZARD, used with permission (re: https://vborg.vbsupport.ru/showthread.php?t=59781)

Tested on RC4, should work on RC1+

Version History
v1.0 - Initial Release

Planned Features
v2.0
- Image/Content control via ACP (actually, I have this done now.. I'm just finishing up testing)
- Increased Ad Locations toggles (top, bottom, etc..)


If you use this, please click

Show Your Support

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

Comments
  #42  
Old 03-13-2004, 02:21 AM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by drumsy
Unfortunately that did not work and I do not know what other recourse to take.
If you could give me the source of the page in question, I could check out the HTML. I'm sure it's a simple <table> problem.

I'm betting you're using the default vB Style? (Layout, not colors..)
Reply With Quote
  #43  
Old 03-13-2004, 07:20 AM
adusei adusei is offline
 
Join Date: Jan 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
first of all - thx to Magnus: I really appreciate the work you've done! Great hack!

Small problem:
Everything is working proper but - if I enable the RIGHT sidebar, it is only to be seen on all forumdisplay-pages, not on the index-page.
Of course it would be better not only to see the left sidebar (if enabled) on the first page of the board but the right (if enabled) too.

Any help out there?

Best regards and TIA -

adusei
Reply With Quote
  #44  
Old 03-13-2004, 01:07 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by adusei
Hi,
first of all - thx to Magnus: I really appreciate the work you've done! Great hack!

Small problem:
Everything is working proper but - if I enable the RIGHT sidebar, it is only to be seen on all forumdisplay-pages, not on the index-page.
Of course it would be better not only to see the left sidebar (if enabled) on the first page of the board but the right (if enabled) too.

Any help out there?

Best regards and TIA -

adusei
adusei, I'm confused. The AdColumns show up on every page that includes $header and $footer. It's impossible for them not to. Could you show screenshots or possibly give me a link to see for myself?
Reply With Quote
  #45  
Old 03-13-2004, 01:55 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Drumsy,

Ok, I found the culprit. It's a slight glitch with the vB default style.

This line is what is causing the problem:
HTML Code:
<div style="padding:0px 25px 0px 25px">
You need to remove, or replace that line with:
HTML Code:
<!-- <div style="padding:0px 25px 0px 25px"> -->
Now, I just need to figure out what template that is located in. Check the following templates:

spacer_open
postbit
postbit_legacy

It should be in one of those.
Reply With Quote
  #46  
Old 03-14-2004, 02:20 AM
drumsy's Avatar
drumsy drumsy is offline
 
Join Date: Nov 2001
Location: Charlotte, NC
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, so far I've found it in spacer_open only as:

Code:
<div style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
Reply With Quote
  #47  
Old 03-14-2004, 02:22 AM
drumsy's Avatar
drumsy drumsy is offline
 
Join Date: Nov 2001
Location: Charlotte, NC
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This does change the layout, even before I enable the AdColumn. Namely, where I used to have some space between the right and left edges of my forums and the edge of the screen, it sits pretty much right on top of it now.
Reply With Quote
  #48  
Old 03-14-2004, 02:24 AM
drumsy's Avatar
drumsy drumsy is offline
 
Join Date: Nov 2001
Location: Charlotte, NC
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I've enabled it, it works fine everywhere, but does it have to be right up on the edge of the screen? Check out www.honda-acura.net/forums as an example.
Reply With Quote
  #49  
Old 03-14-2004, 08:47 AM
adusei adusei is offline
 
Join Date: Jan 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus
adusei, I'm confused. The AdColumns show up on every page that includes $header and $footer. It's impossible for them not to. Could you show screenshots or possibly give me a link to see for myself?
I'm sorry to say - but it is like I mentioned before: RIGHT sidebar is not to be seen (to be more precisely: it is to be seen BELOW the "What's up here"-column and on top of the time).
I tested it with Mozilla 1.6 and Opera 7 and IE6 - always the same problem.

A friend tested it with IE5 - and there it s working proper. Since I need the RIGHT sidebar I please need some help. What can be my mistake ?

TIA and best regards,

adusei

P.S.: I installed everything again - same problem LEFT sidebaris ok, RIGHT doesn't appear proper...
Reply With Quote
  #50  
Old 03-14-2004, 12:53 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

adeusi,

In a previous post you said it's working fine on FORUMHOME, but not on your INDEX page, correct? When I checked your site earlier, you have pretty heavily modified INDEX page. I'm sure you've got an open html tag somewhere that's screwing with it. Try running the site url through a HTML validator, it will help you track down the culprit.

If it's working on fORUMHOME fine, logic tells us it's got to be something specific to the INDEX page.
Reply With Quote
  #51  
Old 03-14-2004, 12:58 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by drumsy
Ok, I've enabled it, it works fine everywhere, but does it have to be right up on the edge of the screen? Check out www.honda-acura.net/forums as an example.
What do you mean by 'right up on the edge of the screen'? I visited the link, and it looks great on my side?
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 07:42 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04774 seconds
  • Memory Usage 2,316KB
  • 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
  • (2)bbcode_html
  • (4)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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