![]() |
ExAvIoUr did you make enable the usergroup to be able to post private text messages?
Schorsch :: thanks for telling me about that... i made it so that you can't edit your private text messages... because if a user trys something then they can't go back and edit it... the only users that can are the ones that can veiw all private text messages... but i will work on a quick fix for the problem about just simply editing :) thanks for bringing that to my attention... g-force2k2 |
Just curious, but xhouldn't there be a comma at the beginning of these lines?
Code:
// +++++++ Private Text Hack [ g-force2k2 ] +++++++ Code:
// +++++++ Private Text Hack [ g-force2k2 ] +++++++ |
I've fixed the problem and it worked like gem!
To all members who want to install this hack: make sure your new templates are NAMED correctly, with "Txt" not "text"... |
for the post editing part that Exaviour brought up try this code...
open editpost.php find: PHP Code:
PHP Code:
g-force2k2 |
btw Boofo you're correct x_X...
im just a beginner at hacking and it shows :) thanks for the info Boofo i will update the install shortly but just want to insure any other errors or such :) g-force2k2 |
The editing part you posted above doesn't work. Even as an Admin I can't edit it.
|
Also, is there any way to have it so when you have the cursor in the private message box and you click on a smilie, it will add it to the private message instead of the regular message box? I have the code installed that I gave you in the pm already. :)
|
Boofo does the box just now show up or does it just not edit?
And you can show the code here but i will add it to a new update when i finish sorting things out here ;) g-force2k2 |
The box shows up fine but you can't edit it with or without the new code you posted. It won't even do it with the old code in it. :)
Also, do you need to add "newreply_privtxt" to the templatedused in the newreply template? :) Quote:
|
Boofo the newrepy_privtxt shows n my templatesused ;)
btw send me your editpost.php i just test and i can edit successfully and Exaviour the code that i stated above works like a charm :) g-force2k2 |
I'm pm'ing it now. What file do you have the newrepy_privtxt in the templatesused section?
Quote:
|
im pretty sure that it was in the newer install O_o but i could be wrong =p
g-force2k2 |
Thanks!!!!
The edit function now works :) |
yeah sorry about that Exaviour didn't think of that when i made the hack x_X i will update a new zip in alittle once i get thing squared away sorry for all this trouble >_O
g-force2k2 |
I'm confused, is the edit priv. text message problem solved ?
because a normal registered user or mod still can't edit priv text messages at my forums and when they edit the post the priv. text message is gone. :paranoid: |
Schorsch view this post it has the edit... i did not update the file yet sorry...
https://vborg.vbsupport.ru/showthrea...518#post287518 g-force2k2 |
yeah I already did that g-force2k, but nevertheless, they can't edit the priv text messages :( they don't see the box
|
thats because they don't have permissions too... once you post it you can't change it... but thats just they way i think... only way to edit is if you have permission to view all private text messages... it you'd like i can easily show you how to change that?
g-force2k2 |
can you show me how registered users and mods can edit their priv. text message without having the rights to view all (even from other users) priv. messages ? because viewing all messages is a thing that only admins should be able to do ;)
thanks!! Schorsch |
yeah sure Schorsch just give me a minute thanks...
g-force2k2 |
Parse error: parse error, unexpected $ in /home/ibliftin/public_html/forums/newreply.php on line 582
i'm comming up with that error, I do have the tetris hack installed. Anyone know what to do? TIA |
elyrain can you show me whats on that line?
thanks in advance... g-force2k2 |
g-force2k2, I still can't get it to take edited text. Also, if I edit a private text message from someone else to me, if gives me the error where I can submit a private text message to myself. :) I thought the Admin could edit any of them.
|
yeah Boofo but you can't send private text messages to yourself :p thats what Neo was talking about User Validation... btw... i don't know what else could be wrong... you don't edit the user part... thats who the private text message is to... Actually i see what you mean... i will edit that part asap... regards but lets try getting the edit feature to work for you :)
g-force2k2 |
Boofo for the part about editing a user try this modification... (my bad wasn't thinking again x_X)
open editpost.php find: PHP Code:
PHP Code:
g-force2k2 |
The only difference between the editpost.php I sent you and the one I am using now is the code from your post about editing that I have in mine, where it isn't in the one I sent you.
Quote:
|
Boofo see my recent fix about the problem you brought to my attention :) thanks for showing me that x_X
g-force2k2 |
Ok, that fixed the part about me being able to edit a private text message to me when I try editing it. It still won't take the edit though.
|
could you please post the editpost_privtxt template? thanks in advance Boofo :)
g-force2k2 |
Quote:
|
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. |
g-force2k2, here you go. It is the excat same template in your install file. :)
Code:
<!-- private text hack [ g-force2k2 ] --> |
// +++++++ 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 |
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:
|
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 |
Quote:
|
Quote:
Quote:
Sorry about the missunderstanding, Boofo. |
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:
|
Quote:
- With my own private texts. - With other's private texts - after "Can view all private text messages" for my usergroup, of course. |
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.
|
All times are GMT. The time now is 01:16 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:
|