The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Forum Intro 1.0.3 Details »» | |||||||||||||||||||||||||
Again this being such a simple mod there is no updates needed for 3.7beta3 either so for so good. I will keep posting the compatibility as I upgrade my site.
I should also mention that I was approach by a member that wants to produce a souped up version of this hack for 3.7 with additional doodads and what have you. I will also keep you informed of that as soon as I findout. I'll jump this mod up to 3.7 today sometime but like I said there are no changes. There is no changes in the code from 1.0.1 to 1.0.3 I just added to the readme and updated the version number in the xml file. *** Please do not update to version 1.0.4 if you have an earlier version because you will get a duplicate entry error.*** ***Version 1.0.4 only adds a header in Admin so updating is not required*** This is my first real addon and was inspired by Adrian's forum sponsors hack. What does it do? It just puts a forum specific table on any forum you choose where you can add more forum info, a larger description, rules specific, links or whatever else you want. It adds 4 new fields when editing a forum in admincp>>>Forums & Moderators>>>Any forum you want to add the Forum Intro to, near the bottom of the page you will find the following fields. 1. Radio Buttons - Turn on and off Forum Intro 2. Text field - Intro Title 3. Text Area - Some sort of content like a description, forum intro, links, ads etc.. 4. Text field - Optional image URL. It uses the title as the image alt and when used creates a separate cell between the content and it. You can change the template to suit your needs. I didn't do much to it so if anyone wants to post some templates for it please do. Install: (Should work on VB3.6.x tested on VB3.6.3 - VB3.6.8p2-VB3.7beta3) 1. Import product_forum_info.xml 2. Add the code below to the forumdisplay template below $navbar is a good place to put it. ( Found in the readme as well) Updated the template below to match the readme. Hopefully this fixes the error when adding the template edit when copying from the browser. If not, just use the code from the readme as it is the same. Code:
<!-- Begin Forum Intro --> <if condition="$foruminfo['forumintroonoff'] == 1"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px"> <tr> <td class="tcat" border="1" valign="top" colspan="2"><div align="center">$foruminfo[forumintroname]</div></td> </tr> <tr> <td class="alt1" valign="top"><if condition="$foruminfo['forumintroimage']"><img src="$foruminfo[forumintroimage]" alt="$foruminfo[forumintroname]" border="0" align="left"></td><td class="alt1" valign="top"></if><div align="left">$foruminfo[forumintrodescr]</div></td> </tr> </table> <br> </if> <!-- / End Forum Intro --> FORUMHOME or Forum wide(Both need to be manually edited with your HTML) Below is an example template that you would add below $navbar in the Forumhome template. (This would only show on the forum index page.) For Forum wide add to the bottom of the Navbar template. (This will be on all pages where the Navbar Template is used. NOT RECOMMENDED) Code:
<!-- Begin ForumHome Intro --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px"> <tr> <td class="tcat" border="1" valign="top" colspan="2"><div align="center">Put The Block Title here</div></td> </tr> <tr> <td class="alt1" valign="top"> <img src="Put Image URL Here" alt="Put Image Title Here" border="0" align="left"></td> <td class="alt1" valign="top"><div align="left">Put your Content Here using HTML</div></td> </tr> </table> <br> <!-- / End ForumHome Intro --> enjoy Hopefully I posted this right. Be gentle if I didn't, I'm fragile. Show Your Support
|
Comments |
#12
|
|||
|
|||
thanks
|
#13
|
|||
|
|||
Did you look in vboptions? It's usually towards the bottom however I have not installed this mod so I don't know for sure. |
#14
|
|||
|
|||
I added this to post #1 of this thread aswell to be a little clearer.
It adds 4 new fields when editting a forum in admincp>>>Forums & Moderators>>>Any forum you want to add the Forum Intro to. The new fields are near the bottom of the page. |
#15
|
|||
|
|||
I installed version 1.0.2 but its showing 1.0.1 in my "Plugin & Products System"
Quote:
|
#16
|
|||
|
|||
Quote:
The border issue is a little strange. As you see by the screenshot the border is not missing on my site. You'll have to change the table style in the template edit to match your style because you obviously use a custom theme. My theme is based on the default style. You could try changing this below in the table. Code:
style="border-bottom-width:0px" Code:
style="border-bottom-width:1px" My table looks fine in both firefox and IE7. You can always make a template for it that fits better. Edit: Ended up changing it to Version 1.0.3 to avoid confusion. |
#17
|
|||
|
|||
Great stuff, needed this. many thanks
|
#18
|
|||
|
|||
Template problem solved but
When i upgrade the new product, i got database error: Quote:
|
#19
|
|||
|
|||
Did you overwrite the product? Looks like you forgot that. There is really no need to update since there is no code change. It's just a change in the readme and version number.
Anyway let me know. |
#20
|
|||
|
|||
I checked again with overwrite but again same database error.
|
#21
|
|||
|
|||
I know there is nothing changed and hack is working fine at my site,
but you please make sure to fix this error in product, because i think this hack is better then others So make it very clean! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|