Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 04:12 am EDT

Geeklog Forums

Google Maps integration achieved here's how


Status: offline

trampoline

Forum User
Full Member
Registered: 02/24/06
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...

Text 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 )
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
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
 Quote

Status: offline

trampoline

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

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
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
 Quote

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
 Quote

Status: offline

trampoline

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

All times are EDT. The time is now 04:12 am.

  • 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