PDA

View Full Version : View All Current Private Messages On Server


Trigunflame
05-07-2003, 10:00 PM
All updated info will go here. Although you'll have to look at some of the last pages to see the updates Ive done so far cause i really dont wanna copy and paste em here, lol.

Heres the newest btw.

*damn for some reason when i delete this attachment and choose to upload new one, ill click the filname url and it still gets my old version...*

Latest file: https://vborg.vbsupport.ru/show...3862#post393862

Trigunflame
05-08-2003, 01:36 AM
Go here for new screenshots

https://vborg.vbsupport.ru/showthread.php?s=&postid=393022#post393022
https://vborg.vbsupport.ru/showthread.php?s=&postid=393023#post393023

Boofo
05-08-2003, 01:44 AM
Sounds interesting. :)

Can it be made to like have a list of users with pms and by clicking on the link, just bringing up theirs?

Trigunflame
05-08-2003, 01:52 AM
Ya it could be done easy enough, none of the messages are encrypted or restricted, so its all easy to manipulate, i might do it later, ill probably get flamed just for posting it...

btw im making my own forum script, with about all the features of vb, but all original code of course, i dont like scripters who rip off others code, thats not coo... my aim is Trigunflame feel free to IM me if you wanna see a preview, im thinkin of releasing it as open source or w/e if any experienced programmers in php/mysql wanna help feel free to contact me, ive got 5yrs in html/jscript/php/cgi/mysql all together so like i said IF your experienced with a year or more of experience maybe we can colaborate i have a fully functional forum workin bug free i did in 4 days and havnt worked on it for 2 days now, been kinda lazy...

but VBULLETIN will always rule...lol, btw im just makin the forum of mine for fun, the board at dbgtn... http://www.dbgtn.com/index.php?dbgt=select_forum is a custom script my friend deano did, so i figured i might as well make one to..

msimplay
05-08-2003, 02:26 AM
Today at 03:44 AM Boofo said this in Post #3 (https://vborg.vbsupport.ru/showthread.php?postid=392939#post392939)
Sounds interesting. :)

Can it be made to like have a list of users with pms and by clicking on the link, just bringing up theirs?


yes i want this too this is a great hack

Trigunflame
05-08-2003, 02:32 AM
Ya im gonna update it in a couple mins...

msimplay
05-08-2003, 02:33 AM
thank u i cant wait :D
ps do it b4 someone comes and flames ya for invading privacy :P

Boofo
05-08-2003, 02:39 AM
Today at 09:52 PM Trigunflame said this in Post #4 (https://vborg.vbsupport.ru/showthread.php?postid=392940#post392940)
Ya it could be done easy enough, none of the messages are encrypted or restricted, so its all easy to manipulate, i might do it later, ill probably get flamed just for posting it...

btw im making my own forum script, with about all the features of vb, but all original code of course, i dont like scripters who rip off others code, thats not coo... my aim is Trigunflame feel free to IM me if you wanna see a preview, im thinkin of releasing it as open source or w/e if any experienced programmers in php/mysql wanna help feel free to contact me, ive got 5yrs in html/jscript/php/cgi/mysql all together so like i said IF your experienced with a year or more of experience maybe we can colaborate i have a fully functional forum workin bug free i did in 4 days and havnt worked on it for 2 days now, been kinda lazy...

but VBULLETIN will always rule...lol, btw im just makin the forum of mine for fun, the board at dbgtn... http://www.dbgtn.com/index.php?dbgt=select_forum is a custom script my friend deano did, so i figured i might as well make one to..

Very interesting idea. Looks good, so far. You might want to work on the pgaenation a bit though. A thread with a lot of pages will take up a lot of room for the page numbers.

I'm afraid I won't be of much help to you in the php department. If it is simple stuff, then I can do it. But I am no php guru by any means. Not even close. But I would be intersted in foillwoing the developement of your software. If I can do anything, let me know. ;)

If you get a chnace to work on the pm file with the trequest I made, I would be willing to help with any testing. ;)

Trigunflame
05-08-2003, 02:56 AM
ok I updated it, now u have to be admin to view it, stick it in the admin folder, and it uses the ./globals and cpheaders and etc.. you know about all that stuff, you dont have to set anything up now it should work auto..ill add pagination later.

Also used some query cut backs, now that im a lil better at mysql than i was a year ago, cleaned up the code a bit also...

msimplay
05-08-2003, 03:00 AM
is there a way to only view specific pms eg click on a link for a certain person and then it shows their pms only ?

Trigunflame
05-08-2003, 03:03 AM
Ya ill add that in a minute I guess, hell might as well, y not?

msimplay
05-08-2003, 03:04 AM
its easier cuz i got my eyes on someone well actually a few people

Boofo
05-08-2003, 03:33 AM
I'm just getting a blank white page.

msimplay
05-08-2003, 03:34 AM
works for me put the php file in the admin folder and run it

Boofo
05-08-2003, 03:35 AM
That's where I have it and it still only shows a blank page. ;)

msimplay
05-08-2003, 03:37 AM
weird indeed as i sed worked for me first time

Boofo
05-08-2003, 03:39 AM
Have you tried the updated file?

msimplay
05-08-2003, 03:40 AM
thats what i am using the second file in the forum bit

Trigunflame
05-08-2003, 03:41 AM
unless u have altered ur table structure in anyway regarding user table and privatemessage table, it should work flawlessly, if ur admin and stick it in admin folder

im gonna recode it now entirely...might as well..brb

Boofo
05-08-2003, 03:43 AM
I have some hacks that use those tables. Could that be it?

Boofo
05-08-2003, 03:46 AM
Maybe updating this:

// Get private messages
$query = "SELECT * FROM privatemessage ORDER BY privatemessageid";
$result = mysql_query($query);
$number = mysql_numrows($result);
$i = 0;

with a DB_Site query?

Trigunflame
05-08-2003, 03:50 AM
nah i prefer to use outside querys, thats not it, it shouldnt have anything to do with, im gonna recode the whole thing now, and well see if it works for u then, ive gave this to about 15 people and it worked for all of them so iunno, just wait a few min, im gonna do it from scratch

msimplay
05-08-2003, 03:51 AM
thanks :D

Boofo
05-08-2003, 03:52 AM
Thank you, sir. :) If there's a problem, I usually find it by running it on my site for some reason. ;)

msimplay
05-08-2003, 03:52 AM
yeh i have noticed that too even with other hacks ur the first to speak up :p

Boofo
05-08-2003, 03:54 AM
That's what happens when you have over 150 hacks installed. It taskes some work, but they all work together. ;)

msimplay
05-08-2003, 03:56 AM
hmm id be curios to know what hacks u have installed and also what version of Vbulletin i got 46 hacks installed and i find that a handfull

Trigunflame
05-08-2003, 04:21 AM
almost done with the next update..

msimplay
05-08-2003, 04:22 AM
am waiting :D patiently just so that u know i've not gone asleep

msimplay
05-08-2003, 05:24 AM
thank uuuuuuu this is what i been waiting for :D

Trigunflame
05-08-2003, 05:31 AM
Finally i recoded the whole thing, ill still have to add the pageanism later as that takes some time, but this version is much quicker then the other, well on my test it was anyway, also on the main page, if u click the from user or the to user it will take u to a page for them that shows all the messages theyve sent and all the messages theyve received :)

Edit: I think there is a bug with the attachment upload or something, for some reason, it keeps trimming out my ?> out of the pmview.php file even when its in zip... so depending on ur site you may need to go ahead and add ?> to the end of it, if your having problems.

Jadelit
05-08-2003, 06:44 AM
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 39 in C:\Inetpub\****\test\admin\pmview.php on line 63

DPoole
05-08-2003, 06:54 AM
ok i took the php from (not first attachment but second)

uploaded to admin folder and it works fine to me

:)

Trigunflame
05-08-2003, 07:03 AM
Jade can u give me a screenshot please? I need to see the full html result, I made it use a else if theres no rows, so it shouldnt give a error, although i could have used @ but anyway please give me a screen, i would like to get the prob fixed.

PS. THE latest version is the .zip file so use it..

Trigunflame
05-08-2003, 07:08 AM
New screenshot 1

Show main page, showing all post

Trigunflame
05-08-2003, 07:09 AM
New screenshot 2

Show individual member view of sent and received pm's

DPoole
05-08-2003, 07:11 AM
Today at 08:44 AM Jadelit said this in Post #32 (https://vborg.vbsupport.ru/showthread.php?postid=393015#post393015)
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 39 in C:\Inetpub\****\test\admin\pmview.php on line 63

yeah m8 u may get the error but it still works fine - i have tried the 3rd attachment not noticed any speed increase but the hack does what it says it does and works fine.

Trigunflame
05-08-2003, 07:19 AM
It depends on your total amount of PM's You wont notice it on a few hundred because of the nature of mysql, but if u have 1000+ you will usually see a increase, atleast for me it has, i just tested it on a forum with 4k+ pm's, and noticed a 1-2 increase, all it helps to be on broadband connection, and i will use a @ to conceal errors i guess, but it shouldnt be showing them period..there should be no errors..

updated to conceal errors..but if it works correctly there should be none.. if u see an adverse result show me, im pretty sure it should work for all configs, cause its only using the basic fields that are used from privatemessages in vbulletin..

Boofo
05-08-2003, 08:41 AM
Still doesn't work for me. But that's ok. ;)

Trigunflame
05-08-2003, 08:58 AM
You must have something seriously wrong with your db, php or mysql if your gettin nothin but a blank page. Whats ur site and i may can get it to work for you, like anything else u cant make somethig that will work everywhere, like for instance ive had no errors running it myself so far, but others do here and there, now i cant explain why...usually its cause of a change in table/field structure, which if you know what ur doing u could modify it to fit ur needs, its a simple script really, nothing complicated.

btw go here for the forum script im workin on, calling it MiniBulletin
http://www.dbgtn.com/tf/forum/index.php

only about 80% of the first version... still have lots of stuff to add, as of now u can register/login/newthread/quick reply/full reply

gonna add memberview, profile, sigs, avatars tomorrow..

Boofo
05-08-2003, 09:43 AM
I can't believe it is the db or anything with the MySQL because the board runs fine as well as all of the other hacks I have installed. Like you said, it is just one of those things that can't be explained on some boards. Mine seems to be one of them, I guess. ;)

You script looks good. I'd be interested in taking a closer look at it when you get some more of the stuff added. Let me know if I can help in any way. ;)

DPoole
05-08-2003, 10:11 AM
post 38 attachment works fine - no errors whatsoever

and yeah i have over 2000 pms on my site and it aint slow.

* DPoole click installs

even though there is no Install :)

ULTIMATESSJ
05-08-2003, 02:50 PM
seems like an interesting hack, although i had problems running it on my localhost, probibly cause i have modified the tables a lot

Dean C
05-08-2003, 05:45 PM
Does this do the same as PPN's hack or more? :)

- miSt

ElmGoodie
05-11-2003, 12:44 AM
Well, It works for me, but it is very slow... and I have 2473 pm's on my forum...
Oh, I think there is a problem, it shows me the last pm date: 04/08/03 @ 7:24 am
and look at the date now... i sent at least 5 pm's today...
and another problem (I think) it tells me that theres 2473 pm's on my forum but the last message ID is 1800... :paranoid:
anyone has any ideas?

WEForums
05-11-2003, 01:06 AM
05-08-03 at 07:45 PM Mist said this in Post #44 (https://vborg.vbsupport.ru/showthread.php?postid=393083#post393083)
Does this do the same as PPN's hack or more? :)

- miSt I have PPN's hack installed and I believe the difference is this hack shows all PMs and individual PMs. PPN's only shows individual.

Are you finished with the hack? I'll install it when you are. (Pages mainly, as we have thousands of PMs...hundreds daily, I think)

Trigunflame
05-11-2003, 01:17 AM
This forum has been down for like 3 days, and yes i still have lots of modification to add to it, i assure you when i finish ill try and get all the bugs out.

Today at 02:44 AM ElmGoodie said this in Post #45 (https://vborg.vbsupport.ru/showthread.php?postid=393500#post393500)
Well, It works for me, but it is very slow... and I have 2473 pm's on my forum...
Oh, I think there is a problem, it shows me the last pm date: 04/08/03 @ 7:24 am
and look at the date now... i sent at least 5 pm's today...
and another problem (I think) it tells me that theres 2473 pm's on my forum but the last message ID is 1800... :paranoid:
anyone has any ideas?

Thats because that number 2473 means the total amount of pm's on your forum, if the last message ID is 1800 that means that ur members deleted it... this script only shows the current PM's on the forum, if they delete the PM, its deleted it from the mysql table therefor gone..and this script wont show it. Also there no bug in the script for the date, its pulling that directly from whats in ur table, so if anything its what vbulletins written to that field, this script simply reads.

Trigunflame
05-11-2003, 08:18 AM
Update:
Cleaned the code up a bit more, and if your using ./global from the admin folder, i made it so the queries use vbulletins function $DB_site->query() else it will use the standard mysql_query, since vbulletin already checks for globals etc... MAYBE that will solve some of the problems that people have been having on some servers...i have no idea, i dont specialize in the technicalities of how the php modules works.. Also I added a "Generate in" so you know how long it took for php/mysql to parse it/retrieve it w/e , notice if you wait seconds and ur like Damn this is slow, its not the script believe me, i have pretty much optimized it far as i can in query usage without using left and right joins which i really dont want to do.. it would either be the time php is fetching the rows from the db, or your connection you have to think 2000+ messages is a lot of text (in theory), also i cant believe i didnt do it earlier, i added nl2br() so its formatted correctly like you would see it if you were reading your own pm, later I will add pageanation (*damn still gotta do it*) and a view config, cause if you dont already know when you send a pm, it actually makes 2 inserts into the table, a copy for you and a copy for the receiver, but anyway, I was gonna make it so on the main page, of all the pm's if you set view to 1 it would basically check for duplicate messages and not show 1 of them so you dont have lots of the same message everywhere... more later.

Ill be adding some more stuff later yo's sorry i couldnt reply earlier...

Trigunflame
05-11-2003, 09:35 AM
bump

ElmGoodie
05-11-2003, 10:17 AM
It is a bug! i've asked my friend to send me a message...
i kept it but still the last message id is 1800.
when i klicked on my nick the last message id I saw is:

Message ID: 3804
To: ElmGoodie
From: johni

So what do you think?

Dean C
05-11-2003, 12:42 PM
Can you please post all relevant information in the first post Trigunflame and attach the hack into the first post :) So hackers don't have to browse through the thread to find the hack :)

Thankyou

- miSt

Trigunflame
05-11-2003, 07:01 PM
Ya i guess, im still not done with it yet though, I need to fix some other things with it, i have 3 more hacks im workin on revolving the admins of forums, cause for 5 years thats what ive done, admins websites, server admin for uzipp.com and hostgator.com and I administrate/mod 2 forums now, so about everything I do online revolves around looking after people.

Ok so.. need to stick in the first post, and just update that from now on, makes good sense, I just figured the last page, would represent a "newness". Will do mist.

There was a bug with the attachment system or something, i dunno, having to do with the First Post for some reason i have no idea.. anyway heres the NEW Version.

ps. im still workin on my forum script i added dynamic pagenation today 5/11 http://www.dbgtn.com/tf/forum/index.php

Zaeolos
05-12-2003, 03:23 AM
Works great here on a 2.3.0 board. I added it to my menu in the admin panel and all is well.

Thanks, this is a good hack.

Trigunflame
05-12-2003, 06:39 AM
heh thanks, ill try to add some more stuff to it later, eventually i might combine to or 3 of my other admin hacks i havnt released yet into one so you can do multiple thing...heh..

http://www.dbgtn.com/tf/forum/

update, added total online member/guest online and it shows the members online under that, all on the main page..

more added to the forum script later...

Trigunflame
05-13-2003, 06:53 PM
my cache is set to 1mb, and i dont stay on vbulletin.org all day, i dont believe that is the problem...iunno, lol..

ModshackUK
05-17-2003, 08:13 AM
Is it just me or does anyone else have a problem with board Admins reading *PRIVATE* messages ?

WTF would you want to read other peoples messages for anyhow, I think vbull is becoming more and more unsecure with hacks like this and the pasword logging hack to be available. It defeats the whole purpose of running a board and IMHO if members were to read this and note you are reading what they deem to be private then your board would close pretty damn quickly.

When I use a vbull board now, I wonder just who is reading what and it makes me kinda wonder why ?

H

Kyle_TX
06-05-2003, 01:24 AM
am I missing something? Where is the hack??? I want to install, but can't seem to find it. I click the link in the original post and am taken back to vbulletin.org

??

Erwin
06-05-2003, 03:10 AM
I hope forum admins who install these hacks let their members know that their "private messages" are no longer "private". Sure, the forum owner always have access to the database, but this is different. Personally, I would never use a hack like this.

WCW Fan
07-29-2003, 08:24 PM
06-05-03 at 03:24 AM Kyle_TX said this in Post #57 (https://vborg.vbsupport.ru/showthread.php?postid=404584#post404584)
am I missing something? Where is the hack??? I want to install, but can't seem to find it. I click the link in the original post and am taken back to vbulletin.org

??


Same here where did it Go :(

ap0c
07-29-2003, 09:32 PM
Today at 05:24 PM WCW Fan said this in Post #59 (https://vborg.vbsupport.ru/showthread.php?postid=421646#post421646)
Same here where did it Go :(
this (https://vborg.vbsupport.ru/showthread.php?postid=393862#post393862)

WCW Fan
07-31-2003, 10:18 PM
Thanks Awesome Hack

mv540
08-25-2003, 06:31 PM
05-08-03 at 03:32 AM Trigunflame said this in Post #1 (https://vborg.vbsupport.ru/showthread.php?postid=392937#post392937)
All updated info will go here. Although you'll have to look at some of the last pages to see the updates Ive done so far cause i really dont wanna copy and paste em here, lol.

Heres the newest btw.

*damn for some reason when i delete this attachment and choose to upload new one, ill click the filname url and it still gets my old version...*

Latest file: https://vborg.vbsupport.ru/show...3862#post393862

sorry i must be missing something, i dont see this hack anywhere, this link takes me to the main page of vb.org and i dont see it anywhere....., where can i download this hack..thanks :cool:

Exo
08-30-2003, 10:14 PM
download doesn't work

Trigunflame
08-30-2003, 10:37 PM
Im currently working on a version 2 of this script which i will make a new entry for, and im pretty much done with a version 3 which will be released for vb3

Smitty
12-22-2003, 01:36 AM
Is this still in the making or is it 'dead'?

Byron
04-08-2005, 04:58 PM
Are there any update for this hack?

Marco van Herwaarden
04-08-2005, 06:13 PM
I don't think many people are still updating vB2 hacks.

mml770
10-10-2005, 07:20 AM
I'm trying to use this with 3.5 and get this error:

Warning: main(./global.php): failed to open stream: No such file or directory in /home/chabadt/public_html/forum/admincp/pmview.php on line 43

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/chabadt/public_html/forum/admincp/pmview.php on line 43


The line is "require_once('./global.php');"

Any idea?

mml770
10-10-2005, 07:39 AM
I just changed global.php to global.php3 also in the next line there was "require_once('./includes/functions_bbcodeparse.php');" and I changed it to "require_once('./includes/class_bbcode.php3');" because the first file didn't exist anymore...

Now I get this message "You have to be a super administrator to moderate reported private messages, this can be set within config.php3", I checked config.php3 and my id number is there...

Marco van Herwaarden
10-10-2005, 08:16 AM
Well i am surprised it didn't kill your whole board.

You really should consider using a vB3.5 hack, instead of a 2.5 year old hack that only will work on vB2.

mml770
10-10-2005, 04:53 PM
Well i am surprised it didn't kill your whole board.

You really should consider using a vB3.5 hack, instead of a 2.5 year old hack that only will work on vB2.

Thanks for the info...

Is there anybody willing to upgrade this hack?