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
  #72  
Old 11-07-2002, 04:44 AM
BigCheeze BigCheeze is offline
 
Join Date: Oct 2002
Location: Lost in Colorado
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Glenn379
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.

I didn't either...
Reply With Quote
  #73  
Old 11-07-2002, 09:07 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those missing news in the forum, did you edit the forumdisplay_*** templates?
Reply With Quote
  #74  
Old 11-08-2002, 01:33 AM
BigCheeze BigCheeze is offline
 
Join Date: Oct 2002
Location: Lost in Colorado
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HAHAHAHA!! I found the problem... What a shmuck I am!! LOL!

I created a new template... called forumnew... I left off the s

HAHAHAHA! DOH!! It works!
Reply With Quote
  #75  
Old 11-27-2002, 02:08 AM
AzzKickr's Avatar
AzzKickr AzzKickr is offline
 
Join Date: Sep 2002
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it real to write my own news?
i don't wanna news from this site (and its really inrease speed of loading!) please tell me what should i do to do that? :ermm:
Reply With Quote
  #76  
Old 11-27-2002, 04:48 AM
Visionray's Avatar
Visionray Visionray is offline
 
Join Date: Feb 2002
Location: DC - USA
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is one amazing hack!!!

I've been looking for exactly this you are my hero man!!
Works perfectly.
cheers
Reply With Quote
  #77  
Old 11-27-2002, 04:50 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have to agree that it is very good, and works well.
Reply With Quote
  #78  
Old 12-03-2002, 03:44 AM
Visionray's Avatar
Visionray Visionray is offline
 
Join Date: Feb 2002
Location: DC - USA
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

While this is a great hack, I am now questioning the legal aspects of this.

It seems that as of August 27th, you are not allowed to use free Moreover scripts on your website unless you are a charitable organization, which I would think many of us are not.

http://moresuitable.com/moreover_terms_020827.html

Can anyone comment on this? Is there any way for moreover to find out you are using thier feeds?
Reply With Quote
  #79  
Old 12-10-2002, 08:58 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yikes... moreover.com is down, so it's causing havoc in my site headers...
Reply With Quote
  #80  
Old 12-10-2002, 12:13 PM
Visionray's Avatar
Visionray Visionray is offline
 
Join Date: Feb 2002
Location: DC - USA
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Erwin
Yikes... moreover.com is down, so it's causing havoc in my site headers...
yea same here. It was taking over 10 seconds to load each page with the forum news.

Luckily this hack has the feature where you can automatically turn off the news.
Reply With Quote
  #81  
Old 12-11-2002, 02:05 PM
nymyth nymyth is offline
 
Join Date: Jun 2002
Location: New York
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

um guys having a problem with the hack, i have the 2 options in the admin cp, but i dont have that second image thingy, that appears on the first post, and i cant see the news....anybody knows whats up...i went through the thing twice......

Peace
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 01:47 AM.


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.05599 seconds
  • Memory Usage 2,306KB
  • 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
  • (2)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