The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm currently looking at attachment.php and trying to give users different error messages based on the extension of the file they are downloading.
Here's the original: PHP Code:
I'd like to do something like this: PHP Code:
Thanks for your help. --------------- Added at 05:05 --------------- Okay. I did some searching and I think I solved it myself by adding a phrase called "my_no_permisission_videos" in the "Front-End Error Messages" section. The new code looks like this: PHP Code:
|
#2
|
||||
|
||||
![]()
It depends on what you want the error message to look like. Are you happy with it now?
|
#3
|
|||
|
|||
![]()
Yes. I'm happy with it now.
|
#4
|
||||
|
||||
![]()
Then it's good
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|