Welcome to Geeklog Friday, October 20 2017 @ 03:48 pm EDT


Status: offline

trampoline

Forum User
Full Member
Registered: 24/02/2006
Posts: 392
Make the two alterations to the code below on the em tag add the iframe' => 1
then make a new bottom line as shown at the bottom of the code, save amnd you are away....
This code is in the config.php file...

PHP Formatted Code
$_CONF['user_html'] = array (
    'p'    => array(),
    'b'    => array(),
    'strong'  => array(),
    'i'    => array(),
    'a'    => array('href' => 1, 'title' => 1, 'rel' => 1, 'onclick' => 1),
    'em'   => array('iframe' => 1),
    'br'   => array(),
    'tt'   => array(),
    'hr'   => array(),
    'li'   => array(),
    'ol'   => array(),
    'ul'   => array(),
    'code' => array(),
    'pre'  => array(),
    'iframe' => array('embed' =>1, 'width' =>1, 'height' =>1, 'frameborder' =>1, 'scrolling' =>1, 'marginheight' =>1, 'marginwidth' =>1, 'src' =>1 )

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/2002
Posts: 13073
Location:Stuttgart, Germany
I would strongly suggest to add the iframe tag only to $_CONF['admin_html']. Otherwise, your users could do some nasty things ...

bye, Dirk

Status: offline

trampoline

Forum User
Full Member
Registered: 24/02/2006
Posts: 392
Point taken Dirk, how would those with story edit permissions be able to use it ?

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/2002
Posts: 13073
Location:Stuttgart, Germany
Anyone with access to the Admin's version of the story editor will be able to use $_CONF['admin_html'].

bye, Dirk

Earnest

Anonymous
This sounds quiet exciting!

Unfortunately I do not know how to use it once the changes are made. Could you give a quick rundown of the procedure?

-E

Status: offline

trampoline

Forum User
Full Member
Registered: 24/02/2006
Posts: 392
Simply take the embeded code from the google maps..
embeded code...
I can't post an example it comes up as spam...

All times are EDT. The time is now 03:48 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content