Search Results for 'code'
-
AuthorSearch Results
-
March 23, 2007 at 10:02 pm #55679
In reply to: Empty tag <br> issue?
mattpeckham
MemberOkay, fixed it by putting:
margin-bottom: 1em;
…in the CSS.
March 23, 2007 at 9:43 pm #55676In reply to: Empty tag <br> issue?
Null
MemberTry
<br />March 23, 2007 at 8:44 pm #55675In reply to: Empty tag <br> issue?
Arlo
MemberI actually have the same problem;
<br>doesn’t work, it just shows up in the post as-is.March 23, 2007 at 6:48 pm #49614In reply to: Emoticons For bbPress?
Null
MemberHow to make is so, that it wont filter between the code tags? Cause we dont want smilies in code parts
March 23, 2007 at 4:54 pm #55069In reply to: Fix bbPress Plugin 0.8.1-1
Arlo
MemberHi, I’m having a bozo nightmare. I installed bbPress a few days ago, and I keep getting flagged as a Bozo.
1. I’m running latest bbPress, and this Fix bbPress plug-in.
2. I disabled Akismet per the other Bozo thread.
And yet:
In my keymaster profile page, I have a large text field with the contents of my admin name, and I’m stuck as a bozo. Changing “1” to “0” in PHPMyAdmin does nothing. Deleting my name from the bozo field does nothing.
I understand this is supposed to be a checkbox, but I have this:
<tr>
<th scope="row">This user is a bozo:</th>
<td><input name="is_bozo" id="is_bozo" type="text" size="30" maxlength="140" value="" />
</td>
</tr>March 23, 2007 at 4:46 pm #55886In reply to: Plugin: Page links for bbPress
fel64
MemberCheers Sam, worked beautifully. I put your CSS in my style.css and played around with it until eventually getting rid of all extra styling
But it works great. That was a major annoyance. Thanks.
March 23, 2007 at 3:36 pm #55798In reply to: Plugin: YouTube in bbPress
Null
MemberSo in the next version like:
<youtube>linktothevideo</youtube>??March 23, 2007 at 3:32 pm #55884In reply to: Plugin: Page links for bbPress
wittmania
MemberIt’s not working for me…
On topics with a single page, I get this error:
Bad arguments. in blah blah blah/bbpress/
my-plugins/page-links.php on line 68When I click on a page link, I get this error:
Fatal error: Call to undefined function: is_tags() in
/blah blah blah/bbpress/
my-plugins/page-links.php on line 33Any idea what’s wrong?
Also, I would recommend that you add an option for the links to be text-only instead of the CSS/image based ones. Thanks for putting this plugin out for all of us.
March 23, 2007 at 3:00 pm #55861Null
MemberNah too complicated, need a plugin or something
Most simple is to just hide the chosen forum from the list (while creating a topic) from all members except the mods/admins…
March 23, 2007 at 1:15 pm #55839In reply to: How to Password protect entry to my forum?
forgeron
MemberThanks for the tip!
Both seem flawless, but a lot of work on the other hand. I decided to use this: http://www.zubrag.com/scripts/password-protect.php
It’s not a plugin, but it blocks acces to the index.php and forum.php. The topics can still be read by anyone who knows the URL, but I used a robots.txt to make sure the site will NOT be indexed by google or any other search engine.
So I guess I’m more or less safe. But it isn’t all that super secure.
Hopefully there will be a similar plugin for this once.
March 23, 2007 at 8:48 am #53795In reply to: Plugin: Using the strike tag
Null
MemberShame there is no demo or image of how it looks like
March 22, 2007 at 11:27 pm #55860fel64
MemberCan’t you just throw a quick-and-dirty conditional PHP statement around the post form in forum view?
Just open your theme’s
forum.phpand stick aif( userisadmin() && forumid = 666 ) { ... }around your post form. I have no idea what the actual functions are, that’s just pseudocode.March 22, 2007 at 9:48 pm #55859mattpeckham
MemberExactly Null, exactly right. Fingers crossed for a plugin/update!
March 22, 2007 at 9:09 pm #55847mattpeckham
MemberI’m getting close!
I just need that last little bit – totally an aesthetics thing too. Functionally I’m thrilled. WP and bbPress = da bomb.
March 22, 2007 at 9:01 pm #55841In reply to: Setting user data
fel64
MemberIt shouldn’t be that hard, I was looking at the avatar plugin and it just added an extra field to the info keys when the user edited the profile. I guessed from that that bb automatically took all the info from that and made that extra data entry in the database.
But in this case there’s nothing the users can specify.
March 22, 2007 at 8:59 pm #53794In reply to: Plugin: Using the strike tag
fel64
MemberThis is why the Quicktags plugin is nice – no need to memorise
March 22, 2007 at 8:56 pm #49613In reply to: Emoticons For bbPress?
fel64
MemberTo make this work in 1.0 you need to change the first few lines (or it won’t be available to activate as a plugin). I modified mine to this, which still has all the credits in there.
<?php
/*
Plugin Name: bbEmoticons
Plugin URI:
Description: A Clickable Smilies hack for bbPress. Thanks to <a href="http://www.orioa.com/">kohaku</a> and <a href="http://plasticdreams.org/">aka</a>. Original WP Grins by <a href="http://www.alexking.org/software/wordpress/">Alex King</a>.
Author: hiromasa
Author URI: http://hiromasa.zone.ne.jp/blog/
Version: 0.72
*/
...Just replace the
<?phpat the start of your .php file with this and it should show up to be activated.Edit: Oh, awesome, a
overflow: autoproperty has been added. Thanks.
March 22, 2007 at 8:00 pm #53793In reply to: Plugin: Using the strike tag
Null
MemberOMG I totaly looked over that
<em>Yep it works
March 22, 2007 at 7:16 pm #1606Topic: Setting user data
in forum Pluginsfel64
MemberHow do I add some miscellaneous userdata? When each user registers they should be automatically assigned an identicon. I was thinking I’d read the userdata using
get_profile_info_keys()but I can’t find a corresponding set_profile_info_keys() or the like. Does anyone know?March 22, 2007 at 6:58 pm #53792In reply to: Plugin: Using the strike tag
fel64
Member“But how to add <strike> AND italic? (I miss italic to in the basic install)”
Wha’? Italic is totally there!
Just use
<em> </em>That’s your basic XHTML compliant italic, just like
<strong>is the compliant bold. They’re both in by default.Or did I miss something?!
March 22, 2007 at 5:37 pm #53791In reply to: Plugin: Using the strike tag
LMD
ParticipantUh, you don’t need to create separate functions for each tag! You are only extending the contents of an array.
I use this home-grown plugin for all the extra tags I want to add (edited for readability).
<?php
// Allow extra html tags, even depreciated
function allow_extra_tags( $tags )
{
$tags['a'] = array(
'href' => array(),
'title' => array(),
'rel' => array(),
'target' => array()
);
$tags['i'] = array();
$tags['b'] = array();
$tags['del'] = array();
$tags['strike'] = array();
$tags['img'] = array(
'src'=> array(),
'alt' => array(),
'width' => array(),
'height' => array()
);
return $tags;
}
add_filter( 'bb_allowed_tags', 'allow_extra_tags' );
?>Much simpler and easier to maintain.
March 22, 2007 at 4:52 pm #53790In reply to: Plugin: Using the strike tag
Null
MemberThis works ok:
<?php
function allow_strike_as_allowed_tags( $tags ) {
$tags['strike'] = array();
return $tags;
}
add_filter( 'bb_allowed_tags', 'allow_strike_as_allowed_tags' );
function allow_italic_as_allowed_tags( $tags ) {
$tags['i'] = array();
return $tags;
}
add_filter( 'bb_allowed_tags', 'allow_italic_as_allowed_tags' );
?>March 22, 2007 at 3:34 pm #53789In reply to: Plugin: Using the strike tag
Null
MemberAhh ok, I want them in 1 plugin file though… also think these two should be standard
March 22, 2007 at 3:09 pm #55795In reply to: Topic Closed message after new replies
wittmania
MemberTrent, it is at
lne97.com/bbpress/However, it isn’t doing it anymore. I have no idea what changed. My only guess is that I logged out as the keymaster, logged in as a “dummy” subscriber, and then logged back in as an administrator.
???
March 22, 2007 at 1:54 pm #53788In reply to: Plugin: Using the strike tag
Trent Adams
MemberThis is the plugin for strike (used as “del” for compliance reasons, but you can change the code from del to strike if you want. Creating a new plugin and changing it it “i” and italics in the name versus strike will do that one as well.
Trent
-
AuthorSearch Results