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)

Scalemotorcars 02-04-2011 09:06 PM

Anyone get notices to work. It only works when viewing an article. Not when viewing the articles.php

JacquiiDesigns 02-05-2011 07:05 PM

Quote:

Originally Posted by Scalemotorcars (Post 2158857)
Anyone get notices to work. It only works when viewing an article. Not when viewing the articles.php

What do you mean by notices?
I have 2 unread PMs and the flashing notice works just fine on my forum when viewing http://jpicforum.info/forum/articles.php

https://vborg.vbsupport.ru/external/2011/02/32.png

Scalemotorcars 02-07-2011 01:45 AM

No I.m referring to forum notices. You know the area below the navbar that can post a message in a specific forum. Its not working on articles.php

Alfa1 02-17-2011 10:47 PM

For some reason I cant get articles.php to display right.
bb code displays parse and unparsed.
Images do not resize to one size.
Text preview length counts characters that are in bb codes and cuts off in the middle of words.

Do you have any idea how I can solve this?

I do not want my forumdisplay.php replaced, because I have a vbadvanced page for article overview and I want my moderators to be able to normally browse the forums.
I partially resolved this by disabling the following plugins: 'article forum' and 'links'. I tried the edit of show thread complete that you posted earlier in the thread, but that results in a error on showtread.
Could you please add a setting for this?

Is there any way to reduce the font size on articles.php ?

SBlueman 02-19-2011 11:54 PM

I like this modification and look forward to it improving. I know one feature I'd like is to be able to limit the time to show results in the "Most Read" And "Most Comments" modules. It would be handy to set this so it only went back to the last seven days for my site.

Also, some sort of tie-in with thread prefixes would help too.

SBlueman 02-20-2011 03:46 PM

Quote:

Originally Posted by bananalive (Post 1824660)
Find in articles.php:

PHP Code:

ORDER BY $sqlsortfield $sqlsortorder 

Replace with:

PHP Code:

ORDER BY sticky DESC$sqlsortfield $sqlsortorder 


I found this to display the stickies above all other articles. Is there a way to separate them? We use the stickies as the top 10 stories from the day.

SBlueman 02-20-2011 03:48 PM

Also, is there a way to have moderation check boxes included with this? And can articles that have been read have a way to show that? Maybe a different font style to the headline or a image overlay to "cloud" the image some if read?

Alfa1 03-16-2011 02:02 PM

When deleting posts, the posts are blanked out, but still visible.
When rating a post, the user gets a xml error.

I have uninstalled this for now. I hope this will be fixed.

Quote:

Originally Posted by Alfa1 (Post 2163773)
For some reason I cant get articles.php to display right.
bb code displays parse and unparsed.
Images do not resize to one size.
Text preview length counts characters that are in bb codes and cuts off in the middle of words.

Do you have any idea how I can solve this?

I do not want my forumdisplay.php replaced, because I have a vbadvanced page for article overview and I want my moderators to be able to normally browse the forums.
I partially resolved this by disabling the following plugins: 'article forum' and 'links'. I tried the edit of show thread complete that you posted earlier in the thread, but that results in a error on showtread.
Could you please add a setting for this?

Is there any way to reduce the font size on articles.php ?


wraggster 03-22-2011 12:05 AM

hi folks did anyone get this working on their index page

for example it works fine here --> http://gamingandgadgets.com/vbulletin/articles.php

but not here http://gamingandgadgets.com/articles.php

is there a way to rename it index.php and have it outside of the vbulletin dir ?

uandhim2 04-07-2011 06:44 PM

i keep getting this error:

Database error in vBulletin 4.1.2:

Invalid SQL:

SELECT thread.*,thread.title AS threadtitle, post.dateline AS postdateline, post.pagetext AS preview, attachment.thumbnail_filesize AS thumbsize, MIN(attachment.attachmentid) AS attachmentid

FROM thread as thread
LEFT JOIN post AS post
ON (post.postid = thread.firstpostid)
LEFT JOIN attachment AS attachment
ON (attachment.postid = thread.firstpostid AND attachment.extension IN('jpg', 'gif', 'png', 'jpeg', 'bmp'))
WHERE open != 10
AND thread.forumid IN( 4,12,25,26,27,28,14,21,22,33,29,30,31,32 )
AND thread.visible = 1
GROUP BY thread.threadid
ORDER BY thread.dateline DESC
LIMIT 5;

MySQL Error : Unknown column 'attachment.thumbnail_filesize' in 'field list'
Error Number : 1054
Request Date : Thursday, April 7th 2011 @ 01:51:50 PM
Error Date : Thursday, April 7th 2011 @ 01:51:50 PM
Script : http://www.jetskisportfishing.com/forum/
Referrer : http://www.jetskisportfishing.com/fo...hp?24-Articles
IP Address : 24.43.70.2
Username : JSF
Classname : vB_Database
MySQL Version : 5.1.47-community-log

i'm running vbulletin4.1.2. Any help?

gnrx 04-07-2011 09:27 PM

@undhim2.

This mod is for vb 3.x.

If you use vb 4.1.2 you need this.

Morrus 04-14-2011 08:49 AM

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?

cowcowcow 04-26-2011 07:48 PM

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 (Post 1794665)
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);




SBlueman 08-07-2011 01:15 AM

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))
        { 


ktoronto123 12-05-2011 05:36 AM

Don't expect there is an answer, but anyone know why this is giving me a "content_encoding_error"?

sailnet 03-14-2012 01:19 PM

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?

Ov3rrun 03-17-2012 04:04 AM

Quote:

Originally Posted by SBlueman (Post 2230346)
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.

yeppuda 03-21-2012 10:08 AM

it's very good works...
How is new articles can write?
I'm not see New Article button??
New article button caps please...
Thanks...

John Diver 04-22-2012 10:32 PM

Hey,

Just wanted to know if this works on 3.7?

John Diver 04-22-2012 11:35 PM

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!

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') . '";');
}

SBlueman 11-26-2012 07:42 PM

Also, is there a way to show an attachment to the left of the thread title in the latest posts module?

SBlueman 12-19-2012 02:19 AM

Anyone having issues with this modification and tapatalk?

Xexiu 04-03-2013 04:01 PM

I'm getting "Content Encoding error" an all browsers.
I read that its has to do with gzip or mod_deflate. The errors had started to happen after I installed xcache on the server.

Also I have tested on localhost on a new bran vbulletin installation and worked ok. So I guess its something to do with compression (xcache, gzip or mod_deflate). I have disabled gzip on vBulletin Options - Cookies and HTTP Headers but still doesnt work. (returning me to article.php when clicking any button inside articles /post new article, most readead, etc).

Any suggestions to make it work with xcache/gzip/ or mod_deflate?

joeychgo 10-29-2013 04:08 AM

so I take it this is abandoned by the author?

Digital Jedi 10-29-2013 07:44 AM

Quote:

Originally Posted by joeychgo (Post 2456977)
so I take it this is abandoned by the author?

It's been marked as unsupported for a while now. Over a year, I think.

viper357 02-28-2014 08:26 AM

I'm getting this at the top of the articles.php page. Can anyone help on how to fix it please? Thanks.
Code:

Deprecated:  Assigning the return value of new by reference is deprecated in /home/*****/public_html/articles.php on line 409

blind-eddie 03-02-2015 02:47 PM

Quote:

Originally Posted by viper357 (Post 2484241)
I'm getting this at the top of the articles.php page. Can anyone help on how to fix it please? Thanks.
Code:

Deprecated:  Assigning the return value of new by reference is deprecated in /home/*****/public_html/articles.php on line 409

Try this, but save a copy of the files before you do so.



Code:

includes/init.php
 includes/class_core.php

 ==========
 search for
 ===========
 =&

 ============
 replace with
 ============
 =


JohnPBee 07-07-2017 11:49 AM

I don't think this works anymore does it?
I just installed it and can't seem to post anything - error 500

ufuk61 04-22-2022 07:46 PM

We got HTTP 500 ERROR in Vbulletin version 3.8.11 NOT WORKING
http 500 error appears when entering article content

ufuk61 05-13-2022 04:52 PM

Quote:

Originally Posted by JohnPBee (Post 2588212)
I don't think this works anymore does it?
I just installed it and can't seem to post anything - error 500

https://vborg.vbsupport.ru/showpost....65&postcount=2


All times are GMT. The time now is 05:44 AM.

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.02335 seconds
  • Memory Usage 1,903KB
  • 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
  • (3)bbcode_code_printable
  • (9)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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