Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'updated'

Viewing 25 results - 1,926 through 1,950 (of 2,086 total)
  • Author
    Search Results
  • #59176

    In reply to: plugin: Markdown

    _ck_
    Participant

    “her” plugin is for admin… yes… and very dangerous to override to allow visitors to have that kind of override…

    Do you want me to port “TextControl” to bbpress?

    It has markdown among many other options.

    http://dev.wp-plugins.org/wiki/TextControl

    http://ckon.wordpress.com/2006/08/14/updated-version-of-text-control-that-works-with-wp-21/

    #58957
    _ck_
    Participant

    Just tested a youtube embed copied right from their site and it works tested in IE and Firefox.

    I don’t use the default bbpress template however, I wonder if that is affecting it somehow.

    Are you using the updated v0.02 that I posted, not v0.01 ?

    If it still doesn’t work, can you view source on the outputed page and copy just the part with that one post with full html here (between code tags obviously) so I can see what it is doing?

    #2079
    Sam Bauers
    Participant

    The Support Forum plugin has been updated to allow the assignment of individual forums as support forums, instead of your whole bbPress install.

    So if you have a bbPress site with two forums:

    1. Jokes

    2. Support

    Then you can add the Support forum capabilities to just the second forum, or the first one if you like, or both.

    Available now here:

    http://bbpress.org/plugins/topic/16

    #52349
    statusquo
    Member

    Hi all I also get an error on like the one experienced above:

    Fatal error: Call to undefined function: file_put_contents() in phpbb2bbpress.php on line 383

    Can anyone tell me how I can resolve this.

    I also notice that this converter has not been updated, is it going to be anytime soon?

    AND whilst converting WHY does it STATE that all emails are being forwarded to SPAMMERS? (Can’t remember the exact words). Is this meant to be a joke?

    Thanks in advance.

    statusquo
    Member

    Hi all

    I am interested in moving my forum from Punbb to bbpress as my site is powered by WordPress.

    The only converter that I could get my hands on is the phpbb converter. However I seem to be encountering errors whilst attempting to import phpbb database.

    The converters do not seem to have been updated and are stated to be compatible with the earlier 0.73 release.

    Where can I get (download) earlier releases on bbpress especially version 0.73. I intend to update to the current release as soon as I import all of my posts.

    Thanks in advance.

    #58739
    so1o
    Participant

    I fixed this and have updated the plugin.. thanks for reporting

    #57512
    roycifer
    Member

    try twitterfeed.com. twitter feed auto-posts to twitter when an rss feed gets updated. works with any rss feed!

    #58079

    In reply to: bbSync

    wduluoz
    Member

    @gspark001 lets say you have a wordpressmu up and you want a place where people can see posts from all of the WP installations. I run a family site. Some prefer to read each Website others prefer to look at the forums for updated info.

    I had phpBB connect for the same reason.

    @fel64 I keep getting a get_user error when I try to post. It seems to be setup correctly, but when I post it gives:

    Fatal error: Call to a member function get_user() on a non-object

    and references functions.php

    #57674

    In reply to: Tags not separating

    Arlo
    Member

    I updated to .8.2.1 and this issue isn’t resolved; in fact, it’s worse. I re-hacked the line to read

    $words = explode(' ', $tags);

    It no longer strips out commas. So a user entering this for tags in a new post:

    “one, two, three four five”

    returns these tags:

    one,

    two,

    three

    four

    five

    Any ideas how to fix this?

    #2005
    Ivan
    Member

    Hi.

    I updated to 8.2.1 and i have problems with the plugin Google Sitemap Generator v.6

    My forum:

    u2fanlife.com/foro

    My sitemap: http://u2fanlife.com/sitemap.bb.xml

    I saw in the sitemap these URLs:

    <url>

    <loc>://?</loc>

    <lastmod>2007-04-02</lastmod>

    <changefreq>monthly</changefreq>

    <priority>0.014705882352941</priority>

    </url>

    What happens?

    Thanks!

    #58507
    quigley05
    Participant

    i updated the .htaccess file to this http://pastebin.ca/582386 and now i have the “Internal Server Error” everywhere http://www.bqtrademark.com/

    #58544
    yur0k
    Member

    Ok, guys. I got the same problem.

    For a new topic to appear in a drop-down list just click on “Forums” link to update current page and drop-down list will be updated. Hope, this issue will be resolved in next release.

    #58543
    rosebud
    Member

    Well, this is what I’ve got…

    1. Are the forums in a flat list or a hierarchical structure? Yes, they are. The ones I’ve already dragged to be sub-forums.
    2. Already done
    3. Already done
    4. Already done
    5. Go to some other admin page. Yes.
    6. Go to Content -> Forums again. The forums still appear in a hierarchy. Everything is fine so far.
    7. Go to your site’s front page. Is there hierarchy? Nop. Is the forum you put at the bottom still at the bottom? Yes.

    At this point I thought this had something to do with the css because the xhtml structure (front-page.php) was indeed updated. I checked the css and I found I had forgotten to put the #forumlist tr td div.nest . Done that. Checked… but nothing. I refreshed, cleared cache and nothing.

    I then deactivated the Forum Restriction plugin and voilá. The forums where nested. In the admin section, in the “Forum Parent” dropdown now everything was fine. All the forums listed. It was strange since I have already deactivated the plugin before without results. In the front end it was explained by the missing css, but in the backend I really don’t know.

    Thanks mdawaffe for your time.

    ps: I tried activating the plugin again, and now I see the front page list of forums in hierachy. Weird. However, when I acces the parent forum, there is a table at the bottom with the name Subforums, but it is empty. When the plugin is deactivated the list is NOT empty. So it is apparently that plugin.

    #58538
    M
    Member

    Having the same problem here, and it’s not a theme issue. I updated my front-page.php to no avail, and switching back to the kakumei theme has no effect. Have not played with any plugins yet (have Forum Restriction and a few others). Hopefully someone will have an answer before I have time to check this out further.

    #1938
    maphew
    Member

    Hi, bbPress appears to run well on the popular http://sourceforge.net/, with the notable and problematic exception of emailing users passwords, both on registration and for password resets.

    A thread from last year posted a workaround for new users, bypass email and show users their generated password in the browser. http://bbpress.org/forums/topic/82?replies=14#post-349

    However the patch no longer applies, or at least I couldn’t see how and where to apply it. There seems to have been quite a bit of code change in the last 7 months, and the fellow who posted that patch seems to have chosen a different route as the forums are no longer there on his site.

    Even if this patch could be updated to apply to the current bbPress code base however it would not deal (I think) with the also much needed function of resetting passwords.

    Sourceforge has posted a workaround for projects who need to use email registration, basically queue the messages up and fire them off in a cron job. http://sourceforge.net/docman/display_doc.php?docid=4297&group_id=1#email

    I personally would be happy to see that implemented in bbPress, as a plugin since it’s SF specific, however I’ve seen a number of other threads which indicate a more generic solution would be useful:

  • http://bbpress.org/forums/topic/807?replies=6#post-4906
  • http://bbpress.org/forums/topic/1213?replies=2
  • http://bbpress.org/forums/topic/1089?replies=2#post-6870

    Will someone please help? I can’t write the code to make it so, but am willing to trade time with someone who can. Or perhaps you’d like a nice map or poster from the Yukon? Just let me know what you’d like.

    Thank you for your time and reading this far,

    -matt

    For what it’s worth, the scenario that got me started on this was being locked out of my own forum while testing, exactly like this fellow:

    http://bbpress.org/forums/topic/770?replies=3#post-4650

    thank you Trent for the workaround posted there!

#57440
davidbaldiwn
Member

AHHH

I’ve copied what you have above, and modified it slightly (to match my site), but I am not getting updated titles on topic pages like:

http://ppacp.org/forums/topic.php?id=1&page&replies=1

I’m assuming this has something to do with the templete files for bbpress, so I looked at the top of the files and it looks like this:

<?php get_header(); ?>

<?php global $forumpage;
$forumpage = TRUE; ?>

I changed all the files that had <?php bb_get_header(); ?> from the “kakumei” folder.

Am I doing something wrong?

“confused”

-Baldwin

#57435
davidbaldiwn
Member

Anouther stuipd question:

How do I make the title update to the appropriate page?

When in WordPress the title in the browsers “title bar” is updated with the title of the particular post. In bbPress this isn’t happening. I’m assuming this has to do with the header change, but this topic has the correct title in the titlebar, so there must be some way to fix it.

If Google didn’t exist I wouldn’t care…

-Baldwin

#1847
ardentfrost
Member

Hey guys, remember me? :)

I got slammed last semester with classes, working full time, changing jobs, being newly married (and all the stuff that comes with that… if you’re married, I’m sure you know what I mean)… so I completely had to lay off playing with bbpress (hence, none of my plugins have been updated in a few months).

Well, once the semester was over and things settled down for a week, I decided to revamp my site. My site is a home for 6 blogs, forums, mail, etc… and it is all tied together via the front page. Once I got that looking good, I moved to the forums which I just made live today (which means I’m sure I’ll find more stuff that needs to be adjusted over the next week).

I revamped the whole nav system for the forums. It’s all done through a simple and small menu at the top. Of course, if you login you can see more icons. If you have an unread PM you are notified by the normal icon blinking.

This summer looks to be continually busy, especially at work, but I still hope to update some of my plugins soon. Sorry to those of you who have made requests that have gone unanswered.

The link: http://www.rayd.org/forums/

#56961
Vili
Participant

Ok, here’s what I have, commented. The comments that start with “VILI” are mine.

Please keep in mind two things:

a) This is strictly speaking a WordPress plugin, not a bbPress one. The functionality is simply extended to also cover an integrated bbPress installation. (And yes, this means that you need to install this in your WordPress, not your bbPress.)

b) I hacked this for my own purposes, so it may not be pretty, and it certainly won’t be ready for use without you reading through the code. If someone is interested in working to make it functional as an “out of the box” solution, then by all means go ahead.

Finally, the original Dan’s Avatar Thingy can be found here.

<?php
/*
Plugin Name: Vili's Avatar Thingy
Plugin URI: http://www.vertebratesilence.com/
Description: Displays an avatar next to posts or comments based on username. Based on Dan's Avatar Thingy (http://www.cheesemasterdan.com/).
Version: 0.1
Author: Vili Maunula
Author URI: http://www.vertebratesilence.com/
*/

// Variable declarations
// VILI: These were changed from Dan's Avatar Thingy, in which you only had default
// size settings into which all avatars were resized.

$avatar_max_width = 100; // Max avatar width
$avatar_max_height = 100; // Max avatar height
$avatar_max_upload_size = 15360; // Max file size in bytes
$avatars_path = ABSPATH."wp-content/avatars";

function cmd_show_avatar()
{
global $wpdb;
global $avatars_path;

// VILI: The following is a boolean setting I use to detect whether the page
// being served is a forum page. In practice, I have
// <?php global $forumpage;
// $forumpage = TRUE; ?>
// at the beginning of each forum page (I use WordPress headers in my integrated
// setup, but if your bbPress uses its own headers, just stick it there). If
// anyone knows a more cost-efficient way of detecting whether a page shown is
// a forum page, let me know.
global $forumpage;

if ($forumpage == FALSE) {
$the_author_name = get_comment_author();
if($the_author_name == "" or $the_author_name == __('Anonymous'))
{ // Avatar for posts
$the_author = get_the_author_id();
$the_author_name = get_the_author();
} else { // Avatar for comments - only for registered users
$the_comment_ID = get_comment_ID();
$the_author = $wpdb->get_var("SELECT user_ID FROM $wpdb->comments WHERE comment_ID='$the_comment_ID'");
}
} else {
$the_author_name = get_post_author();
$the_author = get_post_author_id();
}

$image_path = get_bloginfo('wpurl')."/wp-content/avatars/";
$the_avatar = $image_path.$the_author.".jpg";
if(file_exists("$avatars_path/$the_author.jpg"))
{
echo '<img src="' . $the_avatar. '" alt="' . $the_author_name . '" class="cmd-avatar" />';
} elseif(file_exists("$avatars_path/default.jpg")) {
echo '<img src="' . $image_path . 'default.jpg" alt="Unregistered" class="cmd-avatar" />';
}
// If the file doesn't exist then return nothing...
}

add_action ('admin_menu', 'cmd_avatar_menu');

function cmd_avatar_menu()
{
add_submenu_page('profile.php', '', 'Your Avatar', 0, __FILE__, 'cmd_avatar_profile');
}

function cmd_avatar_profile()
{
global $userdata;
global $avatar_max_width;
global $avatar_max_height;
global $avatar_max_upload_size;
global $avatars_path;
get_currentuserinfo();

if(!file_exists($avatars_path))
{
$mkdir_result = @mkdir($avatars_path, "0755");
if(!$mkdir_result)
{
echo '<div id="message" class="error fade">The folder' . $avatars_path . ' does not exist and could not be created automatically. Please create it and assign 0755 permissions then try using this plugin again.
</div>';
die();
}
}

if ($_POST['cmd_action'] == 'upload_avatar')
{
if ($_FILES['cmd_avatar_file']['size'] > 0 && $_FILES['cmd_avatar_file']['size'] < $_POST['MAX_FILE_SIZE'])
{
$uploaddir = ABSPATH."wp-content/avatars/";
$uploadfile = $uploaddir . $userdata->ID . '.jpg';
list($width, $height, $type, $attr) = getimagesize($_FILES['cmd_avatar_file']['tmp_name']);

// VILI: The following calculates the size into which the
// image needs to be put. If it's under the MAX limits, nothing
// is done, otherwise resizing takes place. This probably
// could be written more elegantly.

$widthratio = $width / $avatar_max_width;
$heightratio = $height / $avatar_max_height;
if ($widthratio > 1 && $heightratio > 1 && $widthratio > $heightratio) {
$usewidth = $width / $widthratio;
$useheight = $height / $widthratio;
} elseif ($widthratio > 1 && $heightratio > 1 && $widthratio < $heightratio) {
$useheight = $height / $heightratio;
$usewidth = $width / $heightratio;
} elseif ($widthratio > 1) {
$usewidth = $width / $widthratio;
$useheight = $height / $widthratio;
} elseif ($heightratio > 1) {
$useheight = $height / $heightratio;
$usewidth = $width / $heightratio;
} else {
$usewidth = $width;
$useheight = $height;
}

$cmd_avatar_image = imagecreatetruecolor ($usewidth, $useheight);
switch ($type)
{
case 1: // GIF
$image = imagecreatefromgif($_FILES['cmd_avatar_file']['tmp_name']);
imagecopyresampled($cmd_avatar_image, $image, 0, 0, 0, 0, $usewidth, $useheight, $width, $height);
$avatar_created = (imagejpeg($cmd_avatar_image, $uploadfile, 100) ? TRUE : FALSE);
imagedestroy($image);
imagedestroy($cmd_avatar_image);
break;
case 2: // JPEG
$image = imagecreatefromjpeg($_FILES['cmd_avatar_file']['tmp_name']);
imagecopyresampled($cmd_avatar_image, $image, 0, 0, 0, 0, $usewidth, $useheight, $width, $height);
$avatar_created = (imagejpeg($cmd_avatar_image, $uploadfile, 100) ? TRUE : FALSE);
imagedestroy($image);
imagedestroy($cmd_avatar_image);
break;
case 3: // PNG
$image = imagecreatefrompng($_FILES['cmd_avatar_file']['tmp_name']);
imagecopyresampled($cmd_avatar_image, $image, 0, 0, 0, 0, $usewidth, $useheight, $width, $height);
$avatar_created = (imagejpeg($cmd_avatar_image, $uploadfile, 100) ? TRUE : FALSE);
imagedestroy($image);
imagedestroy($cmd_avatar_image);
break;
default:
$avatar_created = FALSE;
break;
}
if ($avatar_created) {
echo '<div id="message" class="updated fade">File uploaded successfully.
</div>';
} else {
echo '<div id="message" class="error fade">File upload failed.
</div>';
}
}
}
echo '
<div class="wrap">
<h2>Your Avatar</h2>
<form name="cmd_avatar" id="your-profile" action="' . $PHP_SELF . '" method="post" enctype="multipart/form-data">
<fieldset>
<legend>Avatar</legend>';

$the_user = $userdata->ID;

$avatars_path = ABSPATH."wp-content/avatars";
$image_path = get_bloginfo('wpurl')."/wp-content/avatars/";
$the_avatar = $image_path.$the_user.".jpg";

if(file_exists("$avatars_path/$the_user.jpg")){
echo '
<img src="' . $the_avatar . '" alt="' . $userdata->user_login . '" class="cmd-avatar">';
} else {
echo 'No avatar found...';
}
echo '

<label>Filename: </label>
<input type="file" accept="Pictures" name="cmd_avatar_file" />

<input type="hidden" name="MAX_FILE_SIZE" value="' . $avatar_max_upload_size . '" />
<input type="hidden" name="cmd_action" value="upload_avatar" />
Click browse to find your avatar image. It can be JPG, GIF or PNG and should be ' . $avatar_max_width . ' x ' . $avatar_max_height . ' pixels or less (if bigger, it will be resized).Images should also be no larger than ' . $avatar_max_upload_size / 1024 . 'KBCurrently animated GIFs are not supported.
</fieldset>
<br clear="all" />
<p class="submit">
<input type="submit" name="cmd_avatar_update" value="Update Profile &raquo;" />

</form>
</div>';
}

?>

#56684

In reply to: Plugin: Avatar Upload

LMD
Participant

Ok, I’ve now looked at the code and can see how it can be included without needing to branch the plugin too much (and all the maintenance issues involved with that!).

First of all I removed the identicon functions from the bb-avatar-upload.php file and placed them at the bottom of the identicon.php file, to keep them all together.

Secondly, I moved the if($_POST['identicon']){...} code from the avatar-upload.php file to the bottom of identicon.php and made it a function called by the ‘bb_head’ hook (I might eventually do this for the main upload functions too). Note: Is there a pre-head hook that fires before any headers are sent?

function useidenticon()
{
global $user;
//fel identicon
if( $_POST['identicon'] )
{
felapplyidenticon( $user->ID );
}
}

add_action( 'bb_head', 'useidenticon' );

You then only need to supply and maintain two files for the “branch”.

- my-plugins/identicon.php
- my-templates/avatar.php

The avatar.php template is the least likely file to change (it’s been modified slightly since version 0.1).

I’ve made the modifications and zipped them up for you to examine:

Identar Modified (this is minus my files, except the template file)

You will also need the updated version of Avatar Upload: Avatar Upload (version 0.2)

By keeping the Identicon and Avatar parts of the code separate, it should be easier to use Subversion to merge in – or simply replace – changes I make to the trunk code.

Regarding filename storage in the database – there are two reasons for this. The first is that I prefer to store the image dimensions along with the current avatar. The maximum width and height of the avatar is just that, maximums; the actual dimensions could be any size and any aspect ratio within that limit. I then include the height and width attributes in the <img> tag – it’s good practise because the browser makes space for the image when loading the page, instead of shifting everything after the page has loaded.

The second reason is more exciting – future proofing. A future version of this plugin will allow multiple file uploads, allowing users to upload more than one avatar image and select which one to use.

Since releasing version 0.1 of the plugin, I have reduced the number of DB calls in the profile pages and in the avatar-upload.php file by making use of the $user object and calling $user->avatar_file when I need to access the avatar info.

Although, when adding avatars to a user’s posts you still have to do a DB query. If I used your suggested method, it is still going to involve at least one call to the DB, either to get the user_login from the get_post_author_id() (and then grab the avatar file), or to get the avatar itself from the get_post_author_id().

#57017
Null
Member

Ah going to try that tonight. Don’t know why, but I never understood forms :S (perhaps cause there are many different ways to do this…) I am going to print this one and mine and compare them. Thx for the help, learned something today :)

Quote:

and you have to be a bit more specific about your forms submit name to distinguish it from other plugins

Well that could explain why it updated on its own :D

Thx

#1721
slozano
Member

I followed the discussion in “Updated to Desmond But Theme Not Working”, however the proposed solutions are not working for me.

I have a IIS 6.0, windows 2003 server, MySQL 5.x and PHP 5.0 installation. Both directories “my-templates/” and “my-plungins/” are in the bbpress root. The “patch-to-URL.php” plugin is inside the “my-plugins” folder.

When looking at the source code in Firefox 2.0 I get

“<link rel=”stylesheet” href=”http://129.82.32.135forums/my-templates/kakumei/style.css&#8221; type=”text/css” />” (notice the “” before forums) and inside the admin section for the forum the themes previews are not visible, tough their names and the options to select are present.

However when using IE 7.0 the source code I get

“<link rel=”stylesheet” href=”http://129.82.32.135/forums/bb-admin/style.css&#8221; type=”text/css” />” and the themes previews are visible.

Any ideas how to fix this errors. Thanks.

#53815
drcmanx
Member

doh, thx i was thinking it was going to be added into the plugin (like Akismet) and not the options tab.

and the part you didn’t know was me thinking that it might be interfering with my other forum topic reader for another board.

Thx for the plugin support!

add an updated install readme ;)

#1635
chilifrei64
Member

I have recently been using the notification_all plugin but when enabled for everyone it would make posting take forever and if it was a busy thread it would basically just sit there and mass spam everyone.

I have since moved to the notification1.3 where it will only notify if it is in the favorites of that user.. but now they wont get notified if someone posts a new topic..

I know it is getting kinda granular but is there a “New Topic” plugin that will only email you when a new Topic is made only and NOT every additional post in that topic from there on. Because that is what notification_all did and it was just too much. I want users notified of new topic then let them choose if they want to be updated on that topic.

#55690

In reply to: Plugin: Latest Replies

LMD
Participant

Hello again, just finished examining code. There are two issues.

The first issue is that the blog entries you are posting to bbPress appear as closed topics. This problem is totally unrelated to the “Add Titles to Replies” plugin, which does not touch the ‘topics’ table in the database at all. I suggest you enquire with the ‘bbPress Post’ author about this. Did you update that plugin on your forum at the same time as installing mine? That could be the source of the problem.

Now, having said all that, the second issue is going to seem to contradict it. What I mean is, are you sure the topics are ‘closed’, or is it just that the content does not appear – that is, is it a phantom topic?

This can occur when the ‘topics’ table gets updated, but the ‘posts’ table does not for some reason (usually a coding error). When you create a new topic in bbPress, you are actually simultaneously creating the topic and making the first post in that topic – so both tables get updated.

This is where the problem involves my “Add Titles to Replies” plugin, because we have altered the ‘posts’ table, which may be causing an error in the ‘bbPress Post’ plugin code (that plugin writes to the database in a different way to the bbPress core).

Still with me? Good…

Now, I do not have access to an integrated WordPress/bbPress installation, so I have made a stab in the dark at trying to fix this the easy way. I’ve written a very short function (a bit of a hack really) that you can add to the ‘bbPress Post’ plugin.

In the ‘bbPress Post’ plugin open the file called ‘bbpress_post.php’ and add the following code to the bottom of the page, just before the bottom PHP tag ?>

/* Ugly 'Add Titles to Replies' Hack by LouiseDade */
function bbpress_add_reply_title( $post_id, $topic_id ) {
global $wpdb, $otherdb;
$bb_table_prefix = bbpress_getoption('bb_prefix');

if (bbpress_getoption('bb_other_base') === "no") {
$topic_title=$wpdb->get_var("SELECT topic_title FROM ". $bb_table_prefix ."topics WHERE topic_id=$topic_id LIMIT 1; ");
$wpdb->query("UPDATE ". $bb_table_prefix ."posts SET post_title='$topic_title' WHERE post_id='$post_id' LIMIT 1");
} else {
$topic_title=$otherdb->get_var("SELECT topic_title FROM ". $bb_table_prefix ."topics WHERE topic_id=$topic_id LIMIT 1; ");
$otherdb->query("UPDATE ". $bb_table_prefix ."posts SET post_title='$topic_title' WHERE post_id='$post_id' LIMIT 1");
}
}

Next, scroll up to the bbpress_new_post() function and at the bottom, before the closing curly brace, add:

/* Added by LouiseDade - updates post reply title */
bbpress_add_reply_title( $post_id, $topic_id );

Then scroll up again to the bbpress_post_update() function and add the same code as above just before the closing curly brace again.

Re-upload the plugin with the changes made and try posting a WordPress entry.

If it works I shall jump around for joy, but unfortunately I have grave doubts about it. I think it might need to be done the hard-way, which involves rewriting some of the ‘bbPress Post’ plugin.

Good luck!

Viewing 25 results - 1,926 through 1,950 (of 2,086 total)
Skip to toolbar