Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,676 through 24,700 (of 32,432 total)
  • Author
    Search Results
  • #74992
    johnhiler
    Member

    Maybe try posting to the WordPress forums? :-)

    Unless there’s a connection to the bbPress install that I’m missing…

    #74990
    johnhiler
    Member

    What is listed under WordPress address (URL) and Blog address (URL)?

    Also – what code in your WordPress template are you using to generate those comment links?

    daniellejosh
    Member

    I flawlessly installed bbPress yesterday to have a forum to go along with my website: http://iphonecustoms.com. However, on all my posts and pages, I have a “Leave a comment” option towards the end, and it either links to my forum.. or nothing at all!! Can someone help? I just would like my comments option back. :(

    #74959
    johnhiler
    Member

    You posted once before about modifying your login:

    https://bbpress.org/forums/topic/hide-loginsign-in-page

    Is it possible something was changed with your login code or templates?

    #74987
    mlantz
    Member

    Ahh… Thank you! I just missed that on the blog. I will look forward to beautification in the final release, then. :)

    #74986

    From the blog

    The admin area is currently lacking a lot of design nuance in the content areas, but all the forms and controls are at least functional. Let’s call this the “excuse the mess” release candidate.

    It’s not you, it’s RC. :)

    #74917
    johnhiler
    Member

    There’s rumors of a wiki-based codex coming up after bbPress 1.0 goes gold! :-) Hopefully that should help with documentation…

    This tag plugin looks somewhat similar to what you mentioned:

    https://bbpress.org/plugins/topic/list-tags/

    But there are reports of bugs with it. I’m guessing the plugin only works in .8 and .9 versions – tags completely changed in version 1.0, so that may be the issue. Still, might be worth studying the code for inspiration!

    #15081
    AndrewRich
    Member

    Hello all,

    I’m seeing the same problem as reported in this older thread where after unzipping the bbPress archive on my server and hitting the default page, the “let’s get started” link doesn’t do anything. Per recommendation I’ve gathered PHP info from my server. With the minimal installation instructions, I don’t even know where to begin troubleshooting, so any assistance would be much appreciated.

    PHP Version 4.3.9

    System Linux dingdong.kinetictide.com 2.6.9-42.ELsmp #1 SMP Sat Aug 12 09:39:11 CDT 2006 i686

    Build Date Jul 12 2006 13:43:33

    Configure Command ‘./configure’ ‘–build=i686-redhat-linux-gnu’ ‘–host=i686-redhat-linux-gnu’ ‘–target=i386-redhat-linux-gnu’ ‘–program-prefix=’ ‘–prefix=/usr’ ‘–exec-prefix=/usr’ ‘–bindir=/usr/bin’ ‘–sbindir=/usr/sbin’ ‘–sysconfdir=/etc’ ‘–datadir=/usr/share’ ‘–includedir=/usr/include’ ‘–libdir=/usr/lib’ ‘–libexecdir=/usr/libexec’ ‘–localstatedir=/var’ ‘–sharedstatedir=/usr/com’ ‘–mandir=/usr/share/man’ ‘–infodir=/usr/share/info’ ‘–cache-file=../config.cache’ ‘–with-config-file-path=/etc’ ‘–with-config-file-scan-dir=/etc/php.d’ ‘–enable-force-cgi-redirect’ ‘–disable-debug’ ‘–enable-pic’ ‘–disable-rpath’ ‘–enable-inline-optimization’ ‘–with-bz2’ ‘–with-db4=/usr’ ‘–with-curl’ ‘–with-exec-dir=/usr/bin’ ‘–with-freetype-dir=/usr’ ‘–with-png-dir=/usr’ ‘–with-gd=shared’ ‘–enable-gd-native-ttf’ ‘–without-gdbm’ ‘–with-gettext’ ‘–with-ncurses=shared’ ‘–with-gmp’ ‘–with-iconv’ ‘–with-jpeg-dir=/usr’ ‘–with-openssl’ ‘–with-png’ ‘–with-pspell’ ‘–with-xml’ ‘–with-expat-dir=/usr’ ‘–with-dom=shared,/usr’ ‘–with-dom-xslt=/usr’ ‘–with-dom-exslt=/usr’ ‘–with-xmlrpc=shared’ ‘–with-pcre-regex=/usr’ ‘–with-zlib’ ‘–with-layout=GNU’ ‘–enable-bcmath’ ‘–enable-exif’ ‘–enable-ftp’ ‘–enable-magic-quotes’ ‘–enable-sockets’ ‘–enable-sysvsem’ ‘–enable-sysvshm’ ‘–enable-track-vars’ ‘–enable-trans-sid’ ‘–enable-yp’ ‘–enable-wddx’ ‘–with-pear=/usr/share/pear’ ‘–with-imap=shared’ ‘–with-imap-ssl’ ‘–with-kerberos’ ‘–with-ldap=shared’ ‘–with-mysql=shared,/usr’ ‘–with-pgsql=shared’ ‘–with-snmp=shared,/usr’ ‘–with-snmp=shared’ ‘–enable-ucd-snmp-hack’ ‘–with-unixODBC=shared,/usr’ ‘–enable-memory-limit’ ‘–enable-shmop’ ‘–enable-calendar’ ‘–enable-dbx’ ‘–enable-dio’ ‘–enable-mbstring=shared’ ‘–enable-mbstr-enc-trans’ ‘–enable-mbregex’ ‘–with-mime-magic=/usr/share/file/magic.mime’ ‘–with-apxs2=/usr/sbin/apxs’

    Server API Apache 2.0 Handler

    Virtual Directory Support disabled

    Configuration File (php.ini) Path /etc/php.ini

    Scan this dir for additional .ini files /etc/php.d

    additional .ini files parsed /etc/php.d/ldap.ini

    PHP API 20020918

    PHP Extension 20020429

    Zend Extension 20021010

    Debug Build no

    Thread Safety disabled

    Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib

    This program makes use of the Zend Scripting Language Engine:

    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

    PHP Credits

    Configuration

    PHP Core

    Directive Local Value Master Value

    allow_call_time_pass_reference Off Off

    allow_url_fopen On On

    always_populate_raw_post_data Off Off

    arg_separator.input & &

    arg_separator.output & &

    asp_tags Off Off

    auto_append_file no value no value

    auto_prepend_file no value no value

    browscap no value no value

    default_charset no value no value

    default_mimetype text/html text/html

    define_syslog_variables Off Off

    disable_classes no value no value

    disable_functions no value no value

    display_errors Off Off

    display_startup_errors Off Off

    doc_root no value no value

    docref_ext no value no value

    docref_root no value no value

    enable_dl On On

    error_append_string no value no value

    error_log no value no value

    error_prepend_string no value no value

    error_reporting 2047 2047

    expose_php On On

    extension_dir /usr/lib/php4 /usr/lib/php4

    file_uploads On On

    gpc_order GPC GPC

    highlight.bg #FFFFFF #FFFFFF

    highlight.comment #FF8000 #FF8000

    highlight.default #0000BB #0000BB

    highlight.html #000000 #000000

    highlight.keyword #007700 #007700

    highlight.string #DD0000 #DD0000

    html_errors On On

    ignore_repeated_errors Off Off

    ignore_repeated_source Off Off

    ignore_user_abort Off Off

    implicit_flush Off Off

    include_path .:/usr/share/pear .:/usr/share/pear

    log_errors On On

    log_errors_max_len 1024 1024

    magic_quotes_gpc Off Off

    magic_quotes_runtime Off Off

    magic_quotes_sybase Off Off

    max_execution_time 30 30

    max_input_time 60 60

    memory_limit 8M 8M

    open_basedir no value no value

    output_buffering no value no value

    output_handler no value no value

    post_max_size 8M 8M

    precision 14 14

    register_argc_argv On On

    register_globals Off Off

    report_memleaks On On

    safe_mode Off Off

    safe_mode_exec_dir no value no value

    safe_mode_gid Off Off

    safe_mode_include_dir no value no value

    sendmail_from no value no value

    sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i

    serialize_precision 100 100

    short_open_tag On On

    SMTP localhost localhost

    smtp_port 25 25

    sql.safe_mode Off Off

    track_errors Off Off

    unserialize_callback_func no value no value

    upload_max_filesize 2M 2M

    upload_tmp_dir no value no value

    user_dir no value no value

    variables_order EGPCS EGPCS

    xmlrpc_error_number 0 0

    xmlrpc_errors Off Off

    y2k_compliance On On

    apache2handler

    Apache Version Apache/2.0.52 (CentOS)

    Apache API Version 20020903

    Server Administrator root@localhost

    Hostname:Port dingdong.kinetictide.com:0

    User/Group apache(48)/48

    Max Requests Per Child: 4000 – Keep Alive: off – Max Per Connection: 100

    Timeouts Connection: 120 – Keep-Alive: 15

    Virtual Server No

    Server Root /etc/httpd

    Loaded Modules core prefork http_core mod_so mod_access mod_auth mod_auth_anon mod_auth_dbm mod_auth_digest util_ldap mod_auth_ldap mod_include mod_log_config mod_env mod_mime_magic mod_cern_meta mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_asis mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_imap mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy proxy_ftp proxy_http proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi mod_perl sapi_apache2 mod_python mod_ssl

    Directive Local Value Master Value

    engine 1 1

    last_modified 0 0

    xbithack 0 0

    Apache Environment

    Variable Value

    HTTP_HOST dingdong.sas.noklab.net

    HTTP_CONNECTION keep-alive

    HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.31 Safari/530.5

    HTTP_ACCEPT application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

    HTTP_ACCEPT_ENCODING gzip,deflate,bzip2,sdch

    HTTP_ACCEPT_LANGUAGE en-US,en;q=0.8

    HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.3

    PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin

    SERVER_SIGNATURE <address>Apache/2.0.52 (CentOS) Server at dingdong.sas.noklab.net Port 80</address>

    SERVER_SOFTWARE Apache/2.0.52 (CentOS)

    SERVER_NAME dingdong.sas.noklab.net

    SERVER_ADDR 10.48.82.2

    SERVER_PORT 80

    REMOTE_ADDR 10.162.161.23

    DOCUMENT_ROOT /var/www/html

    SERVER_ADMIN root@localhost

    SCRIPT_FILENAME /nethome/sweng/arich/public_html/forum/phpinfo.php

    REMOTE_PORT 2046

    GATEWAY_INTERFACE CGI/1.1

    SERVER_PROTOCOL HTTP/1.1

    REQUEST_METHOD GET

    QUERY_STRING no value

    REQUEST_URI /~arich/forum/phpinfo.php

    SCRIPT_NAME /~arich/forum/phpinfo.php

    HTTP Headers Information

    HTTP Request Headers

    HTTP Request GET /~arich/forum/phpinfo.php HTTP/1.1

    Host dingdong.sas.noklab.net

    Connection keep-alive

    User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.31 Safari/530.5

    Accept application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

    Accept-Encoding gzip,deflate,bzip2,sdch

    Accept-Language en-US,en;q=0.8

    Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.3

    HTTP Response Headers

    X-Powered-By PHP/4.3.9

    Connection close

    Transfer-Encoding chunked

    Content-Type text/html; charset=UTF-8

    bcmath

    BCMath support enabled

    bz2

    BZip2 Support Enabled

    BZip2 Version 1.0.2, 30-Dec-2001

    calendar

    Calendar support enabled

    ctype

    ctype functions enabled

    curl

    CURL support enabled

    CURL Information libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6

    dba

    DBA support enabled

    Supported handlers cdb cdb_make db4 inifile flatfile

    dbx

    dbx support enabled

    dbx version 1.0.0

    supported databases MySQL ODBC PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8) Sybase-CT

    Directive Local Value Master Value

    dbx.colnames_case lowercase lowercase

    dio

    dio support enabled

    exif

    EXIF Support enabled

    EXIF Version 1.4 $Id: exif.c,v 1.118.2.35 2005/03/05 18:30:47 rasmus Exp $

    Supported EXIF Version 0220

    Supported filetypes JPEG,TIFF

    ftp

    FTP support enabled

    gettext

    GetText Support enabled

    gmp

    gmp support enabled

    iconv

    iconv support enabled

    iconv implementation glibc

    iconv library version 2.3.4

    Directive Local Value Master Value

    iconv.input_encoding ISO-8859-1 ISO-8859-1

    iconv.internal_encoding ISO-8859-1 ISO-8859-1

    iconv.output_encoding ISO-8859-1 ISO-8859-1

    ldap

    LDAP Support enabled

    RCS Version $Id: ldap.c,v 1.130.2.10 2004/06/01 21:05:33 iliaa Exp $

    Total Links 0/unlimited

    API Version 3001

    Vendor Name OpenLDAP

    Vendor Version 20213

    mime_magic

    mime_magic support enabled

    Directive Local Value Master Value

    mime_magic.magicfile /usr/share/file/magic.mime /usr/share/file/magic.mime

    openssl

    OpenSSL support enabled

    OpenSSL Version OpenSSL 0.9.7a Feb 19 2003

    overload

    User-Space Object Overloading Support enabled

    pcre

    PCRE (Perl Compatible Regular Expressions) Support enabled

    PCRE Library Version 4.5 01-December-2003

    posix

    Revision $Revision: 1.51.2.2 $

    pspell

    PSpell Support enabled

    session

    Session Support enabled

    Registered save handlers files user

    Directive Local Value Master Value

    session.auto_start Off Off

    session.bug_compat_42 Off Off

    session.bug_compat_warn On On

    session.cache_expire 180 180

    session.cache_limiter nocache nocache

    session.cookie_domain no value no value

    session.cookie_lifetime 0 0

    session.cookie_path / /

    session.cookie_secure Off Off

    session.entropy_file no value no value

    session.entropy_length 0 0

    session.gc_divisor 1000 1000

    session.gc_maxlifetime 1440 1440

    session.gc_probability 1 1

    session.name PHPSESSID PHPSESSID

    session.referer_check no value no value

    session.save_handler files files

    session.save_path /var/lib/php/session /var/lib/php/session

    session.serialize_handler php php

    session.use_cookies On On

    session.use_only_cookies Off Off

    session.use_trans_sid Off Off

    shmop

    shmop support enabled

    sockets

    Sockets Support enabled

    standard

    Regex Library Bundled library enabled

    Dynamic Library Support enabled

    Path to sendmail /usr/sbin/sendmail -t -i

    Directive Local Value Master Value

    assert.active 1 1

    assert.bail 0 0

    assert.callback no value no value

    assert.quiet_eval 0 0

    assert.warning 1 1

    auto_detect_line_endings 0 0

    default_socket_timeout 60 60

    safe_mode_allowed_env_vars PHP_ PHP_

    safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH

    url_rewriter.tags a=href,area=href,frame=src,input=src,form=fakeentry a=href,area=href,frame=src,input=src,form=fakeentry

    user_agent no value no value

    tokenizer

    Tokenizer Support enabled

    wddx

    WDDX Support enabled

    WDDX Session Serializer enabled

    xml

    XML Support active

    XML Namespace Support active

    EXPAT Version expat_1.95.7

    yp

    YP Support enabled

    zlib

    ZLib Support enabled

    Compiled Version 1.2.1.2

    Linked Version 1.2.1.2

    Directive Local Value Master Value

    zlib.output_compression Off Off

    zlib.output_compression_level -1 -1

    zlib.output_handler no value no value

    Additional Modules

    Module Name

    sysvsem

    sysvshm

    Environment

    Variable Value

    LANG C

    SELINUX_INIT YES

    CONSOLE /dev/console

    TERM linux

    INIT_VERSION sysvinit-2.85

    PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin

    RUNLEVEL 3

    runlevel 3

    PWD /

    PREVLEVEL N

    previous N

    HOME /

    SHLVL 2

    _ /sbin/initlog

    PHP Variables

    Variable Value

    _SERVER[“HTTP_HOST”] dingdong.sas.noklab.net

    _SERVER[“HTTP_CONNECTION”] keep-alive

    _SERVER[“HTTP_USER_AGENT”] Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.31 Safari/530.5

    _SERVER[“HTTP_ACCEPT”] application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

    _SERVER[“HTTP_ACCEPT_ENCODING”] gzip,deflate,bzip2,sdch

    _SERVER[“HTTP_ACCEPT_LANGUAGE”] en-US,en;q=0.8

    _SERVER[“HTTP_ACCEPT_CHARSET”] ISO-8859-1,utf-8;q=0.7,*;q=0.3

    _SERVER[“PATH”] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin

    _SERVER[“SERVER_SIGNATURE”] <address>Apache/2.0.52 (CentOS) Server at dingdong.sas.noklab.net Port 80</address>

    _SERVER[“SERVER_SOFTWARE”] Apache/2.0.52 (CentOS)

    _SERVER[“SERVER_NAME”] dingdong.sas.noklab.net

    _SERVER[“SERVER_ADDR”] 10.48.82.2

    _SERVER[“SERVER_PORT”] 80

    _SERVER[“REMOTE_ADDR”] 10.162.161.23

    _SERVER[“DOCUMENT_ROOT”] /var/www/html

    _SERVER[“SERVER_ADMIN”] root@localhost

    _SERVER[“SCRIPT_FILENAME”] /nethome/sweng/arich/public_html/forum/phpinfo.php

    _SERVER[“REMOTE_PORT”] 2046

    _SERVER[“GATEWAY_INTERFACE”] CGI/1.1

    _SERVER[“SERVER_PROTOCOL”] HTTP/1.1

    _SERVER[“REQUEST_METHOD”] GET

    _SERVER[“QUERY_STRING”] no value

    _SERVER[“REQUEST_URI”] /~arich/forum/phpinfo.php

    _SERVER[“SCRIPT_NAME”] /~arich/forum/phpinfo.php

    _SERVER[“PHP_SELF”] /~arich/forum/phpinfo.php

    _SERVER[“PATH_TRANSLATED”] /nethome/sweng/arich/public_html/forum/phpinfo.php

    _SERVER[“argv”]

    Array

    _SERVER[“argc”] 0

    _ENV[“LANG”] C

    _ENV[“SELINUX_INIT”] YES

    _ENV[“CONSOLE”] /dev/console

    _ENV[“TERM”] linux

    _ENV[“INIT_VERSION”] sysvinit-2.85

    _ENV[“PATH”] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin

    _ENV[“RUNLEVEL”] 3

    _ENV[“runlevel”] 3

    _ENV[“PWD”] /

    _ENV[“PREVLEVEL”] N

    _ENV[“previous”] N

    _ENV[“HOME”] /

    _ENV[“SHLVL”] 2

    _ENV[“_”] /sbin/initlog

    #74771
    Josh Leuze
    Member

    Just wanted to follow up with this. I tried the integration again from scratch with the same config as above, using WordPress 2.8 and bbPress 1.0-rc-3, but with the 1.0-rc-3 version of the bbPress Integration plugin.

    The integration worked flawlessly, no issues with the code that bbPress Integration outputted, I can log in and out of both bbPress and wordPress, and access both admin panels.

    Thanks for all of your hard work Sam, bbPress 1.0 is looking great!

    #74978
    johnhiler
    Member

    This is definitely related to the phpbb3 to bbPress conversion. :-) The AUTO_INCREMENT gets set really high by the conversion script, to avoid userID conflicts.

    Previous users have reported fixes here – hope one of these fixes work!

    https://bbpress.org/forums/topic/user-id-999999999#post-5521

    Please let us know how it goes. :-)

    #60886
    johnhiler
    Member

    Hey guys – there are different levels of integration between WordPress and bbPress (these definitions are from Sam):

    * User database integration – Sharing of user data tables with WordPress

    * Cookie integration – Sharing of login cookies with WordPress

    * Deep integration – Including the WordPress codebase (PHP) inside bbPress to allow use of WordPress functions inside bbPress

    bbPress supports all of these (although cookie integration between some versions wasn’t supported until user plugins were created fairly recently).

    I think what was asked was reverse deep integration, so to speak? Where instead of normal deep integration (allowing you to call WordPress from inside of bbPress), it would work the other way around (where you could call bbPress from inside of WordPress).

    I think that’s where Sam is drawing the line re: integration, although I could be misunderstanding. He’s definitely said recently that he’s supporting normal deep integration (allowing users to call WordPress functions from inside of bbPress), so all deep integration isn’t off the table. My guess would be that it’s easier for Sam to program bbPress to support WordPress… than to demand that WordPress engineers program in full deep integration for bbPress.

    Incidentally, I pull bbPress discussions onto my WordPress using the Latest Discussion plugins and it works great!

    https://bbpress.org/plugins/topic/bbpress-latest-discussion-for-wp/

    #60884
    berberama
    Member

    If you’re not coding bbPress to work nicely with WordPress, then it’s not going to become a well known and widely used platform. The statement “…I won’t be writing support for this into bbPress at all, even if someone patches it to work. I gotta draw the line on integration somewhere…” come across as hostile and petty – Potentially giving bbPress bad PR.

    I’ve had nothing but hell trying to get this to work properly and when talking to PHP coders, every single one of them has told me not to use it (these are guys that code for a living). They’ve given me alternatives, when I asked why, they said there’s not a lot of support (that there should be more) and the fact that it does not play well with WordPress (when they suggest, given the origins of bbPress, it should).

    This is unfortunate; and sad.

    #74726
    lstelie
    Member

    God bless Ipstenu !!

    Thanks to your bit of code I ended in integrating wp and bbpress something I failed from day 1..

    Thanks a lot !!!

    Luc

    Ryan Hellyer
    Participant

    Email received :)

    #74919
    arthaseo
    Member

    this sounds great :) thanks John.

    I am installing on a new domain, so i will be installing latest releases.

    I have integrated WP + BBPress in past but for same domain.

    any more suggestions ?

    #74914
    johnhiler
    Member

    Here is some code I use in my header.php, to add a class to an li if you’re inside a particular forum:

    <li <?php if ( $forum->forum_id == 170) {echo 'class="x-chosen"';}?>><a href="/board/announcements">announcements</a>

    Maybe something similar would work for you? Good luck!

    #15073
    raheelsayeed
    Member

    Hi all,

    I’m writing a plugin where all it does is grabs data from Database and shows it in a topic. when topic is clicked ofcourse :)

    I want this plugin to work only if say the forum id is 1,2,3 and this plugin shouldnt show up in other forums or forum catagories. is there any function for this?

    similarly, in Add New form, i want to add some textboxes that should only show up if inside a specific forum

    any ideas are appreciated.

    im using 1.0 rc-3

    #73642
    esemar
    Member

    Does RC3 include any utilities to import data from atom/rss xml documents? Eagerly awaiting such a feature so I can start using it on learnjazzpiano.com :)

    #60882

    Well, OK, this is pretty strange. I’ve added require_once(ABSPATH . 'forums/bb-load.php'); to the bottom of my wp-config.php file, and it all seems to work fine. Except, my admin interface for WordPress has lost all its colors and images. I have run a diff on the two resulting wp-admin interface’s code, and it looks like the act of loading bbPress is taking over the loading of styles at the top of the WordPress admin interface, which doesn’t really make much sense to me. Anybody understand what’s going on here? I’m using bbPress 1.0-rc-3 and WordPress 2.8.

    #15069
    Eisregen1986
    Member

    Hello People,

    I would anticipate in advance for my bad English sorry.

    I have bbPresss 0.9.0.5 and want to upgrade to 1.0-rc-3 make.

    I have read the upgrading instructions.

    If I call the bb-admin/upgrade.php, the following error message appears:

    ERROR: Could not establish a database connection

    If I have a new installation of bbPress 0.9.0.5 and then upgrade it works, just not at the present, what can this be?

    #74506
    Florian
    Member

    Weird… I have one user where only the login name is used, but another one where the display name is shown. I’ll come back to that if I find out what the difference between those two is.

    But in the meantime, another problem arose: How do I access the login name when the display name is shown? :) I need the login name to build the link to the user’s buddypress profile page. Is there a template tag which (always) returns the login name?

    #73890
    timskii
    Member

    First attempt at providing Wowhead item links. Please post any bugs or weirdness. This requires BBPress 1.0 RC 3+ and PHP 5+ . It has no cache, so may not be suited to ultra-high volume forums.

    <?php
    /*
    Plugin Name: Simple Wowhead Item Links
    Plugin Description: Adds item sudo-html to create links to Wowhead.
    Author: Tim Howgego
    Author URI: http://timhowgego.com/
    Version: 0.1.rc
    */

    /*
    Requirements:

    * PHP 5 or above.
    * BBPress 1.0 RC3 or above.

    Install:

    * Copy the file to the "my-plugins" directory.
    * Active the plugin within the Admin interface.

    Customising:

    * Default language is English. For other languages, edit $lang (in bb_wowhead_item_search) below.
    * Default will color items which are uncommon or rarer. To change this edit $commonest_color (in bb_wowhead_item_search) below.

    Using:

    * Users must enter the following "sudo-HTML" code within their posts: <item>Name</item> - where name is the correct name of the item to be linked to.
    * Wowhead is queried each time a new link is posted. Once the link is created, it is stored as a complete link within the post. A cache should not be required given the amount of traffic on most forums.
    * If Wowhead is unavailable (often due to maintenance), or some other error occurs, the link created will simply point to a Wowhead search for the item.

    Thanks Drexle for some ideas.
    */

    function bb_wowhead_item_search( $find ) {

    // Edit Options:
    $lang = 'www'; // Language: www (english), de, fr, es, ru.
    $commonest_color = 2; // Only color item qualities of this number or higher. 0 colors all items. 2 does not color white and grey items. 101 (or "high") colors nothing.
    // Stop Editing

    $f = trim ( $find );
    $s = 'http://'.$lang.'.wowhead.com/?item='.esc_attr( str_replace(' ', '+', strtolower( $f ) ) ).'&xml';
    if ( function_exists("curl_init") ) {
    $ch = curl_init();
    curl_setopt( $ch, CURLOPT_URL, $s );
    curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
    curl_setopt( $ch, CURLOPT_CONNECTTIMEOUT, 3 );
    $output = curl_exec( $ch );
    curl_close( $ch );
    } else {
    $h = fopen( $s, "r" );
    while ( !feof( $h ) ) $output .= fread( $h, 8192 );
    fclose( $h );
    }
    if ( $output and function_exists("simplexml_load_string") ) {
    $xml = simplexml_load_string( $output );
    $link = $xml->item->link;
    $name = $xml->item->name;
    if ( $link and $name ) {
    $quality = $xml->item->quality[id];
    $class = ( $quality and ( $quality >= $commonest_color ) ) ? ' class="q'.esc_attr( $quality ).'"' : ' class="nocolor"';
    $result = '<a href="'.esc_attr( $link ).'" title="Wowhead - '.esc_attr( $name ).'."'.$class.'>'.esc_html( $name ).'</a>';
    }
    }
    if ( $result ) return $result;
    else return '<a href="http://'.$lang.'.wowhead.com/?search='.esc_attr( $f ).'" title="Wowhead - '.esc_attr( $f ).'.">'.esc_html( $f ).'</a>';
    }

    function bb_wowhead_item_link( $text ) {
    $text = preg_replace('|(<item>)(.*?)(</item>)|e', "bb_wowhead_item_search('\2')", $text);
    return $text;
    }

    function bb_wowhead_item_tags( $tags ) {
    $tags['item'] = array();
    $tags['a'] = array( 'href' => array(), 'title' => array(), 'class' => array(), 'rel' => array() );
    return $tags;
    }

    function bb_wowhead_item_header() {
    echo '<script language="JavaScript" type="text/javascript" src="http://static.wowhead.com/widgets/power.js"></script>'."n";
    }

    add_filter( 'bb_allowed_tags', 'bb_wowhead_item_tags' );
    add_filter( 'pre_post', 'bb_wowhead_item_link' );
    add_action( 'bb_head', 'bb_wowhead_item_header' ); // Comment this line out if the Wowhead javascript file already exists in the header

    ?>

    #74894
    infected
    Participant

    Thank you for the link. It looks interesting. But at the moment it seems to be full @ browserlab and they´re temporarly not accepting new users :( I´ll will try it once again later.

    #74890
    infected
    Participant

    @chrishajer: Thank you, that works fine!


    @johnhiler
    : You´re right. If i set the value to -1 i´m always able to edit the posts. But this is something i doesn´t really need.

    Okay, then there´s only one point left, the edit thing… I will have a look at the plugin and will see how it works.

    Although… I got one more point to figure out. It´s a css thing. At the moment this is my testforum: http://www.test.be-infected.de/forum/topic/test-der-bbcode-buttons

    If you take a look at the 2 post with the smilies in it, you can see that there´s a lot of space in this postings. I tried several things to strip this, but can´t find a solution. I think it´s the css class .threadpost that i have to edit. I know it sounds strange, but in this free space the bbsignatures plugin was showing the users signatures before. Could this relate to it?

    Any help is welcome ;-)

    #69733
    jurasiks
    Participant

    bbpress 0.9.0.5 and phpbb 3.0.5 at localhost:

    when i click on “converting users data”

    i have:

    SQL ERROR [ mysqli ]

    Data too long for column ‘user_url’ at row 1 [1406]

    to small? how to fix and convers users data properly?

    updated: fixed!

    ALTER TABLE bb_users CHANGE user_url user_url VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL

Viewing 25 results - 24,676 through 24,700 (of 32,432 total)
Skip to toolbar