Search Results for 'code'
-
AuthorSearch Results
-
November 10, 2014 at 2:55 am #154358
In reply to: Parabola theme – profile bug
Robkk
Moderatorok on this you have to contact your theme author and tell them to change this in your theme in its next update.
in file style.css on line 1475 change
.reply a {to
a.comment-reply-link {in the file custom-styles.php in parabola/includes/custom-styles.php
on line 212 and 213 change.reply a {toa.comment-reply-link {and
.reply a:hover {toa.comment-reply-link:hover {they should also change the
.replydiv class to something else maybe like.comment-replybecause bbPress has a
.replyfor all of its repliesNovember 9, 2014 at 6:29 pm #154351In reply to: Parabola theme – profile bug
Robkk
Moderatoryou need to change this css code to make sure its only shows in the comments/replies content.
im not so sure on how to do this one.
contact your theme author
i just checked and they use bbPress for their support forums.
im sure they would help more than i can right now.
November 9, 2014 at 5:26 pm #154349In reply to: Parabola theme – profile bug
Robkk
Moderatorwhatever thats in your css that starts with
.reply ais causing the problem.
November 9, 2014 at 4:24 pm #154348In reply to: Quicktags out of line
Robkk
ModeratorI’ve also noticed my ‘Submit’ button is way further down the page and out of line with the ‘Tags’ input box, any ideas here too?
thats normal , you can see it is aligned on bbpress.org because thats something custom.
bbpress.org uses this css …i guess you can go off of it as an example.
but it causes an issue on smaller device sizes this will make it collide with the tags input.
you will need additional media query css to make it look better on smaller devices.#bbpress-forums .bbp-reply-form fieldset.bbp-form button { float: right; margin-top: -120px; }I can’t also seem to make the quicktags bar the correct width, always seems to over-run the width despite me trying lots of different styles etc.
you can fiddle with the padding but the below css will not make it over-run.
#bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar { padding: 5px 0; min-height: 30px; width: 100%; float: left; }I’ve still not found how to deal with the strange ‘e’ character,
i asked if you edited any templates , i didnt really get an answer but if you did,
it could be an edited reply-form.php and a topic-form.php .
so if you already copied these files to your child theme, check them out and see if you left a stray character somewhere.
other than that i guess make a bbpress.php if you havent sometimes if users dont it adds some additional stuff that are only suppose to be on blog posts.
more info about creating a bbpress.php
November 9, 2014 at 3:16 pm #154346In reply to: How do i change the color of the text and box?
Robkk
Moderatoreasy way i think would be to just install this and choose the dark color.
https://wordpress.org/plugins/bbpress-new-ui/
you can also use this below css and copy it where ever you can put custom css
jetpack css module
custom css plugin
you can find the exact css in bbpress.css and just replace it with the one im posting.you can of course change inherit to and other color like black or its hex #000 for example.
if im missing something please reply back
/* header and footer that says AUTHOR , POSTS , VOICES, TOPICS , FORUMS */ #bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer { background: inherit!important; border-top: 1px solid #eee; font-weight: bold; padding: 8px; text-align: center; } /* this is the background of the forums and topics that display the title, the freshness stats and so on. */ #bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic { border-top: 1px solid #eee; overflow: hidden; padding: 8px; background: inherit; } /* this is the header that shows the post date and post ID */ #bbpress-forums div.bbp-forum-header, #bbpress-forums div.bbp-topic-header, #bbpress-forums div.bbp-reply-header { background-color: inherit; } /* try to make these two different types of dark shades if you care about having an AB color pattern of replies/topics/forums. */ #bbpress-forums div.odd, #bbpress-forums ul.odd { background-color: inherit; } #bbpress-forums div.even, #bbpress-forums ul.even { background-color: inherit; }November 9, 2014 at 2:45 am #154339Topic: Search by user
in forum Troubleshootingwookey
ParticipantI managed to implement a custom function to search by $forum_id and it’s all working and great, and it was done using the instructions from this page.
What I need is a way to search by user. Here’s what the search by forum function looks like:
function my_bbp_filter_search_results( $r ){ //Get the submitted forum ID (from the hidden field added in step 2) $forum_id = sanitize_title_for_query( $_GET['bbp_search_forum_id'] ); //If the forum ID exits, filter the query if( $forum_id && is_numeric( $forum_id ) ){ $r['meta_query'] = array( array( 'key' => '_bbp_forum_id', 'value' => $forum_id, 'compare' => '=', ) ); } return $r; } add_filter( 'bbp_after_has_search_results_parse_args' , 'my_bbp_filter_search_results' );I tried changing all instances of the word “forum” to the word “user”, but no dice. I tried doing searches like this:
http://mysite.com/search/?bbp_search=testword&bbp_search_user_id=123But nothing I does works and I’ve spent many hours tearing my hair out trying to get it working. I would hugely appreciate any assistance making it happen.
ThanksNovember 8, 2014 at 10:58 pm #154337In reply to: Adding bbcode like image, you tube etc…
Robkk
ModeratorWhy would some one pay for support on a non working plugin lol
its works for other users
I dont have caching but with all plugins deactivated other then the ones needed for forums its not working
again im just trying to bring up possible conflicts that might be causing the issue.
or just give up on having bbCode.
well i guess you just tell your users that your site has oembed and it can be used in the forums as long as you have Auto-embed Links checked in the forum settings.
and that any youtube/vimeo video link will automatically embed
imgur/flickr will automatically embed and so on.images from other sources can use the
imgbutton in the quicktags toolbarand options like bold/italicize/link/block-quote can be used from the quicktags toolbar.
we have been using block-quote button back and forth so to replace quotes you can do that too.
list of available oembed providers
https://codex.wordpress.org/Embeds
more on forum settings
November 8, 2014 at 4:48 pm #154333In reply to: Adding bbcode like image, you tube etc…
atfpodcast
Participantprobably , 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
Why would some one pay for support on a non working plugin lol
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 dont have caching but with all plugins deactivated other then the ones needed for forums its not working
i would say contact as much people as you can to help solve the issue.
or just give up on having bbCode.
November 8, 2014 at 1:18 pm #154331In reply to: Pay Per Thread on selected forums only..?
Robin W
Moderator1) just use the
[bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]shortcode on the page to do that
2) That can all be done using coding, but would require a lot of code and expertise both within bbpress/wordpress and to link it to a payment product to take the money, and you’ll lose a lot of revenue in commission on 75p payments on say payal, who take a 20p a transaction charge as well as 3.4% commission.
Ballpark say £100-£200 for a coder to write that all for you (without looking that’s the sort of figure I’d expect to charge to write that, but it could be a lot more)
You would do better to look at a ‘membership’ site plugin, and take a payment per say ten ‘ads’, and use something like ‘bbp notify’ to know when they’ve posted, and a simple excel spreadsheet which you manually update. Then suspend membership or block posting when they have used up their limit.
November 8, 2014 at 1:01 pm #154329In reply to: Custom Fields not displaying when editing post
Robin W
ModeratorAt a guess (and I haven’t checked) I’d say that
bbp_get_forum_id()works for a new topic, but returns a null when editing, hense your ‘==’ is never fulfilled.
Since you should have $topic_id set in either case, maybe try something like
$forum_id = bbp_get_topic_forum_id( $topic_id );to get the forum or just use that if editing?
Have a play and see if that fixes.
November 8, 2014 at 12:42 pm #154328In 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>'; -
AuthorSearch Results