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
  #352  
Old 02-17-2002, 07:01 AM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I get some help here? Anytime I try to add the hack mutliple times I get errors. Can somebody PLEASE help me with this?

Also when I run the error just once on a page I get this at the very bottom of the page:

Warning: 1 is not a valid MySQL-Link resource in /my/path/forumz/admin/db_mysql.php on line 93

(changed the path for privacy)

There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin: Invalid SQL: UPDATE session SET lastactivity=1013936279,location='/forumz/news.php' WHERE sessionhash='ec886e6a12d4f5e1118d7cc698d1884a'
mysql error:
mysql error number:
Date: Sunday 17th of February 2002 12:58:01 AM
Script: /forumz/news.php
Referer:
Reply With Quote
  #353  
Old 02-18-2002, 08:12 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would I get it so that the headlines and news only show the latest news that was posted within the last 24 hours?

This would be really useful, that pages that have a lot of news don't take so long to load up, from loading old news.

If anybody can help with this, it would be greatly, appreciated.

Thanks!
Reply With Quote
  #354  
Old 02-20-2002, 01:51 PM
SystemLogic SystemLogic is offline
 
Join Date: Nov 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting this error in the headlines:

Warning: Cannot add header information - headers already sent by (output started at /root/path/indexcopy.php:16) in /root/path/boards/admin/functions.php on line 1490

And this when I call the news:

Fatal error: Cannot redeclare stripslashesarray() in /root/path/boards/global.php on line 11

Any ideas what it is?
Reply With Quote
  #355  
Old 02-20-2002, 03:31 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SL you are only running 1 headlines and 1 news on the same page right?
Reply With Quote
  #356  
Old 02-20-2002, 03:34 PM
SystemLogic SystemLogic is offline
 
Join Date: Nov 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right, http://www.slcentral.com/temp2/indexcopy.php
Reply With Quote
  #357  
Old 02-20-2002, 03:45 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, make sure in your headlines php file that the only require line in there is

require("./PluhConfig.php");

Then in your php file that is calling the headlines and news files make sure that that these are before the < html > tag

<?
require("global.php");
require("admin/config.php");
require("PluhConfig.php");
?>

Rename the PluhConfig.php line if you renamed your headlines/news/config files. Let me know if this fixed it. :up:
Reply With Quote
  #358  
Old 02-20-2002, 03:48 PM
SystemLogic SystemLogic is offline
 
Join Date: Nov 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like it fixed the first error with the headlines header thing, but I'm still getting this error from the news:

Fatal error: Cannot redeclare stripslashesarray() in /usr/home/syslogic/public_html/boards/global.php on line 11

Any ideas on that one?
Reply With Quote
  #359  
Old 02-20-2002, 03:56 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh I forgot. Check your news file and take out all the require lines there. I was messing around and I think we can actually take the require line out of the headlines file as well. So all the required lines should be in the main file calling the headlines and news. I think that should fix the news problem too.
Reply With Quote
  #360  
Old 02-20-2002, 03:59 PM
SystemLogic SystemLogic is offline
 
Join Date: Nov 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now I'm getting this:

Database error in vBulletin 2.2.1:

Invalid SQL: SELECT smilietext,smiliepath FROM smilie
mysql error:

mysql error number: 0

Date: Wednesday 20th of February 2002 09:49:54 AM
Script: http://www.slcentral.com/boards/temp2/indexcopy.php
Referer:
Reply With Quote
  #361  
Old 02-20-2002, 04:08 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, I think I have seen that error before. I believe these are the only changes I made from the install. I do know that the hack was designed to place the files in your forum directory and not in a site root or anywhere else. Try looking through this thread. The most helpful stuff is around pages 10 - 15 I have read this entire thread a few times over so I know what most peeps problems are.

For those lines I gave to you, did you put the right path in?

Like I said put this line in

require("global.php");

but that's because my file that is calling global.php is in the same directory as global.php so if yours is in another directory then you would need to change the path to the global, admin/config, and news config files.

Right now that's the only thing I can think of. If that doesn't work you may want to try putting the file that is including the headlines, news, etc. in your forum directory where VB is installed in and see if that works. I think that could be a lot of peoples problems, but I'm not sure.
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 11:01 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.05990 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
  • (1)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