Daily Lucky Numbers:
7
9
14
34
40
47

Forum clone in the bbc block.

Started by dvdweed, November 17, 2022, 03:35:31 AM

Previous topic - Next topic

dvdweed

Hello,

I'm sorry for my english but it's not my mother language .....

I have a problem whith a bbc block , when i want put inside a link sp page php

exemple :
Quote[*url="https://exemple/index.php?page=test"][*size=2][*color=white]title[/color][/size][/url](page test is a page php)

I get window (<-- clone of my forum )in a window (<-- bbc block )

In my page php , i put only
Quote<?php
define('include',NULL);
include('test.php');?>

PS : I have already change "&#39;" to "&#039;" in the bdd ....

Somebody have a idea for this bug ?

For info : EhPortal 1.39 © 2022, WebDev
SMF 2.1.2 © 2022, Simple Machines

I shearch through the net but i don't get a solution for my problem

thanks for your help

Dvdweed

Chen Zhen

I'm not quite sure where your php file is located but you shouldn't be defining an existing php function.

Assuming the file is in your main forum directory, just use this in your PHP page code:
global $boarddir;
require_once($boarddir . '/test.php');

dvdweed

hello,

Thanks for your answer !!!!

But the bug was comming from a bad configuration off another block !

So problem solved :)