vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Portal Software - WebTemplates 3.7.x: VB Integrated CMS (Content Management System) (https://vborg.vbsupport.ru/showthread.php?t=186644)

Logician 09-05-2008 08:11 PM

Quote:

Originally Posted by chadi (Post 1615307)
I'm having a hard time creating a php page.

My have a bible script installed called Bible Supersearch. The main php page (index) is this:

Code:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 
<?php
 
require_once("bible/bible/bible_config.php");
require_once("bible/bible/bible_system.php");
 
$interface=$_GET['interface'];
// set the interface to use
if($interface==""){$interface=$default_interface;}
if($interface=="standard"){$interface=$standard_interface;}
 
// manually set interface
// $interface="standard";
 
require_once("bible/bible/interfaces/$interface.php");
 
?>

I get a blank page when I use this in the phptest template. The path tot he "require_once" commands are correct too. The phptest template is parsed as php by default of course.

Have you tried this:
https://vborg.vbsupport.ru/showpost....&postcount=127

PossumX 09-06-2008 12:14 AM

Quote:

Originally Posted by Logician (Post 1615388)
You should enable WYSIWYG editor for members in your admin cp/vb options and also set your editor so in your usercp/edit options page.

In other words you should be able to use it for regular vb posts so as to use it for WTs.

That's what I figured, and that's how my board has always been setup, and verified during my quandary surrounding this. Not a big deal, at all, just more of a curiosity as to why it won't work. I use HTML in most pages anyway, but a few are TEXT parsed.

Logician 09-06-2008 08:42 AM

Quote:

Originally Posted by PossumX (Post 1615531)
That's what I figured, and that's how my board has always been setup, and verified during my quandary surrounding this. Not a big deal, at all, just more of a curiosity as to why it won't work. I use HTML in most pages anyway, but a few are TEXT parsed.

Just to clarify: Your vb options page allows users to use WYSIWYG editor and you also selected to use this in your personal usercp/options page (option named "Message Editor Interface") but you can't see WYSIWYG editor when you edit a TEXT webtemplate by clicking edit this webtemplate link in the webtemplate's footer?

agitated 09-06-2008 10:05 AM

Quote:

Originally Posted by chadi (Post 1615307)
I'm having a hard time creating a php page........

I get a blank page when I use this in the phptest template. The path tot he "require_once" commands are correct too. The phptest template is parsed as php by default of course.

vBSEO conflict perhaps. Be careful with custom rewrites.

PossumX 09-06-2008 12:41 PM

Quote:

Originally Posted by Logician (Post 1615716)
Just to clarify: Your vb options page allows users to use WYSIWYG editor and you also selected to use this in your personal usercp/options page (option named "Message Editor Interface") but you can't see WYSIWYG editor when you edit a TEXT webtemplate by clicking edit this webtemplate link in the webtemplate's footer?

Indeed, you have made the correct interpretation. All is set in both admincp and usercp as it should be.

Chadi 09-06-2008 01:01 PM

Quote:

Originally Posted by Logician (Post 1615390)

Just tried that, now the page isn't blank, but the part where my bible search should show up is blank.

I'm using this inserted code

Code:


require_once("bible/bible/bible_config.php");
require_once("bible/bible/bible_system.php");

$interface=$_GET['interface'];
// set the interface to use
if($interface==""){$interface=$default_interface;}
if($interface=="standard"){$interface=$standard_interface;}

// manually set interface
// $interface="standard";

require_once("bible/bible/interfaces/$interface.php");


Logician 09-06-2008 01:16 PM

Quote:

Originally Posted by PossumX (Post 1615803)
Indeed, you have made the correct interpretation. All is set in both admincp and usercp as it should be.

If it is a problem to you, give me admin cp access to your board and I can check. I can't confirm this behaviour in my installations, they work fine for me.

PossumX 09-06-2008 02:34 PM

It's not really problem, just more of a curiosity. I can deal with it, just thought it was odd. Your prompt responses are GREATLY appreciated. Keep up the great work !!

mmoore5553 09-07-2008 12:12 AM

okay still dont work ..i have it uplodaed to forum and displays fine ...

http://cg-hq.com/forum/view.php?pg=tutorials

is the page ...


here is the real page

http://www.cg-hq.com/forum/slideshow22/test.html

i dont know what to do .. i have changed paths several times ..not sure what i am doing wrong

s810car 09-07-2008 06:54 AM

Quote:

Originally Posted by chadi (Post 1615307)
I'm having a hard time creating a php page.

My have a bible script installed called Bible Supersearch. The main php page (index) is this:

Code:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<?php

require_once("bible/bible/bible_config.php");
require_once("bible/bible/bible_system.php");

$interface=$_GET['interface'];
// set the interface to use
if($interface==""){$interface=$default_interface;}
if($interface=="standard"){$interface=$standard_interface;}

// manually set interface
// $interface="standard";

require_once("bible/bible/interfaces/$interface.php");

?>

I get a blank page when I use this in the phptest template. The path tot he "require_once" commands are correct too. The phptest template is parsed as php by default of course.

You have to put the <?PHP line at the VERY top with no space before, and the ?> has to have NO whitespace after


All times are GMT. The time now is 09:46 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.01736 seconds
  • Memory Usage 1,756KB
  • 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
  • (3)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete