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

Reply
 
Thread Tools
Details »»

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

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

Is there a NewsPro hack for 2.0 b3?

Show Your Support

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

Comments
  #22  
Old 05-09-2001, 06:03 PM
Imperitus
Guest
 
Posts: n/a
Default

Okay this one is a pretty easy fix.
Open up news.php and find the following lines...

$time = mysql_result($result,$i,"dateline");
$time2 = unixtojd($time);
$time3 = jdtogregorian($time2);

and replace them with...

$time = mysql_result($result,$i,"dateline");
$time3 = date("M d Y",$time);

That should do it. enjoy.

If you want information on how to format the time to show up different, look here: http://www.php.net/manual/en/function.date.php
Reply With Quote
  #23  
Old 05-09-2001, 07:16 PM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Imperitus.

You sent me the code for posting news in a private forum and then having the comments link point to a public forum. Can you either send this to me again or post it. Forgive me I redid the machine and forgot to backup the email.


Thanks
Hooper
Reply With Quote
  #24  
Old 05-09-2001, 07:34 PM
Imperitus
Guest
 
Posts: n/a
Default

Actualy I don't think I ever did that exactly. What I did was send you information on how to make a forum moderated so that only admins and moderators can make new threads (and thus news items that will be ripped to the news page with this script), but where anyone can reply to news posts.

Thus all the news is posted to a thread and anyone can read and reply but not start new news threads.

The selective moderation information is here:
http://www.vbulletin.com/forum/showt...threadid=15904

Actual, I have made several changes and small tweeks... if you go to the site I'm working all this stuff out for: http://www.onandoffroad.com you can see what I'm doing... I have lots of stuff posting to the home page, and I'm using the user database for a user register... ( go to trucker registery ),
All of the stuff I'm doing requires no changes to the database and minimal changes to vbull, So in the event of a reinstall things should be easy to keep right.

Any comments? Just curious.
BTW it's built for IE anything else might look funky...
Reply With Quote
  #25  
Old 05-09-2001, 07:42 PM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow... Nice site. Looks fantastic.

I guess I misunderstood what the fix was you sent. I was wanting to post in a private forum, and then have the thread create the news like it does and the comments link to a public news forum. So I guess when you make the post in the private forum, It also makes the post in the news forum for others to make the comments on. Reason? It would be real nice for administrators to have private access to the forums they post news from. Then they could go back there, add new news and not worry about someone posting a reply to that thread. Many other reasons also, that is the main one.

The Site looks superp though. I like what you are doing.

Hooper....
Reply With Quote
  #26  
Old 05-09-2001, 07:57 PM
Imperitus
Guest
 
Posts: n/a
Default

I see what you're asking but I don't know that I can help with that exactly. Sorry.

To do what you want would require a custom version of the newpost.php vbull files... so far my php skills are not up to tackliing something so complex. This news script was my first php / mysql project.
Reply With Quote
  #27  
Old 05-10-2001, 12:25 AM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Imperitus,

Well cheer up I'm pretty good with html, but mysql and php are all new to me. I think it's great what you've done so far. I did get your script to work and everything. What I have mentioned above is just an Idea. I sure don't know of any hacks that will do this at all. Complicated I'm sure. Just throwing it out there.

Thanks for your contribution,
and your work. Oh, and thank you for the time fix.
Hooper
Reply With Quote
  #28  
Old 05-10-2001, 12:30 AM
Imperitus
Guest
 
Posts: n/a
Default

No prob. BTW if you haven't seen it yet check this out...
http://vbulletin.com/forum/showthrea...848#post103848
Reply With Quote
  #29  
Old 05-10-2001, 12:43 AM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ya and it looks as if you post in the wrong forum again you are going to get something whacked off.....lol
Reply With Quote
  #30  
Old 05-10-2001, 12:54 AM
Imperitus
Guest
 
Posts: n/a
Default

Yeah well, I figure as long as I'm being nice and trying to help other people out they'll not chop my hands off, I mean how could I fix my scripts then?
Reply With Quote
  #31  
Old 05-10-2001, 06:25 PM
Juan Juan is offline
 
Join Date: Nov 2001
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have moved completely from Newspro to this script. It works like a dream and it's very easy to configure.

I use it HERE

The site is in 4 other languages and the script can be used to pull news from different news forums in other languges.

I cannot thank you enough for this script, for me it's the ideal news program.
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:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04766 seconds
  • Memory Usage 2,285KB
  • 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)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete