Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-23-2001 Last Update: Never Installs: 0
 
No support by the author.

At http://pluh.com - I have newspro set up on my site with vbulletin as the forums.

I've seen Ratorasniki's hack for newspro and vbulletin, which is really cool and I'm looking to add couple of features, or if I have to work on coding them myself, I would love a good point in the right direction.

Basically, I would like to be able to post a news item, it being under a certain category (as you can see on my site, I have categories for news posts), and for the news topic to post in the forums along with the content from the topic, where people can comment on there.

Not only that, but it will also read from the forums and say something in the news topic on the main page like, "X comments" - x being the number of comments on that news post in vbulletin.

That, and the category thing, is my main concern. Any good news programs out there that can do this for me?

Remember: News + News Categories + dynamic comment count + vbulletin = Yay.

Thanks!

Show Your Support

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

Comments
  #2  
Old 01-23-2001, 07:41 PM
Guest
 
Posts: n/a
Default

Search in the forums here for BFC_WEBLOG. It does what you want.

If you can't find it post here and I will make it available.
Reply With Quote
  #3  
Old 01-23-2001, 11:12 PM
Guest
 
Posts: n/a
Default

I searched and the link is dead...can you post it? Thx.
Reply With Quote
  #4  
Old 01-23-2001, 11:38 PM
Guest
 
Posts: n/a
Default

im working on a new version of the newspro+vb integration thang that does most of what you want. i dont have the # of comments thing down just yet, but im working on it =D

in the meantime you can make a script like this, and plop it in your vb dir:
Code:
<? 
//Newspro link to vB forum thread finder
//vbGenGetThread.php
<? 
require("global.php"); 

$title="News: ".$subject;
//echo "$title";
$threads = $DB_site->query("SELECT threadid FROM thread WHERE title='".addslashes($title)."'"); 
while ($thread = $DB_site->fetch_array($threads)) { 
//echo "$thread[0]";
$url="http://www.tribalwar.com/forums/showthread.php?threadid=".$thread[0];
//echo "<a href=$url>test</a>";
if(!$thread[0]){header("Location: http://www.tribalwar.com/");}
header("Location: $url");
} 
?>
obviously if you use a prefix other then News: you'll have to change that part, and adjust the links to showthread.php and nocomment.shtml (or whatever you want to take them back to if theres no comment thread)

theres some problems with it (like it selects the last thread to be posted w/ that name, so if you have 2 identically titled news posts that you want active comment threads for you're SOL for now) but it works nicely for me

see it in action @ http://www.tribalwar.com/

also, so far as only doing it for each category, in newspro set your category in question to use a different doHTML subroutine, and then copy your current doHTML, name it what you told the category to use, and add something like
Code:
<a href="http://www.tribalwar.com/forums/vbgenGetThread.php?subject=$newssubject">Comments&gt;&gt;</a>
wherever you want for a Comments link. again, use your link to your script, but that should work (except for the number of comments, but as i said i havent really figured how to go about that yet)

[Edited by Ratorasniki on 01-23-2001 at 08:50 PM]
Reply With Quote
  #5  
Old 01-24-2001, 12:03 AM
Guest
 
Posts: n/a
Default

Actually I was looking for BFC_WEBLOG. I am a Alpha Tester for NewsPro (now named Coranto) and suggest you wait on the integration with vb as the coding has been redone from the ground up. There is nothing code wise from version 3.7.5 or earlier in Coranto!
Reply With Quote
  #6  
Old 01-24-2001, 02:24 AM
Guest
 
Posts: n/a
Default

I will post BFC_WEBLOG tomorrow. It is on my other PC.
Reply With Quote
  #7  
Old 01-24-2001, 02:51 PM
Guest
 
Posts: n/a
Default

Weblog and 'Coranto?'

What sort of changes are in coranto from Newspro, being an Alpha tester and all?

And I'm interested like crazy to see how weblog works.

Thanks guys!
Reply With Quote
  #8  
Old 01-24-2001, 04:52 PM
Guest
 
Posts: n/a
Default

You can find it at:
http://www.vbulletin.org/hacks/hacks...=gethack&id=41

I had thought about NewsPro integration. However I want to get away from PERL and have a completely integrated system in one language.
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 02:25 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.09400 seconds
  • Memory Usage 2,244KB
  • Queries Executed 21 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete