Search Results for 'code'
-
AuthorSearch Results
-
October 12, 2009 at 8:40 pm #80405
In reply to: #1 added to start of new posts
chrishajer
ParticipantBecause you have this in your style.css:
.entry ol li {
line-height:140%;
padding:0 0 1em 0;
list-style-position: inside;
list-style-type:decimal;
}to get rid of it, change the last line to this:
list-style-type:none;October 12, 2009 at 3:54 pm #64198In reply to: I want to show de WP profile instead BB Profille
dikkevandale
ParticipantI don’t want to show the bbpress profile only, instead I want everything that is shown on the bbpress profile to be shown on the wordpress user profile. Is this possible?
WP User Profile
blabla
Forum stats:
blabla
All on 1 profilepage.
October 12, 2009 at 3:33 pm #80317In reply to: Exclude Posts in Latest Discussions
Adam Harley (Kawauso)
MemberThis might be a cleaner solution
<?php
switch ( $topic->forum_id ) { // Ignore these forums
case 29:
case 30:
case 18:
case 15:
case 4:
continue 2;
}
?>or for including only certain forums
switch ( $topic->forum_id ) { // Include only these forums
case 29:
case 30:
case 18:
case 15:
case 4:
break;
default:
continue 2;
}
?>but using that if statement, you need to change the line
<?php if( $topic->forum_id != 29 && $topic->forum_id != 30 && $topic->forum_id != 18 && $topic->forum_id != 15 && $topic->forum_id != 4 )and you can find the forum ID from looking at its Edit URL in the admin panel (under Forums)
October 11, 2009 at 11:44 pm #80078In reply to: Can't see the upload Images with bb-attachments
carlosdelab
MemberHello Everyone,
I can’t see images in my bb-press
even, using the BBcode Buttons Toolbar.
this is a list of my plugins that I have now installed in my bbpress.
Akismet
Version 1.1Allow Images
Version 0.7.1BBcode Buttons Toolbar
Version 0.0.9BBcode Lite
Version 1.0.3bbPress Attachments
Version 0.2.7Bozo Users
Version 1.1Hello Louie
Version 1.0All of this plugins work fine, but with some extrange reason I can’t see any image.
best
and thanks in advance.
c.
October 11, 2009 at 3:27 pm #80332In reply to: Downloading "Kakumei"
chrishajer
ParticipantThe name of the theme is at the top of style.css – you can change it to something memorable there.
Theme Name: InvTrdr Custom ThemeYou can change other lines in that theme header if you want, but this one is the major one.
You can also replace screenshot.png in your theme folder with something that will visually identify the theme for you when you’re working in the admin.
October 11, 2009 at 3:22 pm #79444In reply to: How to add "Text Box" in sidebar in Inove theme???
chrishajer
ParticipantAdd the code to your sidebar.php, just follow the same format as the other two boxes that are there. Then put your code in between the opening and closing tags. It would be a new block of code looking something like this:
<!-- ads START -->
<div class="widget">
<h3>Please visit our sponsors</h3>
MHYD PASTE AD CODE HERE
<div class="fixed"></div>
</div><!-- end widget -->
<!-- ads END -->Just put that wherever you want in the sidebar, before or after whatever else is there. Just make sure you don’t post it into the middle of some other div and break the sidebar.
I don’t know of a bbPress theme with the concept of widgets. So you’ll have to edit sidebar.php manually to achieve what you want.
October 11, 2009 at 3:08 pm #80365In reply to: How do I uninstall and start from scratch?
Adam Harley (Kawauso)
MemberYou don’t need to uninstall to move bbPress as such, since it’s not installed in any way apart from the the .htaccess file settings and the database settings.
You need to change the
urisetting underbb_metain the database to the new forum URL, and then change the .htaccess file so it matches the new directory.The .htaccess file can probably be fixed by turning off Permalinks and then back on. Don’t forget to log out and in again too.
The options might be changeable by using __ck__’s All Options, but I have a feeling the URI isn’t editable from there.
October 11, 2009 at 11:47 am #80331In reply to: Downloading "Kakumei"
Adam Harley (Kawauso)
MemberEdit the style.css file in the copy, that’s where all the name/description data is stored
October 11, 2009 at 3:26 am #80356In reply to: Can I move bbPress to a different directory?
CraigElias
MemberOK so I got lucky and remove the line of code in my config file and was able to get back into the directory location and move things back to the way they were.
Now I just need to give this to someone who knows what they are doing to move it where I want.
Craig
October 11, 2009 at 12:06 am #80358In reply to: [REQ] Portal Plugin
Shagalaga
MemberWow i’ve just found sth

it has some bugs, but is quiet good, unfortunately this project seems to be abandoned
October 10, 2009 at 10:53 pm #80337In reply to: Topic icon
Jiyong
MemberHo nice, verry verry nice but …
i edit ► $unread_posts=
includ : .”.topic_icons {filter : alpha(opacity=100); -moz-opacity : 100; opacity : 100; }”
But it does not work
change another code ?
October 10, 2009 at 10:13 pm #80350In reply to: Navigation
ZoiX
Memberjohnhiler, thank you for all your help
October 10, 2009 at 9:25 pm #80349In reply to: Navigation
johnhiler
MemberAh got it. The checkboxes are a way for you to tell bbPress which stats to recount… once the recount is done, all checkboes are unchecked – so you can specify once again which stats you’d like to be counted next time.
If you have any more questions, please create a new thread and we’ll try to help you out there!
October 10, 2009 at 8:47 pm #80348In reply to: Navigation
ZoiX
MemberGlad it worked out.
That plugin was by _ck_, so you might want to send her a donation if you have the funds.Yes, I will do. I have many plugins from _ck_ and is time to say thank you.
I’m not following your question about checkboxes and Tools/Options?
Before that, I was check the two first options, but, after save, the checkboxes appear without check. Mmh, I am not sure if you understand me :S
October 10, 2009 at 8:19 pm #80347In reply to: Navigation
johnhiler
MemberGlad it worked out.
That plugin was by _ck_, so you might want to send her a donation if you have the funds.I’m not following your question about checkboxes and Tools/Options?
October 10, 2009 at 8:14 pm #32024Topic: Topic icon
in forum PluginsJiyong
MemberHello,
It is possible to change the opacity of the icon. If there is a new post 100%, otherwise 50%?
thanks
October 10, 2009 at 7:22 pm #75053In reply to: Convert YetAnotherForum to bbPress, or any platform…
Josh Leuze
MemberHi sbricchiLIN, I did come up with a solution to migrate a forum from YAF to bbPress.
But I had to do a 3 step migration to do it: YetAnotherForum to vBulletin to phpBB to bbPress.
It’s a tedious process, and not perfect, but I got the forums converted!
Basically, in all my research the only converter for YetAnotherForum.NET that I could find it vBulletin. So that’s the first step. unfortunately it is commercial, and closed source, but a $100 is much cheaper than paying someone to convert it for you!
vBulletin has a tool called ImpEx that can import a YAF forum into vBulletin. But it is tricky since YAF uses MSSQL, and you want to convert to MySQL on vBulletin. I did all this on my local machine running Windows, with a MSSQL server to run the YAF database and WAMP to run vBulletin.
I did not have YAF installed locally and running, just the database. You probably want to get your YAF forums running on a local Windows machine as a first step. The YAF to vBulletin importer is old and totally unsupported, so it is crude, but better than nothing. I was only able to import about 80% of my forum content, and I lost a user account. But one user out of 600 seemed a small price to pay.
I think the loses were due to funky characters and long titles, so if you have a local install of YAF, you can fix those things before you import.
After you get the data into vBulletin, it is a much smoother process. There is of course a lot of converters for phpBB, and converting from phpBB to bbPress is pretty easy.
In the end, the migration went ok, I had some issues with the HTML code in the posts, had to convert some characters in the database, and install some plugins so that the HTML content in the old posts would work in bbPress. But it was all worth it to get away from YAF, the forum members all seem to be happy with the new forum, no complaints, just a few feature requests.
I have really been meaning to do several blog posts explaining how to do all this cause it’s one hell of a project, but who ever has the time to do everything they want to?
If anyone else takes the plunge and tries to migrate from YAF to bbPress and has any specific questions, let me know and I’d be happy to try and give a hand!
October 10, 2009 at 7:20 pm #80344In reply to: Navigation
ZoiX
Memberjohnhiler, I am not using the plugin, I deactivate all plugins and the problem persist. Anyway, I have installed the plugin but without good results.
chandersbs, the problem is that if I am in page 2, the link to page 1 show me again the page 2.
I can’t found “turn off url rewrite”, can you help me?
Thank you for your help

– –
The problem was the permalink, if the first option (Nothing) is activated everything ok. Can I repair this? I really like the last option

Jmm, now I have 3 pages (5 posts per page), the link to page 1 show me the page where I am. If I am in page 3, link to page 1 show me the page 3, again. If I am in page 2, link to page 1 show me the page 2.
I will install in local without plugins and I will see what happen.
– –
In localhost works good :S
October 10, 2009 at 10:13 am #80357In reply to: plugin: single posts rating?
johnhiler
MemberI haven’t seen any plugins like that.
bbPress isn’t super great at storing metadata for post-level data… although you could probably commission a custom plugin that did just that.
It’s definitely possible – it’s just not super easy. It’d probably be easier to do for version 1+, since that version has a meta table built into the core…
October 10, 2009 at 8:28 am #32025Topic: Navigation
in forum TroubleshootingZoiX
MemberHi all!
I have a bbPress instalation at http://foro.inkframe.com
If you click the page number 2, everything fine, but, if you click in the number 1 or “Anterior”, the forum show page 2 again, like a F5. The only way for come back to the first page is clicking in the title.
I am not expert in bbPress theme development, but anyway I think that is not the problem, the only option I change, is the number of posts to 10, I am not sure, but, by default is 20. Thank you for your help
October 9, 2009 at 4:39 pm #80311In reply to: Parent Forum Name in
Adam Harley (Kawauso)
MemberNot the cleanest way of doing it no doubt, but I’d use something like this modified version of the breadcrumb function:
<?php
$separator = ' -- ';
if( bb_is_forum() ) :
$trail = '';
$trail_forum = bb_get_forum(get_forum_id());
$current_trail_forum_id = $trail_forum->forum_id;
while ( $trail_forum && $trail_forum->forum_id > 0 ) {
$crumb = $separator;
$crumb .= get_forum_name($trail_forum->forum_id);
$trail = $crumb . $trail;
$trail_forum = bb_get_forum($trail_forum->forum_parent);
}
$title = substr( $trail . $separator . bb_get_option( 'name' ), strlen( $separator ) );
else :
$title = bb_get_title( array( 'separator' => $separator ) );
endif;
?> <title><?php echo $title?></title>October 9, 2009 at 4:06 pm #80315In reply to: Exclude Posts in Latest Discussions
Navin
MemberI’m using this code:
<?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
<?php if( $topic->forum_id != 29 && $topic->forum_id != 30 && $topic->forum_id != 18 && $topic->forum_id != 15 && $topic->forum_id != 4 ) { //exclude forums here ?>
<tr<?php topic_class(); ?>>If you’re using the Kakumei theme, replace this with that:
<?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
<tr<?php topic_class(); ?>>Just change the id’s
October 9, 2009 at 2:57 pm #79665In reply to: HTML in Topics.
Adam Harley (Kawauso)
MemberIt’d be better to add
width: 500pxto the CSS class used by topic titles rather than adding it by instance.October 9, 2009 at 1:47 pm #80288In reply to: Extending number of characters in post title
christianrharris
ParticipantI used your code Starship Trooper, but the heading still isn’t increased. I edited the Topic.php file. Do I need to edit more?
October 9, 2009 at 1:25 pm #80312In reply to: bbpress plugin: register_activation_hook
Adam Harley (Kawauso)
MemberBy the looks of it, it’s an action that’s called as
bb_deactivate_plugin_$plugin, so the action hook’s name is specific to the plugin. The$pluginvalue is shown in the URL for activating a specific plugin. -
AuthorSearch Results