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

Reply
 
Thread Tools
Article Forums v4.x Details »»
Article Forums v4.x
Version: 4.1.2, by bananalive bananalive is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.0.x Rating:
Released: 02-27-2010 Last Update: 04-26-2011 Installs: 327
Uses Plugins
Additional Files Translations  
No support by the author.

Turn a forum into an article forum. Sub-forums are turned into categories.
  • Posts/Articles show in searches & in new posts
  • Create as many sub-forums/ categories as you need - categories display in navbar
  • Follows forum permissions
  • Can still rate thread, etc.
  • Different postbits for article and replies (comments) - Optional
  • Choose what to display in postbit for article and comments
  • Choose what to display on articles in vBulletin Options
Installation:
  1. Upload articles.php
  2. Import product file
  3. Create a forum in admincp
  4. Go to vBulletin Options->Article forum Options
Remember to click Mark as Installed to receive updates and support

Download Now

File Type: zip vb_articleforum_v4.1.2.zip (24.3 KB, 1440 views)

Screenshots

File Type: jpg 4_main.jpg (112.3 KB, 0 views)
File Type: jpg 4_subcat.jpg (87.1 KB, 0 views)
File Type: jpg 4_thread.jpg (77.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
kylek

Comments
  #252  
Old 03-08-2012, 07:30 AM
Volvoholic Volvoholic is offline
 
Join Date: Mar 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Preech View Post
Replace your af_articlebit with this.
PHP Code:
<div style="padding:0px 0px 0px 0px;<vb:if condition="$row>1">border-top-width: 1px; border-top-style: dotted;</vb:if> overflow: hidden; clear: both;">
<
div>
    <
div class="title">
        <
h3 style="font: normal normal bold 14px/normal Tahoma, Calibri, Verdana, Geneva, sans-serif; margin: 5px 0px 0px; text-decoration: none;">
        {
vb:raw thread.prefix_rich}
            <
a href="{vb:link thread, {vb:raw thread}}" id="thread_title_{vb:raw thread.realthreadid}" <vb:if condition="$show['gotonewpost']">style="font-weight:bolder"</vb:if>>
                <
span>{vb:raw thread.threadtitle}</span>
            </
a>
        </
h3>
    </
div>
    <
div style="color: #3E3E3E; display: block; font-size: 11px; padding-bottom: 2px; position: relative; top: 0px; width: 100%;">
        {
vb:phrase by_x_published_x, {vb:raw thread.postuserid}, {vb:raw thread.postusername}, {vb:raw post.date}}
    </
div>
    <
div class="content" style="padding-top: 10px;">
        <
vb:if condition="$thread['attachmentid'] && $thread['extension']">
        <
div style="float: {vb:stylevar left}; padding-right: 5px; padding-bottom: 4px; {vb:raw thumbdivstyle}">
            <
a href="{vb:link thread, {vb:raw thread}}">
                <
img src="attachment.php?attachmentid={vb:raw thread.attachmentid}&amp;stc=1&amp;thumb=1" alt="" border="0" />
            </
a>
        </
div>
        </
vb:if>
        <
vb:if condition="$thread['altimage'] && $thread['image']">
        <
div style="float: {vb:stylevar left}; padding-right: 5px; padding-bottom: 4px; max-width: 100px; max-height: 100px; overflow: hidden; {vb:raw thumbdivstyle}">
            <
a href="{vb:link thread, {vb:raw thread}}">
                <
img src="{vb:raw thread.image}" alt="" border="0" style="max-width: 100px; max-height: 100px;  width: expression(this.width > 100 ? 100: true);" />
            </
a>
        </
div>
        </
vb:if>
        <
vb:if condition="$vboptions['af_threadpreview'] != 0">{vb:raw thread.preview}</vb:if>
    </
div>
    <
div style="clear: both;display: block;float: {vb:stylevar left};margin-bottom: 5px;padding: 0px;position: relative;width: 100%;">
        <
span class="readmore" style="clear: left;float: right;font-weight: bold;text-align: right;width: 50%;">
            <
a href="{vb:link thread, {vb:raw thread}}">
            {
vb:phrase article_read_more}
            <
img src="{vb:stylevar imgdir_cms}/read_more-{vb:stylevar right}.png" alt="{vb:phrase article_read_more}" title="{vb:phrase article_read_more}" style="position: relative; top: 2px;" />
            </
a>
        </
span>
        <
span class="commentnumber">
            <
a href="{vb:link thread, {vb:raw thread}}#comments">
            <
img src="{vb:stylevar imgdir_button}/firstnew-comment.png" alt="" class="inlineimg" style="position: relative; top: 2px;" />
            </
a>
            <
a href="{vb:link thread, {vb:raw thread}}#comments">
            {
vb:phrase x_article_replies, {vb:raw thread.replycount}}
            </
a>
        </
span>
    </
div>
</
div>
</
div
For the category block...look through the af_articles template. It's in there.

Thanks very much, I found it and it worked.
Reply With Quote
  #253  
Old 04-04-2012, 07:29 PM
vBNinja's Avatar
vBNinja vBNinja is offline
 
Join Date: May 2011
Location: USA
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can i increase the preview length? I tried changing it from -1 to 1, 2, 10, -5, -10 and all i get is no preview or it shortens to 1 letter

Any help is appreciated, thank you
Reply With Quote
  #254  
Old 04-25-2012, 01:11 PM
BeeMuzza BeeMuzza is offline
 
Join Date: Mar 2012
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do you add a thumbnail to a article?
Reply With Quote
  #255  
Old 04-28-2012, 11:07 AM
Preech Preech is offline
 
Join Date: Aug 2002
Location: Fort Campbell
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Scroll down and click manage attachments.
Reply With Quote
  #256  
Old 05-18-2012, 08:36 PM
Killhunter Killhunter is offline
 
Join Date: Jul 2011
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
Datenbankfehler in vBulletin 4.0.3:

Invalid SQL:

		SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1334698432 AND open <> 10, 1, 0)) AS newthread
		FROM vbthread AS thread
		WHERE forumid IN(  )
		 AND thread.visible = 1;

MySQL-Fehler  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
		 AND thread.visible = 1' at line 3
Reply With Quote
  #257  
Old 05-24-2012, 10:08 AM
gremrock gremrock is offline
 
Join Date: May 2012
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible you can update this mod, in order to have more forums using the articles, rather that being restricted to only one and it's subcategory?

Kind Regards
Attached Images
File Type: jpg example.jpg (75.3 KB, 0 views)
Reply With Quote
  #258  
Old 05-25-2012, 10:04 PM
Athena1984 Athena1984 is offline
 
Join Date: Nov 2009
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great in 4.1.12 but, when saving css as files it messes up the appearance of the form on the bottom.
Reply With Quote
  #259  
Old 06-05-2012, 12:02 AM
gnrx gnrx is offline
 
Join Date: Apr 2009
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How configure the new option for tab in vb 4.2.0?
For example, how configure the line to script in the new option for tab?

Thanks and regards.

PD: Sorry for my english.
Reply With Quote
  #260  
Old 06-05-2012, 12:42 AM
Athena1984 Athena1984 is offline
 
Join Date: Nov 2009
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

THIS_SCRIPT would be articles
Reply With Quote
  #261  
Old 06-05-2012, 01:09 AM
gnrx gnrx is offline
 
Join Date: Apr 2009
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Only "THIS_SCRIPT" ?
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 07:19 AM.


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.05005 seconds
  • Memory Usage 2,372KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete