vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Display Enhancements - Article Forums (https://vborg.vbsupport.ru/showthread.php?t=211638)

tarzan22 05-24-2012 04:54 PM

ok en 4.2

GeorgeB85 05-28-2012 02:22 AM

I just upgraded this, and now I am getting this error???

http://www.recyclingbootcamp.com/for...p?293-Articles

JacquiiDesigns 05-28-2012 03:44 PM

Quote:

Originally Posted by tarzan22 (Post 2332395)
ok en 4.2

Quote:

Originally Posted by GeorgeB85 (Post 2333763)
I just upgraded this, and now I am getting this error???

http://www.recyclingbootcamp.com/for...p?293-Articles

This version of ARticle Forums is specifically coded for vBulletin 3.8.x version.
If you're looking for the vBulletin 4.x version, try ==> https://vborg.vbsupport.ru/showthread.php?t=237116 ;)

J.

Blueracer66 08-22-2012 04:56 AM

Does anyone know if this is working with vBulletin 3.8.7 PL3?

JacquiiDesigns 08-22-2012 08:09 AM

Quote:

Originally Posted by Blueracer66 (Post 2358924)
Does anyone know if this is working with vBulletin 3.8.7 PL3?

Should work just fine :)

J.

Blueracer66 08-24-2012 09:13 AM

Quote:

Originally Posted by JacquiiDesigns (Post 2358945)
Should work just fine :)

J.

Hello J.

It seems to be working fine. Are you releasing a more polished version soon? :)

JacquiiDesigns 08-24-2012 04:57 PM

Quote:

Originally Posted by Blueracer66 (Post 2359555)
Hello J.

It seems to be working fine. Are you releasing a more polished version soon? :)

Hello. bananalive is the modification author. So you'd need to ask him that. I do believe there's a vB 4.x version of article forums though. I seriously doubt there will be any further revision to the 3.8.x version.

J.

John Diver 09-24-2012 09:55 PM

Hey,

I have 2 vBulletins, I am looking to copy all articles from 1 of my forums to the other, is this possible?

Thanks :)

ChiNa 09-28-2012 08:43 PM

vBulletin 3.8.7 works not fully! Gives a Script Error while entering a TOPIC or a THREAD in the Articles Frontpage!

SBlueman 11-26-2012 03:21 AM

Quote:

Originally Posted by Ov3rrun (Post 2310304)
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.

I tried this and it didn't work for me:

Quote:

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 - (7*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)
$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') . '";');
}
}
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 - (7*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)
$visiblethreads $authorids $condition
ORDER BY replycount DESC
LIMIT 30, $af_mcpp");
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_commented .= "' . fetch_template('af_articlesmallbit') . '";');
}


All times are GMT. The time now is 02:43 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02577 seconds
  • Memory Usage 1,766KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete