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

Reply
 
Thread Tools
vB News CMS Details »»
vB News CMS
Version: 1.00, by davidw davidw is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.5 Rating:
Released: 08-29-2006 Last Update: 07-25-2007 Installs: 11
Uses Plugins Template Edits
Additional Files  
No support by the author.

What does this do? It allows you to take your news from your news forums (up to 9 news forums) and display them in a category-style fashion with the ability to add new content, reply to the original story, send to a friend, and print.

This is a limited 3.5.x version. For more features, such as parsing bbcode, you should use the 3.6.x version here: https://vborg.vbsupport.ru/showthread.php?t=133302

Thanks go out to sabret00the for his help on the project who helped out a lot, to peterska2 for testing and working with me on the templates, and to the beta testers for helping find potential problems and bugs to be fixed/worked out.


Install/Upgrade Instructions

Located in the zipped readme.txt file.


Frequently Asked Questions

What is the forumid?
The forumid is the id of the forum you have created. Each forum has its own unique number assigned to it. When you click on a forum link you can see a number that is assigned to it. This will show up in the URL of the page you are browsing. Another way of seeing the forumid is to go to your admin control panel => Forums & Moderators => Forum Manager => Click on [Expand All] and then move your mouse over (hover) any of the forums you've created. Your status bar (bottom of screen) should display your forumid (number at the end of the link/url).


Changes
Added security

Known Bugs/Issues:
1) - When you go to the page directly, the page acts as a normal page - however, if you click refresh on the page, the refresh stalls. I don't understand why this occurs.
2) - BBCode does not parse yet - I am looking into making it parse without causing problems.

Temporary demo location:
http://www.christianboards.org/vbnews.php

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-31-2006, 01:07 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dirtycrow
this looks pretty cool, example of it working live tho? i have vbadvanced and wonder how i would incorporate this into my site.
Another example is at www.peterska2.co.uk/vbnewscms.php

I have named my link in the navbar News Feeds as that is what I am using it to display.

Quote:
Originally Posted by dirtycrow
also, perhaps you could answer a question. I've tried to run news rss feeds on my site before, but the members complain that they don't want to see 1000 new threads just from the news feed in the "new posts" section."

is there any way to get newly created threads from the news feed not to show up on "new posts" until at least a couple of replies to the said threads?
I run an exclude in the new posts link to exclude the new feeds from the new posts search at all times. However, the new posts/todays posts in the quicklinks I have left where they include the news feeds. To exclude if they are in a forum and have less than x replies will take a query, and depending on how often new posts searches are ran, could be rather server intensive.
Reply With Quote
  #23  
Old 08-31-2006, 04:28 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dont work for me - i dont have a forumid that begins with 10 for some reason so is there no way to fix this.In admincp i have entered the corect forumids for the forums i want to show but the sql error is still coming up when i go to the page.

Why have a default forumid10 anyway ??
Reply With Quote
  #24  
Old 08-31-2006, 04:34 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Replace the 10 in the first one with the first forum you wish to have the news taken from. This can be any number.
Reply With Quote
  #25  
Old 08-31-2006, 04:40 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

10 was only used as an example. Make sure the rest of the forums are set to 0 (ones that are not in use). What version of MySQL do you have and which version of the software did you use?
Reply With Quote
  #26  
Old 08-31-2006, 06:05 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i used vbnews.php

Database error in vBulletin 3.5.4:

Invalid SQL:

SELECT t.threadid, t.title, t.lastpost, t.forumid, t.open, t.replycount, t.postusername, t.postuserid, t.lastposter, t.dateline, t.views, t.visible, t.firstpostid, f.title AS forumtitle, post.pagetext AS preview
FROM forum f
INNER JOIN thread t ON t.forumid = f.forumid AND t.visible = 1 AND 5 > ( SELECT count(5) FROM thread WHERE forumid = f.forumid AND visible = 1 AND dateline > t.dateline )
LEFT OUTER JOIN post AS post ON post.postid = t.firstpostid WHERE t.forumid IN (102,0,0,0,0,0,0,0,0)
ORDER BY field(f.forumid,102,0,0,0,0,0,0,0,0), t.dateline desc;

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 'SELECT count(5) FROM thread WHERE forumid = f.forumid AND visib
Error Number : 1064

also i have entered the correct forumids i want and still get the error.

Any i dont want to use i have left at 0
Reply With Quote
  #27  
Old 08-31-2006, 06:09 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which version - regular or legacy? If your MySQL version is lower than 4.1 then the vbnews-100 will not work and give you the above error message - try using the vbnewslegacy-100.
Reply With Quote
  #28  
Old 08-31-2006, 06:11 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got it soprted now using the vblegacy version cheers

/me clicks install
Reply With Quote
  #29  
Old 08-31-2006, 06:18 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

- glad to hear it was sorted.
Reply With Quote
  #30  
Old 08-31-2006, 06:35 PM
zooki zooki is offline
 
Join Date: May 2006
Location: uk
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi please ignore the guy who says this is rubbish or not needed. Its something that can be useful. thank you
Reply With Quote
  #31  
Old 08-31-2006, 06:43 PM
RaceJunkie RaceJunkie is offline
 
Join Date: Jun 2005
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dirtycrow

is there any way to get newly created threads from the news feed not to show up on "new posts" until at least a couple of replies to the said threads?

This may work..

Opt-Out Forums from Get New/Get Daily
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 11:57 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.10367 seconds
  • Memory Usage 2,306KB
  • 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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete