Search Results for 'code'
-
AuthorSearch Results
-
August 12, 2014 at 12:13 pm #150699
In reply to: Help with styling css
Robkk
Moderatorlook at the bbpress default stylesheet , then look at your stargazer child themes bbpress stylesheet and see what you need.
heres some code that you might need …i dont know right all that you need
#bbpress-forums div.bbp-reply-content {
margin-left: 130px;
padding: 12px 12px 12px 0;
text-align: left;
}#bbpress-forums div.bbp-reply-author {
float: left;
text-align: center;
width: 115px;
}August 12, 2014 at 11:55 am #150697In reply to: Text Color and Font
desiamerican26
Participantthat’s ok friend. you already been helping a lot….If you can or someone else can help with this…..
I myself trying to figure this out tooadd_filter( ‘bbp_kses_allowed_tags’, ‘ntwb_bbpress_custom_kses_allowed_tags’ );
function ntwb_bbpress_custom_kses_allowed_tags() {
return array(// Links
‘a’ => array(
‘class’ => true,
‘href’ => true,
‘title’ => true,
‘rel’ => true,
‘class’ => true,
‘target’ => true,
),// Quotes
‘blockquote’ => array(
‘cite’ => true,
),// Span
‘span’ => array(
‘class’ => false,
),// Code
‘code’ => array(),
‘pre’ => array(
‘class’ => true,
),// Formatting
’em’ => array(),
‘strong’ => array(),
‘del’ => array(
‘datetime’ => true,
),// Lists
‘ul’ => array(),
‘ol’ => array(
‘start’ => true,
),
‘li’ => array(),// Images
‘img’ => array(
‘class’ => true,
‘src’ => true,
‘border’ => true,
‘alt’ => true,
‘height’ => true,
‘width’ => true,
),// Tables
‘table’ => array(
‘align’ => true,
‘bgcolor’ => true,
‘border’ => true,
),
‘tbody’ => array(
‘align’ => true,
‘valign’ => true,
),
‘td’ => array(
‘align’ => true,
‘valign’ => true,
),
‘tfoot’ => array(
‘align’ => true,
‘valign’ => true,
),
‘th’ => array(
‘align’ => true,
‘valign’ => true,
),
‘thead’ => array(
‘align’ => true,
‘valign’ => true,
),
‘tr’ => array(
‘align’ => true,
‘valign’ => true,
)
);
}August 12, 2014 at 11:40 am #150695In reply to: Text Color and Font
desiamerican26
Participantehh I been trying this code last few days….I am not sure if this is what I did was right?
Should I post the code here for you to see and check if it’s right?August 12, 2014 at 11:04 am #150691In reply to: Pop-Up user registration
Robkk
Moderatorany modal login plugin with a shortcode or link to call it should work
https://wordpress.org/plugins/wp-modal-login/
https://wordpress.org/plugins/modal-links/search for more
https://wordpress.org/plugins/search.php?q=modal+login&sort=
August 12, 2014 at 10:38 am #150686In reply to: Help with styling css
gogitossj34
ParticipantOk, added in !important worked.
Do you know what can help moving the avatar and name to the left and comment to the right like normal bbpress ? Or maybe just the code so that I can edit it myself.August 12, 2014 at 10:35 am #150685In reply to: Help with styling css
Robkk
Moderatori guess this might work.
li.bbp-header ul.forum-titles li.bbp-forum-info a.bbp-forum-title { color:#fff!important; }August 12, 2014 at 9:51 am #150678In reply to: Image Posting Issue on FB
desiamerican26
ParticipantI also have Simple Meta Tags plugin and I just cheked that I have a code which I don’t think is right under my editor section….I been testing all of these but not a good result….
August 12, 2014 at 9:49 am #150676Topic: Image Posting Issue on FB
in forum Pluginsdesiamerican26
ParticipantHello friends,
There is an issue that I been encountering on my website while posting on facebook. It doesn’t show the image when I post on FB, but when I use the Facebook Debugger and scrape new info through it, then it works fine. I am not sure why it’s acting like that.
I do have some plugins that might be causing the issue. I have Shareaholic Share but I deactivated the Meta Tags under that and then I have Facebook OGP, WordPress SEO
Is there a way to have a better link posting on facebook or any social site without having that issue? Or some code that will work perfect without plugins or anything?
Please help.
Thank You
Regards,
Nik
My Website: http://www.desi-american.comAugust 12, 2014 at 8:06 am #150666In reply to: My impressions so far
pfswss
ParticipantJimi, I was also disappointed when I installed BBPress and found it to be very unlike a forum I had known in the past. Out of the box it is too simplistic with several themes I tried it with. I just wanted a forum look but this does not seem possible unless you hire developers or are a really good coder with loads of time.
I do appreciate the effort of the developers as an open source software. unfortunately I had the wrong impression from reading reviews of several wordpress solutions as they all pointed to this one as the best. To be blunt I would not like to try the worst ones.
I have had a lot of issues, many plugins are not compatible and I still have nothing that looks remotely like a normal forum. I actually just searched to how to enable PM’s and that is when I found this post and another which says basically you need to install the Buddypress which is an overkill it seems.
I do hope that BBPress will eventually cater to everyone’s needs but sadly I think I have to look at another solution and revert back to my PHPBB forum form 2 weeks ago. Then I will consider going with IP board or Vbulletin.
Jimi, can you tell me why you stopped using IPB?
August 12, 2014 at 8:06 am #150665In reply to: Help with styling css
Robkk
Moderatorif you mean like this http://thefastdiet.co.uk/forums/
follow this topic https://bbpress.trac.wordpress.org/ticket/1958
and read tharsheblows posts and take his code
or read Bob1nz and go to his pastebin links and take his
August 12, 2014 at 6:42 am #150654In reply to: Is it possible to use a different theme for bbpress?
Stephen Edgar
KeymasterOh! Looks like my bad, replace
get_template_part('content');with<?php the_content(); ?>πAugust 12, 2014 at 6:41 am #150653In reply to: Profile page doesn't show
Stephen Edgar
KeymasterOh! Looks like my bad, replace what was
get_template_part('content');with<?php the_content(); ?>πAugust 12, 2014 at 6:26 am #150649In reply to: Is it possible to use a different theme for bbpress?
A.I. Sajib
ParticipantYou mean replace
bbpress.phpfile content with thearchive.phpcontent and then remove that line of code?I will try that and will let you know if that fixes the issue. Thank you for your help!
August 12, 2014 at 6:14 am #150648In reply to: Profile settings link on every page
Stephen Edgar
KeymasterIf you write that code as a function you can then hook it to
bbp_before_main_contentAugust 12, 2014 at 6:14 am #150647In reply to: Profile page doesn't show
defcon1186
ParticipantI’ve added renamed
archived.phpwithoutget_template_part('content');likebbpress.phpin my child root, and now forum page won’t load… that’s pretty weird πAugust 12, 2014 at 6:07 am #150646In reply to: Is it possible to use a different theme for bbpress?
Stephen Edgar
KeymasterA quick look at the “Track’ theme, it looks like if you copy
archive.phptobbpress.phpthat will resolve most of your issues. (Source: archive.php)After you have done the above remove the following line from your
bbpress.phpcopy:
get_template_part('content');August 12, 2014 at 6:04 am #150645In reply to: Profile page doesn't show
Stephen Edgar
KeymasterAll of bbPress will sit within the ID
id="bbpress-forums"which makes CSS styling even easier and is far from new, I think it has been there since bbPress became a plugin πA quick look at the “Track’ theme, it looks like if you copy
archive.phptobbpress.phpthat will resolve most of your issues. (Source: archive.php)Edit: Do the above but remove the following line from your
bbpress.phpcopy:
get_template_part('content');August 12, 2014 at 5:52 am #150644In reply to: Is it possible to use a different theme for bbpress?
A.I. Sajib
ParticipantI did actually. I tested on Tracks WordPress theme which happens to be free yet awesome theme. But on the forum topic page, for mysterious reasons, only the first post from the topic is visible. Posts from second and onwards don’t show up at all. A programmer would probably fix this in a moment but I’m not really a coder, so I’m looking for something else.
Thanks for your help.
August 12, 2014 at 5:50 am #150643In reply to: Is it possible to use a different theme for bbpress?
Stephen Edgar
KeymasterHave you tried bbPress with your preferred theme?
Give it a try, bbPress will work with most themes “out of the box”.
If you want to start customizing your theme check out the docs
August 12, 2014 at 5:33 am #150641In reply to: Topics and replies are always pending
Stephen Edgar
KeymasterHey @microdot, glad you found us after I closed down your other posts π
Check this out https://codex.bbpress.org/moderation-and-blacklisting/
Also what setting do you have in WordPress discussion settings for:
Before a comment appears Before a comment appears Comment must be manually approvedI think that is most likely the culprit, what happens if you uncheck that?
August 12, 2014 at 5:18 am #150638In reply to: Profile page doesn't show
Stephen Edgar
KeymasterIt looks like you’ve now added BuddyPress so this is null and void π
If you decide not to use BuddyPress let me know and I’ll take another look.
Typically if you make a copy of
page.phpand rename itbbpress.phpand it doesn’t work is because the themespage.phphas some funky code, usually linking to custom templates for custom post types so is usually theme specific and alternatives can be to tyr the themesarchive.phpand or post the theme name here and we can have a look.August 12, 2014 at 5:07 am #150635In reply to: phpBB Import Error
Stephen Edgar
KeymasterAfter you click stop and then start it should just continue on from where it left off.
The issue will be though is that any topics in that range of
(13601 β 13700)that were not imported before the conversion stopped will not be imported.These types of faults are typically due to some encoding issue in that post. Sometimes this is from an encoding conversion to UTF8 that was done at some point. Whatever it is, itβs nearly impossible to detect without setting a time limit on queries and bisecting the difference until we can narrow down the offending entry, and skip it. Because queries could naturally take a long time, and because it results in missed data, Iβm not comfortable with this approach.
The workaround is to find and delete the offending reply which is time consuming and tricky but the only way at this stage.
Here’s how I do debug this and find the offending topics/replies:
- Once the import hangs, click stop, take a note of where it was up to, e.g. Converting 11,299 – 11,300
- Click start again and the import will continue from where it left off
- If it hangs again, take note of where it was up to again
- Once finished make a fresh copy of the source database
- Now drop all the rows in the database that are not in the range of rows that failed during import
- Perform a fresh import using this database with the “Rows Limit” setting set to
1 - The import should hang on the offending topic/reply
- Again, take note of the topic/reply it was up to
- Click stop, click start again to continue on
- Once you have your list of offenders and the import has finished delete these rows from this database and test again to make sure it completes without hanging
- Now back in your full database (presumably a copy of the original) delete these same rows from the database and run the import again
August 12, 2014 at 4:09 am #150633In reply to: Topics Page template
Stephen Edgar
KeymasterYou would want to remove the topic form from
content-single-forum.phpSee this to get going on how to edit bbPress templates so you don’t lose your changes when bbPress is updated https://codex.bbpress.org/theme-compatibility/
August 12, 2014 at 3:41 am #150627Stephen Edgar
KeymasterA standard bbPress User Profile Edit link should look something like this:
http://example.com/forums/users/username/edit/
Similar here on this site your edit profile link should be:
https://bbpress.org/forums/profile/azafuel/edit/Users ‘can’ edit their profile in WordPress backend with the
/wp-adminand that is because we are a WordPress plugin that uses WordPress’ users for bbPress so both are valid URL’s for user profiles.August 12, 2014 at 3:33 am #150625In reply to: List of all new topics since last visit
Stephen Edgar
KeymasterI added a couple of other plugins that do this a couple of days ago to the following page:
Check them out and let us know if one (or more) do what you are after
-
AuthorSearch Results