The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]()
Lynne, you are absolutely correct in your assumption. Post caching will have to be turned off for it to work.
|
#12
|
||||
|
||||
![]()
Well then, I think I know where you are going with the idea... just wrap a conditional around the message part of the postbit? Although, I can't tell from the original post if the user was wanting to do this with all posts or wanting some BBCode for users to be able to do this themselves.
|
#13
|
||||
|
||||
![]()
That's the way I would do it unless they are only trying to hide code and php stuff. Then they would have to go the the bbcode templates. You got it from here, Lynne.
![]() |
#14
|
|||
|
|||
![]() Quote:
|
#15
|
||||
|
||||
![]()
If you install this mod: https://vborg.vbsupport.ru/showthrea...ghlight=bbcode You will be able to use conditionals with your bbcode. I think that mod will solve your problem.
|
#16
|
||||
|
||||
![]()
And post caching will have to be turned off for that hack to function properly also. Anytime you do code replacements like this, caching will have to be turned off. Otherwise, the purpose of the replacement is defeated until the caching catches up to it.
|
#17
|
|||
|
|||
![]() Quote:
|
#18
|
||||
|
||||
![]()
Make sure you turn post caching off or it won't work right.
|
#19
|
||||
|
||||
![]() Quote:
![]() vboptions > Server Settings & Optimizations > Cached Posts Lifespan Posts are normally stored with bbcode tags etc. in the same form as the user posted them with so that it may be edited later, and then parsed at display time. By caching them, they are parsed at post time (instead of display time) into the HTML they will be displayed in and stored separately from the pre-parsed posts. This results in a faster display on threads, since the posts do not have to be parsed at display time. This option determines how long posts are stored. While a post is cached, it will take approximately twice as much storage space since it is essentially being stored twice. If you have a busy site, and threads typically don't last very long, you can probably set this to a lower value such as 10 days. If you have a slower site, and threads typically last longer, 20 to 30 days might be a better choice. If you have the disc space, you can set this to a higher value for better performance. |
#20
|
||||
|
||||
![]()
No, what I mean to say was that the POST CACHING will have to be turned off.
You and I both know if you don't say it enough times then the "why didn't this damned hack work like it is supposed to" questions will pop up soooner or later. So, with that said... Turn the post cache off! ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|