PDA

View Full Version : News Xporter beta 2


Mentor
07-15-2001, 10:00 PM
This script is to make a html file with your news. Its uses the vBulletin user database, and also many functions. I have decided to export it to html as this reduces sql quarys. This is ment for the main page of your website. Everything is administered through your vbulletin control panel. You can add, modify, and delete posts. Installation is very simple. Just download the zip file, extract it into your admin folder, and run installnews.php, then folow directons. This is currently in beta, so there may be some bugs. It has only been tested on 2.0.1, but should work on others. Features i hope to include in later releases are comments(users can post comments on the news), catigories, and display order(like you can "bump" it to the top, and "stick" a news post). Any info would be aperaciated. Thank you, Mentor


Fixed Bug 7-17-01
Fixed bug with vb code and smilies. Just overwrite news.php

Juan
07-17-2001, 11:21 AM
Can we see a sample url with the hack working?

RobAC
07-17-2001, 01:46 PM
Sounds cool, but I'd like to see a demo as well. :)

Mentor
07-17-2001, 02:14 PM
Hmmm. Its really all admin interface. I can post screen shots of the admin interface, and i will post an example output. The output is essentially the same as a newspro out put. All it is is an raw html(or text file if you set it up that way). I will still post it. :)

Mentor
07-17-2001, 05:04 PM
This is the "add news" page :)

Mentor
07-17-2001, 05:06 PM
The first modify screen

Mentor
07-17-2001, 05:07 PM
Second modify screen

Mentor
07-17-2001, 05:45 PM
:) Im working on it... I seem to have found a little bump in my parsing smillies and vbcode :(...will be fixed soon.

About your quiestion about comments. It does not currently have users comments yet. Meaning, users cannot posts comments :(..That will be in a future release

Mentor
07-17-2001, 06:06 PM
Ok, here it is. :)
For anyone with experance with newsPro, that is what im trying to replace. How its used, is in your PHP page(or shtml, directions are included) you can include this page. Instead of sql querys every time the page is loaded, it only needs to execute the include() command. Everything needed is in the directions! :)

IanMFT
07-17-2001, 07:19 PM
:eek: wow, very nice......all we need now is an import script from the old newspro :D

Mentor
07-17-2001, 09:47 PM
LOL!!! :) Ill work on it. :) Hey, people would use them ill make it :)...

Reef Board
07-18-2001, 01:18 AM
I downloaded your script, uploaded both of them to the admin directory, when through the install links and then I edited the admin index file.

When I go to the news.php afterward I get this.

Warning: fopen("../news.html","w") - Permission denied in /www.reefboard.com/cgi-bin/forum/admin/news.php on line 230

Warning: Supplied argument is not a valid File-Handle resource in /www.reefboard.com/cgi-bin/forum/admin/news.php on line 231

Warning: Supplied argument is not a valid File-Handle resource in /www.reefboard.com/cgi-bin/forum/admin/news.php on line 232

Any idea?

Im using vBulletin 2.0.1

Phil

Mentor
07-18-2001, 01:25 AM
You must eighter
1. make your directory writeable. (chmod 0666)
or 2. make a blank file called news.html and chmod it to 0666. <----safer :)

This will fix your two other errors because it will give you that if you have not opened a file yet and are still trying to write to it :)

wilth
07-18-2001, 04:34 PM
Originally posted by Mentor
LOL!!! :) Ill work on it. :) Hey, people would use them ill make it :)...

then you need to do a html2ubb converter won't you? That's what I'm just trying to find - please inform me if you got it :).

Mentor
07-18-2001, 06:09 PM
with: why would i need to convert them to ubb? :)

Dark_Wizard
07-18-2001, 10:18 PM
Originally posted by wilth


then you need to do a html2ubb converter won't you? That's what I'm just trying to find - please inform me if you got it :).

:rolleyes:

\/ash
07-22-2001, 06:49 PM
it kicks butt

Kengan
07-23-2001, 01:35 AM
Will you let me know does it support Japanese version ?

Mentor
07-23-2001, 05:27 AM
With a little bit of editing, yes it will. Just have to edit the very bottom of news.php where it says Posted By .... On ... and as long as your admin know english and can read admin interface, it will work

Kengan
07-23-2001, 05:38 AM
Originally posted by Mentor
With a little bit of editing, yes it will. Just have to edit the very bottom of news.php where it says Posted By .... On ... and as long as your admin know english and can read admin interface, it will work

Thanks for your reply !! :)

Mentor
07-23-2001, 05:41 AM
No Problem!

Justice
10-06-2001, 01:11 AM
this looks really nice

can someone post a working demo (not just an image) and/or explain how this is different from PluhNews (http://www.vbulletin.com/forum/showthread.php?s=&threadid=21875) and OPNews v1.2 (http://www.vbulletin.com/forum/showthread.php?s=&threadid=26792)?

thanks

nafae
01-07-2002, 10:28 PM
does this work with the mod control panel? I dont want to give all my newsposters admin power...