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)

bananalive 04-18-2009 10:00 PM

Article Forums
 
1 Attachment(s)

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:

sctsnipe 04-19-2009 02:38 PM

Installed to www.yoursitename.com/articles.php

Set my forum to the proper one in the options and got this:

Database error in vBulletin 3.8.2:

Invalid SQL:

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

MySQL Error : 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
Error Number : 1064
Request Date : Sunday, April 19th 2009 @ 08:37:20 AM
Error Date : Sunday, April 19th 2009 @ 08:37:20 AM
Script : http://www.yoursitename.com/articles.php?c=40
Referrer : http://www.yoursitename.com/forum.php
IP Address : IP ADDRESS
Username : username
Classname : vB_Database
MySQL Version : 5.0.67-log

Sweeks 04-19-2009 02:41 PM

Installing as soon as no db errors :D
________
VOYEUR TUBE

vibedream 04-19-2009 02:46 PM

Thanks
i got
Code:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]\articles.php on line 100

Jasem 04-19-2009 03:20 PM

Nice work, thank you!:)

Sweeks 04-19-2009 03:27 PM

Went ahead and installed, as soon as I changed the default forum selection I get this:

Code:

Database error in vBulletin 3.8.1:

Invalid SQL:

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

MySQL Error  : 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
Error Number  : 1064
Request Date  : Sunday, April 19th 2009 @ 05:25:51 PM
Error Date    : Sunday, April 19th 2009 @ 05:25:51 PM
Script        : /articles.php
Referrer      :
IP Address    : xxx
Username      : xxx
Classname    : vB_Database
MySQL Version : 5.0.67-community-log

Cant wait for the fix.
________
Bondage Torture

bananalive 04-19-2009 03:27 PM

Quote:

Originally Posted by sctsnipe (Post 1794439)
Installed to www.yoursitename.com/articles.php

Set my forum to the proper one in the options and got this:

fixed error (produced when there are no sub-categories)
Quote:

Originally Posted by vibedream (Post 1794447)
Thanks
i got
Code:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]\articles.php on line 100

fixed, re-download articles.php from first post

Sweeks 04-19-2009 03:28 PM

This works fine aslong as you dont touch the default forum for the articles to be pulled from.
________
HONDA NSR SERIES SPECIFICATIONS

Sweeks 04-19-2009 03:30 PM

Just done the update and still getting this:

Code:

Database error in vBulletin 3.8.1:

Invalid SQL:

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

MySQL Error  : 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
Error Number  : 1064
Request Date  : Sunday, April 19th 2009 @ 05:30:18 PM
Error Date    : Sunday, April 19th 2009 @ 05:30:19 PM
Script        : /articles.php
Referrer      :
IP Address    : xxx
Username      : xxx
Classname    : vB_Database
MySQL Version : 5.0.67-community-l

________
MEDICAL MARIJUANA

bananalive 04-19-2009 03:38 PM

Quote:

Originally Posted by Sweeks (Post 1794477)
Just done the update and still getting this:

Try re-downloading and uploading articles.php now (remember to click allow overwrite)


All times are GMT. The time now is 07: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.03614 seconds
  • Memory Usage 1,749KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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