The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Private Text Message Hack v1.0 Details »» | |||||||||||||||||||||||||
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 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 Show Your Support
|
Comments |
#112
|
|||
|
|||
g-force2k2, Boofo considers it a problem that you can't edit a post to add a private text. I know you intended it to work this way - anyway, I'm with Boofo on this one. Give us!
Schorsch, on the other hand, considers it a problem that you can't edit a private text after posting. Again, you intended it to work this way. That's okay with me. |
#113
|
||||
|
||||
g-force2k2, here you go. It is the excat same template in your install file.
Code:
<!-- private text hack [ g-force2k2 ] --> <tr><td bgcolor="{secondaltcolor}" valign="top"><normalfont><b>Private Text Options:</b></normalfont><br><smallfont>Maximium Characters: $PTMlength</smallfont></td> <td bgcolor="{secondaltcolor}"><smallfont><input type="checkbox" name="dopriv" value="no" $dopriv><b>Add a private text message to the post?</b><br><input type="text" class="bginput" name="privuser" size="20" maxlength="50" value="$postinfo[privuser]"> <b>Username to send private text to?</b><br><textarea name="privmsg" rows="10" cols="$textareacols" onChange=getActiveText(this) onclick=getActiveText(this)>$postinfo[privmsg]</textarea></td></tr> <!-- private text hack [ g-force2k2 ] --> |
#114
|
|||
|
|||
// +++++++ Addon for allowing post owner to edit their own private text message +++++++
open editpost.php (2) find: (1) PHP Code:
PHP Code:
PHP Code:
PHP Code:
g-force2k2 |
#115
|
||||
|
||||
Sho, you must have misubderstood me. I can edit a post to add private text, I just can't edit the private text after it is posted.
Quote:
|
#116
|
|||
|
|||
Boofo try taking out the codes that you added in... the onchange and all then try and see if that works? thanks in advance...
g-force2k2 |
#117
|
|||
|
|||
Quote:
|
#118
|
|||
|
|||
Quote:
Quote:
Sorry about the missunderstanding, Boofo. |
#119
|
||||
|
||||
I t0ook the code out and it still doesn't allow me to edit a private text message. I can edit it, it just won't allow me to change it from the original on save.
Quote:
|
#120
|
|||
|
|||
Quote:
- With my own private texts. - With other's private texts - after "Can view all private text messages" for my usergroup, of course. |
#121
|
||||
|
||||
g-force2k2, look at the code right above it in my editpost.php and see if maybe that is what is causing the problem. The Admin edit options.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|