Search Results for 'code'
-
AuthorSearch Results
-
November 8, 2014 at 4:48 pm #154333
In 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>';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/
-
AuthorSearch Results