Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,351 through 24,375 (of 32,468 total)
  • Author
    Search Results
  • #76113

    In reply to: Integration

    I have the same problem. I have integrated them and i can use wordpress users to login, but if i logon to wordpress i’m not loged into bbpress :-(

    Wp –> 2.8

    bbpress –> 1.0.1

    #71466
    Murali N
    Member

    This is what I made…

    Does this works…

    ………………………………………………………………………………………………………………………………………

    if ( !function_exists('bb_mail') ) {
    function bb_mail($to, $subject, $content, $headers=''){

    require_once('PATH_TO/Swift/lib/Swift.php');
    require_once('PATH_TO/Swift/lib/Swift/Connection/SMTP.php');

    $swift =& new Swift(new Swift_Connection_SMTP("smtp.gmail.com",587));
    $smtp->setUsername("telecomdiary.forums");
    $smtp->setpassword("xxxxxxx");
    $swift =& new Swift($smtp);
    $from = new Swift_Address("telecomdiary.forums@gmail.com","Telecom Forums | by Telecom Diary");

    $message =& new Swift_Message($subject, $content);
    if ($swift->send($message, $to, $from)) {return true;}
    else{ echo "Message failed to send to ".$to." from ".$from;}
    $swift->disconnect();
    }
    }
    ?>

    …………………………………………………………………………………………………………………………………………………….

    Any replacements require??

    #76117
    chrishajer
    Participant

    If the plugin is for google ads, just change that portion to your ad code. All the plugins do is embed code wherever you want (depending on the plugin.) If you want to use some other ad code, just change or configure the plugin to do that.

    If you are using OpenX, just insert the code into your templates wherever you want to see the ads, as johnhiler suggests.

    #75833
    _ck_
    Participant

    I sure hope you have really good backups because you are just begging to have your entire database corrupted by forcing my plugins to work with 1.0

    see this part:

    Beginning upgrade…
    Tags copied to taxonomy tables: bb_upgrade_1080
    Display names populated: bb_upgrade_1090
    Index forum_stickies dropped: bb_upgrade_1100
    >>> Done

    That’s where bbPress is trashing all your current data by copying over the old data from your 0.9 tables, like the topicmeta and old tag tables, back into bb_meta.

    #76097
    birdy404
    Member

    Thanks a lot guys.

    @ Chris…i know how to add new forums etc. what i’m trying to figure out is how to add a new directory to the plugins to enable ads. i’ve downloaded a plugin and the read me file says:

    “Unpack the zip to your /my-plugins/ directory”. WHERE IS THAT?

    “Copy and paste this: <?php bbad_ad_block(); ?> as the first line of post.php (before <div class="threadauthor">) in whichever theme you are using. I.e. yoursite.com/forums/bb-templates/kakumei/post.php.”

    i’m confused. please help.

    thanks.

    #75832
    citizenkeith
    Participant

    As of yesterday, I was using the following plugins:

    Allow Images 0.7.1

    BBCode Buttons Toolbar 0.0.9

    BBcode Lite 1.0.3

    bbPress Smilies 0.0.8

    Human Test for bbPress 0.9.2

    Members Online 0.0.1

    Topics Per Page 0.0.5

    Unread Posts 0.9.3

    Autoloaded:

    Hidden Forums 0.0.9

    Quote (mod by ck) 0.2mod

    Year Long Cookes – Remember Me 0.0.2

    I didn’t have a problem for days. This morning, I uploaded and activated the following:

    bbPress Signatures 0.20

    New User Notification Email 0.0.2

    Hidden Forums Tag Filter 0.0.6

    Just a few minutes ago, I tried to post to the forum, but I was logged off after hitting “Send Post” and my post didn’t make it. I then went to the admin panel and had the dreaded “Database Upgrade” message again. After upgrading, I checked my plugins. They were all fine, except Members Online,

    Topics Per Page and Unread Posts were deactivated.

    My guess is that there’s a problem with New User Notification Email.

    Thoughts?

    You’ll need to add this to your bb-config.php file, to share logins:

    define('WP_AUTH_COOKIE_VERSION', 1);

    Should be fine, I was running that pair up until yesterday :)

    #76087

    May be you are out of track and I guess its a new forum setup. How about deleting the database and all the files and do it again. Make sure you do empty the database and recreate the sub-folder forum.

    #76085

    Did the installation went smooth or any issues were there? I would recommend checking the database if it really contains the tables created and then the bb-config.php file to check if its filled with required data.

    smi1ey
    Member

    ashfame’s guide is pretty clear on the steps. For me, the key was going to http://YOURSITE/wp-admin/options, grabbing the AUTH keys there, then pasting them in the correlating section of the bbPress config.php file in the install. Once they both had the exact same cookie codes in their config files, it worked like a charm.

    #76005

    Nice ;)

    #73758

    In reply to: functions.php

    _ck_
    Participant

    You can emulate the functions.php in theme directories quite easily in 0.9

    Put this into a regular plugin and I suggest naming it _functions.php with a leading underscore so you don’t even have to activate it. Install it and then when a functions.php is found inside the currently active theme, it will be loaded with the regular plugins. Since it’s so tiny, if you have a collection of mini-plugins you can just put it in there instead.

    <?php
    /*
    Plugin Name: functions.php
    */
    $template_functions_include = bb_get_active_theme_directory() . 'functions.php';
    if ( file_exists( $template_functions_include ) ) { require_once( $template_functions_include ); }
    ?>

    In theory you might even be able to put that code into the header.php inside of the templates if you are making a theme you want to distribute for 0.9

    #76063

    If changes made by you are not reflecting in CSS, then there is something which is over riding it. You need to catch that.

    Like the priority order in Inline, Internal and then External.

    Read more here – http://www.plus2net.com/html_tutorial/css-types.php

    Hope that helps ;)

    #76002

    @maramac

    Did you read my reply over bbshowase? Thats the way it can be solved. To help you in your aim, install Firebug on Firefox. Run it using F12 and then you can catch the DIV you want.

    Hope that helps ;)

    #75690
    _ck_
    Participant

    Just for “fun” I’ve tallied the bbPress release history so far:

    2009-07-08  03:59    1.0.1
    2009-07-03 03:54 1.0 Bechet
    2009-06-17 13:09 1.0-rc-3
    2009-06-10 14:41 1.0-rc-2
    2009-06-03 23:02 0.9.0.5
    2009-05-12 13:38 1.0-rc-1
    2009-01-07 20:00 1.0-alpha-6
    2009-01-02 05:06 0.9.0.4
    2009-01-02 05:05 1.0-alpha-5
    2008-12-14 10:21 1.0-alpha-4
    2008-12-10 02:20 0.9.0.3
    2008-10-08 20:04 1.0-alpha-2
    2008-08-09 13:11 1.0-alpha-1 (backpress)
    2008-04-25 11:41 0.9.0.2
    2008-04-03 10:54 0.9.0.1
    2008-04-02 22:45 0.9 Brubeck
    2008-01-02 20:03 0.8.3.1
    2007-09-26 19:59 0.8.3
    2007-06-19 16:04 0.8.2.1
    2007-06-18 19:06 0.8.2 (pretty permalinks, plugin management, sub-forums)
    2007-02-21 01:53 0.8.1 (timezone configuration, forum deletion)
    2007-02-08 15:47 0.8 Desmond
    2007-01-15 14:56 0.75
    2007-01-05 20:01 0.74
    2006-10-27 18:51 0.73 (installer, rewrite rules, multi-language support, new template)
    2006-10-13 20:38 0.72 Bix (first public release)
    2004-12-26 03:20 0.70 (live on WordPress.org 2004-12-28)

    thion
    Member

    Being there, read that – still it’s not it. I’m trying to figure our the BB_Query function by reading about WP_Query on Codex ;). Anyone have other ideas?

    #75754
    chrishajer
    Participant

    I think this will get you the numeric topic id:

    <?php topic_id(); ?>

    Just put that in your template file wherever you want to show the id. This is with version 0.9 and the id is echoed, so there’s no need to do that. Just put it next to topic_title(); wherever you want to show it.

    #76051

    Place the navigation DIV code just after the

    <div id="header">
    .......................
    </div>

    and before the

    <div id="main">
    <?php if ( is_bb_profile() ) profile_menu(); ?>

    #15299
    azcs
    Member

    where would i put this code? in the header?

    <div id=”navigation”>

    <ul id=”nav”>

  • “><?php _e(‘Home’,’rag’); ?>
  • About
  • InterviewscompetitionOur projects
  • <div id=”search”>

    <form method=”get” id=”searchform” action=”<?php bb_option(‘uri’); ?>search.php”>

    <div>

    <input type=”text” size=”38″ class=”search” id=”s” maxlength=”100″ name=”q” value=”<?php _e(‘Search the forums…’,’rag’); ?>” onfocus=”if(this.value==this.defaultValue)this.value=”;” onblur=”if(this.value==”)this.value=this.defaultValue;” />

    <input class=”search-submit” name=”submit” type=”submit” id=”search-submit” tabindex=”8″ value=”<?php _e(‘Go’,’rag’); ?>” />

    </div>

    </form>

    </div>

    </div>

#76020

In reply to: theme help please

Please don’t use Capital letters. Its considered as shouting.

Glad that you did it. :)

#74438

@Jason

The issue is that I don’t know where to add those. Read this post.

As soon as I add the include line like

locations /forums/
{
include ...
}

even my WP stops working.

#75913
johnhiler
Member

@ashfame – Have you studied WordPress plugins at all? The approach is pretty similar, and there’s a nice codex over there too:

https://codex.wordpress.org/Writing_a_Plugin

#75992

Are you on v1.0 now? If yes you are out of luck as most of the plugins won’t work with the newer version due to a lot of code which has been changed in bbPress.

P.S. – You can email me at ashishsainiashfame@gmail.com

#76018

In reply to: theme help please

<div id="blah">
<div class="box">
Content
</div>
<div class="box">
Content
</div>
<div class="box">
Content
</div>
</div>

These are containers to hold data. A bigger container can have a smaller container ;)

Page contents are divided in DVIs and then styling to these contents is applied through CSS.

Got it now?

#76016

In reply to: theme help please

Now that DIV you need to find out yourself.

Install Firebug (Firefox Add-on).

Open your forum and press F12.

Now find the respective DIV.

You are new to CSS. So go by Hit n Trial method ;)

Viewing 25 results - 24,351 through 24,375 (of 32,468 total)
Skip to toolbar