![]() |
Works perfect thanks
|
This is nice.
So if I have a music banner, I'll put it on the music forum. :) |
I get this error what can be wrong?
MySQL Error : Unknown column 'banner' in 'field list' Error Number : 1054 |
Did you skip the XML file import?
This is a Product to be imported via. plug-in system. 1) Choose the right XML file. *** How to Install: In your Admin Control Panel Admincp => Plugin System => Manage Products Click [Add/Import Product] Browse for the file "banner_image.xml" Allow Overwrite should be off Import -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-- *** How to Upgrade: There are 2 old ver. of this hack. What do I use? What do you have installed? 1. banner, alt, link (use: 3.x to 3.5no-code.xml) v1.2 2. banner, alt, link, HTML (use: 3.x to 3.5code.xml) v1.5 In your Admin Control Panel After you upgrade to VB3.5. Admincp => Plugin System => Manage Products Click [Add/Import Product] Browse for the file "xxxxxxxxxxx.xml" Allow Overwrite should be off Import Quote:
|
First I imported the banner_image.xml, than in ForumDisplay I put after $navbar:
<if condition="$foruminfo['banner'] AND $foruminfo['bannerlink']"><center><a href="$foruminfo[bannerlink]" target="_blank"><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></a></center><br /> <else /> <if condition="$foruminfo['banner']"><center><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></center><br /> <else /> <if condition="$foruminfo['bannercode']"><center>$foruminfo[bannercode]</center><br /> </if> </if> </if> Because it was not working I imported the 3.x to 3.5no-code.xml. Now I had 2 entries in the plugin folder, I unsinstalled the old one and now having only the Add Banner Upgrade 1.5 in the pluginfolder but this mysql error is coming if I want to save a Forum. Thank you |
vb3.5x new install - banner_image.xml
vb3.0x upgrade - 3.x to 3.5code.xml - If you have already upgraded to ver. 1.5 in VB3.x hack. vb3.0x upgrade - 3.x to 3.5no-code.xml - If you have ver. 1.2 in VB3.x hack. After the install you should have: 2 plugins add Banner - AdminCP add Banner - ForumDisplay Your manual template edit is fine, and will stay there even if you install / uninstall the plugins / products. All XML files will make the same plugins. They have different DB edits. |
Cool, now it is working, thank you for this great plugin Zachariah :) :banana:
|
I must be doing something wrong cause I can't get the banners to show up in the showthread forums (where you see the posts of other people) just the main forums.
|
Changelog:
------------ 1.6 Banner shows up on each thread adds: 1 more template edit to the install Requested by: - Ryan McBain ** Note: 1.5 - 1.6 needs only to edit SHOWTHREAD not Reinstall the XML files |
How can I use this plugin for a Main Page banner?
|
All times are GMT. The time now is 05:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|