The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is there a hook that can be used to disable word-wraping on some forum?
Thank you |
#2
|
||||
|
||||
![]()
This would be on a showthread page, so did you try any of the showthread_* hooks?
|
#3
|
|||
|
|||
![]()
@Lynne: the way I do this, is I look in the code, see where XYZ operation is happening then look around for a hook. With this technique I can see what variables are available in the hook.
I this case, I could not find where the 'word-wrapping' operation is done => I could not find a suitable hook. Can you tell me (file/line number) where the word-wrapping operation takes place? |
#4
|
||||
|
||||
![]()
I do not know specifically where that option is read - it's read with all the other vbulletin options. It's in the datastore cache and grabbed when that is grabbed.
|
#5
|
|||
|
|||
![]()
You didn't understood me. I am looking for the piece of PHP code that does the wrapping. If I can find that, I can look for hooks around.
|
#6
|
||||
|
||||
![]()
I would not go about it that way, but if you really want to, take a look at class vB_Datastore in the class_core.php file.
|
#7
|
|||
|
|||
![]()
Thank you Lynne
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|