vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do I add a new page inside the VB framework? (https://vborg.vbsupport.ru/showthread.php?t=106100)

sde 01-23-2006 03:19 PM

How do I add a new page inside the VB framework?
 
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

PHP Code:

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.


All times are GMT. The time now is 05:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03390 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete