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
  #112  
Old 07-23-2001, 01:12 PM
White Knight White Knight is offline
 
Join Date: Nov 2001
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By popular request I am going to post the code I used for my news posting. I have had about 20 emails asking me for it so I figure I will archive it here. I am no way a php coder. This was just placing "cookies?" where i needed them.

Demo at http://www.sportbikes.net

Quote:
// **********************

//Edit the HTML here (keep in mind that any double quote requires a backslash in front of it)

$bericht=bbcodeparse2($pagetext,"1","1","1","1");
echo "



<table bgcolor=#003366 border=0 cellpadding=3 cellspacing=1 width=\"100%\">

<tbody> <tr bgcolor=\"#000066\">

<td width=\"100%\"><font color=#ffffff face=arial,tahoma,verdana size=2>

<a href=\"$forumspath/showthread.php?s=&threadid=$threadid\"><b>$title</b></a> - <a href=\"$forumspath/showthread.php?s=&threadid=$threadid\">$replycount Comments</a><br>

Posted By <a href=\"$forumspath/member.php?s=&action=getinfo&userid=$postuserid\"> $postusername</a> at $dateposted</b>

</center></font></td></tr><tr bgcolor=\"#000000\"> <td width=\"100%\"><font color=#ffffff face=arial,tahoma,verdana size=2>



</a>$bericht<center><br><a href=\"$forumspath/showthread.php?s=&threadid=$threadid\">$replycount Comment(s) Last comment was by <b>$lastposter</b></center></font></font></td></tr></tbody></table>

";



}

}
Reply With Quote
  #113  
Old 07-24-2001, 08:39 AM
Kengan's Avatar
Kengan Kengan is offline
 
Join Date: Nov 2001
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have just set it up ! and it show nothing. I think may be the <?


//This is the Config file to get PluhNews running.
//**********************
//Set some Variables

//Retrieve news from the correct forum, which is the forumid
$newsforums = 1;

//Number of news items to show at once
$newsitems = 10;

//Path to your forums directory (leave out trailing slash)
$forumspath = "";

?>


What should I put on $forumspath= ? My fourm files is under the root domain ( www.adb.com ) all index.php is under www.abc.com not www.abc.com/forum

is there any idea ?

Thanks !
Reply With Quote
  #114  
Old 07-24-2001, 09:54 AM
Pie'oh'pah
Guest
 
Posts: n/a
Default

nice
Reply With Quote
  #115  
Old 07-24-2001, 02:50 PM
Kayn's Avatar
Kayn Kayn is offline
 
Join Date: Nov 2001
Location: Phoenix, AZ
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kengan, Try putting a slash "/" for that. It should work.
Reply With Quote
  #116  
Old 07-26-2001, 10:23 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kayn

Any word on the features to be able to pull from more than one forumid?

Great hack
Reply With Quote
  #117  
Old 07-26-2001, 10:25 PM
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Location: North Carolina
Posts: 1,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm...are you working on this Kayn? If not I can easily do it for you....
Reply With Quote
  #118  
Old 07-27-2001, 02:19 AM
Kengan's Avatar
Kengan Kengan is offline
 
Join Date: Nov 2001
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you hack like this too ?

http://woody.molofox.net/inline6/

I like part of the feature here !!
Reply With Quote
  #119  
Old 07-27-2001, 05:27 AM
sysmom sysmom is offline
 
Join Date: Oct 2001
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kengen:

Yes, PluhNews could be configured to look like that, or almost anything else.

You'll just have to adjust the HTML output lines in it.

I modified it a lot before I installed it, and the boss was very pleased when he looked at it. He said adopt it.

deb
Reply With Quote
  #120  
Old 07-27-2001, 06:12 AM
Kengan's Avatar
Kengan Kengan is offline
 
Join Date: Nov 2001
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by SysMom
Kengen:

Yes, PluhNews could be configured to look like that, or almost anything else.

You'll just have to adjust the HTML output lines in it.

I modified it a lot before I installed it, and the boss was very pleased when he looked at it. He said adopt it.

deb

I see ! that is neat !!
Reply With Quote
  #121  
Old 07-27-2001, 04:40 PM
Kayn's Avatar
Kayn Kayn is offline
 
Join Date: Nov 2001
Location: Phoenix, AZ
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, if all of you using PluhNews could send me a link, I would love to see that!

Please post it here: http://pluh.com/forums/showthread.php?s=&postid=8830

Thanks.
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:18 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.09725 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
  • (10)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