Version: 1.00, by magnus
Developer Last Online: Feb 2012
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.
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.
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.
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.
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?
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)
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.
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!
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.