Chris Andersen
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Aleph] How do I get the userlist?… and I rated it awesome ’cause of the big potential… hoping it will turn out for me ??
Forum: Fixing WordPress
In reply to: [user-photo] Remove photo approvalHi,
I’m also interested in this. I have the same challenge.Forum: Plugins
In reply to: [Plugin: Aleph] How do I get the userlist?Hi Detective,
the very first step (display users & profile) is done. Thanks so much. I hope you also support me to setup a good El Aleph running system like your examples – thinking… El Aleph has a lot of potential and could be my no. 1 plugin.Forum: Plugins
In reply to: [Plugin: Aleph] How do I get the userlist?that’s true…
do you know what exactly I have to remove?
Here is the code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml"> <head profile="https://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title> <?php if(is_home()) { echo get_bloginfo('description') . " » " . get_bloginfo('name'); } else { echo wp_title('', false) . " » " . get_bloginfo('name'); } ?> </title> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> <!--ich-start--> <META NAME="author" CONTENT="https://www.c-salsa.com"> <!--ich-end--> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" type="text/css" media="print" /> <!-- Sidebar docking boxes (dbx) by Brothercake - https://www.brothercake.com/ --> <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/dbx.js"></script> <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/dbx-key.js"></script> <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/dbx.css" media="screen, projection" /> <!--[if lt IE 7]> <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/ie-gif.css" type="text/css" /> <![endif]--> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_head(); ?> <!--c-salsa plugin start--> <script src="https://www.c-salsa.com/wp-content/plugins/seo-alt-tag-optimizer/font-text-resizer.js" type="text/javascript"></script> <!--c-salsa plugin end--> </head> <body> <div id="page"> <div id="wrapper"> <div id="header"> <div id="title"><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></div> <div class="description"><?php bloginfo('description'); ?></div> <?php include (TEMPLATEPATH . '/searchform.php'); ?> </div><!-- /header --> <!-- -------------------------------Navigation Hauptfenster c-salsa.com --------------- --> <div id="left-col"> <div id="nav"> <ul> <li class="page_item <?php if ( is_home() ) { ?>current_page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li> <!--<li><a href="/salsa-locations-overview/">Salsa Clubs</a></li>--> <li><a href="/salsa-locations/">Salsa Clubs</a></li> <li><a href="https://www.c-salsa.com/newsletter/">Newsletter</a></li> <li><a href="/salsa-videos-add/">Add Video</a></li> <li><a href="https://www.c-salsa-forum.com/">Forum</a></li> <li><a href="https://www.c-salsa.com/wp-login.php?">LogIn</a></li> <li><a href="https://www.c-salsa.com/wp-login.php?action=register">SignUp</a> <!-- <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?>--> </ul> </div><!-- /nav --> <?php /* Menu for subpages of current page (thanks to K2 theme for this code) */ $current_page = $post->ID; global $notfound; if (is_page() and ($notfound != '1')) { // Code Remove: to prevent the no sidebar error. while($current_page) { $page_query = $wpdb->get_row("SELECT ID, post_title, post_status, post_parent FROM $wpdb->posts WHERE ID = '$current_page'"); $current_page = $page_query->post_parent; } $parent_id = $page_query->ID; $parent_title = $page_query->post_title; // if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_status != 'attachment'")) { if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_type != 'attachment'")) { ?> <div id="subnav"> <ul> <div><?php wp_list_pages('sort_column=menu_order&depth=1&title_li=&child_of='. $parent_id); ?> </div> </ul> </div><!-- /sub nav --> <?php } } ?>
Forum: Plugins
In reply to: [Plugin: Aleph] How do I get the userlist?Hello Detective,
thx a lot for the code. I’ll try to do the same with the users.php.
btw.
How do I avoid the green head?
–> profile.phpMy page doesn’t look green:
–> C-SALSA.COMForum: Plugins
In reply to: [Plugin: Aleph] How do I get the userlist?Hello Detective,
thanks so much. You are great.
Here is the single.php:<?php get_header(); ?> <div id="content"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post-nav"> <span class="previous"><?php previous_post_link('%link') ?></span> <span class="next"><?php next_post_link('%link') ?></span> </div> <div class="post" id="post-<?php the_ID(); ?>"> <div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div> <div class="title"> <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> <?php the_title(); ?></a></h1> <div class="postdata"> <span class="category"><?php the_category(', ') ?></span> <span class="right mini-add-comment"><a href="#respond">Add comments</a></span> </div> </div> <div class="entry"> <?php the_content('Continue reading »'); ?> <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?> <p class="submeta">written by <strong><?php the_author(); ?></strong> <?php if(function_exists("the_tags")) the_tags('\\\\ tags: ', ', ', '<br />'); ?> </p> <?php edit_post_link('Edit', '', ''); ?> </div><!--/entry --> <?php if (function_exists('link_to_me_textbox')) link_to_me_textbox(''); ?> <?php comments_template(); ?> </div><!--/post --> <?php endwhile; else: ?> <p>Sorry, no posts matched your criteria.</p> <?php endif; ?> </div><!--/content --> <div id="footer"> <span class="mangoorange"> <a href="https://www.i3theme.com">i3Theme 1.6</a> is designed by <a href="https://www.ndesign-studio.com">N.Design Studio</a>, customized by <a href="https://www.mangoorange.com/">MangoOrange™</a>, <br /> sponsored by <a href="https://www.web-hosting-top.com/">Web Hosting Reviews & Free Coupons</a> and <a href="https://www.b4udecide.com/">Top Best Reviews and Providers</a>. </span> </div> </div><!--/left-col --> <?php $current_page = $post->ID; // Hack to prevent the no sidebar error include_once("sidebar-right.php"); $current_page = $post->ID; // Hack to prevent the no sidebar error include_once("sidebar-left.php"); ?> <?php get_footer(); ?>
Forum: Plugins
In reply to: [Plugin: Aleph] How do I get the userlist?Hi Detective,
thx 4 your answer.I’ve already copied these files to the theme folder. You saw the result
– Profile Page
– User PageThe page is broken. Just compare it with:
C-SALSA.COM
and you will see.
How do I have to change the users.php and profile.php that the result is displayed in my post area and the rest of the site is not broken?I’m not a programmer… so it would be cool if you show me an easy solution.
Forum: Plugins
In reply to: [Plugin: Aleph] How do I get the userlist?Hi Detective,
thx 4 your answer.you are right. I didn’t see it because the page is totally broken.
What do I have to do to fix the page again and run Aleph at the same time?Forum: Plugins
In reply to: [Plugin: Aleph] How do I get the userlist?