Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Private Text Message Hack v1.0 Details »»
Private Text Message Hack v1.0
Version: 1.00, by g-force2k2 g-force2k2 is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-17-2002 Last Update: Never Installs: 19
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 08-19-2002, 07:21 AM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's really confusing, please update your install file with all the fixes

and Thanks for your great work !!

Schorsch
Reply With Quote
  #73  
Old 08-19-2002, 01:29 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes Schorsch the file has been updated... only changes are there for the hackers who downloaded it beforehand...

g-force2k2
Reply With Quote
  #74  
Old 08-19-2002, 01:34 PM
Attrox's Avatar
Attrox Attrox is offline
 
Join Date: Jan 2002
Location: St.Paul, MN
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack g-force2k2, I think I might use it...it could be very useful.
Reply With Quote
  #75  
Old 08-19-2002, 01:45 PM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by g-force2k2
yes Schorsch the file has been updated... only changes are there for the hackers who downloaded it beforehand...

g-force2k2
your file (I downloaded it 2 mins ago) is not completely bug free, for example in your install file it is still:

// +++++++ Private Text Hack [ g-force2k2 ] +++++++
if($permssions[canaddprivtxt]) {

instead of permissions

cu
Schorsch
Reply With Quote
  #76  
Old 08-19-2002, 02:45 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh okay schorsch thanks for telling me i will update... but im pretty sure the rest is good then... my bad my bad

g-force2k2
Reply With Quote
  #77  
Old 08-19-2002, 02:55 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats wierd >_O i changed it like five times and it doesn't change i even deleted it and reattached it O_<...

well i will reattach here...

g-force2k2
Reply With Quote
  #78  
Old 08-19-2002, 04:03 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it would be cool if you had a user validation part to it.
Reply With Quote
  #79  
Old 08-19-2002, 04:18 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Neo
it would be cool if you had a user validation part to it.
User Validation?

you mean like check to see if the user exists because it does have that feature

g-force2k2
Reply With Quote
  #80  
Old 08-19-2002, 08:01 PM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, what about this:

me as admin can edit my private message text, but all my registered useres and mods can't edit their priv. message text. they simply don't see the priv. message box under the post when they wanna edit the post.

also if they edit their post, the priv. message text is gone after that.

what's wrong ?

thanks,
Schorsch
Reply With Quote
  #81  
Old 08-19-2002, 10:35 PM
ExAvIoUr ExAvIoUr is offline
 
Join Date: Jan 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another spelling error is on Line 33 of Showthread.php :

Code:
// +++++++ Private Text Hack [ g-force2k2 ] +++++++
$templatesused.= "posbit_privtxt";
// +++++++ Private Text Hack [ g-force2k2 ] +++++++
Replace with

Code:
// +++++++ Private Text Hack [ g-force2k2 ] +++++++
$templatesused.= "postbit_privtxt";
// +++++++ Private Text Hack [ g-force2k2 ] +++++++
I'm currently trying to get the Private Text box to work...
~~~~~~~~~~~~~~~~~~~~~~~~~~
Newreply.php (Line 3):

Code:
// +++++++ Private Text Hack [ g-force2k2 ] +++++++
$templatesused.= "privtext_error_missingfields,privtext_error_usernoexist,privtext_error_userself,privtext_error_toolong,privtext_redirect_thanks,newreply_privtxt";
// +++++++ Private Text Hack [ g-force2k2 ] +++++++
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08345 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete