Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Forum Intro 1.04 Details »»
Forum Intro 1.04
Version: 1.04, by jaks jaks is offline
Developer Last Online: Feb 2008 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.0 Beta 3 Rating:
Released: 12-21-2007 Last Update: 12-21-2007 Installs: 28
Uses Plugins Template Edits
 
No support by the author.

Forum Intro 1.0.4

NO CHANGES FOR 3.7 beta 3 from 3.6.x version

I should also mention that I was approached 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 find out.


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 works on VB3.6.x - VB3.7beta3 and more than likely there on after.)
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  -->
Anyway this is a pretty basic hack, addon whatever you want to call it. Did this to see if I can get the rank up for individual forums on my site.

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  -->
Obviously it would look the same as in the forums but below is an example from my site.


enjoy

Download the product and readme Here
Install time: 30 seconds.
Please post bugs in the appropriate thread so as to not confuse things.

If you like this mod and want to show your gratitude I really don't want your money BUT if you want to sign up for my site and post a few pictures I would be very happy. Every post counts even if it is just a couple Link is below.

Unusual art from unusual artists - http://www.unusualartists.com

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-22-2007, 06:17 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks interesting. Thanks for the release!
Reply With Quote
  #3  
Old 01-18-2008, 07:14 PM
gforce75 gforce75 is offline
 
Join Date: Sep 2003
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the mod. Great job
Reply With Quote
  #4  
Old 03-01-2008, 03:05 PM
dklassen dklassen is offline
 
Join Date: Oct 2006
Location: Tennessee
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you insert HTML such as ad code?
Reply With Quote
  #5  
Old 03-05-2008, 07:08 AM
Pamela Pamela is offline
 
Join Date: Apr 2004
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*Clicks install*

This is awesome! Just what I needed!!!
Reply With Quote
  #6  
Old 06-18-2008, 01:13 AM
PGAmerica PGAmerica is offline
 
Join Date: Mar 2008
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this, but do not see anything in my forums. What am I doing wrong?
Reply With Quote
  #7  
Old 08-16-2008, 03:04 PM
tonyzhou tonyzhou is offline
 
Join Date: Nov 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I second the motion. I added the HTML and everything
Reply With Quote
  #8  
Old 08-24-2008, 04:04 PM
PGAmerica PGAmerica is offline
 
Join Date: Mar 2008
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any support here at all?
Reply With Quote
  #9  
Old 09-15-2008, 10:50 PM
stonner stonner is offline
 
Join Date: Jun 2006
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to show the intro also in a thread?

Thank you
Reply With Quote
  #10  
Old 05-08-2010, 03:24 AM
Pamela Pamela is offline
 
Join Date: Apr 2004
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the code fix for 4.0 if anyone needs it.

I didn't code this, so unfortunately I cannot offer support on it, but it's here in case anyone wants it...


-------------------------------
This code is for vb4 only!
-------------------------------

<!-- Begin Forum Intro -->
<vb:if condition="$foruminfo['forumintroonoff'] == 1">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:1px">
<tr>
<td class="tcat" border="1" valign="top" colspan="2"><div align="center"><strong>{vb:raw foruminfo.forumintroname}</strong></div></td>
</tr>
<tr>
<td class="alt1" valign="top"><vb:if condition="$foruminfo[forumintroimage]"><img src="{vb:raw foruminfo.forumintroimage}" alt="{vb:raw foruminfo.forumintroname}" border="0" hspace="5" vspace="5" align="left"></td><td class="alt1" valign="top"></vb:if><div align="left"><div style="padding-left:5px; padding-right: 10px; padding-top: 5px; padding-bottom: 5px;">{vb:raw foruminfo.forumintrodescr}</div></div></td>
</tr>
</table>
<br>
</vb:if>
<!-- / End Forum Intro -->
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 08:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06385 seconds
  • Memory Usage 2,295KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete