PDA

View Full Version : News Xporter beta 2


Mentor
16 Jul 2001, 08:12
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
17 Jul 2001, 12:21
Can we see a sample url with the hack working?

RobAC
17 Jul 2001, 14:46
Sounds cool, but I'd like to see a demo as well. :)

Mentor
17 Jul 2001, 15:14
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
17 Jul 2001, 18:04
This is the "add news" page :)

Mentor
17 Jul 2001, 18:06
The first modify screen

Mentor
17 Jul 2001, 18:07
Second modify screen

Mentor
17 Jul 2001, 18:45
:) 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
17 Jul 2001, 19:06
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
17 Jul 2001, 20:19
:eek: wow, very nice......all we need now is an import script from the old newspro :D

Mentor
17 Jul 2001, 22:47
LOL!!! :) Ill work on it. :) Hey, people would use them ill make it :)...

Reef Board
18 Jul 2001, 02:18
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
18 Jul 2001, 02:25
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
18 Jul 2001, 17:34
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
18 Jul 2001, 19:09
with: why would i need to convert them to ubb? :)

Dark_Wizard
18 Jul 2001, 23:18
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
22 Jul 2001, 19:49
it kicks butt

Kengan
23 Jul 2001, 02:35
Will you let me know does it support Japanese version ?

Mentor
23 Jul 2001, 06:27
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
23 Jul 2001, 06:38
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
23 Jul 2001, 06:41
No Problem!

Justice
06 Oct 2001, 02:11
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
07 Jan 2002, 23:28
does this work with the mod control panel? I dont want to give all my newsposters admin power...