Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Forum News (News in a Forum) Details »»
Forum News (News in a Forum)
Version: 1.00, by JJR512 JJR512 is offline
Developer Last Online: Jun 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-13-2002 Last Update: Never Installs: 85
 
No support by the author.

This hack adds news headlines to the top of a forum. The headlines come from an XML source. The headlines are links to the articles. Through the admin cp, add or modify forums system, you can select from a list of sources (or select no news for that forum). There is also a master on/off switch for the entire feature, and you can also select how many headlines will appear.

Support for this hack will be provided only within the vbulletin.org forums.

This hack involves database modifications. Please make a backup copy of your database prior to installing this hack. The author of this hack assumes no responsibility for anything.

The XML feeds come from Moreover.com. This service is provided free-of-charge only to non-commercial, non-profit, educational, or personal/hobby sites, and may not be used on any for-profit site. If you operate a for-profit site, you must contact Moreover.com to discuss purchasing the rights to the service.







Changelog
v1.0: Original release
v1.1: Fixes problem of not being able to change a forum's newsfeed back to NONE after previously selecting one.
v1.1a: Error in instructions file corrected. If you have 1.1, you do not need to download this; absolutely no code has changed.
v1.1b: See Post #30 below. If you have v1.1a, you do not need to download again; just make the fix as instructed in Post #30.
v1.2: Changes the code added to forumdisplay.php so that only one query is used. If you have v1.1b, you only need to replace the code added to forumdisplay.php with the newer bit of code from the instructions.
v1.2a: Fixes a minor bug affecting only the appearance of the output. If you already have installed v1.2, you do not need to re-download and re-install; please see Post #34 below for the simple fix.
v1.2b: Current release. Corrects the URL shown in the registration required notice. The only change over v1.2a is the "forumnewsbit_accessreg" template.

OPTIONAL Add-in feature: Make this feature user-selectable
I have created some instructions you can use if you'd like to give your users the ability to not see the news in a forum. Read Post #44 below for more info.

Show Your Support

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

Comments
  #62  
Old 08-07-2002, 01:22 AM
bill-t's Avatar
bill-t bill-t is offline
 
Join Date: Feb 2002
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've started having a problem on my board and I noticed it shortly after I installed this last night... I **DO NOT** think it is from installing this hack - as I stated earlier, I've installed a number of hacks in the past few days... I simply didn't see the problem until last night after doing this and the problem is intermittent enough that I well could have had it for some time before that and not known it... (just wanted to make that clear so I don't ruffle any feathers..)

I'm re-posting a post I made in another place on the forum here... My question is this - are any of the changes made potentally able to cause something like this? I notice that one thing that is more likely to cause it is going into a forum - if I stay out of a forum I'm more likely to be ok - and the forum has the option to have the stories...

REPOST - I've seen lots of threads with similar issues; different people seem to have similar issues but each seem to be a little different but there are common threads...

I had to rebuild my board from scratch - my wife accidently wiped out her site and in the process wiped out 3 of my domains both on my hosting server and on my server at home.... So I installed 2.2.6... For the first 2 days, things were normal.... I noticed though that I would have to log in every now and then when going from one page on the board to another...

It seems that sometimes I'll go through a period of time when I'll have to log back in every single time I change views on the board... Doesn't matter what browser I use... (opera, ie5.5, netscape4.79, netscape7.0[not the preview release, but a daily build], netscape 6.2.3 or mozilla 1.0 final).... killing disk and memory cache, cookies, history or even switching to a virgin machine makes no difference... switching to a different test account fixes problem...

Build several test accounts... Some have problem, some don't... problem comes and goes... will work fine for awhile then not....

question - possible that having same username on different vB boards a problem?

anyone have a solution? 2.2.6, using a host that has worked fine in past... board not usable....
Reply With Quote
  #63  
Old 08-07-2002, 07:23 PM
TalkHardRandy's Avatar
TalkHardRandy TalkHardRandy is offline
 
Join Date: Jan 2002
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by JJR512
What is the settinggroupid number of the Forum News settinggroup? Did you put this same number in the appropriate spots for the two settings?
I picked a large number 90 & replaced the 32 in all the queries with 90.
Reply With Quote
  #64  
Old 08-07-2002, 07:42 PM
bill-t's Avatar
bill-t bill-t is offline
 
Join Date: Feb 2002
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I changed the gmt time setting in the vb options page last night... after doing so, I didn't have any problems for 2 straight hours... That may have been the problem, even though it never has before...
Reply With Quote
  #65  
Old 08-09-2002, 12:07 AM
zootsuit's Avatar
zootsuit zootsuit is offline
 
Join Date: May 2002
Location: CA
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TalkHardRandy
I picked a large number 90 & replaced the 32 in all the queries with 90.
Any news?
Reply With Quote
  #66  
Old 08-09-2002, 06:35 PM
TalkHardRandy's Avatar
TalkHardRandy TalkHardRandy is offline
 
Join Date: Jan 2002
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by zootsuit


Any news?
Yeah... I still can't see the administrator options in the CP, but in one of my admin only forums, I have the news working!
Reply With Quote
  #67  
Old 09-28-2002, 12:30 AM
PIMPY PIMPY is offline
 
Join Date: Apr 2002
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, great hack, and super easy to do.

only one thing, is it possible for oyu to add a way for us to make our own news things? Cause that would make my anouncements forum so much better if i could make them news articles, and then use the forum for just chat about our own news.
Reply With Quote
  #68  
Old 09-28-2002, 12:50 PM
MultiSync MultiSync is offline
 
Join Date: Sep 2002
Location: Canada
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am kinda new to forum stuff. How can I do the last step for the database thing?

From where? I am using xp. Can anyone give me detail instructions, cuz I am pretty new to this stuff. Thanks!
Reply With Quote
  #69  
Old 09-28-2002, 01:31 PM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

JJ, I'm wondering how customizable this hack is. I run a comic book news site, and I'd like to have the latest articles from the news/features/reviews forums to be displayed on the forum homepage, kind of like what vbPortals does for its own front page but with the addition of a ticker as well.

Please mind my ignorance of PHP coding, but would it be possible to modify this hack to do that, or would that require a completely different hack?
Reply With Quote
  #70  
Old 10-22-2002, 01:17 AM
BigCheeze BigCheeze is offline
 
Join Date: Oct 2002
Location: Lost in Colorado
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this installed, but I'm not seeing any news in any forums where I have a news catagory selected.

Thanks!
Reply With Quote
  #71  
Old 11-07-2002, 04:15 AM
Glenn379's Avatar
Glenn379 Glenn379 is offline
 
Join Date: Aug 2002
Location: San Francisco, California
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried installing this today, everything went smoothly except I have one problem. I can't actually post news. How do I do that? I'm not sure if I imported the sources.sql right. To make sure can anyone tell me how? Everything else is done like it should be. Everything is working except I don't know how to make news. Someone please help me.
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 10:44 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.08112 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
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