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

Reply
 
Thread Tools
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
  #932  
Old 04-07-2011, 09:27 PM
gnrx gnrx is offline
 
Join Date: Apr 2009
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@undhim2.

This mod is for vb 3.x.

If you use vb 4.1.2 you need this.
Reply With Quote
  #933  
Old 04-14-2011, 08:49 AM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having a bit of trouble with the BB code parsing on article.php

It's set to not parse BB code, but one of our custom image alignment BB codes is displaying the URL from inside the tags:

Quote:
Spring has arrived here in Michigan quite suddenly, going from wet, rainy, and cold to hot, sunny, and downright balmy in the space of a couple of days. Of course, it seems only right that with the sudden appearance of Spring, the new edition of Kobold Quarterly should arrive! http://www.neuroglyphgames.com/rpgbl...4/KQ-Cover.jpgAnd Issue 17 of Kobold Quarterly, the Switzerland of the Edition Wars, is full of feature articles, new content, and editorials containing new material for Pathfinder, D&D 4E, and Dragon Age RPG. As with my previous reviews of Kobold Quarterly, each article will be rated on a scale of 1-5 for Crunch and Fluff to give readers an idea of how useful the material is for their game system. But I have also decided to change the format of my grading system for reviews to a similar format – so rather than assigning a letter grade as I have done previously, each criteria will get a rating of 1-5, with...
Is there any way for the mod to simply ignore that BB code and not post that URL in the middle of the article preview text?
Reply With Quote
  #934  
Old 04-26-2011, 07:48 PM
cowcowcow cowcowcow is offline
 
Join Date: Jul 2009
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A super ancient bump for anyone who can help. i coudlnt find a solution with the latest version and actaully went back searching all the way to page 2, sigh

I basically want what Sweeks wanted where i can to retain the Articles.php navigation bar where i go in the articles forum, so when i click on an article, the categories navigation still stays in place. it does not just dissapear into showthread.

I know its not supported by the author but any help from fellow vbers who are in the know or have done something similar would be much appreciated.

---------------------------------

Originally Posted by Sweeks

Is there any way so I can have the articles display within a normal looking forumdisplay and then on the showthread keep the article layout etc? Im not too keen on the main articles.php page.

Thanks


Quote:
Originally Posted by bananalive View Post
disable forumdisplay plugins:

Article Forum (forumdisplay_complete)

Edit Show Thread (showthread_complete)

PHP Code:
if ($articleforum)
{
eval(
'$SHOWTHREAD = "' fetch_template('SHOWTHREAD') . '";');
$SHOWTHREAD str_replace($vbphrase[thread], $vbphrase[article], $SHOWTHREAD);
$SHOWTHREAD str_replace("newthread.gif","newarticle.gif"$SHOWTHREAD);
print_output($SHOWTHREAD);

Reply With Quote
  #935  
Old 08-07-2011, 01:15 AM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do I need to change in these bits of code in articles.php make it where the "Most Read" and "Most Commented" so that the modules only list the top articles in the last "X" amount of days?

PHP Code:
if (in_array('mostread'$af_modules))
    {
        
$row 0;
        
$af_mrpp $vbulletin->options[af_mrpp];
        
$threads $db->query_read("
            SELECT thread.threadid,thread.title AS threadtitle
            FROM " 
TABLE_PREFIX "thread AS thread
            LEFT JOIN " 
TABLE_PREFIX "post AS post
                ON (post.postid = thread.firstpostid)
            WHERE thread.forumid IN (
$forumids)
            
$visiblethreads $authorids $condition
            ORDER BY views DESC
            LIMIT 30, 
$af_mrpp");
        while(
$thread $db->fetch_array($threads))
        {
            
$row++;
            
$thread process_thread_array($thread$lastread$foruminfo['allowicons']);
            
$thread[threadtitle] = substr($thread[threadtitle], 0$vbulletin->options[af_maxtitle]);
            eval(
'$a_most_read .= "' fetch_template('af_articlesmallbit') . '";');
        }
    } 
PHP Code:
    if (in_array('mostcommented'$af_modules))
    {
        
$row 0;
        
$af_mcpp $vbulletin->options[af_mcpp];
        
$threads $db->query_read("
            SELECT thread.threadid,thread.title AS threadtitle
            FROM " 
TABLE_PREFIX "thread AS thread
            LEFT JOIN " 
TABLE_PREFIX "post AS post
                ON (post.postid = thread.firstpostid)
            WHERE thread.forumid IN (
$forumids)
            
$visiblethreads $authorids $condition
            ORDER BY replycount DESC
            LIMIT 30, 
$af_mcpp");
        while(
$thread $db->fetch_array($threads))
        { 
Reply With Quote
  #936  
Old 12-05-2011, 05:36 AM
ktoronto123 ktoronto123 is offline
 
Join Date: May 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't expect there is an answer, but anyone know why this is giving me a "content_encoding_error"?
Reply With Quote
  #937  
Old 03-14-2012, 01:19 PM
sailnet sailnet is offline
 
Join Date: Oct 2009
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm running 3.8.6 and I installed this mod last night. I am happy to report that it is working perfectly. I just wish you could identify more than one forum as an article forum - but then again I have no tried to set a parent forum as the article forum to see if the setting is carried forward to the forums children.

perhaps someone knows the answer to this question?
Reply With Quote
  #938  
Old 03-17-2012, 04:04 AM
Ov3rrun Ov3rrun is offline
 
Join Date: Apr 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SBlueman View Post
What do I need to change in these bits of code in articles.php make it where the "Most Read" and "Most Commented" so that the modules only list the top articles in the last "X" amount of days?
hey Blueman, try this (its working for me), we just need to format current date with the days we want minus thread dateline. We create $datecut variable and a condition the query

This for most read:

PHP Code:
    if (in_array('mostread'$af_modules))
    {
        
$row 0;
        
$af_mrpp $vbulletin->options[af_mrpp];
//        Change the first 90* for the days you want
        
$datecut TIMENOW - (90*24*60*60);
        
$threads $db->query_read("
            SELECT thread.threadid,thread.title AS threadtitle
            FROM " 
TABLE_PREFIX "thread AS thread
            LEFT JOIN " 
TABLE_PREFIX "post AS post
                ON (post.postid = thread.firstpostid)
            WHERE thread.dateline > 
$datecut AND thread.forumid  IN ($forumids
and this for most comment:

PHP Code:
    if (in_array('mostcommented'$af_modules))
    {
        
$row 0;
        
$af_mcpp $vbulletin->options[af_mcpp];
//        Change the first 90* for the days you want
        
$datecut TIMENOW - (90*24*60*60);
        
$threads $db->query_read("
            SELECT thread.threadid,thread.title AS threadtitle
            FROM " 
TABLE_PREFIX "thread AS thread
            LEFT JOIN " 
TABLE_PREFIX "post AS post
                ON (post.postid = thread.firstpostid)
            WHERE thread.dateline > 
$datecut AND thread.forumid IN ($forumids
Enjoy it.
Reply With Quote
  #939  
Old 03-21-2012, 10:08 AM
yeppuda yeppuda is offline
 
Join Date: Dec 2010
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's very good works...
How is new articles can write?
I'm not see New Article button??
New article button caps please...
Thanks...
Reply With Quote
  #940  
Old 04-22-2012, 10:32 PM
John Diver John Diver is offline
 
Join Date: Nov 2003
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,

Just wanted to know if this works on 3.7?
Reply With Quote
  #941  
Old 04-22-2012, 11:35 PM
John Diver John Diver is offline
 
Join Date: Nov 2003
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By the way, I read in the first post that it doesn't work, but I also saw some people posted that some versions did work on 3.7 (I think 1.9 was 1 version I seen mentioned).

If it does, would anyone have an older version that would work?

Thanks!
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 09:22 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.08621 seconds
  • Memory Usage 2,386KB
  • 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
  • (5)bbcode_php
  • (3)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
  • (2)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