Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,251 through 21,275 (of 32,481 total)
  • Author
    Search Results
  • #88262
    MayurSomani
    Member

    Hi, fixed the issue, edited the bbpress plugin to use this,

    if (!class_exists(‘GeSHi’)) {

    include_once(“geshi/geshi.php”); }

    Thus the class is not reused on wp.

    Thanks zaerl for the hint :)

    #87386
    Arturo
    Participant

    upload the files, create a db, dump your local db and import online, adjust the URL (localhost to site.tld), make the changes in wp-config.php and bb-config.php

    enjoy your site online ;)

    #87352
    Arturo
    Participant

    hi rockyteng,

    thank you, u’re welcome ;)

    #88308
    Rich Pedley
    Member

    Check the usermeta table for user_id of 1

    You should hopefully see a meta_key of bb_capabilities

    and then the meta_value will be something like:

    a:1:{s:9:"keymaster";b:1;}

    Not sure its even possible to manually change a password any more.

    #86893

    bbPress has 3 things going for it:

    1) It can integrated a single signon with a wordpress install

    2) It’s very easy to ‘theme’

    3) It’s totally open source and easy to code for

    If you like these, then bbPress is for you. If these things are not enough (and for most people they’re not) then bbpress is not for you.

    It’s also wrong to say that bbPress is missing alot of functionality. that’s purely down to your perception of what YOU think a forum should have. bbpress documentation is shockingly thin on the ground, so if it doesn’t do what it claims to do – tell us :) But don’t judge it because it doesn’t do something it doesn’t claim to – you’ll never find the software that fits your needs that way.

    #88325

    In reply to: Avatar size

    Rich Pedley
    Member

    probably in post.php within your theme look for:

    post_author_avatar_link()

    I change mine to this:

    post_author_avatar_link('100')

    #34262

    Topic: Avatar size

    in forum Themes
    Kasparas
    Participant

    How to resize avatar in topic view, i didnt find any size codes in style.css.

    I want my forum look more like bbpress.org :)

    #88161

    In reply to: New Topic

    Rich Pedley
    Member

    not possible.

    But you could wrap the call to it in a <span> or similar and then add the class to that.

    #88283
    zaerl
    Participant

    Hi. Unfortunately the links obtained from the “#” in Kakumei theme (or similar) are just anchor links. This is due to the fact that they are generated with post_anchor_link() (file: bb-templates/kakumei/post.php:11).

    With “just anchor links” I mean that they are anchors (#post-number) of the current page. They aren’t permalinks. All that links became invalid once you change the “items per page” (and/or other values) from the bbPress admin panel.

    All you can do with the links that users have posted is to parse them and change them accordingly to the new server settings but this can (and will) be a long, tedious, hard and prone to errors work.

    I have written a plugin called “zaerl Post Permalink” that solved this problem. My plugin export a function that generate this link:

    1) http://www.domain.com/the_bbpress_path/post/post_number

    2) http://www.domain.com/the_bbpress_path/?post=post_number

    The (1) is preferred if mod_rewrite is used. These links are permanent and do adapt on the fly to the actual settings of the server. I use my function in various places of the template and post.php is one of these.

    I can share my work with you if you want. Email me za AT zaerl.com.

    p.s. keep in mind that the plugin isn’t retroactive.

    #88017
    Kasparas
    Participant
    cnc
    Member

    Recently I got this mesg who drives me crazy..

    Warning: Visiting this site may harm your computer!

    I don’t know what happened to my blog and forums.. I think all was secure and safe in my site.. I have talked to my hosting company they clean it.. but the problem is still there..

    http://www.car-n-car.com (wordpress)

    http://www.car-n-car.com/forums (bbpress)

    It’s really disturbing me… how can I fix it?

    is there any wordpress or bbpress authenticated plugin who defend my site from suspicious codes, and hackers attacks..

    please guide me to remove this bloody mesg…. otherwise my site will useless :(

    help me again…

    Regards,

    cNc

    #34260
    mikkelsen
    Member

    Hello,

    I have a website with WordPress as the mainsite and vBulletin as a forum. After doing lots of research on bbPress, I quickly understood that bbPress is far superior for my needs and would fit extremly well :)

    I do however have one problem, and that is that I have lots of users and posts that I can’t loose. I’d like to transfer my users login info as well as all the posts and threads.

    Are there any scripts for converting a vBulletin database to a bbPress database?

    Thanks for all help.

    #88160

    In reply to: New Topic

    gerikg
    Member

    how about adding a class to new topic?

    a class="button" href="?new=1" id="new-topic-button"

    #85090
    ChristopherM
    Member

    The following lines are probably missing in the danish .po-file (these are in Swedish, you have to change them to Danish):

    #: bb-includes/functions.bb-core.php:385
    #, php-format
    msgid "%d year"
    msgid_plural "%d years"
    msgstr[0] "%d år"
    msgstr[1] "%d år"

    #: bb-includes/functions.bb-core.php:386
    #, php-format
    msgid "%d month"
    msgid_plural "%d months"
    msgstr[0] "%d månad"
    msgstr[1] "%d månader"

    #: bb-includes/functions.bb-core.php:387
    #, php-format
    msgid "%d week"
    msgid_plural "%d weeks"
    msgstr[0] "%d vecka"
    msgstr[1] "%d veckor"

    #: bb-includes/functions.bb-core.php:388
    #, php-format
    msgid "%d day"
    msgid_plural "%d days"
    msgstr[0] "%d dag"
    msgstr[1] "%d dagar"

    #: bb-includes/functions.bb-core.php:389
    #, php-format
    msgid "%d hour"
    msgid_plural "%d hours"
    msgstr[0] "%d timme"
    msgstr[1] "%d timmar"

    #: bb-includes/functions.bb-core.php:390
    #, php-format
    msgid "%d minute"
    msgid_plural "%d minutes"
    msgstr[0] "%d minut"
    msgstr[1] "%d minuter"

    #: bb-includes/functions.bb-core.php:391
    #, php-format
    msgid "%d second"
    msgid_plural "%d seconds"
    msgstr[0] "%d sekund"
    msgstr[1] "%d sekunder"

    #87740
    Cyndy Otty
    Participant

    Very nice redesign! Does make one feel that there is life here and things happening. :)

    #68599
    Xevo
    Participant

    Interesting theme, thanks for the update clockworker. :)

    #88271
    Abhid
    Member

    So far i have succeeded by making magento session available in bbPress and adding user of current magento session to bbPress usess db table and logging in that user.

    But while trying by approach mentioned in first post i placed the code containing bbPress fiunction calls in php files nothing seems to happen but after placing same code in phtml files i could see some error conditions happening on bbPress side.

    The error generated are as :

    a:5:{i:0;s:180:”Strict Notice: is_a(): Deprecated

    ________________________________________

    a:5:{i:0;s:215:”Warning: include(WPError.php) [function.include]: failed to open stream: No such file or directory in C:wampwwwsvn_awe_homecodemagento-1.4.0.0libVarienAutoload.php on line 93″;i:1;s:4511:”#0 C:wampwwwsvn_awe_homecodemagento-1.4.0.0libVarienAutoload.php(93): mageCoreErrorHandler(2, ‘include(WPErro…’, ‘C:wampwwwsvn…’, 93, Array)

    _________________________________________

    a:5:{i:0;s:241:”Strict Notice: Non-static method WP_Pass::hash_password() should not be called statically, assuming $this from incompatible context

    __________________________________________

    a:5:{i:0;s:202:”Strict Notice: Non-static method WP_Pass::generate_password() should not be called statically

    _____________________________________

    To remove above mentioned errors do i need to modify bbPress code base or there is something else that can be done?

    Or am i going totally wrong way?

    Can some body help in getting right approach towards such intergration?

    Thanks

    #70521

    In reply to: Members can add tags

    danblogro
    Member

    This is the solution:

    1 – Find topic-tags.php file, in your template folder.

    2 – In topic-tags.php file, find this line:

    <?php tag_form(); ?>

    3 – Above this line, add the following code:

    <?php if ( !bb_current_user_can( 'manage_tags' ) ) {return false;} ?>

    I hope it is not wrong, I made this change for me and now works …

    [EDIT by chrishajer – there is no bbcode here]

    #88276

    In reply to: Email change

    Kasparas
    Participant

    Thanks for answer. My second mail already in system :) thats why it wont change.

    #88264

    In reply to: Dropbox uses bbPress !

    hpguru
    Member

    Veri nice forum here. :)

    #84573

    In reply to: bbPress mobile version

    Xevo
    Participant

    See my edit. :)

    #88245

    @zaerl

    Thanks again for your help.

    I am fairly familiar with transferring files, but I guess this is beyond me. I looked over the install instructions again I couldn’t find anything relating to this.

    I think I’ll just leave the URL as domain.com/bbpress. This isn’t for a business so no one will care what it says!

    I may try the name change again before I make the board public! Why not make it even more complicated for myself? :-)

    #84572

    In reply to: bbPress mobile version

    chandersbs
    Member

    Well, if i look at the list of supported mobile browsers, i don’t think it does.

    $small_browsers = array(
    '2.0 MMP'
    ,'240x320'
    ,'AvantGo'
    ,'BlackBerry'
    ,'Blazer'
    ,'Cellphone'
    ,'Danger'
    ,'DoCoMo'
    ,'Elaine/3.0'
    ,'EudoraWeb'
    ,'hiptop'
    ,'IEMobile'
    ,'KYOCERA/WX310K'
    ,'LG/U990'
    ,'MIDP-2.0'
    ,'MMEF20'
    ,'MOT-V'
    ,'NetFront'
    ,'Newt'
    ,'Nintendo Wii'
    ,'Nitro' // Nintendo DS
    ,'Nokia'
    ,'Opera Mini'
    ,'Palm'
    ,'Playstation Portable'
    ,'portalmmm'
    ,'Proxinet'
    ,'ProxiNet'
    ,'SHARP-TQ-GX10'
    ,'Small'
    ,'SonyEricsson'
    ,'Symbian OS'
    ,'SymbianOS'
    ,'TS21i-10'
    ,'UP.Browser'
    ,'UP.Link'
    ,'Windows CE'
    ,'WinWAP'

    #88250

    Why don’t you just hardcode the HTML and point it towards the form handler that you want to process it?

    Dynamically getting wordpress and bbPress to play nice together via deep integration can be a bit of a pain especially if you try and make one do the work of the other.

    #34247

    Topic: Search help

    in forum Troubleshooting
    Rich Pedley
    Member

    Having tracked code through I ended up in class.bb-query.php

    if ( $search ) {

    if ( $_post ) {

    $s_value = esc_attr( $q_post_text );

    $s_name = 'post_text';

    $s_id = 'post-text';

    } else {

    $s_value = esc_attr( $q_search );

    $s_name = $s_id = 'search';

    }

    $r .= "t<div><label for="$s_id">" . __('Search term') . "</label>n";

    $r .= "tt<div><input name='$s_name' id='$s_id' type='text' class='text-input' value='$s_value' /></div>n";

    $r .= "t</div>nn";

    }

    Now this is affecting a second search, by changing search to post-text, and the result of a second search is always zero results.

    Can anyone explain why, and is there an easy way to change this, or should I just code my own search form?

Viewing 25 results - 21,251 through 21,275 (of 32,481 total)
Skip to toolbar