Topic: Contact form

is there any contact form extension?

Re: Contact form

i wish we can get the page making kind of function extension to create contact form and for other pages sad

Re: Contact form

Batman wrote:

i wish we can get the page making kind of function extension to create contact form and for other pages sad

You can use this extension
http://punbb.informer.com/forums/topic/ … cy-policy/
to add extra pages.... instead of FAQ and Privacy you can name them as you wish....

Not solution for contact form neccessarily but help for extra pages...

Re: Contact form

Thanks Keydog, you are great!! smile

Re: Contact form

there is also a way to create a page. just create a php file (index.php) and put it in folder called contact-us or just contact:

And use this in the php file:

<?php

    define('FORUM_ROOT', '../../'); // Point to the forum directiry
    define('FORUM_PAGE', 'formation_creator');
    require FORUM_ROOT.'include/common.php';

    $forum_hooks['hd_main_elements'][] = 'unset($main_elements[\'<!-- forum_crumbs_top -->\']); unset($main_elements[\'<!-- forum_crumbs_end -->\']);';

    // Setup breadcrumbs
    $forum_page['crumbs'] = array(
    array($forum_config['o_board_title'], forum_link($forum_url['index'])),
    'Formation Creator' // Set up your page title here
    );

    require FORUM_ROOT.'header.php';

    // START SUBST - <!-- forum_main -->
    ob_start();

?>

    <div id="brd-main">
        <h1 class="main-title">Formation Creator</h1>

        <div id="brd-crumbs-top" class="crumbs">
    <p><span class="crumb crumbfirst"><a href="http://myfootballcafe.com/">MyFootballCafe.com</a></span> <span class="crumb crumblast"><span> &rarr;&#160;</span>Formation Creator</span> </p>
</div>
        
        
        <div class="main-head">
        <h2 class="hn"><span>Formation Creator</span></h2>
    </div>

    <div class="main-content main-frm">
<div style="padding:15px;">
<object width="100%" height="500px">
    <param name="allowScriptAccess" value="always" />
    <param name="wmode" value="transparent" />
    <param name='flashVars' value="send=Draw+this+11&tipText=Click+to+edit&open=open&save=save&saveAs=save+as&add=add&remove=remove&changeShirt=change+shirt&player=player&fileNameLabel=Team+name">

    <embed src="http://this11.com/files/board4.swf" AllowScriptAccess="always" width="100%" height="500px" wmode="transparent" flashVars="send=Draw+this+11&tipText=Click+to+edit&open=open&save=save&saveAs=save+as&add=add&remove=remove&changeShirt=change+shirt&player=player&fileNameLabel=Team+name"></embed>
</object>
</div>
    </div>
        
        <div id="brd-crumbs-end" class="crumbs">
    <p><span class="crumb crumbfirst"><a href="http://myfootballcafe.com/">MyFootballCafe.com</a></span> <span class="crumb crumblast"><span> &rarr;&#160;</span>Formation Creator</span> </p>
</div>
    </div>

<?php

    $tpl_temp = trim(ob_get_contents());
    $tpl_main = str_replace('<!-- forum_main -->', $tpl_temp, $tpl_main);
    ob_end_clean();
    // END SUBST - <!-- forum_main -->

    // Uncomment this if you don't want the footer
    //$tpl_main = preg_replace('#<div id="brd-about" class="gen-content">.*?</div>#us', '', $tpl_main);

    require FORUM_ROOT.'footer.php';

afcource you have to change title, links, and content in that page. i think the keydog way is better and less complicated for u.

MyFootballCafe.com  is Now Online!

Re: Contact form

Thanks SuperMag, your are cool!!