Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #2  
Old 07-03-2001, 07:30 PM
99SIVTEC 99SIVTEC is offline
 
Join Date: Nov 2001
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet script, this is what i've been looking for. I have one problem though. After configuring everything the links to view the news appear on my page but when you click on the links is is looking at the wrong path. It is using the default /forums path instead of the one I specified in the config file. you can see what I mean over at MY SITE
Reply With Quote
  #3  
Old 07-03-2001, 07:32 PM
99SIVTEC 99SIVTEC is offline
 
Join Date: Nov 2001
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok i'm a moron, you can delete that last post if you want. It was a simple line I needed to edit in the html portion of the script. If your forums are in a directory other than /forums then you need to edit the text to the links at the bottom of the script in the html section. On a side note how would I go about changing the text color displayed so I can change the background color of my table?
Reply With Quote
  #4  
Old 07-03-2001, 08:31 PM
Kayn's Avatar
Kayn Kayn is offline
 
Join Date: Nov 2001
Location: Phoenix, AZ
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can change that using plain HTML. Like , <font face=\"#000000\">blah blah</font> Just remember the slashes in front of the quotes so you don't get a parse error when the script executes.

...that's a good suggestion though, an option for font colors inside the setup. I'll take note of that for the next release, plus more options.

Looks like the script is working for you! That is very good. Yes.

(the error that you were talking about was fixed - stupid me)
Reply With Quote
  #5  
Old 07-04-2001, 01:13 AM
TechTalk TechTalk is offline
 
Join Date: Dec 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is an awesome script! Didnt want you to think noone was checking it out

If you could make it do auto formatting on the posts (so i dont have to use html in my news posts) I would be a happy camper! I think you could sneak some code out of printthread.php and noone would notice

As soon as this is added this feature will be added to iguanaland.com Hell, i will even give you credit!

Thanks again
~Chris
Reply With Quote
  #6  
Old 07-04-2001, 02:30 AM
Kayn's Avatar
Kayn Kayn is offline
 
Join Date: Nov 2001
Location: Phoenix, AZ
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey man, thanks! It was really simple to do too (the code, for any php guru, is a no-brainer).

I did some research on the auto formatting and came across some special functions that allow breaks without <br>'s and <p>'s. Just gotta test 'em.

I'm going to attempt to get the rest (like VBcode, etc) to work. This would make this script much better for people, like yourself, who don't want to hassle with HTML.

Thanks again!
Reply With Quote
  #7  
Old 07-09-2001, 09:25 PM
RobAC RobAC is offline
 
Join Date: Oct 2001
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First off....this is a very cool hack and exactly what I was looking for. However, there are a couple problems:

1. The html in the new.php file needs to be checked/cleaned. It's not a big deal and it isn't that bad...but just being picky.

2. The time stamp seems to be screwed up. The times that the posts were actually made is incorrect and looks like they are 1-2 hours ahead of the actual posting time.

3. Suggestion....you may want to see how you can require the config.php file in the admin directory rather than including the database name, password, etc right in the php file. Just a suggestion.

Otherwise, good job!
Reply With Quote
  #8  
Old 07-09-2001, 10:01 PM
Kayn's Avatar
Kayn Kayn is offline
 
Join Date: Nov 2001
Location: Phoenix, AZ
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks man for the suggestions.

1. The HTML was thrown together really quick, but that is a good idea for a future release.

2. I don't know why the time is messed up. A bug to tackle!

3. Another good idea. Will work on it.
Reply With Quote
  #9  
Old 07-11-2001, 01:04 AM
RobAC RobAC is offline
 
Join Date: Oct 2001
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just another suggestion. It would be great if this hack was able to parse vb code.
Reply With Quote
  #10  
Old 07-11-2001, 01:35 AM
TechTalk TechTalk is offline
 
Join Date: Dec 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Be easier to just recreate printthread.php IMHO
Reply With Quote
Reply

Thread Tools

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:26 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.04694 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
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
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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