Search Results for 'code'
-
AuthorSearch Results
-
November 8, 2014 at 12:42 pm #154328
In reply to: Participant can access Dashboard?
Robin W
Moderatoryou can just untick the toolbar option for each user in dashboard>users and edit a user
If you want to disable for all but admins, put this in our functions file
<?php //disable toolbar for non-admins if (!current_user_can('manage_options')) { show_admin_bar(false); }November 8, 2014 at 10:49 am #154326In reply to: Adding bbcode like image, you tube etc…
Robkk
ModeratorI wonder if I said I wanted to go pro I bet he would reply
probably , the guy does have a separate support forum just for premium plugin users
he might just be busy and more concentrated over there more since the plugin provides income for him.
I manually did the quote and it put it in the lower area of the post.
you probably have to contact your theme author, on how to fix that.
it might be you have
float:left;orclear:left;in the css and that might be causing the issue.
switching both tononeshould fix it.I don’t see anything with this new plugin either… 🙁 Not even a quote either.
It’s working in IE not firefox. grrrrrrrrrrr I don’t know why it worked in raindrops when I installed it and now it wont and I cant find any plugins messing with it.
i tested the plugin in the latest firefox and chrome , not IE though.
it could be a cache system/plugin or a minify plugin minifying the direct quotes plugins javascript wrong but im just guessing right now.
i would say contact as much people as you can to help solve the issue.
hosting support
plugin support
theme supportNovember 8, 2014 at 3:05 am #154323Topic: Custom Fields not displaying when editing post
in forum TroubleshootingPreston
ParticipantWordPress Version: 4.0
bbPress Version: 2.5.4
Theme: Lightly modified Skeleton (http://themes.simplethemes.com/skeleton/)I’m using this code: http://pastebin.com/7NQnubJP to add custom fields in a specific forum. Everything is working great except for when I try to edit an existing topic. When I try to edit an existing topic, the custom fields aren’t displayed on the page, and therefor aren’t editable. Only the normal Title and Content fields are displayed.
The issue still happens while using an unmodified Twenty Fourteen theme (besides adding the relevant code to the functions.php file, of course).
I haven’t had any luck finding out what the problem is, but I’m hoping it’s something simple.
I appreciate any help!
November 8, 2014 at 1:09 am #154322In reply to: b-quote to show above post
akyboy
ParticipantThanks Mr Rob, couldn’t do it without you!!
I used FF Inspector too (you suggested that to me too) to
stealsome css goodies i like from this site 🙂November 7, 2014 at 6:47 pm #154310In reply to: Quicktags out of line
Robkk
Moderatorim not sure about the
ehave you been editing templates??
did your theme come with bbpress templates already in it??
but i did find this other little bug that shows the little checkbox thats right by Notify me of follow-up replies via email thats all awkward and what not.
#bbpress-forums fieldset.bbp-form input { margin: 0 0 8px; width: auto; }November 7, 2014 at 6:30 pm #154309In reply to: b-quote to show above post
Robkk
Moderatorthe issue now is that your theme already has some
!importantstatements.your original blockquote css is
blockquote { font-style: italic !important; width: 200px !important; float: left !important; clear: left; }since
float:lefthas !important on the endand the new css for
float:none !importantmy new statement doesnt do anything.
posting the code into your child themes css stylesheet should fix it.
since the child themes stylesheet code overwrites the parent themes stylesheet.
so put it into your child themes stylesheet and see if it works.
November 7, 2014 at 5:44 pm #154308In reply to: b-quote to show above post
akyboy
ParticipantHi Rob,
i have bbpress.css in my theme css folder
when i was setting it up i read instructions and i think i did it right 😛
so it is in:
/themes/tank/css/bbpress.cssI have used code you just posted and i see difference but still not the way it is supposed to be )
November 7, 2014 at 5:40 pm #154307In reply to: b-quote to show above post
Robkk
Moderatorhopefully you are putting it into your child themes stylesheet
or in a plugin like jetpacks custom cssit doesnt have to be in the bbpress.css file, because the code is in your themes stylesheet.
since it didnt work try this.
blockquote { font-style: italic !important; width: 200px; float: none !important; clear: none !important; padding-bottom: 15px; }November 7, 2014 at 5:12 pm #154304In reply to: b-quote to show above post
Robkk
Moderatortry this , put it anywhere you can put custom css
blockquote { font-style: italic !important; width: 200px !important; padding-bottom: 15px; }November 7, 2014 at 1:55 pm #154295In reply to: Full page width with left sidebar twentyfourteen
shriji252
Participantthanks bud
I had @import in my child theme
did as mentioned in
put below code in style.css in child theme
———————————————–
#bbpress-forums {
font-size: inherit !important;
width: 100% !important;
}
@media screen and (min-width: 1008px)
.bbpress .site-content {
margin-right: 0 !important;
margin-left: 182px !important;
}.bbpress .site-content {
margin-right: 0 !important;
margin-left: 0 !important;
}
———————————–
also copied page.php (from twentyfourteen folder) and renamed to bbpress.php put in root of child themeNovember 7, 2014 at 1:09 pm #154292In reply to: Quicktags out of line
Robkk
Moderatortry this anywhere where you can put custom css
#bbpress-forums div.bbp-the-content-wrapper input { font-size: 12px; padding: 5px; margin: 0 2px 0 0; line-height: 1em; width: auto; }November 6, 2014 at 3:03 pm #154246In reply to: Query for thread with no new answers.
Robin W
ModeratorLots of info stored against a topic in wp_postmeta and several parameters you could use, but the most obvious is
_bbp_last_active_time
so your sql statement would search through wp_posts for a post type of topic where postmeta post id _bbp_last_active_time was greater than a month.
Easiest way to get you head round this is to look at a forum topic in your website that has replies, and make a note of the topic number in the heading (the #nnnn eg #15108 bit!).
Then using phpmyadmin, go into wp_postmeta table and type the following into the sql query
SELECT * FROM
wp_postmetaWHEREpost_id=15108where 15108 is the topic id number.
You’ll see all the data stored against it, and the above should become clearer.
post type is stored in the wp-posts table
SELECT * FROM
wp_postsWHEREpost_type=’topic’November 5, 2014 at 5:49 pm #154217In reply to: User Porfile Page
brunof13712
ParticipantRobkk,
I hope to be understanding what you are requesting from me… sorry my english…
This is my link profile (when I click on my name in any topic): http://quadriciclobrasil.com.br/forum/users/admin-2-2-2/
This is the link when I click on ”edit profile” that is appearing on my menu after have I added the code on functions.php: http://quadriciclobrasil.com.br/forum/users/admin/edit (PAGE NOT FOUND)
anyway, can I give you a admin acess?
November 5, 2014 at 2:40 pm #154211In reply to: Private messages (Not with Buddy Press)
Robkk
Moderatori just googled private messages plugin for wordpress
these are my results
https://wordpress.org/plugins/cartpauj-pm/
https://wordpress.org/plugins/front-end-pm/
https://wordpress.org/plugins/private-messages-for-wordpress/
http://codecanyon.net/item/wp-ajax-private-messages-wordpress-plugin/4446743
http://codecanyon.net/item/ajax-private-messages-wordpress-plugin/3296422
https://wordpress.org/plugins/wp-private-messages/
WordPress Messenger Plugin: Send Private Messages Between WP Users
you need userPro for this one
http://codecanyon.net/item/private-messages-for-userpro/7124805
November 5, 2014 at 2:32 pm #154209In reply to: User Porfile Page
Robkk
Moderatorin both functions you see something similar to this
$profilelink = '<li><a href="/forums/users/' . $user . '/">Profile</a></li>';change forums to forum , since you have changed your root slug.
$profilelink = '<li><a href="/forum/users/' . $user . '/">Profile</a></li>';November 5, 2014 at 1:39 pm #154201In reply to: Trying to make forum full width
bsilverop
ParticipantThanks @robkk. This is looking good to me after making the changes. I tested on a few different screens here with different sizes and seems to be working well. I’m not sure why the @media screen commands weren’t working before, but suspect it had something to do with the order. This is what I ended up with for those looking to do something similar in the future. Thanks again, and if you accept donations please contact me or direct me to a place where I can contribute to all who helped here. Thanks again,
.site, .site-header { max-width: 100%; } .bbpress-forums .col-2cl .main { background: none repeat-y right 0; padding-right: 0; } .site-content .entry-header, .site-content .entry-content, .site-content .entry-summary, .site-content .entry-meta, .page-content { max-width: 100%; } .form-allowed-tags { display: none; } div.bbp-breadcrumb, div.bbp-topic-tags { font-size: inherit !important; } #bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results { font-size: inherit !important; } #bbpress-forums { font-size: inherit !important; } .bbpress .hentry { margin: 0 auto 48px; max-width: 100%; } @media screen and (min-width: 1008px) { .bbpress .site-content { margin-right: 0; margin-left: 182px; } } @media screen and (min-width: 1080px) { .bbpress .site-content { margin-left: 222px; } } @media screen and (min-width: 1218px) { .bbpress .site-content .entry-content { margin-right: 0; } } @media screen and (min-width: 673px) { .bbpress .site-content { margin-right: 0; } }November 5, 2014 at 1:08 pm #154198In reply to: Trying to make forum full width
Robkk
Moderator@media screen and (min-width: 1218px) { .bbpress .site-content .entry-content { margin-right: 0px; } }this should remove that space on the right of the forums
November 5, 2014 at 1:04 pm #154197In reply to: Trying to make forum full width
Robkk
Moderatorremove the
!importantfrom@media screen and (min-width: 1008px) { .bbpress .site-content { margin-right: 0 !important; margin-left: 182px !important; } }there should be some space to the right, I will try to figure out that too, but tell me if removing the
!importantfixes the forums hiding under the left sidebar.November 5, 2014 at 12:23 pm #154192In reply to: User Porfile Page
brunof13712
ParticipantHi @Robbk,
I added this code on functions.php from my theme and appeared a link ”profile” on my menu who directs to this link: http://quadriciclobrasil.com.br/forums/users/admin/ but it is a page not found. Am I doing it correctly?
November 5, 2014 at 11:53 am #154189In reply to: Trying to make forum full width
Robkk
Moderatorthis css code i forgot to add , put it before the media queries
.bbpress .hentry { margin: 0px auto 48px; max-width: 100%; }November 5, 2014 at 10:57 am #154184In reply to: Trying to make forum full width
Robkk
Moderatoralright this should be your entire css now
if the @media queries still do not work try just adding them into your child themes style.css file.
if it still doesnt work when you put the media queries in your style.css make sure you are not using @import and instead using this in your child themes functions.php
add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX); function enqueue_child_theme_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_uri(), array('parent-style') ); }more info here https://codex.wordpress.org/Child_Themes
and also contact jetpacks plugin support and see if there is a problem or if i made another mistake or something
.site, .site-header { max-width: 100%; } .bbpress-forums .col-2cl .main { background: none repeat-y right 0; padding-right: 0; } .site-content .entry-header, .site-content .entry-content, .site-content .entry-summary, .site-content .entry-meta, .page-content { max-width: 100%; } .form-allowed-tags { display: none; } div.bbp-breadcrumb, div.bbp-topic-tags { font-size: inherit !important; } #bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results { font-size: inherit !important; } #bbpress-forums { font-size: inherit !important; } @media screen and (min-width: 1008px) { .bbpress .site-content { margin-right: 0 !important; margin-left: 182px !important; } } @media screen and (min-width: 1080px) { .bbpress .site-content { margin-left: 222px; } } @media screen and (min-width: 673px) { .bbpress .site-content { margin-right: 0; } }you can see i removed the
width:100%on the#bbpress-forumscss code , its because it didnt really do anything.November 5, 2014 at 12:27 am #154178In reply to: Voting on user-submitted posts
dtbaker
ParticipantI’ve updated the plugin to include a (very basic) paypal payment feature and the ability to mark topics as “accepted”. You have to manually update the topics when payments come in, I don’t have enough time to make any sort of PayPal IPN integration.
Code has been updated here: https://github.com/dtbaker/bbPress-Support-Forums ( warning, my paypal address is hard coded into includes/bbps-vote-functions.php )
Screenshots:
Main forum page, it sorts topics by “funds” then “accepted” then “votes”.

Admin topic page: you can vote, mark topic as accepted, and manually update payments.

User topic view, can vote (when logged in) and pay:

Live demo here: http://ultimateclientmanager.com/forums/forum/feature-requests/
November 4, 2014 at 10:19 pm #154173In reply to: Trying to make forum full width
bsilverop
ParticipantThanks. I’m just using one .bbpress .site-content because I’m keeping the right sidebar. Whenever I use the @media screen piece, it just chops off what’s below it. But yes, it does seem like it’s needed. The first other person to test said that the title of the page is cut off just a little bit on the left side, where as on my end it seems like there’s plenty of space.
This is all the custom CSS if it makes a difference:
.site, .site-header { max-width: 100%; } .bbpress-forums .col-2cl .main { background: none repeat-y right 0; padding-right: 0; } .site-content .entry-header, .site-content .entry-content, .site-content .entry-summary, .site-content .entry-meta, .page-content { max-width: 100%; } .form-allowed-tags { display: none; } div.bbp-breadcrumb, div.bbp-topic-tags { font-size: inherit !important; } #bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results { font-size: inherit !important; } #bbpress-forums { font-size: inherit !important; width: 100% !important; } .bbpress .site-content { margin-right: 0 !important; margin-left: 182px !important; }And this is it after I add the @media screen tag (notice it just cuts off the rest):
.site, .site-header { max-width: 100%; } .bbpress-forums .col-2cl .main { background: none repeat-y right 0; padding-right: 0; } .site-content .entry-header, .site-content .entry-content, .site-content .entry-summary, .site-content .entry-meta, .page-content { max-width: 100%; } .form-allowed-tags { display: none; } div.bbp-breadcrumb, div.bbp-topic-tags { font-size: inherit !important; } #bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results { font-size: inherit !important; } #bbpress-forums { font-size: inherit !important; width: 100% !important; } @media screen and (min-width: 1008px) {November 4, 2014 at 9:16 pm #154170In reply to: Trying to make forum full width
Robkk
Moderatortry this and make sure its above the other
.bbpress .site-content {@media screen and (min-width: 1008px) { .bbpress .site-content { margin-right: 0 !important; margin-left: 182px !important; }November 4, 2014 at 9:00 pm #154169In reply to: Trying to make forum full width
bsilverop
ParticipantI didn’t notice this before, but the problem seems to be that when I try and save anything with the @media statement, it ends up saving it like what’s shown below (notice the missing margin-right and margin-left) no matter how many times I fill in the missing lines and re-save. I suppose it’s an issue with the CSS plugin (JetPack Custom CSS), but from what I understand that file is stored in the database and generated dynamically and cannot be modified directly. So I’m not too sure how I can add this otherwise.
@media screen and (min-width: 1008px) .bbpress .site-content { } -
AuthorSearch Results