View Full Version : hey news mods...
cpugeniusmv
April 7th, 2003, 05:12 PM
zpnews 1.2
it stopped working a little while back, i fixed it.
phalkon, if you need a new edition, just send the html for the news mod page to cpugeniusmv@hotSPAMmail.com or whatever.
if it worked before, you should just need to replace the exe with this one.
edit: go to next version
MoonMan
April 7th, 2003, 05:13 PM
As I told you in the IRC room, it stopped functioning properly a while back.. but you got right on it! Good job man, makes posting the news a hell of alot easier.
cpugeniusmv
April 11th, 2003, 03:47 PM
ZPNews 1.3
this will probably be the final release. I have now integrated a system for automatically compensating for changes in the code of the news mod page. Unless there is a SIGNIFICANT redesign of it, it should continue to work behind all firewalls and proxy servers, as well as ad blockers such as proxomitron.
EDIT: attachment removed, go to next version.
.::BeatFactory::.
April 11th, 2003, 03:57 PM
Works fine and dandy!:fire
Jorge
April 11th, 2003, 08:37 PM
Very nice cpugeniusmv. Let me know if I can do anything for you.
Jorge
cpugeniusmv
April 11th, 2003, 08:43 PM
Originally posted by Jorge
Very nice cpugeniusmv. Let me know if I can do anything for you.
Jorge
well...since you're here, i found some broken links....
on the 'new users' tutorial on the front page, it's the same on all the pages of the tutorial...
phalkon30
April 11th, 2003, 08:54 PM
Cool man, thanks, even with the prox running its fine, and it seems faster
I noticed it stopped working, but figured I had messed something up and would have to have you make a new one
cpugeniusmv
April 18th, 2003, 09:15 PM
ok guys: ZPNews 1.5
new in this version:
option to tell you when there are new comments posted
option to minimize to tray on startup
any thing else you want in there, don't hesitate to ask ;-)
EDIT: updated
Evil_Dweller_01
April 18th, 2003, 09:16 PM
Great! Keep up the good work Cpu
If I think of anything, I'll post it later
cpugeniusmv
April 19th, 2003, 10:43 AM
*bump*
lol
phalkon30
April 20th, 2003, 07:13 PM
Well, it detects new mail just fine, but sat "checking" for over 15 minutes, I think the prox is messing it up again
cpugeniusmv
April 20th, 2003, 07:15 PM
well, i did a lot of recoding...i probably just forgot to put in the thing that tells that label to go back to "waiting..." lol, i'll look at it later.
phalkon30
April 20th, 2003, 07:17 PM
Well, without the prox it just says "waiting"
lol
I'm curious how this is supposed to work/look, when you get the time, think you could explain it to me?
cpugeniusmv
April 20th, 2003, 07:24 PM
Here's how it works:
Every one (or however many you specify) minutes, it downloads the source code for the news admin page, it then looks for the phrase "view news waiting to go live" and then it takes the number after that, compares it to the number of stories it has seen during that session. if it is greater, it says "hey! news" if it is less than or the same, then it doesn't. (only problem with that is that if someone posts a news story and publishes a different one in the same minute, then it won't pick up the new one. but i figure that is unlikely)
the 'comments' portion program downloads the source of the page that you get when you click on the news button at the top of the page, it then by the same magic used in the news getting function grabs all the news stories/urls/# of comments and separates those into 3 listboxes. if the number changes from the last known value of comments, it says "hey! comment!" (if there is a new news story posted in the time between checks, no comments will be reported because all the numbers will appear to have changed, and would notify you of all 50 stories on that page.)
the entire process takes only a few seconds, and you have to be watching to see the "checking..." flash by.
cpugeniusmv
April 20th, 2003, 07:33 PM
zpnews 1.51
if you're annoyed by the "checking..." always being there, then get this. that's all it fixes lol.
EDIT: update
phalkon30
April 20th, 2003, 09:39 PM
I'm going to bug you once again, lol
Is there a way to make it open in a NEW WINDOW? it sucks otherwise, I was editing some html, it took over that window, I forgot, and boom, I lost it all
I'm gonna push you till this thing is perfect and ready to be sold/pirated on kazaa :)
Evil_Dweller_01
April 20th, 2003, 09:50 PM
Originally posted by phalkon30
I'm gonna push you till this thing is perfect and ready to be sold/pirated on kazaa :)
Why?
Nobody needs it except us news mods.. lol
cpugeniusmv
April 21st, 2003, 06:16 AM
Originally posted by phalkon30
I'm going to bug you once again, lol
Is there a way to make it open in a NEW WINDOW? it sucks otherwise, I was editing some html, it took over that window, I forgot, and boom, I lost it all
I'm gonna push you till this thing is perfect and ready to be sold/pirated on kazaa :)
hmm, that's something i've never thought about...i'll get on it later today :)
cpugeniusmv
April 21st, 2003, 06:29 AM
ZPNews 1.55
damn, i'm quick lol
now opens links in new windows.
EDIT: update
cpugeniusmv
April 21st, 2003, 06:37 AM
heh heh
i just thought of another feature :wings
i'll implement it into the next fix you tell me to do ;-)
phalkon30
April 21st, 2003, 07:50 AM
Seems to work pretty good now
One thing I noticed, I shut the program off last night, when I got on this morning, it recognized new news, but didn't recognize a bunch of new comments and a new story, do I have to leave it on 24/7? (I might have deleted the .dat files, can't remember)
TC75580
April 21st, 2003, 09:29 AM
nice work! could you add a minimize option / button to it?
phalkon30
April 21st, 2003, 09:34 AM
Originally posted by TC75580
could you add a minimize option / button to it?
Hit the [X] button on the top, it minimizes to tray
TC75580
April 21st, 2003, 09:49 AM
Originally posted by phalkon30
Hit the [X] button on the top, it minimizes to tray
Oops :wings thanks
cpugeniusmv
April 21st, 2003, 02:40 PM
Originally posted by phalkon30
Seems to work pretty good now
One thing I noticed, I shut the program off last night, when I got on this morning, it recognized new news, but didn't recognize a bunch of new comments and a new story, do I have to leave it on 24/7? (I might have deleted the .dat files, can't remember)
yeah, thats a problem....here's why that happens:
it downloads the source for the news page (http://www.zeropaid.com/php/news.php) and takes those 50 stories and puts them into tables, when the number changes on the table, one of two things could have happened:
1. there is a new post(s)
2. there was a new story posted....
if it is the 2nd, then ALL the stories would appear to have new comments and you would have 50 msgboxs popping up...what i need to do to fix that is make it look at the name of the story and find the last known number in the database, i knew that would be a problem when i released it...and i'll be working on a solution.
this one won't come so quickly though :-)
phalkon30
April 21st, 2003, 04:06 PM
Awesome, no more .dat files!!!!
Thanks man, you're a genius
One thing, it notifies my twice now...lol
cpugeniusmv
April 21st, 2003, 04:07 PM
Ack! i didn't mean to post that yet!!! i had inspiration as soon as i was posting it and stopped!! i'm almost done, and it WILL tell you about new news stories.
cpugeniusmv
April 21st, 2003, 04:16 PM
ok, here goes.....
ZPNEWS 1.61
*pant pant pant*
good news: everything works, i think...i'll let you be the judge of that.
bad news: well, not really that bad....dat files have to stay.
EDIT: update to come
cpugeniusmv
April 21st, 2003, 04:22 PM
if it still notifies you twice, i think i know what the problem is...let me know if it does...
i can fix it in two seconds ;-)
phalkon30
April 21st, 2003, 04:37 PM
Seems to work good
btw, I posted your news story, and got a runtime error :P
cpugeniusmv
April 21st, 2003, 04:38 PM
i found a bug :-)
i'll have a fix in a minute.
cpugeniusmv
April 21st, 2003, 05:27 PM
ZP FUCKIN' NEWS FUCKIN' 1 POINT SEVEN!!!!
i've fixed all known bugs lol
EDIT: update
phalkon30
April 21st, 2003, 05:29 PM
Found a bug, lol
It brings me to http://www.zeropaid.com/php/news.php when there is new news, it also said there was new news there when there wasn't
Sorry :)
cpugeniusmv
April 21st, 2003, 05:31 PM
HA!! NOT BUGS! FEATURES!!!
Explanation:
reason it takes you to the news list is because there is no way for it to tell which news story (or stories!) was/were added (as of yet) so, i figured i'd just bring you there until i figure out a way around it...
and the reason it said there was new news just now is because i deleted my test news pages, and that changed the list of news stories, so it assumed that there was new news.
cpugeniusmv
April 21st, 2003, 05:58 PM
ZPNews 1.8
it now says which news story is new, and takes you there....but it comes at a price:
IF someone deletes a story: it will tell you about 50 new stories lol
so don't submit bad news, we don't want stuff deleted!
EDIT: new version
phalkon30
April 21st, 2003, 06:06 PM
Ok, time for you to take a break dude, you deserve it
One thing I forgot to mention in my original PM, is a search feature, when a member is banned, we can scan the news for his posts and delete them
BUT, its not an immediately needed feature, just something in the future, we haven't had much of a problem with spammers in the past few days
Again, just take a break for now
cpugeniusmv
April 21st, 2003, 06:09 PM
thanks, i was planning on taking a break...The screen savers is on :-)
and my girlfriend will be back from wisconsin tonight, so i'll talk to her for a few hours lol...
but that search thing won't be that hard...i'll work on it pretty soon, but not tonight :-)
cpugeniusmv
April 27th, 2003, 04:51 PM
I didn't make very many updates to this one, i recoded a little bit to make sure that the new comment thing works correctly in all situations. If you find a bug, let me know. But I'm fairly confident that the code is pretty solid.
EDIT: new version
cpugeniusmv
April 27th, 2003, 08:17 PM
fixed bug when deleting a story, it lets you know that there are 50 new stories :-B
no real need to upgrade, probably won't happen. but it's there if you want it.
EDIT: new version.
phalkon30
April 27th, 2003, 08:34 PM
You know me, allways have to have the latest....
Good work man, and btw, dont worry about the .dat files, I moved the program, I don't care anymore
cpugeniusmv
April 27th, 2003, 08:37 PM
lol, the dat files are critical anyway...that's where it stores the latest count of comments in each story lol. they won't be going away ;-)
cpugeniusmv
April 28th, 2003, 06:38 PM
ZPNews User Search 1.0 searches all news comments for specific terms. Useful for locating posts of banned users. Enjoy.
EDIT: next version
phalkon30
April 28th, 2003, 09:02 PM
Is this supposed to happen? lol
It corrupted the .dat files and bombarded me with a shit load of "new posts" the next time I started it
Ever think of using the nullsoft pimp installer? it would be so much easier, not that this is needed for many people...
Just tried the news also, it deffinately sucks the shit out of your PC, it went to 97% and stayed there for a looooong time when I typed my name in, lol
cpugeniusmv
April 29th, 2003, 06:48 AM
damn, i thought i fixed that....back to the drawing boards lol.
and as for that installer, i don't need it...all i'm doing is registering a few libraries...all you guys are competent enough to run a batch flie ;-)
EDIT: if you havent run the news proram (zpnews) in a while, it will tell you about ALL comments since you last ran it. easiest way to get around that is hold the N key and it will hit no every time lol.
phalkon30
April 29th, 2003, 02:33 PM
If you can't fix it, don't worry, it only happens every other time or so..I can live with that
cpugeniusmv
April 29th, 2003, 03:29 PM
Okay, now I'm home from school and I can explain the user search program better:
The CPU usage will be 100% for several seconds, it takes about 30 seconds on my athlon xp 2400. but after that, it's only 3 or 4 % as it downloads/searches. (total search time: around 10 minutes)
as for that zpnews bug....when did it occur?
cpugeniusmv
April 29th, 2003, 04:44 PM
Now by default only searches 50 most recent news stories, but can still search all of them.
phalkon30
April 29th, 2003, 09:25 PM
I'm not sure exactly when it happened, I think I waited an hour or 2 before posting, so check the date of that post
Great update for the search thing, thanks!
cpugeniusmv
April 30th, 2003, 02:29 PM
Originally posted by phalkon30
I'm not sure exactly when it happened, I think I waited an hour or 2 before posting, so check the date of that post
Great update for the search thing, thanks!
okie dokie...let me know if it happens again
and let me know of any bugs you find.
woo hoo, i finally hit 1000
isus
May 4th, 2003, 12:38 PM
Originally posted by cpugeniusmv
okie dokie...let me know if it happens again
and let me know of any bugs you find.
woo hoo, i finally hit 1000
darn you , cpu...
i must catch up again. lol. we have always had about equal numbers of posts. lol.
sike. congrats on the 1000 tho ;)
cpugeniusmv
May 4th, 2003, 12:39 PM
Originally posted by isus
darn you , cpu...
i must catch up again. lol. we have always had about equal numbers of posts. lol.
sike. congrats on the 1000 tho ;)
;-)
gee, thanks!!
isus
May 4th, 2003, 01:43 PM
Originally posted by cpugeniusmv
;-)
gee, thanks!!
lol, anytime, ol buddy ol pal.
what # am i up to now? gah, must have more!
cpugeniusmv
May 4th, 2003, 01:45 PM
never mind, you fixed it lol
isus
May 4th, 2003, 01:51 PM
Originally posted by cpugeniusmv
never mind, you fixed it lol
fixed what? the small tag?
why didnt that work?
cpugeniusmv
May 4th, 2003, 02:03 PM
Originally posted by isus
fixed what? the small tag?
why didnt that work?
yeah, the small tag just doesn't work, don't know why....
it just has to be [ size=1]smalltext[/ size]
isus
May 4th, 2003, 02:17 PM
Originally posted by cpugeniusmv
yeah, the small tag just doesn't work, don't know why....
it just has to be [ size=1]smalltext[/ size]
yea, i noticed that when i posted in the shareaza networks thread :(
(im stalking you now cpu... mwahaha... you cant hide. j/k)
cpugeniusmv
May 4th, 2003, 02:19 PM
Originally posted by isus
yea, i noticed that when i posted in the shareaza networks thread :(
(im stalking you now cpu... mwahaha... you cant hide. j/k)
forums mailer!: isus has replied to...
forums mailer!: isus has replied to...
forums mailer!: isus has replied to...
forums mailer!: isus has replied to...
forums mailer!: isus has replied to...
forums mailer!: isus has replied to...
forums mailer!: isus has replied to...
forums mailer!: isus has replied to...
:mellow
isus
May 4th, 2003, 02:32 PM
Originally posted by cpugeniusmv
forums mailer!: isus has replied to...
forums mailer!: isus has replied to...
forums mailer!: isus has replied to...
forums mailer!: isus has replied to...
forums mailer!: isus has replied to...
forums mailer!: isus has replied to...
forums mailer!: isus has replied to...
forums mailer!: isus has replied to...
:mellow
lol, sorry. i will stalk someone else...
cpugeniusmv
June 6th, 2003, 02:24 PM
NEW VERSION!!! WOO HOO!!!
no huge updates...hopefully this fixes that run time error 6.
if you're still getting it, let me know.
EDIT: new version
cpugeniusmv
June 14th, 2003, 02:52 PM
might fix the error (i hope)
and now it times out when it can't connect to the internet ( Moony :) )
EDIT: i forgot to resize the window back to normal, if you are the person that already downloaded it...download it again lol.
another EDIT: new version
MoonMan
June 14th, 2003, 09:02 PM
Awesome cpu.
cpugeniusmv
June 16th, 2003, 08:43 PM
IMPORTANT
if you updated to 1.93, you NEED to get this one...there was a bug in the timer in 1.93 that makes it check the news only twice, and never again.
MusikBeatz23
June 16th, 2003, 10:16 PM
my ZPNews stopped working like a week ago... maybe this will fix it. thank you CPU.