![]() |
Private Text Message Hack v1.0
As requested [ Here ]
Please download the fixed attachment located [ Here ] If you've downloaded this hack before the redownload it or make the changes below... else the hack won't work... that should be it :) Unfortunately FireFly didn't have the time to make the hack so i took it up on my own ;) Hope that you enjoy it... here's the breakdown... screenshots will be included below :) Private Text Hack v1.0 Hack created g-force2k2 Sunday August 18th, 2002 vbulletin 2.2.6 Please don't edit this hack if you need any assistance refer to the thread. If you have any problems please refer to the thread. // ++++++++++++++ To Do // ++++++++++++++ Queries to Run (6) File Modifications (28) newreply.php (8) showthread.php (6) editpost.php (8) admin/functions.php (2) admin/usergroup.php (4) Templates to Add (8) Templats to Edit (3) What does this hack do? // ++++++++++++++ It allows your users to private text each other within a post. It still maintains a regular post. but allows an option to private text other users. You can choose which usergroupcs can add private text messages and which groups can see them. But unless a usergroup is allowed to view no other user will be able to view it except the user recieving and the user posting. Enjoy this hack :) It's really a good addition to keep things smart. The usergroups options can be edited in the admin cp usergroup.php And the private text length can also edited in the vbulletin options in admin cp under thread options. The private text messages work with bbcode... smilies... and disables html etc... same as a regular message would work. Also maintains the same image count... so if you have your image set at 5 per post and the user tries 3 in a post and 3 in the private text message they will get the images error :) The private text messages can be edited the same way as a post, but when quoting they're bypassed. Hopefully you'll enjoy this hack as much as i did making it :D If you like it please click on the install thanks ;) [ g-force2k2 ] For editpost.php change view this post https://vborg.vbsupport.ru/showthrea...518#post287518 For another editpost.php change view this post https://vborg.vbsupport.ru/showthrea...633#post287633 For enabling users to edit their own private text messages view this post https://vborg.vbsupport.ru/showthrea...651#post287651 g-force2k2 |
First a screenshot of the modified newreply for those usergroups which have permission to add them :p
g-force2k2 |
Next a screenshot of the editpost for the users that have permission to view all private text messages :)
g-force2k2 |
Next here's the screenshot of the showthread.php from a guest point of view :)
See anything special :p g-force2k2 |
Great, I'll definately install this. :: clicks install :: ^^
|
Following Screenshot... Proximity (another s/n for me :p) and me are having a private text conversation... as you can see from the guest shot they don't exist for the guest :)
g-force2k2 |
Yet another screenshot same scenario if you look at the screenshots... Apocalypse (me again) and Proximity are conversing this time... in the last one from g-force2k2 perspective this conversation wasn't viewable :)
g-force2k2 |
Finally last but not least another screenshot from my prospecitve... this time i have full access to see all private text messages as you can see by comparing my first one to this one :)
btw if you look a screenshot back or two you'll see that html was disabled within the private text messages... and that smilies were enabled :) Enjoy everyone... comments... suggestions... etc :) g-force2k2 |
great hack man...
in my idea, this is more efficent than PMs because i rarely read my PMs but it would look nice if you made the text for people that can see it like with a black background with white text so people can notice it |
yeah i think i might modify it to make it more regonizeable... and yes it can be used like a private message :)
btw you can also simply just edit the postbit_privtxt template and add color etc... whatever you like :) very simple to modify :D g-force2k2 |
heh this is greatness, very nice work
/me clicks install EDIT: be happy your my official 100th Hack installed :bunny: |
Quote:
g-force2k2 |
Another Suggestion, hoe about rather than one user, seting it up so only certain usergroups can view 'private text' ?
Otherwise Great Addition Flame |
well included you can decide which usergroups can view all the private text messages... but if you mean having only one certain private text being viewable to a certain usergroup i will work on such :)
g-force2k2 |
Really fast work, thanks for doing it g-force2k2!
Gonna install it now on the test board ... :) |
lol thanks Sho :) if you need any assistance you know where to find me :p
g-force2k2 |
Just wondering if you can enable HTML and BBCode and other stuff in them and how hard it'd be?
|
Hm, install_privatetext.php is not parsed correctly. PHP 4.2.1.
|
Actually, it looks more like a *.txt file. ;)
|
lol Sho yeah ask the hackers that install my hacks:p a write all my hacks on php files even though they're readable text files :)
and Link enabled html in the posts should enable it within the private text message ;) no mods needed... i said when i was making this i wanted to be good... hopefully it is :) g-force2k2 |
Step 5 in showthread.php, I have to search for:
PHP Code:
|
Also, is seems to me like step 6 in showthread.php is the same as step 3.
|
Cool hack ;), but I don't think I'll be needing it.
|
Sho just follow the instructions down ;) it goes in order... yes there's two occurances... but both appear in the installation... just take it down the php file :)
g-force2k2 |
Ah! You're right. Stupid me again. :(
|
Step 2 in adding code to the showthread.php has 2 instances of the code. Which one do I use?
And the step you said that had 2 instnaces of the code in newreply has 3 for me. 2 under a redirect and one a few lines down from where I added the other code for this hack. |
Quote:
after all the thread is here for questions :) g-force2k2 |
Boofo follow the code down it'll show both instances... as for the newreply.php issue its the second one... but you said you have two different ones? mine posting an example?
g-force2k2 |
Hmm ... what about "newthread"?
|
nope... no modifications to that... it wouldn't really be necessary to make a thread just to private text message a user ;) just my thoughts on it though :)
g-force2k2 |
No, but you might want to add a private text to the posting. ;)
Anyway, first let me get to work what's there at the moment ... |
if you downloaded an earlier zip be sure to view the first post for a few spelling errors of mine ;\ but it shoud be just dandy now :)
thanks Desty Nova ;) g-force2k2 |
Ah, another change in newreply.php ... now it seems to work, but I'm going to test it a bit more. ;)
|
Looks like everything works now. Just clicked "I installed ...". :)
Thanks again! *Great* work! |
From your first post:
Why would you replace the same thing? Code:
open newreply.php |
Touched the templates here and there and made the feature available to my users. The first are trying it out, I bet their response will be positive. ;)
Thanks again for making one of the finest hacks I know of! |
Quote:
Find: PHP Code:
PHP Code:
he didnt take "i" out of that at first post anyway that s what he try to do. |
Quote:
|
thanks for confirmation Jashugan... just wondering do you have the tetris hack installed by any chance?
And Boofo regards... (for my spelling errors x_X) g-force2k2 |
Quote:
g-force2k2, there seems to be a major problem. |
All times are GMT. The time now is 02:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|