Its pretty much like the CYC-Plugin, which did not work for me.
I do not want to hook up my subscribers with the .../wp-admin link but i want to give them the possibility to edit their profile page and write a new post within the theme.
It should look like a page or post but with the write-panel and edit-profile fields from the backend.
Rashad Aliyev answers:
Dear Philip Warschkow,
Yes, CYC-Plugin easy way to make this. What's your problem? Explain why not worked? What did you do? I know this plugin. I can help you.
Rashad Aliyev comments:
After installing plugin:
if you want, you can manually download from this url and http://downloads.wordpress.org/plugin/customize-your-community.1.1.1.zip and install you your host. After this you need configuration.
<strong>Step by step customization aka CYC Admin Panel:</strong>
To customize the CYC plugin to work with your template, you’ll need to visit the administration panel at Settings > CYC. Once there, you’ll see three boxes you can insert code into:
<strong>Box One:</strong> Code to insert after the header has been loaded
<strong>Box Two:</strong> Code to insert before the sidebar is loaded
<strong>Box Three:</strong> Code to insert after the sidebar has been loaded
Those familiar with Wordpress and CSS will likely have no problem figuring out what goes there. For those who are more “blogger” than “coder”, I’m going to explain how to find what to put in those boxes below:
Look at your single post template file in your blog theme (usually single.php, if you don't have single.php then index.php) and find every div tag that is opened (<div>) but not closed (</div>) before the following piece of code:
<?php the_content(); ?>
After finding them, insert all of those div tags into Box One.
Next, look for the piece of code that calls for your sidebars. :
May look more like this:
<?php get_sidebar(); ?>
Once you find the sidebar code, look to see how many of the <div> tags you put into Box One are closed BEFORE the sidebar code appears and insert those div close tags (</div>) into Box Two.
Next, look to see how many of the <div> tags you put into Box One are closed AFTER the sidebar code appears and insert those div close tags (</div>) into Box Three.
Click “update settings” and you should be all set.
phil wars comments:
But the CYC does only this:
<blockquote>registration, lost password, login and logout pages to all users</blockquote>
and:
<blockquote>will also theme profile.php pages</blockquote>
<strong>The write panel is still missing.</strong>
I simply could not get it to the <div>-tags. I might show my single.php:
<?php get_header(); ?>
<div id="content" class="clearfix">
<?php get_sidebar(); ?>
<div id="left">
<div class="socnet"><a href="http://www.facebook.com/pages/DER-SALON/113813121986847" target="_blank" class="face"><img src="http://www.dersalon.org/wp-own/25pxnix.gif" title="FACEBOOK"></a><a href="http://twitter.com/dersalon" target="_blank" class="twitter"><img src="http://www.dersalon.org/wp-own/25pxnix.gif" title="TWITTER"></a><a href="http://www.studivz.net/Profile/zvIogYvHz1j0z2Uihx1On1ymXNEECkCBIsa8CPFg508/tid/102" target="_blank" class="studi"><img src="http://www.dersalon.org/wp-own/25pxnix.gif" title="VZ"></a><a href="http://www.dersalon.org/prinzip#rss" target="_blank" class="rss"><img src="http://www.dersalon.org/wp-own/25pxnix.gif" title="RSS"></a></div><br><br>
<div class="inhalt">
<!-- single post -->
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php if (in_category('11')) { ?>
<div id="globalsingle_content-11">
<?php } elseif (in_category('3')) { ?>
<div id="globalsingle_content-3">
<?php } else { ?>
<div id="globalsingle_content-1">
<?php } ?>
<span class="comment-link-single">
<?php if(function_exists('wp_print')) { print_link(); } ?>
<a href="?article2pdf=1" target="_blank"><img src="http://www.dersalon.org/wp-own/wp-pdf.gif" align="top" title="PDF erstellen"></a>
<a href="<?php the_permalink(); ?>#respond"><img src="http://www.dersalon.org/wp-own/wp-comments20px.gif" align="top" title="Kommentare"><?php comments_popup_link(' 0',' 1',' %',' ',' Aus'); ?> </a>
</span>
<h1 style="font-size:22px;"><?php the_title();?></h1>
<h4 style="font-size:12px;"><?php the_subtitle();?></h4>
<div class="clearfix"></div>
<div class="postauthor">
<div class="recent"><?php userphoto_the_author_thumbnail() ?></div>
<?php incomplete_cat_list(', '); ?> verfasst von <strong><?php the_author(); ?></strong><br><a href="<?php bloginfo('url'); ?>/profil/<?php the_author_meta( 'user_nicename', get_query_var('author')); ?>">Alle Artikel des Autors anzeigen (<?php the_author_posts(); ?>)</a><br><br>
</div>
<div class="single_content">
<?php the_content(); ?>
</div>
<div class="post_info"> <span class="tag-link">Thema: <?php complete_topic_list(', '); ?> | Tags: <?php $tag = get_the_tags(); if (! $tag) {echo "No tags";} else {the_tags('', ', ', '');} ?></span>
<br>Empfehlen via <?php echo '<ul class="addtoany_list">';
if( function_exists('ADDTOANY_SHARE_SAVE_ICONS') )
ADDTOANY_SHARE_SAVE_ICONS( array("html_wrap_open" => "<li>", "html_wrap_close" => "</li>") );
if( function_exists('ADDTOANY_SHARE_SAVE_BUTTON') )
ADDTOANY_SHARE_SAVE_BUTTON( array("html_wrap_open" => "<li>", "html_wrap_close" => "</li>") );
echo '</ul>'; ?></div>
<?php comments_template(); ?>
<?php endwhile; ?>
<?php else : ?></div>
<?php _e('Sorry, no posts matched your criteria.'); ?>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>
Which Tags belong where?
Rashad Aliyev comments:
Please backup your codes and try this. Your theme has got left sidebar. But this's actually for w
<div id="left">
<div class="socnet"><a href="http://www.facebook.com/pages/DER-SALON/113813121986847" target="_blank" class="face"><img src="http://www.dersalon.org/wp-own/25pxnix.gif" title="FACEBOOK"></a><a href="http://twitter.com/dersalon" target="_blank" class="twitter"><img src="http://www.dersalon.org/wp-own/25pxnix.gif" title="TWITTER"></a><a href="http://www.studivz.net/Profile/zvIogYvHz1j0z2Uihx1On1ymXNEECkCBIsa8CPFg508/tid/102" target="_blank" class="studi"><img src="http://www.dersalon.org/wp-own/25pxnix.gif" title="VZ"></a><a href="http://www.dersalon.org/prinzip#rss" target="_blank" class="rss"><img src="http://www.dersalon.org/wp-own/25pxnix.gif" title="RSS"></a></div><br><br>
<div class="inhalt">
<!-- single post -->
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php if (in_category('11')) { ?>
<div id="globalsingle_content-11">
<?php } elseif (in_category('3')) { ?>
<div id="globalsingle_content-3">
<?php } else { ?>
<div id="globalsingle_content-1">
<?php } ?>
<span class="comment-link-single">
<?php if(function_exists('wp_print')) { print_link(); } ?>
<a href="?article2pdf=1" target="_blank"><img src="http://www.dersalon.org/wp-own/wp-pdf.gif" align="top" title="PDF erstellen"></a>
<a href="<?php the_permalink(); ?>#respond"><img src="http://www.dersalon.org/wp-own/wp-comments20px.gif" align="top" title="Kommentare"><?php comments_popup_link(' 0',' 1',' %',' ',' Aus'); ?> </a>
</span>
<h1 style="font-size:22px;"><?php the_title();?></h1>
<h4 style="font-size:12px;"><?php the_subtitle();?></h4>
<div class="clearfix"></div>
<div class="postauthor">
<div class="recent"><?php userphoto_the_author_thumbnail() ?></div>
<?php incomplete_cat_list(', '); ?> verfasst von <?php the_author(); ?><br><a href="<?php bloginfo('url'); ?>/profil/<?php the_author_meta( 'user_nicename', get_query_var('author')); ?>">Alle Artikel des Autors anzeigen (<?php the_author_posts(); ?>)</a><br><br>
</div>
<div class="single_content">
for second one:
</div><?php get_sidebar(); ?>
If still don't work tell me then we'll redesign for your single.php codes.
phil wars comments:
i dont understand what i should do!
Rashad Aliyev comments:
You gave me your single.php code so I seperated it for you. Login your admin panel and go To customize the CYC plugin for your template:
Once there, you’ll see three boxes you can insert code into:
Box One: first code here
Box Two: second code here.. Then Save and check again.
phil wars comments:
just as i thought, this did not work for me...
have a look: [[LINK href="http://www.dersalon.org/wp-login.php?action=register"]]http://www.dersalon.org/wp-login.php?action=register[[/LINK]]
i thought that you should only put the div-tags into the boxes.
and some stuff is not needed on the profile/login-pages.
here are the lines which should be in:
<?php get_header(); ?>
<div id="content" class="clearfix">
<?php get_sidebar(); ?>
<div id="left">
<div class="socnet"><a href="http://www.facebook.com/pages/DER-SALON/113813121986847" target="_blank" class="face"><img src="http://www.dersalon.org/wp-own/25pxnix.gif" title="FACEBOOK"></a><a href="http://twitter.com/dersalon" target="_blank" class="twitter"><img src="http://www.dersalon.org/wp-own/25pxnix.gif" title="TWITTER"></a><a href="http://www.studivz.net/Profile/zvIogYvHz1j0z2Uihx1On1ymXNEECkCBIsa8CPFg508/tid/102" target="_blank" class="studi"><img src="http://www.dersalon.org/wp-own/25pxnix.gif" title="VZ"></a><a href="http://www.dersalon.org/prinzip#rss" target="_blank" class="rss"><img src="http://www.dersalon.org/wp-own/25pxnix.gif" title="RSS"></a></div><br><br>
<div class="inhalt">
...
the rest is not needed (except the closing tags and the footer)
Richard answers:
Hi
I can't help you with the profile issue, but if you want to enable users to submit posts from a page within the theme, your best option (in my view) is to use the Gravity Forms plugin (www.gravityforms.com). It enables posting from the front end, the forms are easy to set up and it has a beautiful interface. You can restrict access to the posting form by using Justin Tadlock's Members plugin or a similar membership/access plugin. I've implemented this kind of set-up and it works perfectly to enable posting from the front-end.
All the best.
Richard