The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
is there a way or variable that allows me to know if the page is an error or redirect? i am asking because i dont want certain content such as ads and stuff being displayed on an error or redirect page. thanks in advance
![]() |
#2
|
||||
|
||||
![]()
You mean within a phrase, or what?
|
#3
|
||||
|
||||
![]()
i mean say it gives you the error login message or the error page, i dont want certain things to show on those pages
|
#4
|
||||
|
||||
![]()
then edit the STANDARDERROR template.
|
#5
|
||||
|
||||
![]()
well this add shows on every page in the footer but i just dont want it to be shown when an error or redirect is present
|
#6
|
||||
|
||||
![]()
bump
|
#7
|
|||
|
|||
![]()
You could try editing the includes/functions.php. Find there the function 'standard_error'. In here set a var indicitating no banner wanted. Then test in the header or wherever the banner is shown on this var, and if set don't put out the banner.
Not tested this, but i would give it a go. |
#8
|
||||
|
||||
![]()
oo good idea, ill bring back my results
![]() |
#9
|
||||
|
||||
![]()
ok well i can get it echo a variable i defined to the error page but not to the footer template itself, how would i got about doing that?
|
#10
|
|||
|
|||
![]()
maybe think about create footer2 template
footer2 will be same as footer only with out the banners then on the error and redirect function its will call footer2 template instead of footer... can work... |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|