cforms II User Forum

Registration is currently disabled.


Login form protected by Login LockDown.

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Want a cform Inside admin panel!
October 24, 2007
2:29 am
  • Using iexplorer 7
  • URL
  • cforms version v5.51
  • Hello all! I have a question for you. I'm developing a website for a rock band and one thing we want to do is that only the Registered blog users can access an special seccion to upload to the server the memorabilia they get in concerts or such.

    I've made this before with an avatar plugin that was made only for the "outside" part of the blog (public one), and it worked.

    I know that I have to declare some functions for this plugin to work inside the admin panel, as I did with the another one…. I've allready tried calling "wp-blog-header.php", "cforms.css" and "cforms.js" but the form doesn't show up. I don't get any error or anythig that could tell me what I need to do…

    Any ideas?? Laughing

    Thank you!

    October 24, 2007
    7:17 am
    Munich, Germany
    Forum Posts: 6400
    Member Since:
    March 6, 2005

    Since cforms builds on the_content filter to insert the forms at the requried places, you need to insert it manually when using it inside the admin panel. See the help page for how to insert a form using PHP.

    October 24, 2007
    11:30 pm

    Hi thanks for the reply!

    I've allready got the form and is working "almost" fine. I just can't get the style to show up. I've just placed the php tag, and called the functions that cforms need, but style doesn't work. Ill keep working on it

    See you!

    October 24, 2007
    11:44 pm

    Ok! I got it! I called the stylesheet I want to use and Idon't know if there's another way, but this worked for me Wink

    I leave you the code of the new admin page I made for a reference. Bye!

    $title = __('Contribuye');
    <link href="../wp-content/plugins/contactforms/styling/minimal.css" rel="stylesheet" type="text/css" />

    <div class="wrap" style="height: 1%;">

    <h3>My header</h3>
    <p>My explanation on the page</p>

    <?php insert_cform('2'); ?>

    <?php include('admin-footer.php'); ?>

    October 25, 2007
    7:10 am
    Munich, Germany
    Forum Posts: 6400
    Member Since:
    March 6, 2005

    Thanks for sharing your code – 'glad you got it working!

    Forum Timezone: Europe/Berlin

    Most Users Ever Online: 959

    Currently Online:
    15 Guest(s)

    Currently Browsing this Page:
    1 Guest(s)

    Top Posters:

    tracedef: 43

    mores: 21

    Gyrus: 20

    frozenwaste: 18

    asuffredini: 15

    photoworks: 14

    Member Stats:

    Guest Posters: 3763

    Members: 1463

    Moderators: 3

    Admins: 2

    Forum Stats:

    Groups: 1

    Forums: 4

    Topics: 5359

    Posts: 18742

    Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

    Moderators: Paul (421), cnymike (8), sonika (95)

    Administrators: Oliver (6400), Nicky (3)