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
  #82  
Old 03-28-2004, 09:41 PM
rocket98 rocket98 is offline
 
Join Date: Mar 2004
Location: Edmonton
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tried various things to get the alignment working on this "NICE Addition"; however I was not able to get that down pat. I have visited some of the sites who have installed this code and each has the same problems noted in previous posts. I looked at the code from a page dump inside Golive and found all ending tags in the footer section Highlighted because each was out of alignment with the remaining code of the page.

Not sure how it can be done but it would be nice if your columns appeared below the Nav bar. That way the nav bar remains sized as intended and content falls below.

See enclosed pic for my suggestion.

Good hack, but it's turned off for now.
Reply With Quote
  #83  
Old 03-29-2004, 08:39 AM
DaveLogic DaveLogic is offline
 
Join Date: Jun 2003
Location: London
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Removed old version, tables etc and reinstalled but receive this error when trying to install..

Database error in vBulletin 3.0.0:

Invalid SQL:
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'setting_adright_title', 'Advertisement "Right" Column Active', 5000)

mysql error: Duplicate entry 'setting_adright_title-0-5000' for key 2

mysql error number: 1062
Reply With Quote
  #84  
Old 03-29-2004, 08:44 AM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got the exact same thing jsut now!

ok he left out one query -

DELETE FROM `phrase` WHERE `varname` = 'setting_adleft_title' LIMIT 1;

Add that to the list of queries above - and redo them all -- then run the installer ---


See mangus -- IM learning! IM LEARNING!!!!!!!!!! :nervous:
Reply With Quote
  #85  
Old 03-29-2004, 08:56 AM
DaveLogic DaveLogic is offline
 
Join Date: Jun 2003
Location: London
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joeychgo
i got the exact same thing jsut now!

ok he left out one query -

DELETE FROM `phrase` WHERE `varname` = 'setting_adleft_title' LIMIT 1;

Add that to the list of queries above - and redo them all -- then run the installer ---


See mangus -- IM learning! IM LEARNING!!!!!!!!!! :nervous:
Many thanks...
Reply With Quote
  #86  
Old 03-29-2004, 08:58 AM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im amazed at myself for figuring it out LOL
Reply With Quote
  #87  
Old 03-29-2004, 03:25 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 jeoworks
Will this work with the final version of vBulletin? The version after RC4?

Forgive me with terminology

vBulletin 3.0.0

Thanks.
Yes, there should be no problem with vB 3.0.0 "Gold".
Reply With Quote
  #88  
Old 03-29-2004, 03:26 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 rocket98
I've tried various things to get the alignment working on this "NICE Addition"; however I was not able to get that down pat. I have visited some of the sites who have installed this code and each has the same problems noted in previous posts. I looked at the code from a page dump inside Golive and found all ending tags in the footer section Highlighted because each was out of alignment with the remaining code of the page.

Not sure how it can be done but it would be nice if your columns appeared below the Nav bar. That way the nav bar remains sized as intended and content falls below.

See enclosed pic for my suggestion.

Good hack, but it's turned off for now.
That's the beauty of templates, you can put things wherever you want. Just change the HTML code and place it below $navbar and you're set.
Reply With Quote
  #89  
Old 04-03-2004, 07:28 AM
heynurse heynurse is offline
 
Join Date: Jan 2002
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Magnus,

Unfortunately, this is still not taking care of my spacing problem, thanks for all your help trying to get this figured out. :ermm: I guess I'll keep watching this thread, if anyone figures it out, please let me know what it was to fix it.

Does anyone have this working with proper alignment on a different styles other than the default style?

Quote:
Originally Posted by magnus
heynurse,

Here is your problem:
HTML Code:
		<div class="page" style="width:95%; text-align:left">
That needs to be "width:100%". You can change it in your Stylevars in the AdminCP.
Reply With Quote
  #90  
Old 04-03-2004, 09:52 PM
pcalloway pcalloway is offline
 
Join Date: Dec 2003
Location: Indiana
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to do the edit but I don't find anything like this in my global.php file:
Code:
	#######################
	eval('$header = "' . fetch_template('header') . '";');
	#######################
I'm running vBulletin 3.0.0 Release Candidate 3
Reply With Quote
  #91  
Old 04-04-2004, 06:39 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 heynurse
Magnus,

Unfortunately, this is still not taking care of my spacing problem, thanks for all your help trying to get this figured out. :ermm: I guess I'll keep watching this thread, if anyone figures it out, please let me know what it was to fix it.

Does anyone have this working with proper alignment on a different styles other than the default style?
I don't understand, if I take your showthread.txt output file, modify that line to read width:100%, it works fine. Are you positive you changed it correctly?
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 04: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.08491 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_html
  • (5)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_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