Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,601 through 31,625 (of 32,432 total)
  • Author
    Search Results
  • #52291
    Nicki Faulk
    Member

    hehe, thanks. :)

    #52290
    spencerp
    Member

    Hahahaha.. Yeah, that wouldn’t be good! “We” wouldn’t want that now, lol. =P Fiancee? Congrats on that! ;) :)

    spencerp

    #52289
    Nicki Faulk
    Member

    LOL, probably not. He’d be thinking “Who is this guy, and why is he hugging my fiancee?”

    :)

    #52288
    spencerp
    Member

    [blushing].. Hehe.. I guess I could always come over there then.. LOL Hahaha.. Nah, just kidding, I don’t think your man would like that too much lol! =P Anyway, I’m glad to hear that fixed it.. :) ;)

    spencerp

    #52287
    Nicki Faulk
    Member

    Spencer, if I could reach you, I’d hug you! :)

    That fixed it, thanks so much! :D

    #52286
    spencerp
    Member

    Here, try this once..

    http://spencerp.net/downloads/message.php.txt

    Copy/Paste into the original one of course.. into the forum’s root directory.. like normal. :);) That *should* work lol.. And it’s no problem.. I love helping people.. ;) :)

    spencerp

    /If that don’t work either.. I’m going to scream lmao. I’m trying to get Josh on GoogleTalk, but he must be busy or something.. sigh. Hopefully he comes in here soon lol..

    #52284
    Nicki Faulk
    Member

    Hey, no dice. I compared your version to mine and it looks like it had a couple of mod_rewrite fixes, but didn’t see anything else. Error still occurs.

    I’ll take it back out of my template and watch this thread. Thanks for your help! :)

    #51684
    spencerp
    Member

    Hahaha.. you’re welcome. ;) :) Come to think of it, I might even go back to just using the original plugin lmao.. I dunno though.. I kinda liked the idea of that though.. to help remind people that my forum’s are there LOL!

    Being that my forums are so small, it’s kind of a nice thing, however.. if and when it gets a little bigger, it might not be a good thing.. I’ll think about it though… I just got tons of other things to do sigh..

    spencerp

    /Thanks for registering on my forums by the way.. ;) :)

    #51683
    Nicki Faulk
    Member

    Ok, that explains it. LOL

    Mine didn’t do that and I had wondered if mine didn’t do that for me because I’m the KeyMaster, or what…. :)

    Thanks for clearing that up. :D

    #52283
    spencerp
    Member

    Try this version of the “main plugin” file once..

    http://spencerp.net/downloads/bb-privatemessage.php.txt

    Just copy the codes from that one, and place it in the original bb-privatemessage.php and reupload it into the my-plugins directory again..

    That *should* work.. If not, Josh(ardentfrost) and I will look into what we’ve done before, to get rid of that error. ;):)

    spencerp

    /I think we had to “hard-code” the calls to the users table for the database..? If I’m not mistaken.. Josh?

    #51682
    spencerp
    Member

    Nicki, I’m using another version of this plugin.. I had asked Thomas earlier in the thread, for one that sends one out no matter what, or who’s thread gets replied too. ;):)

    https://bbpress.org/forums/topic/313?replies=34#post-1766

    So, by default.. his original plugin won’t do that. ;) :)

    https://bbpress.org/forums/topic/313?replies=35#post-1528

    spencerp

    #52282
    Nicki Faulk
    Member

    Revisiting this: I’m still getting this error:

    bbPress database error: [Table 'DBNAME.bb_users' doesn't exist]

    SELECT * FROM bb_users WHERE ID = 4

    I’ve re-read all the replies to this thread and it looks like spencerp had the same problem I am right now, but I didn’t see a solution posted. Spencer, could you lend me a hand? Or ardentfrost, is there a new version coming? (in other words, should I wait? :))

    #51483
    Nicki Faulk
    Member

    Very handy! Thanks! :D

    #51030

    In reply to: Topic views

    spencerp
    Member

    Sixthed. – I’d also like to see this plugin made possible.. ;) :)

    spencerp

    #52891
    spencerp
    Member

    Oh ok, thanks a million Trent. ;) :) By the way, I also dropped a thread off over here on the MWUSERS forum.. 15 views, no replies there lol.

    Oh well, maybe someone will then. :) Also, Trent.. how would I go about changing the “Create New” account link in the MediaWiki .. to point to either my Forum’s or Blog’s registration page?

    Shoot, which one should I use though? I’m guessing the Blog’s registration page right? And even point my forum’s register link to the blog? Might be the best way of doing it.. What you all think?

    spencerp

    /*cough* I wish ya were on GTalk again lmao, would be a helleva a lot easier to talk me through this crap LoL!!.. :P

    #1163
    chrishajer
    Participant

    I tried to insert a tag that was a duplicate, and got this error:

    bbPress database error: [Duplicate entry '231-1-65' for key 1]

    INSERT INTO bbpress_tagged ( tag_id, user_id, topic_id, tagged_on ) VALUES ( '231', '1', '65', '2006-12-31 15:19:51')

    Warning: Cannot modify header information - headers already sent by (output started at /htdocs/riverside/forum/bb-includes/db-mysqli.php:147) in /htdocs/riverside/forum/bb-includes/wp-functions.php on line 816

    ]]>

    Are duplicate tag insertions normally caught?

    #52852
    lordcoder
    Member

    K , thanks thomasklaiber , i ill create a new plugin so i don’t lose the changes on a specific update :P

    PS : i am from Morroco , but i can speak French , German , English …

    #1166
    spencerp
    Member

    Ok people, here’s the deal.. I’ve installed MediaWiki 1.8.2 on my domain: http://codex.spencerp.net/ and customized the links for it and so forth.. no big deal right… ?

    What I have done so far is (in this order)..

    1) Integrated bbPress to my WordPress blog.. So anyone that registers on my bbPress forums, is automatically registered into my WP blog. Usernames and Passwords work for BOTH..

    2) Applied the bbPress_Auth_for_MediaWiki extension to my MediaWiki.. However, I had to use some of the modifications listed here.

    Now, people can login to my MediaWiki with the usernames and passwords from either the WP blog, or the forums.. ;):)

    The ONLY problem I’m having now, is.. having users register for a new account on my MediaWiki “Create New Account” page.. sigh.. I’m getting the following error..

    http://codex.spencerp.net/Special:Userlogin?type=signup&returnto=Main_Page

    “Login error:

    There was either an external authentication database error or you are not allowed to update your external account.”

    Which is obviously saying, it’s trying to create a new account in the MediaWiki database.. but, where really it should be trying to make a new account in my WP database.. right? Or, that might be meaning the other way around.. I’m not sure.

    My questions are:

    1) Is there a way to modify the “Create New Account” page, with the WP register page codes? So, when someone tries to create a new account on my MediaWiki itself.. it calls the WP database for it?

    Or..

    2) Just modify the MediaWiki file, that contains the “Create Account” link, and use the link to the registration page for the WP blog itself? And if so, which MediaWiki file does this reside in?

    I guess I’d rather have it simple.. and just implement the WP registration codes, into the MediaWiki file.. so there is no redirecting of the “Create Account” link in my MediaWiki..

    Or, does someone know of an “extension” for MediaWiki.. that synchronizes the MediaWiki & WordPress registrations? Thanks in advanced.. ;) :)

    spencerp

    /It’s ALMOST totally there now.. the way I want her.. just that dang Registration problem on the MediaWiki sigh.

    By the way, you have to be registered and signed-in, to edit my Wiki.. whee! Which means, you’ll have to register on my blog, or forums first! This is why I’d like to get this MediaWiki registration figured out soon sigh..

    #51680
    spencerp
    Member

    Haha, Glad to hear you found it though! ;) :) I posted some other plugins I’m using in this blog post here:

    http://spencerp.net/id/4

    Shoot, I’m actually missing some there.. I’ll have to re-edit that post again soon.. Again, glad to see you found it, and thanks for checking through my forums.. :D

    spencerp

    *cough* You could join there ya know..? Lmao Ya don’t have too though.. =P

    #51679
    Nicki Faulk
    Member

    Not sure how I overlooked this one, but I was just wishing for something like this last night! :)

    (found via spencerp’s forums, hehehehe)

    #52851

    Yeah … it’s called profile_menu because it’s for your profile and not for the whole board =)

    You can add this function (with a new name like profile_menu_global) into a plugin so you don’t have to change the core files!

    Where are you from, Germany? I’m from Germany if you need more help ;-)

    #52850
    lordcoder
    Member

    Ok the problem is solved by using this function instead of the default profile_menu :

    function profile_menu() {

    global $bb, $bbdb, $bb_current_user, $user_id, $profile_menu, $self, $profile_page_title, $bb_table_prefix;

    $user_id=(isset($user_id)) ? $user_id : $bb_current_user->ID;

    $list = "<ul id='profile-menu'>";

    $list .= "nt<li" . ( ( $self ) ? '' : ' class="current"' ) . '><a href="' . get_user_profile_link( $user_id ) . '">' . __('Profile') . '</a></li>';

    if ( isset( $profile_menu ) ) :

    foreach ($profile_menu as $item) {

    // 0 = name, 1 = users cap, 2 = others cap, 3 = file

    $class = '';

    if ( $item[3] == $self ) {

    $class = ' class="current"';

    $profile_page_title = $item[0];

    }

    if ( can_access_tab( $item, $bb_current_user->ID, $user_id ) )

    if ( file_exists($item[3]) || function_exists($item[3]) )

    $list .= "nt<li$class><a href='" . wp_specialchars( get_profile_tab_link($user_id, $item[0]) ) . "'>{$item[0]}</a></li>";

    }

    endif;

    $list .= "n</ul>";

    echo $list;

    }

    #49484
    satellio
    Member

    File bbpress/bb-admin/index.php

    line #32 is:

    <li><?php printf('Forums started %s ago.', bb_since(get_inception())); ?></li>

    but should be:

    <li><?php printf(__('Forums started %s ago.'), bb_since(get_inception())); ?></li>

    in order for it to be “gettext-translated”.

    The file bbpress/bb-admin/index.php in the bbPress folder archive at http://sostomates.fr/projets/bbpress/bbpress.zip has been modified accordingly.

    #51982

    s010, I’m going to rephrase what you said. Let me know if this still looks correct. Also, your Step #2 has an error in the code writeup (placement of the end bracket).

      1. Find and comment out the following code in bb-templates/topic.php to remove the call to topic_resolved.

      <li id="resolution-flipper"><?php _e('This topic is') ?> <?php topic_resolved(); ?></li>

      Like this:

      <!--<li id="resolution-flipper"><?php _e('This topic is') ?> <?php topic_resolved(); ?></li>-->

      2. Add the following code to bb-includes/functions.php to overwrite the get_views functionality (don’t remove the get_views, just add this code anywhere on functions.php).

      function my_no_support_views($views) {

      return array_diff($views, array('unresolved' => __('Unresolved topics')));

      add_filter('bb_views', 'my_no_support_views');

      }

    #52421
    pontus
    Member

    Hehe, it was a pice of cake. :)

    http://www.crazy-media.com/bbpress/

    AND it is easy to add the extra “step” to ” Website Design > HTML Basics > Whats wrong with my site” to the top-links if you like and it’s easy to group the result on the frontpage if you like.

    (“General (forum cat block 1) >

    –Latest news (forum under general cat)

    –General Discussions (forum under general cat)

    –Site Feedback (forum under general cat)”)

    Well I think it feels “to much” so I made a new row in the table insted of giving every caregory its own line but its an easy to fix. Well, I didnt found any easy way to add a “middle-forum”, like it is in phpBB. If you clock on a categori you see all avalible forums.

    Well, well. My point with this post, if you would like i can post the code and changes. But I warn you, my “hack” isnt realy nice, it demands changes in the db, in the corefiles and ofcause template. And worst of all, it uses crapy if-else and no fancy “all data in the db and one function for each job”-stuff. I’m a newbi so I’m using newbi sollutions.

Viewing 25 results - 31,601 through 31,625 (of 32,432 total)
Skip to toolbar