Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,951 through 31,975 (of 32,468 total)
  • Author
    Search Results
  • #52050

    In reply to: users’ email address

    Trent Adams
    Member

    Temporary fix (REQUIRES CORE HACK).

    Go to bb-admin/admin-functions.php and edit line 288 from:

    function display( $show_search = true, $show_email = false ) {

    to

    function display( $show_search = true, $show_email = true ) {

    That will get it showing the the admin area under users. There might be an easier way or a setting to change without this core hack, but the functionality was already built in.

    Trent

    #52046
    miamiron
    Member

    Thanks again-

    I know I had problems with permalinks in WP and had to hardcode some setting to make them work….

    anyway, I appreciate your help!

    #52048

    In reply to: users’ email address

    ardentfrost
    Member

    do something like this:

    $result = get_profile_info_keys();

    foreach ($result as $key => $label ) {

    if ( $key == 'user_email' )

    echo $label;

    }

    That needs to have some way to pull in the user you’re trying to get though… hmm. It should be close though.

    #52039
    Trent Adams
    Member

    What I would try is getting bbpress site 2 using the WP 1 users directly. Try using the cookie information from the docs:

    If bbPress is not installed in a subdirectory of your WordPress install, you’ll probably need to adjust both bbPress’ and WordPress’ cookies to meet your specific requirements. Below is a brief outline of the variables and constants that control the cookie behavior in the two programs.

    PHP bbPress WordPress

    name $bb->usercookie USER_COOKIE

    name $bb->passcookie PASS_COOKIE

    path $bb->cookiepath COOKIEPATH

    path $bb->sitecookiepath SITECOOKIEPATH

    domain $bb->cookiedomain COOKIE_DOMAIN

    Trent

    #51669
    snowcrash
    Member

    bbpress with plugins such as this is really coming along – great stuff.

    Now if only there was a forum subscribe version, which would send out an email indicating there is a new post on a forum you’ve subscribed too (and better still, could be set to send out only one email or one for each new forum post). Of course probably asking for too much at this stage of development :-)

    #51814

    In reply to: Plugin – Member List

    spencerp
    Member

    Awesome!! Done!.. You’re the greatest, whee!! :D

    http://spencerp.net/forums/mlist

    spencerp

    #51813

    In reply to: Plugin – Member List

    ardentfrost
    Member

    glad it works :D

    And spencer, since you have my post count plugin also, you can uncomment those lines in memberlist.php :D

    #51812

    In reply to: Plugin – Member List

    spencerp
    Member

    Yup, it works for me if I have pretty permalinks, and no pretty permalinks set. I did exactly as said on here:

    https://bbpress.org/documentation/faq/#pretty-permalinks

    And she’s working.. see it in action here:

    http://spencerp.net/forums/

    http://spencerp.net/forums/mlist

    YAY!! Thanks again!! ;) :)

    spencerp

    #51558
    Null
    Member

    Hi,

    I am stuck again. I wanted to split the code to the php part and the template part. I did this:

    In index.php I’ve added (right after require('./bb-load.php') ;:

    $forum_id = 1;

    $number_of_topics = 10;

    $forum_one_topics = $bbdb->get_results("SELECT * FROM $bbdb->topics WHERE forum_id = $forum_id ORDER BY topic_time DESC LIMIT 0,$number_of_topics")

    In front-page.php I’ve added:

    <?php

    foreach($forum_one_topics as $topic) :

    $forum_one_topic_posts = get_thread( $topic->topic_id); ?>

    <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a>

    <?php echo $topic->topic_last_poster_name; ?><br/>

    <?php echo $forum_one_topic_posts[0]->post_text;

    endforeach;

    ?>

    But this results in errors on the index.php file:

    parse error, unexpected T_STRING on the first line after the code I’ve put in the index.php file.

    What am I doing wrong?

    #51811

    In reply to: Plugin – Member List

    ardentfrost
    Member

    spencer, I have permalinks enabled and it works for me, trent doesn’t and it works for him now too (and you too), so I think that bug is fixed.

    Trent, I know what you mean… that’s why that deletion part of the plugin is so cool ;) I can delete all spam users in literally a few seconds.

    #51809

    In reply to: Plugin – Member List

    spencerp
    Member

    Hi guys, sorry.. was offline for a bit there. I didn’t have pretty permalinks enabled, and still don’t. But, after uploading those new files of your’s. It seems to be working fine now..

    http://spencerp.net/forums/

    Would you like me to try with pretty permalinks enabled then too, or..? Please let me know ok, I’ll test it. ;) :)

    spencerp

    #51808

    In reply to: Plugin – Member List

    ardentfrost
    Member

    I thought about that, but there’s two things: 1. post count is another plugin altogether… not too big of a deal, making a function that is commented out by default is easy to do. 2. Post count isn’t a db entry, so to do it I’d have to sort results after I got them (whereas now I do it all with SQL queries).

    I do hope to add it in at a later time, I just gotta figure out the best way to do it first :)

    #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

Viewing 25 results - 31,951 through 31,975 (of 32,468 total)
Skip to toolbar