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
  #292  
Old 01-24-2002, 10:49 AM
Martz's Avatar
Martz Martz is offline
 
Join Date: Oct 2001
Location: UK
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good hack apart from the fact smilies are not parsed - and I cannot and will not change the path of the smilies relative to my domain - that defeats the whole purpose and creates loads of work.

Thanks
Reply With Quote
  #293  
Old 01-25-2002, 03:59 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right here's my situation. The script works fine in the /board subfolder where my forums are. But SSI and PHPInclude on other pages is refusing to work. Hence, is there a way to get these scripts running above the path of the forums folder. So then for example you could rename PluhNews.php to be the index file of your site?

Thanks in advance. Great script, keep up the good work.
Reply With Quote
  #294  
Old 01-26-2002, 01:16 AM
sianews sianews is offline
 
Join Date: Dec 2001
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I ended up using the full URL path rather than the relative path.
Reply With Quote
  #295  
Old 01-28-2002, 05:19 PM
Snake~eyes Snake~eyes is offline
 
Join Date: Oct 2001
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a little note

If you have a site where people submit news. I came up with this little idea. Maybe you guys have, maybe not but its very helpful.

Instead of submitting news via email they have to submit them via forums

-I created a seperate forum, call it submit news and what not.
-I changed the permissions so that people can't see other peoples posts. That way no one knows about the news 'cept for the poster and the admins.
-If someoen posts news and yo think its worthy material just move it to the news forum. If not just reply and say its not.

Simple I think.

The only thing is, it says posted by instead of submitted by. But that's okay with me.
Reply With Quote
  #296  
Old 01-29-2002, 07:24 PM
sccr410 sccr410 is offline
 
Join Date: Jan 2002
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I set it up straight from the zip file, and I get:
Quote:
Fatal error: Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/sandieg/public_html/forum/PluhNews.php on line 6
I do absolute paths for the require and I get:
Quote:
Fatal error: Call to undefined function: bbcodeparse2() in /home/sandieg/public_html/forum/PluhNews.php on line 80
So, now what?



Also, I would like to have the ability to show attached files on the main page. A lot of the time, the people who add news posts are uploading schedules written in a Word doc and load them along with the post. Can this be added?
Reply With Quote
  #297  
Old 01-30-2002, 08:03 PM
sccr410 sccr410 is offline
 
Join Date: Jan 2002
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nobody?
Reply With Quote
  #298  
Old 01-31-2002, 11:34 PM
DiscussAnything DiscussAnything is offline
 
Join Date: Jan 2002
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great script!

Got it working in its simple form...

Now to tackle the look and feel issue and multiple forums.

Thanks!

If anyone has insight on how to do multiple forums wihtout multiple instances of the files that'd be great.
Reply With Quote
  #299  
Old 02-01-2002, 12:21 AM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, how would I go about displaying avatars?
Reply With Quote
  #300  
Old 02-01-2002, 12:57 PM
Jackyl Jackyl is offline
 
Join Date: Jan 2002
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oops dbl post arg
Reply With Quote
  #301  
Old 02-01-2002, 12:57 PM
Jackyl Jackyl is offline
 
Join Date: Jan 2002
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

############## EXAMPLE ERROR #######
Warning: Undefined variable: REQUEST_URI in D:\SITES\site34\www\forums\global.php on line 60

Warning: Undefined variable: QUERY_STRING in D:\SITES\site34\www\forums\global.php on line 68

Warning: Undefined index: HTTP_POST_VARS in D:\SITES\site34\www\forums\global.php on line 85

Warning: Undefined index: action in D:\SITES\site34\www\forums\global.php on line 85

Warning: Undefined index: action in D:\SITES\site34\www\forums\global.php on line 88

Warning: Cannot add header information - headers already sent by (output started at D:\SITES\site34\www\forums\global.php:60) in D:\SITES\site34\www\forums\admin\functions.php on line 1490

####################################

ok guys - I saw a similar error posted a few pages back - I read this entire thread 3 times, and if there was a fix posted I missed it. I'm running IIS 5 if that makes a difference...

I copy all files into the /forums directory - when I go directly to the PluhNews.php I get the above error, but below that the news is displayed - same thing if I use a PHP include in another page - the news is there, right below the same list of errors - I inserted the chdir code above the include global line in the PluhNews.php file - same error. I have tried relative and absolute paths...

This isn't an include problem because it shows the error if I go directly to the nPluhNews.php page - I peeked around in the source, but I'm not too handy with php (or VB for that matter)

The only think I changed during installation was the forums ID - everything else works with the default settings - after getting the error I did change several things playing with variables and paths - various errors came up - the closest I get is a fresh install with no changes because at least the news is displayed under the above errors...

If someone knows what's wrong or could steer me in the right direction I would be grateful.

Thanks in advance for any assistance!
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 03:55 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.05415 seconds
  • Memory Usage 2,313KB
  • 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
  • (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