Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 30,751 through 30,775 (of 32,491 total)
  • Author
    Search Results
  • #1604
    chilifrei64
    Member

    I migrated from phpbb to bbpress. phpbb had a watch topic mod which would send an email whenever a reply happens on a topic. I was just wondering if there is like a “Watch Topic” plugin. I know there is a summon user but this does not help me because I want to summon whole groups of people. I know bbpress is young, I was just wondering if anybody was working on something like this. My users dont use RSS unfortunately. :-(

    #53772
    Null
    Member

    so how come search isn't enabled when you first install bb? It's obviously there - but you have to add it in? What about some css for the style sheet?

    ardentfrost’s way is good enough, though you can’t use search-form.php anymore for normal use any more. They implemented search at this forum as well, so how did they do it?

    #1601

    Topic: Permalinks

    in forum Troubleshooting
    daniel8802
    Member

    Hi guys –

    What is the section of code that I need to past into my .htaccess if my webserver cannot support +multiviews? I tried saving the whole file as .htaccess, but it didn’t work. Any ideas would be great, thanks!

    #1600
    Trent Adams
    Member

    First off, an example can be found here. Download the bbPress YouTube plugin! Now the disclaimer…….

    This plugin will only Key Masters and Administrators to put YouTube videos into posts. Why only those two groups you might ask? Well, because this plugin right now allows ALL embeds and objects out there to be put into your forum posts and I thought this might be a bit much for the general public! This plugin was started by myself and then mdawaffe finished it off for me. Nothing special, but the next version will have the code to only only YouTube videos in an easy way, but for now you need the entire embed code from YouTube, like this:

    <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/lh5316fcit0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/lh5316fcit0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

    If you decide to take out the conditional for adminstrators, do so at your own risk! It is nothing special, but at least will do until we can get a better version!

    Enjoy!

    Trent

    #55782

    In reply to: Slug based permalinks

    Trent Adams
    Member

    So literally:

    $bb->mod_rewrite = 'slugs';

    That works with the latest TRAC?

    Trent

    **Edit** Nevermind, it does works!

    #55779

    In reply to: Slug based permalinks

    Sam Bauers
    Participant

    It’s in the core code, no need to patch. Just grab the very latest version via Subversion.

    #55777

    In reply to: Slug based permalinks

    bassetts
    Member

    Just what I have been waiting for real pretty permalinks. Thank you =)

    #1597

    Topic: Slug based permalinks

    in forum Plugins
    Sam Bauers
    Participant

    Now available in the latest build in subversion.

    Get permalinks like this:

    http://www.example.org/forum/my-cool-forum

    …and this…

    http://www.example.org/topic/मैं-काँच-खा-सकता-हूँ

    …and this…

    http://www.example.org/profile/sambauers

    All with the flick of a variable…

    bb->mod_rewrite = 'slugs'

    …set in config.php

    #54661
    Trent Adams
    Member

    Actually found a good one! Check this out:

    Engtech’s SVN Tutorial

    Trent

    #55754
    Sam Bauers
    Participant

    Include the following at the top of the new file:

    require_once('../bb-load.php');

    You may have to adjust the path a little to correctly reference the file.

    That should give you access to the whole API, including the $bbdb object for manipulating the database.

    #53812
    Atsutane
    Member

    The fix i already put inside the plugin seem not working. :( Maybe in the future bbpress should automatically fill up the display_name

    Anyway i try to see what i can do with that.

    #55770
    bassetts
    Member

    You have to create a folder called my-plugins inside the bbpress root e.g. /bbpress/my-plugins/ and then upload the plugin to that folder.

    #55757

    In reply to: multiple forums

    Trent Adams
    Member

    I am afraid not. It would require you manually creating a forum for each site. If you wanted them all to have different sites, it would require a bbPress install for each and every user with different databases. If someone hacks the code to a MU version of bbPress maybe, but right now, not that I know of.

    Trent

    #1591

    Topic: Smilies plugin?

    in forum Plugins
    kentpaus
    Member

    I’m missing a smilie plugin. Has anyone made one yet? If not I will try to make one ASAP :)

    Edit: Sorry! Fonund one now. Will try it out :)

    #55753
    Null
    Member

    Hmm well so the easiest way is to keep the external file containing:

    <?php
    $id = $_POST['id'];
    $content = $_POST['content'];
    echo stripslashes(htmlentities($content)); ?>

    This file returns the edited text (this works), but how can I let it safe the variables to the database at the same time?

    It’ll have to save: $content to the table bb_menu -> item

    where $id = edit_id

    Tried some stuff, but couldn’t get this updated into the db :(

    #53809
    Atsutane
    Member

    Glad it work perfectly for you :)

    #55761

    In reply to: What happened?

    Sam Bauers
    Participant

    Turn off permalinks in the config.php file

    $bb->mod_rewrite = false

    Or add the appropriate entries to your .htaccess file as described here

    #1589

    Topic: What happened?

    in forum Installation
    daniel8802
    Member

    Hi guys … I have wordpress up and running on my site, but I tried to get bbpress working, but something isn’t quite right I think. Am I doing something wrong? You can check it out at rigelastronomy.com/bbpress … thanks! I’m new to bbpress, but love wordpress :)

    #53806
    Atsutane
    Member

    FROM _bbtopics

    it seem to me your bb table prefix kinda mess up. Try check back inside option page. I also using wp 2.1.2 and bb 0.8.1, and still i can update my option :)

    Try deactive and reactive the plugin back .. maybe that gonna fix it.

    @fel64

    thanks i will keep that in mind :)

    #1586
    Null
    Member

    Hi,

    I am currently upgrading my bbMenu plugin. You can now edit the titles en safe them to you db. The problem is, the last part I can’t get the saving to work.

    In the JS file I have now:

    var url = 'edit.php';

    This file (edit.php) is called when someone renames the menu item and has the following code:

    <?php
    $id = $_POST['id'];
    $content = $_POST['content'];
    echo stripslashes(htmlentities($content)); ?>

    Now I don’t want to have an external file so I copy past this code into my bbmenu.php and changed the var url in the JS file too:

    var url = '../my-plugins/bbmenu.php';

    So it now calls the bbmenu.php but this gives some errors, cause it will reload the plugin file:

    Fatal error: Call to undefined function add_action() in /bbpress/my-plugins/bbmenu.phpon line 30

    How to solve this?

    If this aint possible what do I need to add to edit.php so it also safes the stuff to the db?

    Hope you guys can help me out

    #55729
    peiqinglong
    Member

    Did you specify to load the admin interface? Make sure this line is inside your bbpress header somewhere: <?php if ( is_bb_profile() ) profile_menu(); ?>

    #55724
    peiqinglong
    Member

    The first problem is in your header, you have:

    <php bloginfo('stylesheet_url'); ?>, it should be <?php bloginfo('stylesheet_url'); ?> and with the second import, I'm not sure why style.css is just floating around outside. It should be pointing to your forum so it should be: @import url(“/archas/ram/wordpress/forum/bb-templates/your themestyle.css”);`

    The second problem is you have to edit EVERY file in the template. Make a new folder in bb-templates, call it whatever you want and copy all the files from kakumei theme except for images directory into your new folder and change all the files that have <bb_get header()> to <get_header()> and don’t forget the footer and sidebar.

    The third problem is you need to style the bbpress stylesheet to match your theme…

    #55723
    archasek
    Member

    in bb-admin panel, it shows only the code of php file.

    what bout other questions ?

    #53802
    fel64
    Member

    Haha, Atsutane, fantastic. :D Continually improving this plugin is great :D

    You spelt “integrated” intergrated by the way – luckily consistently through your code, so it works okay anyway. ^^ Better English is also “in” category rather than inside. Just if you want to know. :)

    #53801
    Atsutane
    Member

    Update the plugin already. Now u can set the length of the text from BbLD option page. Get it from bbPress plugin page.

    Refer to changelog for older update. Hope this gonna solve your problem :)

Viewing 25 results - 30,751 through 30,775 (of 32,491 total)
Skip to toolbar