vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   AdColumns v1.0 (https://vborg.vbsupport.ru/showthread.php?t=62348)

gmarik 03-12-2004 03:28 PM

Nice. Are there any text block that I can use and turn off or only a (1) template to fill?

magnus 03-12-2004 03:35 PM

Quote:

Originally Posted by gmarik
Nice. Are there any text block that I can use and turn off or only a (1) template to fill?

I'm not sure I completely understand the question. Yes, you can 'turn off' (disable) blocks. You don't have to have both, you can have either the right or left active if you wish as well as both. Each block is driven by it's own template, so if you use both blocks, then you'll need to fill both templates.

riyatch 03-12-2004 04:21 PM

very nice hack! thanks

click tracking and the ability to have different ads in different forums would be great.

Ted S 03-12-2004 09:48 PM

The installer worked just fine with no errors but when I try to load Advertisement Column(s) in the settings area it shows no options and nothing to change?

If I try to manually import the settigns to mysql it shows that the records are already in the database as well.

drumsy 03-12-2004 10:06 PM

I've still got problems with this, but it's alignment problems now. If I set this up, I've put some PhpAdsNew code in there, and when I go into a forum, it displays fine, but when I open up a thread, it squishes the individual posts a little thinner than normal. I've even removed the code and left the template blank like it was originally and it still does it. Any ideas?

magnus 03-12-2004 10:29 PM

Quote:

Originally Posted by Ted S
The installer worked just fine with no errors but when I try to load Advertisement Column(s) in the settings area it shows no options and nothing to change?

If I try to manually import the settigns to mysql it shows that the records are already in the database as well.

If you select the "Advertisement Column(s)" selection from the dropdown in the AdminCP, you see nothing at all? Do you see text? What? If possible, could you take a screenshot? This is very odd. Also, could you give me a list (in order) of the fields in the 'settings' table? Perhaps yours was modified as well.

Oh, and are you installing this on RC4? (It should work in all versions, but I'm just curious)

magnus 03-12-2004 10:37 PM

Quote:

Originally Posted by drumsy
I've still got problems with this, but it's alignment problems now. If I set this up, I've put some PhpAdsNew code in there, and when I go into a forum, it displays fine, but when I open up a thread, it squishes the individual posts a little thinner than normal. I've even removed the code and left the template blank like it was originally and it still does it. Any ideas?

Let's try something, go to your AdminCP then Styles and Templates -> StyleVars.

Look for the "Message Area Width (pixels)" and set it to "auto" (yes, just type "auto" into the box [w/o the quotes]).

Let me know if that fixes it. It's not a problem with the hack, it's a tables problem. A few people reported this in Dark_Wizard's hack, too.

Also, make sure you're using the latest IE (if, of course, you're using IE).

LMK.

edit: If you could provide me with a link to view this, I may be able to trace the HTML.

Ted S 03-12-2004 11:23 PM

snip

Ted S 03-12-2004 11:25 PM

Attached is the screen shots from the admin settings area. I am using rc4 with minimal hacks (I can't think of anything done to settings lately). The settings varname list is in my previous response. Thanks!

magnus 03-12-2004 11:44 PM

Quote:

Originally Posted by Ted S
Attached is the screen shots from the admin settings area. I am using rc4 with minimal hacks (I can't think of anything done to settings lately). The settings varname list is in my previous response. Thanks!

Err.. I need the fields list, not the varnames. For example, my fields are "varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile".

From the looks of the screenshot, it's as if the settinggroup is missing.

Run:
[SQL]
SELECT * FROM `settinggroup` WHERE grouptitle = "adcolumn"
[/SQL]

Make sure that returns the adcolumn settinggroup. It's possible your 'displayorder' field isn't set to AUTO INCREMENT. Verify the 'displayorder' field isn't empty for 'adcolumn'. If it is, assign it the next available ID.


All times are GMT. The time now is 04:40 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.01352 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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