Log in

View Full Version : How do I add a new page inside the VB framework?


sde
01-23-2006, 03:19 PM
Can anyone point me into the right direction for how to achieve this?

I need to add a page. It's only purpose is to display custom error messages for a plugin I'm adding.

It will be like the login page, without the login.

Any links would be appreciated.

dieselpowered
01-23-2006, 03:44 PM
You can probably start by asking your question in the proper forum. This forum is for releases only. Best of luck :)

sde
01-23-2006, 03:52 PM
Can anyone point me into the right direction for how to achieve this?

I need to add a page. It's only purpose is to display custom error messages for a plugin I'm adding.

It will be like the login page, without the login. Just text in that box.

Any links or insight would be appreciated.

p.s. sorry for the x-post. somone pointed out i posted in the wrong forum initially.

harmor19
01-23-2006, 03:59 PM
eval(standard_error(fetch_error('your_phrase')));

sde
01-23-2006, 04:09 PM
thanks. i think this tutorial is what i needed.

https://vborg.vbsupport.ru/showthread.php?t=98009

oh wait, i think i see what you are saying. i don't need a custom page for this :) .. i still need help on how to implement it but i'll be searching with your example.

thanks!

Ziki
01-23-2006, 04:54 PM
Man this is not a hack man.So I just install and report it =.=

2shae
01-23-2006, 05:17 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=98009" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=98009</a>
just trying to be nice. next time post in the right place though

sde
01-23-2006, 05:40 PM
already did after the first post. no more replies needed.

Andreas
01-23-2006, 05:46 PM
I've merged both threads as it is not necessary to have 2 threads for the exact same topic.
Thanks :)

sde
01-23-2006, 06:19 PM
vb outputs: Could not find phrase 'myphrase'.

i'm using the code:

eval(standard_error(fetch_error('myphrase')));

and i've added the phrase in the admincp under global. is there anything else i need to enable?

Andreas
01-23-2006, 06:35 PM
Phreasgroup Error Messages, not GLOBAL

harmor19
01-23-2006, 06:36 PM
put it in Error Message

Edit: Andreas beat me.