Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 5,776 through 5,800 (of 6,775 total)
  • Author
    Search Results
  • #75281

    In reply to: bbPress 1.0 released

    grassrootspa
    Member

    Dang, it must be the theme. (can delete tags via the default Kakumei 1.0).

    I guess this means this theme uses AJAX for tag deletion (I am a BBPress newbie, don’t know where to look to know for sure).

    Any suggestions for a work around without having to switch themes? Here it is:

    Theme Name: blank 2 column Right Sidebar

    Theme URI: http://refueled.net/blank-themes/

    Description: A blank bbPress theme. Matching WordPress themes available.

    Version: 1.0

    Author: refueled

    Author URI: http://refueled.net

    #75278

    In reply to: bbPress 1.0 released

    Sam Bauers
    Participant

    Does this happen on the default theme?

    If it works there, is the tag deletion in your template attempted via AJAX?

    #75256

    Theming is not coding. Well, it’s HTMLing, which isn’t really coding.

    See: https://bbpress.org/documentation/themes/

    All you have to really do with your new theme is a style.css (in which all you have to do is specify the name of your theme etc) and the header.php (where all you need is to add the header you want). The rest of the files will be pulled from bbPress’ default theme, Kakumei.

    #75173

    In reply to: bb_meta corrupted?

    citizenkeith
    Participant

    Just woke up to find my database screwed up again.

    The “upgrade the database” message came right up in the admin panel again. The template that I was using was switched to the default. Some plugins were deactivated while others that I had switched off were activated. Incidentally, every time this happens, the exact same plugins are activated/deactivated.

    What would cause that??

    #73775
    bobbyh
    Member

    topic_tags() will invoke the topic-tags.php file in your template (or if that file doesn’t exist in your template, in the default template).

    At the bottom of the code in that template, there is a tag_form(); invocation. To not have the form appear, you could try invoking the rest of the code on that page (without that tag_form invocation).

    The “delete tag” link will appear as long as you are logged in as an admin. It won’t appear to most users when you’re not logged in. So you shouldn’t worry about that appearing. :-)

    Rhys Wynne
    Participant

    Hi all!

    I’m upgrading a plugin to use the administration menus, rather than editing within the plugin itself. I have used admin functions before (such as add_action), but for the life of me I can’t figure out why I’m having problems adding it this time around.

    Basically, on activation of the following plugin I get a “this plugin has caused a fatal error” (but it is activated), and on deactivation I get “Warning: Cannot modify header information – headers already sent by (output started at /home/britain/public_html/forum/bb-plugins/top-posters-code.php:32) in /home/britain/public_html/forum/bb-includes/pluggable.php on line 232”.

    Here is the code

    <?php
    /*
    Plugin Name: Show Top Posters (backup)
    Plugin URI: http://www.gospelrhys.co.uk/bbpress-plugin-show-top-posters
    Description: Readers with the most postes are displayed on your bbpress forum, with their names (linked to their website if they provided one). Based on the <a href="http://www.pfadvice.com/wordpress-plugins/show-top-commentators/" target="_blank">Show Top Commenters</a> plugin for WordPress by <a href="http://www.savingadvice.com" target="_blank">Nate Sanden</a>
    Version: 1.2
    Author: Rhys Wynne
    Author URI: http://www.gospelrhys.co.uk
    */

    add_action('bb_admin-header.php', 'show_top_posters_admin_page_default');
    add_action('bb_admin_menu_generator', 'show_top_posters_add_admin_page');

    function show_top_posters_add_admin_page() {
    bb_admin_add_submenu(__('Show Top Posters'), 'use_keys', 'show_top_posters_admin_page');
    }

    function show_top_posters_admin_page_default() {
    echo "test";
    }

    function show_top_posters_admin_page() {
    echo "test";
    }

    function show_top_poster_text() {
    echo "test";
    }

    ?>

    Any suggestions?

    #75105
    michael3185
    Member

    Hi Johnhiler. I tried disabling the GZip plugin, but I can see the slowdown in page loading. It’s not terrible, but it’s almost instant using GZip, so I’d rather keep it running. I guess my hoster doesn’t compress pages by default. I’ll ask them though.

    I put $bb->load_options = true; into my bb-config.php, but I can’t see any difference. Probably too small for a eyes and a brain to spot.

    #74846
    crimsonmai
    Member

    They are named header.php and footer.php in the Kakumei directory :)

    Just make sure you’re looking at the default Kakumei directory and not, for example, the alternate blue one.

    #75047

    Mad idea.

    Convert it to phpBB2 (NOT 3!) – http://forum.yetanotherforum.net/default.aspx?g=posts&t=782

    Convert phpBB to bbPress – http://www.iteisa.com/phpbb2bbpress/

    See also: https://bbpress.org/forums/topic/import-smf-to-bbpress

    If you read the SMF to bbPress thread you’ll see what machinations were needed. Good luck!

    #14857
    madmw
    Member

    Can’t find any post about this error and my SQL is quite rusted.

    Fresh install, no WP integration, MySQL 5.0.40

    SQL ERROR!

    >>> Database: forums (localhost)

    >>>>>> CREATE TABLE IF NOT EXISTS bb_vj_usermeta (

    umeta_id bigint(20) NOT NULL auto_increment,

    user_id bigint(20) NOT NULL default 0,

    meta_key default NULL,

    meta_value default NULL,

    PRIMARY KEY (umeta_id),

    KEY user_id (user_id),

    KEY meta_key (meta_key)

    ) DEFAULT CHARACTER SET ‘utf8’;

    >>>>>> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘default NULL,

    meta_value default NULL,

    PRIMARY KEY (umeta_id),

    KEY `user_’ at line 4

    Forum could not be created!

    #74557
    ced64k
    Member

    3 days that I’m trying to find a solution and finaly it works ! (WordPress 2.8 + bbPress 1.0 rc3).

    My solution, for a WordPress in the root and bbPress in a folder:

    1) I don’t use the bbPress integration plugin for WordPress

    2) Default wp-config and bb-config

    3) Simply put AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY in the two config file (and double check that it’s the same)

    4) Go to good ol phpMyAdmin and check that:

    in bb_meta: in wp_options:

    bb_auth_salt = auth_salt

    bb_logged_in_salt = logged_in_salt

    bb_nonce_salt = nonce_salt

    #74991
    daniellejosh
    Member

    WordPress address (URL) and Blog address (URL) are both set to http://iphonecustoms.com.

    I fixed the “Leave a Comment” links that were linking to my forum by changing the settings in Settings>Permalinks to “default”. (It had been set to iphonecustoms.com/forums/ somehow.)

    So the comments on my homepage actually work now… however on all my other pages, my “Leave a comment” links are still not doing anything. The comment links came built in with my “Black Splat” theme, and I tried to replace comment.php from original theme and still nothing happened.

    #74989
    daniellejosh
    Member

    yes… my links are pointing there… and I do not know why! And on this page:

    http://iphonecustoms.com/written-tutorials/iphone-3g/how-to-jailbreak-w-redsn0w-on-windows

    The comment link just keeps you on the same page but adds a “/#comments” to the end of the URL? I checked Options page, and nothing has changed.. nor does it look like any of those options would change the situation? Here are my options:

    Blog Title

    Tagline

    WordPress address (URL)

    Blog address (URL)

    E-mail address

    Membership

    New User Default Role

    Timezone

    Date Format

    Week Starts On

    any suggestions? thank you so much for your reply.

    #74961
    johnhiler
    Member

    Hmm, I don’t think so.

    The error message mentions kakumei in /bb-templates/ – that’s usually not called unless a file is missing from your active theme. Is the default Kakumei your active theme?

    #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

    #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

    ?>

    cheinyeanlim
    Member

    The plugin was designed to stop hackers from gaining access to your blog via trial and error, something which is quite common with WordPress blogs since most people use the default username login ‘admin’….

    http://www.pupuweb.com/blog/protect-blog-with-login-lockdown/

    #74600
    michael3185
    Member

    Cheers Sam, buuut… Don’t you think just putting the H2 titles in the appropriate templates makes more sense? I guess I could put;

    post_form( array( ‘h2’ => ” ) );

    here and there, but it’s adding stuff where I shouldn’t need to.

    Surely putting the H2s in the relevant templates makes more sense, as they can be edited once and forgotten? Having the H2 titles appear by default – and outside of the templates – makes no sense to me at all. Mind you, I didn’t write bbPress, so it’s only a suggestion. :)

    #74071
    llui
    Member

    johnhiler thank you for your reply. Until you brought up the point asking which plugin is displaying the information I thought it was a core bbPress feature. Yes, it is the Members Online (0.0.1) plugin that is installed.

    I don’t seem to see any related issues over at that plugin’s forum. Perhaps when I do upgrade to bbPress 1.0 the issue might ‘magically’ fix itself? I’ll report back either way.

    I’m also using the default theme and I don’t recall making any modifications to the templates that may have causes the dates to show this way but I’ll check.

    Please let me know if you have any ideas for me to check out.

    Thanks.

    Hi to all.

    I am a newbi on wwpress, I am looking at the default template and worder where can I find info/documentation on

    how to work with bbpress tags(syntax) just like wp tags?

    Can I use them on wp context?

    and the other way wp tags on bbpress context?

    Regards,

    #73608
    nielowait
    Member

    Wow, this is a bit of a headache.

    I’m busy trying to get the integration sorted out and got along quite well (WPMU, BBPress, BuddyPress combo), although I still needed to log in twice, when my luck ran out and now I can’t seem to log into bbpress. Bit annoying. I’ve reinstalled the whole thing, but still no luck. Trying to debug it at the moment, but it’s tough going.

    I did come across something that needed fixing though; I’m not sure where to submit this fix, so I’m posting it here for now.

    The bug was this; the latest release candidate never displayed the dropdown from which one selects the keymaster during installation due to a mistake in line 2569 of bb-admin/includes/class.bb-install.php.

    Previously the line was;

    $wp_administrator_meta_key .= $this->data[2] . ‘_’;

    which meant the meta_key it tried to query the db on looked something like this; ‘wp_capabilities1_’.

    I changed it to:

    $wp_administrator_meta_key = $bbdb->escape( $bb->wp_table_prefix . $this->data[2] . ‘_capabilities’ );

    so now the key will be ‘wp_1_capabilities’.

    This is obviously (when you look at the code) only relevant when setting the default blog id.

    Hope it helps someone!

    floch69
    Member

    Hi,

    I’ve been searching this forums yet but could’nt find any explanation to my problem so here it goes:

    I’m a newbie at developping for bbpress, and trying to customize it for my needs.

    First, I’m running bbPress 0.9.4; I’m also using a copy of the default theme that i’m modifying (located in my-templates/mysite).

    I’ve attached a hook to the action ‘bb_index.php_pre_db’ which is ran on bbpress/index.php; My goal is to display only forums (without latest discussions and sticky topics) so i’ve copied the content of index.php and removed calls to latest discussions and sticky topics:

    add_action('bb_index.php_pre_db', 'home');

    function home(){

    $forums = get_forums(); // Comment to hide forums

    do_action( ‘bb_index.php’, ” );

    bb_load_template( ‘front-page.php’);

    exit();

    }

    The problem is that once in the file front-page.php, the $forums variable doesnt exists anymore. Actually i tried to print it out in the bb_load_template as well and the variable is empty too. It seems that because i’m using a hook (called by do_action), globals variable do not exists anymore in this context. I might be wrong but i’m actually stuck to this point and can’t really move forward. Any tips?

    Cheers.

    #74776
    Sam Bauers
    Participant

    Put this into your themes functions.php file and call it at will. It may screw up with pingback posts, not sure though.

    function my_post_author_avatar_profile_link( $size = '48', $default = '', $post_id = 0 ) {
    if ( ! bb_get_option('avatars_show') )
    return false;

    $author_id = get_post_author_id( $post_id );
    if ( $link = get_user_profile_link( $author_id ) ) {
    echo '<a href="' . esc_attr( $link ) . '">' . bb_get_avatar( $author_id, $size, $default ) . '</a>';
    } else {
    echo bb_get_avatar( $author_id, $size, $default );
    }
    }

    #74676
    johnhiler
    Member

    The settings have a line that looks like this:

    $bb_attachments=”participate”; // minimum role to download original = read/participate/moderate/administrate

    If you’re signed in, can you download the attachment? If so, the default for downloading content was probably left to “participate”… which requires downloaders to be registered. That’s why that “Sorry, download is restricted” message is appearing.

    If that’s the case, you will want to take set the download role to read, not participate. Good luck!

    #74409

    Inching forward.

    When I share tables, the default role of the admin of forums has a subscriber role in capabilities, thats why the admin access is lost.

    Right, but WHY does that happen to you when it doesn’t to everyone else (that I’ve heard of) who sets up bbPress/WordPress the way you described :) It’s weird and I wonder what happened. It’s not the different wp_/bb_ prefixes, I’ve tested that.

Viewing 25 results - 5,776 through 5,800 (of 6,775 total)
Skip to toolbar