vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vB News CMS (https://vborg.vbsupport.ru/showthread.php?t=125321)

peterska2 08-31-2006 01:07 PM

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.

lasto 08-31-2006 04:28 PM

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 ??

peterska2 08-31-2006 04:34 PM

Replace the 10 in the first one with the first forum you wish to have the news taken from. This can be any number.

davidw 08-31-2006 04:40 PM

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?

lasto 08-31-2006 06:05 PM

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

davidw 08-31-2006 06:09 PM

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.

lasto 08-31-2006 06:11 PM

got it soprted now using the vblegacy version cheers

/me clicks install

davidw 08-31-2006 06:18 PM

:D - glad to hear it was sorted.

zooki 08-31-2006 06:35 PM

Hi please ignore the guy who says this is rubbish or not needed. Its something that can be useful. thank you

RaceJunkie 08-31-2006 06:43 PM

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


All times are GMT. The time now is 02:21 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.01056 seconds
  • Memory Usage 1,740KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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