Search Results for 'code'
-
AuthorSearch Results
-
March 10, 2007 at 1:38 pm #55157
In reply to: style-rtl.css problem in 0.81 with IE
talgalili
MemberThanks chrishajer.
Since I did not yet open the forum, I don’t see a reason to try and patch it to work. (especially when I don’t know how people are supposed to login if I remove the TEMPLATE)
I hope the issue will be resolved soon, so I could open up the forum

Cheers,
Tal.
March 10, 2007 at 5:15 am #55467In reply to: New Install – New Database?
Atsutane
Memberit seem to me u set
$bb->mod_rewrite = true;Follow the instruction here and u will be fineMarch 10, 2007 at 3:51 am #55156In reply to: style-rtl.css problem in 0.81 with IE
chrishajer
ParticipantI was only kidding about making people use FF.

And from experience, it might take a week or so before the ticket is assigned, unless it’s affecting a lot of people or is an easy one to fix. I wish I had the answer but I have a hard enough time just reading from right to left.
Did you try removing the / class=”login” / from the template for the login form and see if the problem goes away in IE? At least that way it would be visible in IE, although not styled and ugly. It could be used at least temporarily until it’s resolved.
March 10, 2007 at 3:12 am #55464In reply to: New Install – New Database?
Atsutane
MemberIf u want to integrate your wp with bbpress then u should use the same database. But if u dont want, having new database also ok
March 10, 2007 at 12:56 am #54653In reply to: Restrict New Topic
olzvoi
MemberPut this code in a Plugin. The group “Member” will be affected.
function restrict_bb_got_roles() {
global $bb_roles;
unset($bb_roles->roles);
unset($bb_roles->roles);
unset($bb_roles->role_objects->capabilities);
unset($bb_roles->role_objects->capabilities);
}
add_action(‘bb_got_roles’, ‘restrict_bb_got_roles’);
March 9, 2007 at 8:52 am #55452In reply to: Ajax libs used…
Null
MemberNah protoype.js can’t be removed, cause my bbMenu plugin uses/needs it too

I guess you’ll need to include your .js in your template folder and call it from there…
March 9, 2007 at 2:49 am #55445In reply to: how to disable Tag function?
wenkong
Memberso nice, thank you.
I’m using your new templates.

hope new creative template release.
March 9, 2007 at 2:10 am #55444In reply to: how to disable Tag function?
Trent Adams
MemberYou would need to edit your template files to get rid of all the places that tags show up. If you are using the default theme, the best thing would be to edit all the files that need editing and upload them to a new folder /my-templates/themename/ as that will allow you to edit the files that you need without doing anything to the themes in /bb-templates/. Any file in the folder inside /my-templates/ will be read and if it doesn’t exist there, it uses the originals in /bb-templates/.
Off thet top of my head, it would require editing the following files:
front-page.php
topic.php
forum.php (to get rid of the place to create topic and tags)
new-topic.php
There might be more and I might be off on the names, but just comment out <! — and –> around any code that deals with the tags.
Trent
March 9, 2007 at 12:46 am #55443In reply to: Converting from: PunBB to PHPBB to BBPress
lonemadmax
MemberIf punbb uses the same markup in posts that phpBB uses (the square bracket things) maybe a few changes to phpbb2bbpress can give you a direct conversion script. I could have a look if you provide me with a database dump from punbb. Also, if you are trying multistep conversions, there’s a script to go from SMF to bbPress
March 8, 2007 at 9:53 pm #55418In reply to: Allowing HTML
larsjensen
MemberI sure do, thanks a bunch!
March 8, 2007 at 4:06 pm #55338In reply to: Modifying the topic tag list
Staffan
MemberAlright! I did it. And if anybody wants to know, here’s how:
This code in the stylesheet
ul.taglista { list-style: none; margin: 0; padding: 0; }
ul.taglista li { display: inline; }
ul.taglista li:after { content: ","; }
ul.taglista li:last-child:after { content: ""; }And this in topic-tags.php
<?php if ( $user_tags ) : ?>
<?php _e('Your tags:'); ?>
<ul class="taglista">
<?php foreach ( $user_tags as $tag ) : ?>
<li id="tag-<?php echo $tag->tag_id; ?>_<?php echo $tag->user_id; ?>"><a href="<?php tag_link(); ?>" rel="tag"><?php tag_name(); ?></a> <?php tag_remove_link(); ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>It won’t work in IE, but that’s fine with me. Thanks for the help!
March 8, 2007 at 1:51 pm #54281In reply to: Patch: Categories for version 0.8
spencerp
MemberAlright, I just went ahead and remove those two things. I’m planning on working at the Gathering theme for bbPress now… Thanks again Sam for everything!

spencerp
March 8, 2007 at 1:04 pm #52903In reply to: MediaWiki, bbPress, and WordPress integration..
spencerp
MemberUPDATE: I’ve decided to remove my MediaWiki, or better known as the Codex. I merely installed it to play around, customize, and get familiar with it.
The whole reason for removing it is, I really don’t have the time for it. I don’t have time to add anything to it, make a theme for it, and customize it anymore.
As for this article, it’s still a good reference guide as what To-Do for getting your MediaWiki, bbPress, and WP login/registration working together.
I hope you find it as useful as I did. Well, I guess that’s it for now. Tata. spencerp
wenkong
Memberjust now i key in the chinese character Tag, but not show in HOT Tag.
which version can support Unicode or other languages Tag?
March 8, 2007 at 7:35 am #55361In reply to: Pretty Permalinks Not Working
laemo
MemberTrent,
I have read the FAQs for my hosting account (Linux hosting) at GoDaddy, and it says that the server is mod_rewrite enabled. It is evident from the fact that my wordpress install works fine with custom permalinks. Tried even using the stuff spewed by rewrite-rules.php. Nothing seems to work!

Mirce, I had disabled pretty permalinks for a while in between and I believe that is around when you must have checked the forums.
wyDay, I have kept the .htaccess file for about a day now, no results yet

Should I perhaps try to reinstall bb-press? The only thing I am concerned about is losing my WP data because I believe wp-users is one table that is shared if both are installed in the same database.
I would really like to get my pretty permalinks to work. I have tried both the tricks mentioned in the FAQ, still I am a bit clueless..
March 8, 2007 at 1:10 am #55333In reply to: Modifying the topic tag list
Staffan
MemberThank you for answering! I’ve been trying to do exactly that, but there are no ids in style.css called #yourtaglist, #otherstaglist etc. Although, I’m not sure I need to edit those ids anyway, since I don’t wanna have the tags in a list.
For now I have modified the code and edited out the ul and li-tags to make it look like this:
<?php if ( $user_tags ) : ?>
<div id="yourtags">
<?php _e('Your tags:'); ?>
<?php foreach ( $user_tags as $tag ) : ?>
<a href="<?php tag_link(); ?>" rel="tag"><?php tag_name(); ?></a> <?php tag_remove_link(); ?>
<?php endforeach; ?>
</div>
<?php endif; ?>It works pretty well, but the tags aren’t separated by anything. Is there any way to insert commas between the tags, but not after the last tag?
March 8, 2007 at 12:47 am #55296In reply to: Plugin: Allow additional or custom profile fields
Trent Adams
MemberNot sure if the options you want are hardcoded into the plugin? Maybe you should take a look at having the options in the admin to add the options. As well, I placed in my “number of children” and it didn’t save in the database or show up in my profile. Not sure what is going on there! contact me if you want to chat. I have an IM deal on my site at the bottom right corner:
Trent
March 7, 2007 at 11:45 pm #55332In reply to: Modifying the topic tag list
Trent Adams
MemberYou would have to modify the CSS to list the tags you want. That means playing around with style.css of your template playing with these parts:
<div id="topic-tags">
<div id="othertags">
<ul id="otherstaglist">The names will be like #topic-tags, #othertags and something with list item for otherstaglist. I haven’t looked at it, but the list is CSS driven.
Trent
March 7, 2007 at 11:41 pm #55417In reply to: Allowing HTML
Trent Adams
MemberWell, the code “em” is already for italics, but if you really need to have it as the “i”, it would be something like this (chrishajer is going to hate me for saying this as it is really poor markup, but….)
<?php
function allow_italics_as_allowed_tags( $tags ) {
$tags['i'] = array();
return $tags;
}
add_filter( 'bb_allowed_tags', 'allow_italics_as_allowed_tags' );
?>That should work. Get the idea?
Trent
March 7, 2007 at 9:27 pm #55268In reply to: i need wysiwyg editor
mrbl4d3
Memberok, after i will try with swfobject but i have already install Tinymce editor.
I can see correctly the editor but when i try to insert new post bbpress said me: “You need to actually submit some content!”.
If i can edit already insert post i don’t have error…
sorry for bad english

Thanks
March 7, 2007 at 5:57 pm #55267In reply to: i need wysiwyg editor
drmike
MemberZeug is just everywhere…
March 7, 2007 at 5:56 pm #54932drmike
MemberStill can’t get those icons to show up though.
March 7, 2007 at 4:26 pm #55223In reply to: Titles for topic replies?
fel64
MemberJudging by the wordpress system (the documentation is quite good), 10 is default priority and plugins are executed in order of descending priority (so a plugin of 1 comes before 2). In WP the last two arguments are optional.
Preview sounds good – but better yet would be an AJAX thing that means you don’t even have to reload the page when you post.
March 7, 2007 at 2:27 pm #52314In reply to: Plugin – Private Messages
ardentfrost
MemberThe function checks to see if it exists, and if it doesn’t it creates the tables. If you created the tables as they are setup in that function, it shouldn’t do anything again. If it happens again, I suggest you comment out the table creation code in the plugin. I don’t know why it would do that.
By the way, Online List works the same way as mine with table creation if you use that one.
March 7, 2007 at 2:20 pm #54930desbest
MemberBut I love this feature.
That’s the whole reason why I chose this script.
If you hate the feature so much, why don’t you edit your template’s topic.php file and remove the corresponding code.
-
AuthorSearch Results