Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,926 through 31,950 (of 32,431 total)
  • Author
    Search Results
  • #51805

    In reply to: Plugin – Member List

    ardentfrost
    Member

    There’s some commented out code in memberlist.php in your templates folder. Just take out the comments (I wrote some words in there too)

    #51803

    In reply to: Plugin – Member List

    ardentfrost
    Member

    Trent, you have my post count plugin installed, you should enable post counts on the member list page ;)

    #51410
    Null
    Member

    Any progress about:

    “Would be nice to add total guests too”

    – Good idea … i’ll give it a try =)

    “Great plugin, if you made this one AJAXED it would be even greater!”

    – Thought about it, but this would be easer to realize with next version of bbpress (current version only loads bb_head() when topic is displayed)

    ??

    #51794

    In reply to: Plugin – Member List

    ardentfrost
    Member

    well, dang, now I gotta figure out how to deal with if you don’t have that enabled ;)

    Did you enable it? I want to test the plugin out on your site

    #51793

    In reply to: Plugin – Member List

    Trent Adams
    Member

    That would be why. Neither of us has pretty permalinks enabled. Not sure why we don’t though…. :-)

    Trent

    #52014

    In reply to: Site Options Plugin

    so1o
    Participant

    yes i have used standard functions like get_option and update_options..

    and whenever we get the code in the core i will write a function to import all the options from this table to the core..

    #52013

    In reply to: Site Options Plugin

    Trent Adams
    Member

    This will defintely change this! No more hard coding options in plugin code! Options saved in db! Yeah! This will be the bridge until Micheal and Matt get this in the core I would imagine?

    Trent

    #50204

    In reply to: About Freshness

    Emre Erkan
    Member

    Thanks,

    The problem is that we have 10 hours of difference with our server. :)

    #51790

    In reply to: Plugin – Member List

    spencerp
    Member

    I just tried it, and for some reason.. the link is taking me to a 404 page..

    http://spencerp.net/forums/

    Everything was done, per the READ ME file.. Any thoughts?

    spencerp

    /Even styled it, and located it where you have on your forums mentioned above lol. =P

    #51409
    fuuk
    Member

    Great Plugin thanks :)

    #52010

    In reply to: Who is online

    fuuk
    Member

    Good to see you here Hasan. Thanks for your suggestion ;)

    #1048
    fuuk
    Member

    Can there be a section where the online people are represtented ?

    That would be a great oppurtunity for admins to see who are online like in the other forum softwares ;)

    #52008
    spencerp
    Member

    Oh! Ok.. sweet! Good luck guys, and hopefully something works out! ;) :)

    spencerp

    #52007
    ardentfrost
    Member

    I think both me and box87 are attempting this with plugins.

    It’s certainly not an easy task though :)

    #1047
    spencerp
    Member

    I was just curious.. would someone be willing to make up a “Private Message” system, just like phpBB has? Or do you think that will be too complicated? Just was wondering.. :)

    spencerp

    #51789

    In reply to: Plugin – Member List

    spencerp
    Member

    Oh! Ok.. awesome! Once my host’s server gets back online again.. I’ll implement it! Thanks again! ;) :)

    spencerp

    #51787

    In reply to: Plugin – Member List

    spencerp
    Member

    Ah dang, mine is with the integration too.. and being that I’m not a coder.. I’ll probably have to wait until something is worked out then.. :(

    spencerp

    #51782

    In reply to: Plugin – Member List

    ardentfrost
    Member

    did you not get the link? are you just pointing to mlist.php?

    use the bb_memberlist_link() to get to the page, not just directly.

    use it like this:

    <a href="<?php bb_memberlist_link(); ?>">Member List</a>

    #51778

    In reply to: Plugin – Member List

    Trent Adams
    Member

    It works, but it does give me an error at the top of the page:

    Warning: Invalid argument supplied for foreach() in /var/www/forum/my-plugins/bb-memberlist.php on line 54

    Ideas?

    Trent

    #51777

    In reply to: Plugin – Member List

    ardentfrost
    Member

    Thanks ;)

    I think private messages is another big factor keeping people away. I’ve been working on it, but it’s a decent size task. Every new plugin I do, though, teaches me more I need to know about bbpress to get pm’s working. Doing the member list taught me some very important things. Maybe I can get it done in the next week.

    #1015
    ardentfrost
    Member

    Here’s one I hope you all enjoy.

    This plugin and helper files allows you to link to a member list page, which by default displays the username, user title, home page, join date (with some easier-to-read formatting), and I left in some commented out code for post count if you have my post count plugin installed (if not, you might want to delete those lines from memberlist.php).

    Additionally, you can click the colum title for Username and Join Date and get the list sorted by that column. Furthermore, if you click the same column again, it sorts it by the column in descending order.

    Lastly (and the coolest part in my opinion), admins will see an extra part to the table that will allow you to delete users (as many or few at one time as you want). Users without the ability to delete users will not even be able to see the added cells or submit button.

    To see the member list in action, visit http://www.rayd.org/forums/ (the link is at the top). You won’t be able to see the cool admin parts of the table, of course ;)

    To download the plugin, visit http://faq.rayd.org/memberlist/

    #52001
    M
    Member

    Alrighty, here’s the scoop:

    I added <?php do_action('extra_profile_info_display', $user); ?> to my profile.php file, right above the second to last line, <?php profile_pages(); ?>.

    In my template-functions.php file, I have the following:

    function extra_profile_edit() {

    //Globals

    global $user_id, $bb_current_user,$bbdb;

    // Get dA username, if it exists

    $da_username = $bbdb->get_var("SELECT meta_value FROM $bbdb->usermeta WHERE meta_key = 'da_username' AND user_id = '$user_id'");

    // Get the user's real name, if it exists

    $user_realname = $bbdb->get_var("SELECT meta_value FROM $bbdb->usermeta WHERE meta_key = 'user_realname' AND user_id = '$user_id'");

    // Input fields that have a default value of the set variable

    echo "

    <input

    name="da_username"

    id="da_username"

    type="field"

    value="$da_username" />

    .deviantart.com

    <input name="user_realname"

    id="user_realname"

    type="field"

    value="$user_realname"

    />";

    }

    And now for the real meat of the thing:

    function extra_update() {

    global $user_id;

    bb_update_usermeta($user_id, "da_username", $_POST['da_username']);

    bb_update_usermeta($user_id, "user_realname", $_POST['user_realname']);

    }

    add_action('extra_profile_info', 'extra_profile_edit');

    add_action('profile_edited', 'extra_update');

    add_action('extra_profile_info_display', 'extra_display');

    My apologies for the length of the post…

    #52000
    M
    Member

    I think I’ve found a solution, by searching the forums (go figure).

    https://bbpress.org/forums/topic/313?replies=21#post-1672

    I quite like this plugin… I’m going to enable it on my forums.

    I should have realized… I’m adding an action, not a filter…

    [edit] OK, well I’m one step closer, kind of. I need to make a new row (?) for each new profile field.

    [another edit]

    I’m closer: here’s the function I need; bb_update_usermeta

    #51999
    M
    Member

    Hey there, I’m trying something out here… I made a plugin called template-functions.php and I’m trying out one thing here.

    If I put this line:

    add_filter(

    'get_profile_info_keys',

    'extra_profile_info'

    );

    function extra_profile_info () {}

    my profile info is gone, except for the username field and a password field.

    I can only see the password field if I view the source… It’s not visible…

    Still working on it…

    edit: Oh boy, I guess the function extra_profile_info exists! Still going…

    another edit:

    Well now check this out:

    https://trac.bbpress.org/changeset/327

    10/13/05… “Hooks for extra fields”?

    This is more like it!

    #51997
    steven19
    Member

    Your site is down :(

Viewing 25 results - 31,926 through 31,950 (of 32,431 total)
Skip to toolbar