Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,801 through 18,825 (of 32,505 total)
  • Author
    Search Results
  • #38098
    MichaelOscar
    Member

    I installed bbpress the other day, I then found that when i tried to edit the theme I got error messages, so I reuploaded bbpress, and now i’ve got error messages at the top, http://technomaniacs.co.uk/bbpress/bb-admin/install.php, take a look for yourself. The code is in white at the top so you’ll have to highlight it to read it. Also, when i installed the first time i think these error messages where there then.

    How do i fix this?

    thanks

    #77991
    silvanacolo
    Member

    Yeah well, it’s good you took initiative. Would really appreciate an admin panel for it. Like “what color do you want as background, what features do you want to include” etc. Had a hardass time styling the css in this one. The result turned out good though, so it wasn’t impossible.

    However, more importantly, I wish for the option to select text, and one click on button will automatically at a start and end-tag. Instead of clicking twice. This is the number one wish! All the other stuff I can live with.

    #100038
    Gautam Gupta
    Participant

    Where have you put the script? Put it in the root and also check if /forums2/bb-load.php exists.

    #100037
    web2m
    Member

    Hi Gautam, I have the converter installed, but have a quick question for you.

    My wordpress is in the root directory, my bbpress forums are in

    http://www.sitename.com/forums2

    Here is the part of your code:

    define( ‘W2BC_WP_PATH’, ” ); /** With Trailing Slash, if required */

    define( ‘W2BC_BB_PATH’, ‘/forums2/’ ); /** With Trailing Slash, if required */

    define( ‘W2BC_CONVERT_PINGBACKS’, true ); /** Convert pingacks too? true or false */

    *** Continue my question ***

    I keep getting “bbPress loader file (bb-load.php) doesn’t exist in the path specified!”

    I have tried defining the w2bc_bb_path to ./forums2/ I have left it as the default like you had it and I have tried it as it is in the example above … it still tells me the path doesn’t exist

    Could you let me know what path I need to define, if my forums are located at

    http://www.sitename.com (this is where wordpress is installed)

    http://www.sitename.com/forums2 (this is where my bbpress is installed)

    Thank you again for the help and for the file. I am hoping I can get it to work:-)

    #38095
    silasje1
    Member

    Hey all.

    Due to outdated, slow, failing and not working WYSIWYG plugins, i wanted to create a new version.

    The goals:

    -Let TinyMCE work on all post pages (100% already :) )

    -Add new button which adds the [video] tag for youtube and a few more video sites. (0% since i havent treid it yet.)

    -Turn TinyWYSIWYG off or on. (75% because i can hide it, but then it says no text is submitted. But quick fix: write in html, then turn Tinymce on and submit. It works as html, but a little iritating to do this way.)

    Features:

    -Can be easily updated, source is TinyMCE’s.

    -Good experience, and loads of things work, like ,<span>

    -Has easy UI same as MS Office 2007.

    So any volunteers to help out the small things and make this as a plugin.

    Note: The [video] PHP coding part is ready, needs to add button which wraps the [video]url-of-video[/video]

    The video part will be a lose part too.

    #99981

    In reply to: WYSIWYG

    silasje1
    Member

    i am making the plugin better and better now :) But tomorow (utc +1) morning i will try to create a fast first build with notes, on how too install.

    What is needed before the first WYSIWYG TinyMCE release for bbpress:

    -Somebody who can make it a plug-in, i have the pieces of codes which should be added to let it work.

    -Adding a new button for the [video] tag whch i use. I want to release that too aftwards and include it to this version.

    -Clean-up code, since it is untouched code from their website.

    -Now uses no-jquery, but dont know if it is handy.

    Hope some people want to help ;)

    I will make a demo soon, but you can register @ forum.fstube.org or fstube.org/forums .

    Greetins silasje1, fstube.org.

    #105081

    In reply to: WYSIWYG

    silasje1
    Member

    i am making the plugin better and better now :) But tomorow (utc +1) morning i will try to create a fast first build with notes, on how too install.

    What is needed before the first WYSIWYG TinyMCE release for bbpress:

    -Somebody who can make it a plug-in, i have the pieces of codes which should be added to let it work.

    -Adding a new button for the [video] tag whch i use. I want to release that too aftwards and include it to this version.

    -Clean-up code, since it is untouched code from their website.

    -Now uses no-jquery, but dont know if it is handy.

    Hope some people want to help ;)

    I will make a demo soon, but you can register @ forum.fstube.org or fstube.org/forums .

    Greetins silasje1, fstube.org.

    olek12
    Member

    hello I just finished Deep integration of my WordPress with BBpress.

    I had no errors with installation so everything was right from that part.


    but when I’m trying to view forum on the header I got eror :


    Deprecated: Assigning the return value of new by reference is deprecated in /customers/a


    And when Im trying log in or go to bb-admin Im geting that error :


    Deprecated: Assigning the return value of new by reference is deprecated in


    Anyone could help me with that ;/ cuzz Im noob from php and I would like to make it working ;/

    please for help ;/


    #99980

    In reply to: WYSIWYG

    ajz
    Member

    Please share silasje1 :)

    #105080

    In reply to: WYSIWYG

    ajz
    Member

    Please share silasje1 :)

    #99975
    Kurt Glen
    Member

    hey asboyd do you have phpmyadmin or any other database management? if so select the database and go to execute and execute the same exact code that gave u the error… should be the same as mine. Only this time change the last line to:

    ENGINE = MYISAM DEFAULT CHARACTER SET 'utf8';

    basically changing TYPE to ENGINE. That will correct everything. good luck.

    PS thanks to Super Artsy in the topic below for posting the solution.

    https://bbpress.org/forums/topic/db-posts-table-not-installing?replies=4#post-86225

    #105075
    Kurt Glen
    Member

    hey asboyd do you have phpmyadmin or any other database management? if so select the database and go to execute and execute the same exact code that gave u the error… should be the same as mine. Only this time change the last line to:

    ENGINE = MYISAM DEFAULT CHARACTER SET 'utf8';

    basically changing TYPE to ENGINE. That will correct everything. good luck.

    PS thanks to Super Artsy in the topic below for posting the solution.

    https://bbpress.org/forums/topic/db-posts-table-not-installing?replies=4#post-86225

    #105135
    Gautam Gupta
    Participant

    You may check my WordPress to bbPress converter – http://code.google.com/p/wordpress-to-bbpress-converter/

    It doesn’t migrate users yet, so you would have to do that yourself (before using the script).

    #77989

    Lol @ Marius

    #38075
    silasje1
    Member

    Hey.

    When i tried Easy Video Embed i had alot of problems with all IE versions.

    Now i added the new <iframe> from youtube in it. Also i updated the old code and made that for IE only, cause they dont support html5. I cant contact or add the new files so maybe sombody else wants to?

    O yeah it works on 1.0.3 of course :) here is the new code:

    <br />
    function ae_detect_ie()<br />
    {<br />
    if (isset($_SERVER['HTTP_USER_AGENT']) &&<br />
    (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))<br />
    return true;<br />
    else<br />
    return false;<br />
    }</p>
    <p>...............................(60 lines of code)</p>
    <p>if (ae_detect_ie())

    {$post_text = preg_replace('#[video]http://([a-zA-Z0-9]+.|)youtube.com/.*v=([a-zA-Z0-9_-]+).*[/video]#i', ' <object width="640" height="510"><param name="movie" value="http://www.youtube.com/v/\1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/\2" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="510"></embed></object>',$post_text); }
    else
    { $post_text = preg_replace('#[video]http://([a-zA-Z0-9]+.|)youtube.com/.*v=([a-zA-Z0-9_-]+).*[/video]#i', '<iframe title="YouTube video player" width="853" height="510" src="http://www.youtube.com/v/\2"frameborder="0" allowfullscreen></iframe>',$post_text);<br />
    } </p>
    <p>

    test it here:

    http://www.fstube.org/forums/bbpress/topic/touch-and-go

    #93237

    In reply to: Bavatars Error

    If you’re unlucky like me and you still have some old php4 code that’s preventing you from flipping the switch to php5. Here’s what I did to fix bavatars.php, around line 48.

    //$id = bb_get_user( $id_or_email, array( 'by' => 'email' ) )->ID;

    // Fix for Fatal error: syntax error, unexpected T_OBJECT_OPERATOR

    $bb_get_user_object = bb_get_user( $id_or_email, array('by' => 'email'));

    $id = $bb_get_user_object->ID;

    #60027

    More than likely these problems are either fixed by now, related to not looking in the right place, or used in JavaScript. :)

    #100016

    Hi Doug,

    1.1 is in /trunk/ and is the most recent stand-alone code. You could use it the same as you use 1.0.2/1.0.3 right now and shouldn’t have any issues.

    2.0 is in /branches/plugin/ and nothing has been specifically built to make the two talk to each other yet. Every effort has been made to make sure they don’t conflict though, so they shouldn’t get in each others way either. :)

    #105116

    Hi Doug,

    1.1 is in /trunk/ and is the most recent stand-alone code. You could use it the same as you use 1.0.2/1.0.3 right now and shouldn’t have any issues.

    2.0 is in /branches/plugin/ and nothing has been specifically built to make the two talk to each other yet. Every effort has been made to make sure they don’t conflict though, so they shouldn’t get in each others way either. :)

    #95097
    Gautam Gupta
    Participant

    Is there a way of utilising the hook transition_post_status only when it’s in reference to a topic or reply? Or is there a function for this already?

    I’m looking to only call a function when a user posts a topic or reply, possibly when a post gets spammed or trashed.

    You can use the hooks bbp_trashed_topic, bbp_trashed_reply, bbp_spammed_topic, bbp_spammed_reply. All those supply you with the reply or topic id. :)

    #95095
    moonoi
    Participant

    Adding to the question above:

    I found out that when I type in /blog/forum/test-forum I’m not redirected but just shown the 404 page. All other combinations ends in a redirect back to the front page.

    I can see in the posts table that WP saved the permalink as http://localhost.localdomain/?post_type=forum&p=8053. Requesting this URL just results in the redirect.

    I already tried saving permalinks settings a number of times. I also tried each of the custom structure combinations mentioned in here such as /%post-type%/%post-name%/etc., and I tried disabling “neat” permalinks all together. Nothing seems to work.

    #95093
    moonoi
    Participant

    I’ve looked through this whole thread and have seen several cases of people having trouble with the permalink structure, getting 404’s.

    No matter what I try, every time I try to access /forums/forum/test-forum I’m just redirected to the site root.

    I’ve spent loads of time looking through the core files of bbpress, but I can’t seem to find the place where this particular link structure is set. Rules are added for a lot of other pages, but not the single forum page.

    Does anyone know where WordPress is told to use this particular URI structure?

    #99999
    christofian
    Member

    fixed, the problem was that $_GET["page"] = $wpbbpmpage; should have been $wpbbpmpage = $_GET["page"];

    #105099
    christofian
    Member

    fixed, the problem was that $_GET["page"] = $wpbbpmpage; should have been $wpbbpmpage = $_GET["page"];

    #38046
    christofian
    Member

    Hi, I’m working on a plugin for the bbpress plugin version. I’m trying to add private messages to the bbpress plugin, and I have already done a lot of work on it.

    My problem is I’m trying to add a page in the bbpress profile to display the private messages. I’m trying to do it by modifying /bbpress/bbp-themes/bbp-twentyten/bbpress/user.php so it looks like this:

    $_GET["page"] = $wpbbpmpage;

    if( $wpbbpmpage == recieved ) {

    get_template_part( ‘bbpress/user’, ‘pm-recieved’ );

    }

    elseif( $wpbbpmpage == sent ) {

    get_template_part( ‘bbpress/user’, ‘pm-sent’ );

    }

    else {

    // Profile details

    get_template_part( ‘bbpress/user’, ‘details’ );

    // Subsciptions

    get_template_part( ‘bbpress/user’, ‘subscriptions’ );

    // Favorite topics

    get_template_part( ‘bbpress/user’, ‘favorites’ );

    // Topics created

    get_template_part( ‘bbpress/user’, ‘topics-created’ );

    }

    So that when the url is http://siteurl.com/users/username/?page=sent a list of all the private messages that the user sent will be displayed, and when the url is http://siteurl.com/users/username/?page=recieved a list of all the private messages that the user has received will be displayed. Right now the code isn’t working, and I have no idea why. If someone could tell me where I’m going wrong, I would appreciate it a lot.

    NOTE: This is my first wordpress plugin, and I’m pretty proud of myself for coming this far :)

    Thank’s for your help,

    -Christofian

Viewing 25 results - 18,801 through 18,825 (of 32,505 total)
Skip to toolbar