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 |
#122
|
|||
|
|||
Emtpy shell.
|
#123
|
|||
|
|||
Sho please remove the editpost.php vbulletin rules say you can't attach full files... just warning you ahead of time man...
Boofo you're correct... remove that part... find: PHP Code:
PHP Code:
g-force2k2 |
#124
|
|||
|
|||
Sho and elyrain
dont attach these full file, pls delete it and PM to g-force. VB.org staffs are not allow it. |
#125
|
|||
|
|||
Done. I did not think - I am very sorry. Won't do it again.
|
#126
|
||||
|
||||
Here's what I have. What am I supposed to replace it with?
Code:
// +++++++ Private Text Hack [ g-force2k2 ] +++++++ if(($getperms[canviewprivtxt]) OR ($postinfo[username] == "$bbuserinfo[username]")) { $DB_site->query("UPDATE post SET title='".addslashes(htmlspecialchars($title))."',pagetext='".addslashes($message)."',allowsmilie='$allowsmilie',showsignature='$signature',iconid='$iconid'$editedbysql$attachmentsql,dopriv=$dopriv,privuser='".addslashes($privuser)."',privmsg='".addslashes($privmsg)."' WHERE postid='$postid'"); } else { $DB_site->query("UPDATE post SET title='".addslashes(htmlspecialchars($title))."',pagetext='".addslashes($message)."',allowsmilie='$allowsmilie',showsignature='$signature',iconid='$iconid'$editedbysql$attachmentsql WHERE postid='$postid'"); } // +++++++ Private Text Hack [ g-force2k2 ] +++++++ |
#127
|
|||
|
|||
PHP Code:
g-force2k2 |
#128
|
||||
|
||||
I'm sorry. maybe I missed something but that code looks exactly the same as the code I already have except that you added a } after it. The code I already have has one of those already there, I just didn't include it in the code I gave you. Sorry about that. Is there something different in the new code that I'm not seeing?
|
#129
|
|||
|
|||
yeah its the same as you probably had... just means that i have to make Xenon's double post hack compatible with this hack... just give me soemtime and i'll go about doing something of the sort
g-force2k2 |
#130
|
|||
|
|||
hello !!
i'm install this hack but i have this mail !! !? in showthread.php i think ! can you help me !? thank Invalid SQL: SELECT post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath, // +++++++ Private Text Hack [ g-force2k2 ] +++++++ post.dopriv AS dopriv, post.privmsg AS privmsg, post.privuser AS privuser, // +++++++ Private Text Hack [ g-force2k2 ] +++++++ attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter ,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline FROM post LEFT JOIN icon ON icon.iconid=post.iconid LEFT JOIN user ON user.userid=post.userid LEFT JOIN userfield ON userfield.userid=user.userid LEFT JOIN avatar ON avatar.avatarid=user.avatarid LEFT JOIN customavatar ON customavatar.userid=user.userid LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid WHERE post.postid = '217' mysql error: You have an error in your SQL syntax near '// +++++++ Private Text Hack [ g-force2k2 ] +++++++ post.dopriv AS dopriv' at line 4 mysql error number: 1064 |
#131
|
||||
|
||||
lol empreur76 what the heck did u do ??
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|