Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,651 through 28,675 (of 32,491 total)
  • Author
    Search Results
  • #61582

    In reply to: How Do I Do This?

    chrishajer
    Participant

    Only 47 posts? Piece of cake.

    I did notice, in Firefox 2.0.0.10 the logo is not entirely clickable. Certain parts of it are, if you hit it just right, but not the whole thing. Odd. In IE7, it’s all clickable.

    Oh, and I probably told you this incorrectly as well (although not intentionally.) The <a href should have a <strong>title attribute, not an alt attribute. The <img should have an alt. So

    <a href="http://www.theangrywaiter.com/" title="go home"> and

    <img src="http://www.theangrywaiter.com/forum/bb-templates/awbbtheme/images/awforumlogo3.jpg" alt="the angry waiter logo" />

    Sorry about that.

    And, to keep your page valid XHTML, you’re going to have to give each forumlist a different ID by appending the name or number of the forum to it. So it would be

    <table id="forumlist-chicago">

    and <table id="forumlist-atlanta">

    or <table id="forumlist-4">

    and<table id="forumlist-11">

    #61752
    chrishajer
    Participant

    Sounds to me like you edited a file (maybe db-mysqli.php) and have a blank line or a space after the closing ?> in the file. PHP doesn’t like that, so it throws that Warning: Cannot modify header information - headers already sent by error. Check any file you modified (db-mysqli.php?) for a blank line or space after the closing ?>

    #61579

    In reply to: How Do I Do This?

    chrishajer
    Participant

    This needs to be removed. It’s right after the header div in header.php

    <img id="headerlogo"

    That is doing you no good. Actually, my message was a combination of a couple messages. Initially I was going to say give the image an id so you could position it, then I said to just style it with #header img – in any case, you need to remove the above since it’s not valid and is causing weird things.

    And you must be working on it since there is no border.

    #58219

    In reply to: bbSync

    vafaaaan
    Member

    it was a test plugin .. i tried to understand the db relationships, and i did .. now i know now how to update a post tag .. so there is nothing usable? :) ok

    #61575

    In reply to: How Do I Do This?

    chrishajer
    Participant

    In header.php, in the header div (where the login_form() is) put this:

    <img id=”headerlogo” src=”http://www.theangrywaiter.com/wordpress/wp-content/uploads/awbanner.jpg&#8221; alt=”The Angry Waiter” />

    Right now though, the image is taller than the header div (the header is 106px, the image is 131px, I think.)

    So, to make it all work, you’ll need to make the header div taller, or the image less tall. Then you’ll need to apply some styling to the image you just placed in the header. Something like this:

    #header img {
    whatever: here;
    }

    That just gets the image into the header. Then you need to wrap an <a href="http://www.theangrywaiter.com/" alt="go home"></a> around that image tag you just added, to link the image to the destination.

    #61725
    vafaaaan
    Member

    Applause :)

    #61724
    livibetter
    Member

    v0.0.0.2

    Fix: #7 – Empty input to foreach.

    Add: #8 – Auto-delete unactivated users.

    Add: (hourly, daily or not) Mail reports, which includes what ID and user_login have been deleted.

    Auto-deletion is executed every 60mins.

    #61573

    In reply to: How Do I Do This?

    chrishajer
    Participant

    Integration doesn’t matter at all if you’re just linking one to the other, they’re just simple html links. You can link anything to anywhere, no integration required.

    Not sure what you mean about “on top of” – the new logo is a background image over to the bottom/right of the header div. The problem with making it a background image, rather than just an image in your code, is that to make it clickable back to the main site, you’d have to make the whole header a link back to the main site. If you look at the source for the page, you’ll see there is no img tag for awforumlogo2.jpg that you can wrap in an <a href=" tag to link back to the main site. I don’t think you want that image as a background image for the header if you’re going to make a link out of it.

    I would remove the background image from your style.css and put the img tag in header.php somewhere in the <div id="header"> section (around line 34 in a stock installation).

    Once you have an image in header.php, you can work on positioning it where you want it and linking it to what you want as well. Then you can figure out where you want your forum title as well.

    #61044

    In reply to: GlamRock.com

    chrishajer
    Participant

    I kinda like it. The colors aren’t my bag, but neither is glam rock :)

    I would add some padding to the bottom, to get the black on the blog or the white in the forum to extent below the bottom of the content a little bit, to “frame” it.

    I think the padding would be added to the #main div on the forum. In the blog, I’m not sure since it’s a table layout.

    Otherwise looks like a nice forum, lots of activity. Nice job.

    #61723
    Trent Adams
    Member

    Wicked stuff on your google code page! Bookmarked! Many great plugins for bbPress and WP!

    Trent

    #61722
    livibetter
    Member

    @Trent, Thanks for spotting that bug!

    #61572

    In reply to: How Do I Do This?

    chgogrrl99
    Member

    Ok, so I now know how to link the individual cities. I can use Livibetter’s new code and do it from the front page of the forum or I can do it from the Forum Page on our main site. Thanks to both of you…I’m really learning a lot!

    So, now I’ve added the logo with a “Click Here” statement to direct people back to the main site. As you can see http://www.theangrywaiter.com/forum

    it sits on top of the title.

    I was thinking maybe I could move the title up higher and center it.

    Don’t know how to do this.

    Then I could make the logo and “Click Here” words clickable to the main site. (The main site and forum are not integrated if that makes a difference. They both reside in their own sub-directories.)

    Don’t know how to do this either.

    I have to go out for a while, but I’ll be back around 11:00 Chicago time.

    Talk to you later.

    #58214

    In reply to: bbSync

    fel64
    Member

    vafaaaan, take a look at the wpdb documentation. It’s mostly the same.

    William, no, that’s cool. I’ve got a comment, found the same problem, and trying to figure out where my code is going wrong. But I appreciate all the help you’ve already given me :)

    #53014
    mattpeckham
    Member

    Fab Trent, that’s plenty close for now. :)

    #60988
    Andrew
    Member

    I thought you were proposing changes to the core files. If so I was wondering if this should be put in as a change to the code database, which would mean submitting a bug to the BBPress Trac database.

    #53013
    Trent Adams
    Member

    Not sure if they did or not, but it is pretty simple to change. Head to style.css and find the following:

    #profile-menu {
    list-style: none;
    position: absolute;
    right: 0;
    }

    and change to something like the following:

    #profile-menu {

    margin-top: -20px;
    margin-right: -20px;
    padding: 20px;
    float:right;
    }

    Not perfect, but something to start from!

    Trent

    #58213

    In reply to: bbSync

    With the plugin deactivated the database still shows only the two comments and again without the comment_type field filled in.

    Is their anything I could provide you with to help you help me :)

    #61706
    richsad
    Member

    Maybe I’m being thick today, but I don’t really see how a plugin solves my problem after looking at them. Indeed there is an apply_filter call to read the user profile info, but the names of the keys in the associative arrive are assumed in various places around the code. As far as I can tell there wasn’t any forethought into an admin wanting to replace the user info collected at registration with something relevant to the specific forums domain.

    I think either I am missing some aspect of the plugins or this an area that could be improved upon for customization by the admin.

    Am I missing something that anyone can see? The problem appears to be akismet.php where the key of the user profile info is hardcoded into the code. In my version of the file line 86 and 148 seem to assume the keys to info have not been modified.

    #61721
    Trent Adams
    Member

    If the list of users to delete is empty, it gives the following error”

    Warning: Invalid argument supplied for foreach() in /public_html/my-plugins/EnhancedRegistration/OptionsPage.php on line 37

    0 user(s) have been deleted!

    Trent

    #61719
    vafaaaan
    Member

    ok .. activated manually with the code .. worked, act_code is gone.

    Keep up the good work

    #61569

    In reply to: How Do I Do This?

    livibetter
    Member

    Comment out third line from bottom in forum.php like

    <?php // post_form(); ?>

    #61718
    livibetter
    Member

    Auto-deletion would be considered in next release.

    Users will get TWO mails. I will see if there a way to send only one mail.

    @vafaaaan:

    This plugin thinks user has act_code usermeta hasn’t activated their account. If a account has been activated, then it doesn’t have act_code usermeta.

    #61567

    In reply to: How Do I Do This?

    livibetter
    Member

    Thats works on my server. Are you sure you edited right front-page.php? Do you have more than one template?

    #53530
    Null
    Member

    You can never stop spam registration if people hire people to sign up. Nor captcha or askimet or any other program can prevent that.

    We can however block all registratingspambots with an empty www field like the starting post. Only problem is, it aint working :(

    #61566

    In reply to: How Do I Do This?

    chgogrrl99
    Member
    <?php bb_get_header(); ?>

    <?php if ( $forums ) : ?>

    <div id="hottags">
    <h2><?php _e('Hot Tags'); ?></h2>
    <p class="frontpageheatmap"><?php bb_tag_heat_map(); ?></p>
    </div>

    <div id="discussions">
    <?php if ( 0 > 1 ) : ?>

    <h2><?php _e('Latest Discussions'); ?></h2>

    <table id="latest">
    <tr>
    <th><?php _e('Topic'); ?> — <?php new_topic(); ?></th>
    <th><?php _e('Posts'); ?></th>
    <th><?php _e('Last Poster'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    </tr>

    <?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><?php _e('Sticky:'); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; // $super_stickies ?>

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; // $topics ?>
    </table>
    <?php endif; // $topics or $super_stickies ?>

    <?php
    if ( bb_forums() ) :
    global $bb_forums_loop;
    $_loop =& $bb_forums_loop;
    bb_forum();
    $skipForum = false;
    while ($_loop) :
    if ($_loop->walker->depth == 1) {
    if (in_array(get_forum_id(), array(2, 3, 4, 5, 6, 7, 18, 19, 20, 101)))
    $skipForum = true;
    if ($skipForum) {
    ?>
    <h2<?php bb_forum_class?>><a href="<?php forum_link(); ?>">Click Here To Go To the <?php forum_name(); ?> Forums</a></h2>
    <?php
    }
    else {
    ?>
    <h2<?php bb_forum_class?>><?php forum_name(); ?></h2>
    <table id="forumlist">
    <tr>
    <th><?php _e('Main Theme'); ?></th>
    <th><?php _e('Topics'); ?></th>
    <th><?php _e('Posts'); ?></th>
    </tr>
    <?php
    }
    }
    elseif (!$skipForum) {
    ?>
    <tr<?php bb_forum_class(); ?>>
    <td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><small><?php forum_description(); ?></small><?php bb_forum_pad( '</div>' ); ?></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>
    <?php
    }
    bb_forum();
    if ($_loop === null || $_loop->walker->depth == 1) {
    if (!$skipForum)
    echo '</table>';
    $skipForum = false;
    }
    endwhile; ?>
    <?php endif; // bb_forums() ?>

    <?php if ( bb_is_user_logged_in() ) : ?>
    <div id="viewdiv">
    <h2><?php _e('Views'); ?></h2>
    <ul id="views">
    <?php foreach ( bb_get_views() as $view => $title ) : ?>
    <li class="view"><a href="<?php view_link(); ?>"><?php view_name(); ?></a></li>
    <?php endforeach; ?>
    </ul>
    </div>
    <?php endif; // bb_is_user_logged_in() ?>

    </div>

    <?php else : // $forums ?>

    <h3 class="bbcrumb"><a href="<?php bb_option('uri'); ?>"><?php bb_option('name'); ?></a></h3>

    <?php post_form(); endif; // $forums ?>

    <?php bb_get_footer(); ?>

Viewing 25 results - 28,651 through 28,675 (of 32,491 total)
Skip to toolbar