The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Ok lets do this. We will create a new plugin.
Product: vBulletin Hook Location : private_newpm_reply Title: Add Text To Pm Execution Order : 5 Plugin PHP Code: Code:
$pm['message'] = " ********* DO NOT WRITE BELOW THIS LINE ********** ".$pm['message']." "; |
#12
|
||||
|
||||
PERFECT!!!!!!!!!!!!!!!!!!!
Thank you! |
#13
|
||||
|
||||
Ozzy... how would you do this so that when you start typing the predefined text disappears automatically .... that would be even GOODER !!!
|
#14
|
||||
|
||||
Yeah I tried a couple of ways to make the line disappear, but to no avail. If I get some time I'll look into it more.
|
Благодарность от: | ||
CAG CheechDogg |
#15
|
||||
|
||||
Ok good stuff ozzy once again thanks !!!!
|
#16
|
|||
|
|||
Quote:
Edit: ...which is good because now that I get around to trying it, it doesn't seem to work. Sorry about that. |
#17
|
||||
|
||||
Ok lets do this, this will hide the line in the display of the PM's
Product: vBulletin Hook Location : postbit_display_complete Title: Hide Text In Pm Execution Order : 5 Plugin PHP Code: Code:
if (THIS_SCRIPT == 'private') { $find = '********* DO NOT WRITE BELOW THIS LINE **********'; $replace = ''; $this->post['message'] = str_replace($find, $replace, $this->post['message']); } |
#18
|
||||
|
||||
Quote:
|
Благодарность от: | ||
ozzy47 |
#19
|
||||
|
||||
Not a problem, glad to help.
|
#20
|
||||
|
||||
Only thing is that when you have a few pm's in the conversation you will see the message "********* DO NOT WRITE BELOW THIS LINE **********" over and over again lol ..
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|