Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
Article Forums Details »»
Article Forums
Version: 1.9, by bananalive bananalive is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.8.x Rating:
Released: 04-18-2009 Last Update: 07-21-2009 Installs: 640
Uses Plugins Auto-Templates
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
  • Follows forum permissions
  • Can still rate thread, etc.
  • Different postbits for article and replies (comments)
  • Choose what to display in postbit for article and comments
  • Choose what to display on articles in vBulletin Options
* Not compatible with 3.7.x forums *

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
Possible Future Additions:
  • Make article collapsible
  • Allow multiple article forums
Translations:

Download Now

File Type: zip vb_articleforum v1.9.zip (19.4 KB, 2551 views)

Screenshots

File Type: jpg articles.jpg (97.6 KB, 0 views)
File Type: jpg phpm5XJDPAM.jpg (59.9 KB, 0 views)
File Type: jpg articles_altdisplay.jpg (102.2 KB, 0 views)
File Type: jpg phpdNSpFGAM.jpg (98.2 KB, 0 views)

Show Your Support

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

Comments
  #212  
Old 05-08-2009, 12:55 PM
RustedBucket RustedBucket is offline
 
Join Date: Nov 2004
Location: Albemarle, NC
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those that would prefer the full sized image to show up in the article display (ie: post display) instead of the thumbnail when using the ATTACH bbcode do the following:

In file: includes/class_bbcode.php
Around line: 1867

Find:
Code:
if ($attachment['thumbnail_filesize'] == $attachment['filesize'] AND ($this->registry->options['viewattachedimages'] OR $this->registry->options['attachthumbs']))
{
	$attachment['hasthumbnail'] = false;
	$forceimage = true;
}
Change it to:
Code:
//if ($attachment['thumbnail_filesize'] == $attachment['filesize'] AND ($this->registry->options['viewattachedimages'] OR $this->registry->options['attachthumbs']))
//{
	$attachment['hasthumbnail'] = false;
	$forceimage = true;
//}
This should only affect the ATTACH bbcode display and it will affect it on all forum posts.

Not really sure how to integrate this or make a plugin out of it, feel free to enhance it.
Reply With Quote
  #213  
Old 05-09-2009, 06:49 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by crazy4bass View Post
For those that would prefer the full sized image to show up in the article display (ie: post display) instead of the thumbnail when using the ATTACH bbcode do the following:

In file: includes/class_bbcode.php
Around line: 1867

This should only affect the ATTACH bbcode display and it will affect it on all forum posts.

Not really sure how to integrate this or make a plugin out of it, feel free to enhance it.
I've managed to achieve this using plugins for article posts only, it will be included in next release
Reply With Quote
  #214  
Old 05-09-2009, 06:50 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mmurtha View Post
Hi,

I have a quick question. Will your Mod work on VB 3.7.4 patch level 1? I didn't want to upgrade just yet, but I'd like to install this mod if it works.

Anybody know if it works on version 3.7.4?

Thanks ...


Mary
It is not compatible with vbulletin v3.7.x
Reply With Quote
  #215  
Old 05-09-2009, 06:56 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mihalis View Post
Great thanx!



For example I use a custom BBcode to re-arrange the article image in top left or right corner inside text. The BBcode is used at the beginning before text in the article. So in the articles page you see the link inside the BBcode tags and not the image. I assume it is the same if you use other bbcodes (youtube) for example as a part of the text.

I don't know if its possible to be fixed. It would be best not to show BBcodes in the articles page at all.
On articles.php the preview text is got by using a vbulletin function.

On showthread.php I tested Table BB Code and it worked fine.
Reply With Quote
  #216  
Old 05-09-2009, 06:58 PM
mmurtha's Avatar
mmurtha mmurtha is offline
 
Join Date: Oct 2008
Location: New Springfield, Ohio
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
It is not compatible with vbulletin v3.7.x
Oh okay Bananaalive,

Thanks! Looks like I'll be upgrading after all.
Reply With Quote
  #217  
Old 05-09-2009, 07:50 PM
RustedBucket RustedBucket is offline
 
Join Date: Nov 2004
Location: Albemarle, NC
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
I've managed to achieve this using plugins for article posts only, it will be included in next release
Sweet dude!

I got another problem. On the article.php page, for some reason when the thumbnail is displayed it also shows the attachment id next to it. This ONLY happens if I use the paper clip to add an attachment inline. If I add just normal attachments it grabs the first one and displays the thumbnail fine. Does that make sense? For the life of me I can't figure out why it's doing it.
Reply With Quote
  #218  
Old 05-09-2009, 07:56 PM
RustedBucket RustedBucket is offline
 
Join Date: Nov 2004
Location: Albemarle, NC
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey I got an enhancement for you Banana... Would it be possible to move the similar articles listing so it's underneath the Author bio? Maybe this can already be done and I just missed it...
Reply With Quote
  #219  
Old 05-10-2009, 05:08 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by crazy4bass View Post
Sweet dude!

I got another problem. On the article.php page, for some reason when the thumbnail is displayed it also shows the attachment id next to it. This ONLY happens if I use the paper clip to add an attachment inline. If I add just normal attachments it grabs the first one and displays the thumbnail fine. Does that make sense? For the life of me I can't figure out why it's doing it.
Have you altered the template af_articlebit?
Reply With Quote
  #220  
Old 05-11-2009, 12:16 AM
RustedBucket RustedBucket is offline
 
Join Date: Nov 2004
Location: Albemarle, NC
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've reverted those templates, reupped the articles.php file and VB files, it's still doing it. When I look at the contents of the $thread array $thread[preview] looks like this:
Code:
[preview] => [ ATTACH ]840[ /ATTACH ] Body of the text is here
It appears that when $thread[preview] is display the attach bbcode are being removed but not the contents between them. I'm thinking it's probably something in the core VB code and not necessarily articles.php but for the life of me I can't figure it out.
Reply With Quote
  #221  
Old 05-11-2009, 12:46 AM
DobieGillis? DobieGillis? is offline
 
Join Date: Feb 2009
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this mod! Little issue with IE8, but a gem!
Reply With Quote
Reply

Thread Tools

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:47 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.14015 seconds
  • Memory Usage 2,349KB
  • 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
  • (3)bbcode_code
  • (6)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
  • (3)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