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
Details »»

Version: , by Kayn Kayn is offline
Developer Last Online: Dec 2010 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-02-2001 Last Update: Never Installs: 59
 
No support by the author.

UPDATED! Woohoo!

I just fixed/added stuff from version 1.0!

Download the new version 1.5 if you have the old 1.0 - lots of better features.

From the readme.txt:

Quote:
This script isn't really a hack, just an external script that pulls information out of the VBulletin Database for news
or whatever reason you see fit. It's easy to install and configure, and has tons of the same features that many other
news scripts have, except you don't have to modify any Vbulletin source code (which I'm never comfortable doing
for some reason, but that's just me .

I had a really rough time finding a good, EASY news script that did what this does. I searched and found some, but
it really came down to easy installation. I didn't want to modify MySql tables or mess with the advanced Vbulletin
source (well, to me anyway). So I wrote this script. Yer.

This script was intended for VBulletin 2.0 only (I don't know if it will work with previous releases) and PHP4.

Working Demos can be found in use at http://pluh.com/forums/PluhNews.php and for headlines,
http://pluh.com/forums/PluhHeadlines.php

After you install, if at all possible, I would appreciate some credit to my script. A link to http://pluh.com
on your page before or after your news would be great. Let me know when you have it installed too - I love
seeing my stuff working on other websites!
You can check out the raw demo here for PluhNews: http://pluh.com/forums/PluhNews.php

And Headlines! http://pluh.com/forums/PluhHeadlines.php


Let me know if you like it! (Thanks Dark Wizard and Bane)

*NOTE: I will not be able to provide support for this hack, as I am extremely busy. Sorry...*

Show Your Support

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

Comments
  #252  
Old 12-15-2001, 01:54 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not tough. Just make sure to get the full path to your Pluhconfig.php file, and then in your global.php, edit the requires to contain the full path as well.

Instead of include "PluhConfig.php" you would have include "/home/username/dirctory/PluhConfig.php"; I am doing it across 3 domains, and it works like a charm.

Amy
Reply With Quote
  #253  
Old 12-15-2001, 04:46 AM
Goldfinger's Avatar
Goldfinger Goldfinger is offline
 
Join Date: Oct 2001
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Xube
(and here's the tricky(?) part....), the first sentence or so of the text of the post (not the entire post).

That isnt that hard to do.. .

Modification email sent
Reply With Quote
  #254  
Old 12-15-2001, 09:29 AM
yulee yulee is offline
 
Join Date: Dec 2001
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by amykhar
It's not tough. Just make sure to get the full path to your Pluhconfig.php file, and then in your global.php, edit the requires to contain the full path as well.

Instead of include "PluhConfig.php" you would have include "/home/username/dirctory/PluhConfig.php"; I am doing it across 3 domains, and it works like a charm.

Amy
Thank you very much Amy, I need to be sure before filling the license. I'm really excited with vbulletin!
Reply With Quote
  #255  
Old 12-15-2001, 09:52 PM
Sean's Avatar
Sean Sean is offline
 
Join Date: Nov 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I am trying this script out. Very nice. I have my forums on a seperate sub-domain (I want the news on electron-designs.com, but my forums are on forums.electron-designs.com). I got the news working, but now my problem is getting the parsing to work. When smilies are parsed, it tries to find the images on that domain. Is there a way I can get it to look for them under the sub-domain? (Changing the URL to the images won't affect it, because the URL vB requires is a relative path..)

Thanks.
Reply With Quote
  #256  
Old 12-16-2001, 03:27 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'll have to do what I did. Go to your smilies and make them reflect the full url.

Amy
Reply With Quote
  #257  
Old 12-18-2001, 04:33 PM
sianews sianews is offline
 
Join Date: Dec 2001
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

While were requesting things

I run a news site and post news in a news program I run and in my forum. Would there be anyway to.

1. Include a checkbox on the new thread page that says "Add this thread to front page"? Otherwise that particular thread isn't included.
Reply With Quote
  #258  
Old 12-18-2001, 04:50 PM
sianews sianews is offline
 
Join Date: Dec 2001
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I finally got the script running and have an even better suggestion.

The way my news is set up now, the headline link goes to the acutal news source. Would there be anyway to have a "URL" field placed under the title field on the new post thread where the user would put the URL to the source? Then have Pluh use that, rather then the link to the post, for the headline?
Reply With Quote
  #259  
Old 12-18-2001, 06:26 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by amykhar
It's not tough. Just make sure to get the full path to your Pluhconfig.php file, and then in your global.php, edit the requires to contain the full path as well.

Instead of include "PluhConfig.php" you would have include "/home/username/dirctory/PluhConfig.php"; I am doing it across 3 domains, and it works like a charm.
Let me get this straight (haven't had the time to read the entire thread) - if I want to include the news script and the headline script on other domains I have to put the full URL's to everything in my forum's global.php and the Pluhconfig.php and that's it? Not in any other script(s) or forum files?
Reply With Quote
  #260  
Old 12-18-2001, 09:21 PM
Sean's Avatar
Sean Sean is offline
 
Join Date: Nov 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, not URL's, your ROOT PATH

eg: /usr/sites/yourname.com/forums/public_html/

You need the FULL PATH It is relative right now.
Reply With Quote
  #261  
Old 12-18-2001, 10:10 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Aww crap, it's gonna be hell setting up my network of sites then, cos I'm building them on my own computer, Win2K with Apache+PHP+MySQL installed, but it'll all be different on my webhost!

Crud..

So in Win2K, should I use directory paths then? I.e. g:\program files\apache\apache group\htdocs\board ?
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 04:10 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.05613 seconds
  • Memory Usage 2,314KB
  • 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
  • (4)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
  • (2)pagenav_pagelinkrel
  • (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