Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,751 through 31,775 (of 32,462 total)
  • Author
    Search Results
  • #52752

    In reply to: bb code?

    Trent Adams
    Member

    I would imagine that this will not occur in the core code. This is something that can be added through a plugin (as with image plugin) and will be worked on by members of this community as time progresses. It shouldn’t be too long for something like this to surface, but it will take a little time.

    Trent

    #1132
    Rod
    Member

    one question … I take simply …

    I have several plugin about layout on my WP posts …

    I can for example do this

    [video]url-youtube-video[/video] … and I have a video with all the good code …

    or …

    [name-of-my-link->url-of-my-link] and my link has the good name … The question is … with integration, is it possible, by default, the forum has these possibilities ?

    #51676
    chrishajer
    Participant

    Hi again. It appears the notification includes the name of the member who started the topic, not the last poster? All the notifications I’ve received have listed the member who started the topic.

    I guess “By:” in the notification could mean the thread was started “by” or the reply was “by” – that part is ambiguous. Was this supposed to send the name of the last person who posted?

    Seems like this will send the name of the member who started the topic:

    $topic->topic_poster_name

    Is there a way to see who the last comment was posted by to see if it’s worth logging on to see the comment?

    #1131

    Topic: bb code?

    in forum Plugins
    vaelrith
    Member

    Are there any plans for integrating bb code instead of using the “Allowed markup” in posts? Or is there a way to make a plugin for this?

    #52633
    ardentfrost
    Member

    The thing is, they kinda F with each other. The way they’re implemented is they setup the profile keys seperately (via a filter). I need a way to figure out how to call the profile keys, return them and ADD one to it.

    Anyone know how to do that? S010 maybe? :)

    #52620
    Null
    Member

    Already tried that (forgot to put it here too):

    $pforum_id = $bbdb->get_var("SELECT pforum_id FROM $bbdb->portal");

    But it doesn’t get the 1 out of the db. The query is good cause in phpMA it does return the 1. I get an error using this:

    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 'ORDER BY topic_time DESC LIMIT 0,10' at line 1]

    SELECT * FROM bb_topics WHERE forum_id = ORDER BY topic_time DESC LIMIT 0,10

    As you can see, the 1 isn’t pulled/ used (WHERE forum_id = ?)

    #1126

    Topic: My forum

    in forum Themes
    veb
    Member

    This forum I am creating for a small indie game (www.toribash.com) and SMF just didnt cut it. Way too difficult to change core code, and to me, make new plugins!

    This is a temporary link, seeing I’m not anywhere NEAR finnished. As you can see I am using the emotions plugin, avatar plugin, PM plugin and a few of my own.

    http://veb.bounceme.net/bbpress/

    Comments welcome :)

    #52630
    veb
    Member

    I think combining them would do the job nicely, and even having it so you can have a small image as a signature too :)

    #51675
    chrishajer
    Participant

    I may have downloaded the wrong version. This is from the file notification_all.php

    * Plugin URI: http://www.la-school.com/2006/bbpress-notification/

    * Version: 1.1

    Oops! “notification all” – haha

    I will download the new version now, with the enhancement on the last poster’s name. Thanks a bunch. Merry Christmas.

    #52273
    ardentfrost
    Member

    Anyone who is having trouble with the server please do this:

    -open a command line and type tracert www.rayd.org

    -Copy the resulting text and email it to thansen@qualitytech.com

    -If it starts timing out over and over, just press CTRL-C to stop the process, copy and send it on.

    Due to spammers, sometimes a lot of the countries in the far east get blocked. Sending that tracert text will allow us make sure legitimate users are allowed through the firewalls.

    Thanks!

    #52329
    implicated
    Member

    Your PHP version is rather old, use this:

    if (!function_exists('file_put_contents')) {

    function file_put_contents($filename, $content) {

    if ($fp = fopen($filename, 'w')) {

    $result = fwrite($fp, $content);

    fclose($fp);

    return $result;

    }

    else {

    return false;

    }

    }

    }

    #51673
    chrishajer
    Participant

    Enhancement request: could the notification include the name of the member who made the post?

    So,

    There is a new post on: POSTTITLE

    By: MEMBERNAME

    URL

    #52572
    weirdtherapy
    Member

    I should have made that sooner because it could have caused confusion. The Link in the first posting no longer shows the first template because I changed the template, cause of problems that coud happen with google.

    That’s how the first one looks like:

    http://www.weirdtherapy.com/images/borderline-green-01-shot.jpg

    can some Mod change the link in the first posting pls? :)

    I also added a note at the template that people should keep the policys in mind – I will try to make one that is more policy friendly :)

    #52629
    ardentfrost
    Member

    Alright veb, it’s updated… so make your change ;)

    Although it MIGHT mess you up a little because I think your plugin will have to be added into mine when Avatar is used (open the new bb-avatar.php file and you’ll see why). Plus, with the new release of Avatar, if people do Signature the way you describe, it won’t work.

    I don’t know, what do you think? Maybe we should just combine the two, or have multiple releases. I don’t know how people are going to want to implement.

    #52628
    ardentfrost
    Member

    Glad you used my code as a base :) I will be updating my Avatar code very soon so that functions.php no longer has to be changed. I’ll expect you to update this when I finish ;)

    #52702

    I think this would be an idea for later versions (around 1.0 or so) … very nice idea =)

    #52270
    nekketsu
    Member

    Table creation is automatic. It should install if you navigate to your domain/pm.php or put the message code on your front page.


    Not automatic for me :/

    #52619

    You want to read out the two single vars from the db, am I right?

    So I suggest using $variable = $bbdb->get_var("SELECT...");.

    #52269
    drtech
    Participant

    I also had to hard code message.php for it to work.

    <– “if (wp_knu_)

    $touser = $bbdb->get_row(“SELECT * FROM “.wp_knu_.”users WHERE ID = $toid”);

    else

    $touser = $bbdb->get_row(“SELECT * FROM “.bb_knu_.”users WHERE ID = $toid”);

    pm_user_form( $touser, ” );

    exit;”–>

    #52267
    Trent Adams
    Member

    message.php is the main one. That is where you would hardcode it.

    Trent

    #52266
    suleiman
    Member

    hmmm…I’m having the same problem, where I get the error about the bbpress database not existing. I’m integrating with WPMU instead of regular wordpress but that shouldn’t really cause an issue should it?

    Is there a place we can hardcode it to wp_ instead of bb_?

    #52700

    In reply to: Plugin: Warn users

    veb
    Member

    That about sums it up, sorry I didn’t mention what it actually did. :D

    #52698
    Trent Adams
    Member

    If someone can help me with the code to call the right browser in a plugin, then I will work on the templates needed to show up in the browser. It is just the plugin code and calling /mytemplates/mobile/ for the templates that would be difficult for me!

    Trent

    #52519
    chrishajer
    Participant

    I was able to edit that file and the option is removed when creating a new topic, and old threads will still accept replies.

    Here is the change I made:

    Remove lines 22 through 28:

    <?php if ( is_tag() || is_front() ) : ?>

    <label for="forum_id"><?php _e('Pick a section:'); ?>

    <?php forum_dropdown(); ?>

    </label>

    <?php endif; ?>

    and insert:

    <input type="hidden" name="forum_id" id="forum_id" value="1" />

    so that it looks like this:

    <?php endif; ?>

    <input type="hidden" name="forum_id" id="forum_id" value="1" />

    <p class="submit">

    That assumes your forum_id is 1. You can check the HTML source of your rendered page to verify the forum_id.

    Making those changes worked for me. The drop down for selecting a forum to move a topic is still available for admin.

    #52518
    basinalders
    Member

    I tried that first thing. The problem is that removing that section of the code makes every thread appear “closed” to replies.

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