Search Results for 'codes'
-
AuthorSearch Results
-
August 4, 2014 at 2:24 pm #150176
Robin W
ModeratorOne I’ve been playing with
August 3, 2014 at 3:22 pm #150137In reply to: Plugin for star rating on post
Robkk
Moderatorwhich one would you suggest?
i have no idea , i have no opinions on any of them since i havent tried any of them.
You can try each one on a local site if you want and make your decision off that.But what i can say is that this rating plugin https://wordpress.org/plugins/rating-widget/
is on https://codex.bbpress.org/feature-plugins-tracking/
and it also has some integration with bbpress.
Basically I want it to show up in only a few of my subforms next to the bb codes on top ^^^
I have no idea how your going to show the ratings on a few subforums , your probably going to need help on that too, (i have no idea how to help you on this)
August 3, 2014 at 3:06 pm #150135In reply to: Plugin for star rating on post
cybarmitzvah
Participantwhich one would you suggest?
Basically I want it to show up in only a few of my subforms next to the bb codes on top ^^^
August 1, 2014 at 4:08 am #150034In reply to: login and registration
Robin W
Moderatoryes you need to set up pages for these functions.
So set up a page called ‘registration’ and put
[bbp-register]in it.
and a page called ‘lost password’
and put
[bbp-lost-pass]in it
You can prefix these codes with some text as well so for instance lost password might say
Enter your email address, and we'll send you a new password [bbp-lost-pass]July 28, 2014 at 7:08 pm #149778Robkk
Moderatorthey use , the bbpress shortcode for the new topic form.
[bbp-topic-form] – Display the ‘New Topic’ form where you can choose from a drop down menu the forum that this topic is to be associated with.
more shortcodes https://codex.bbpress.org/shortcodes/
create a page , lets say “new topic”
add that shortcode, and save
place an html link in loop-forums.php
the link should look like
<a href="http://sitename.com/new-topic/">New Topic</a>style it with css with
a.bbp-new-topic-button { background:#009375; color:#fff; }July 27, 2014 at 10:58 pm #149719In reply to: My Thoughts on BBPResss
Robkk
ModeratorHi Robin, so you don’t like feedback here? I seemed to have hit a sensitive nerve with you! I did try to make some positives as well as what I thought were honest concerns. I looked on the support forum and there were also other older threads with no replies, not just mine, If you can’t take feedback about what you do then I’m sorry to say you will never learn or grow. As for it been free, well I’m not going to go into a debate about that. But I believe there would be ways to make money out of this like here: http://www.packtpub.com/bbpress-complete-comprehensive-guide/book
bbpress is open source , i dont think the community is going to try to make money off of something thats open source, thats probably why there is no ads on this site too.
that book was just written by some guy thats not really affiliated with bbpress. Its like if i myself made a book of all that i know from reading all the documentation. (i dont work for bbpress, i am a volunteer )
topics with no replies, people are busy , there is like only 2 official people that check out this forum occasionly , robin and stephen
jjj might check out the forums though but he also works on wordpress core i think i am not sure.
Other than that the others are volunteers like myself , which i am helping out people because robin helped out me , idk i feel i got to repay them somehow haha
Your own layout looks promising, I hope it goes well.
im on the fence if i should put it on github or not, i feel like i dont want people jacking my forums style sometimes
As for examples
Just any thing that looks like a forum:
bbpress looks like a forum ,its just a really simple one.
which is great because not all people need extravagant features, but if they want they can add wordpress plugins, and also custom functions that you may find on this forum.
if we compare features in bbpress compared to other forum software there is not much of a difference.
All i can see that is different is shortcodes on bottom, which i showed a user how to do in a topic before. using bbpress forum statistics shortcode, and the do shortcode function.
forum icons, which is possible there is a function somewhere if you search this forum.
category and hierarchy layout , if you search the bbpress trac people have shared how to do this if users want that specific layout.
ip boards topic sorting you can create something similar using bbpress views in simple html links.
and the rest is just styling with css, in the documentation it explains… go to this https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-2/
July 22, 2014 at 5:28 am #149473In reply to: Shortcode Topic – Add Reply Form
bm_kabin
ParticipantYikes I think I may have spoke a little too soon. Having done your recommended method, it doesn’t seem to isolate the changes made for the shortcode. I have removed the original modified file and created a duplicate named ‘content-single-topicb.php’. This corresponds with the change to line 335 in shortcodes.php with
bbp_get_template_part( 'content', 'single-topicb' );.Any idea why it’s not working?
July 22, 2014 at 4:21 am #149467In reply to: Shortcode Topic – Add Reply Form
Robin W
Moderatorok so if your code savvy, two approaches
1. the hack
I haven’t tried this, but it should work fine
go into
wp-content/plugins/bbpress/includes/common/shortcodes.php
and look at line
355 which says
bbp_get_template_part( 'content', 'single-topic' );change that to
bbp_get_template_part( 'content', 'single-topicb' );That will then get bbpress looking for a php file called ‘content-single-topicb.php’
so then you can use the method in my first post to create that file in your theme ie as per first post, but just rename the file with a b at the end.
YOU WILL need to change this each time bbpress upgrades as it will overwrite – hence why it is the hack ! But that’s hardly difficult !
2. the proper way
Would be to create your own version of the shortcode, by copying all that particular shortcode into your themes functions file, BUT renaming it (or you’ll get already loaded errors), and then lots of editing to get it to work.
Personally I’d go route 1, and just make a note to change that file each time bbpress upgrades
July 20, 2014 at 2:43 pm #149385In reply to: Accept shortcodes in forum
Robin W
ModeratorJuly 20, 2014 at 11:27 am #149381Topic: Accept shortcodes in forum
in forum TroubleshootingSAPinfoASAP
ParticipantHi,
Is it possible to allow shortcodes in the forum? These shortcodes are not part of bbpress, but other wordpress plugins I have installed.
For example one short code allows me to add an optin form, I would like to add this to the end of my forum post.
Thanks in advance,
July 18, 2014 at 9:38 am #149294In reply to: How to make similar bbpress forum to QuicSprout one?
Pavle123
ParticipantStephen and Robkk, once again thanks for everything you do here.
I will continue improving my bbPress and will post some codes once I´m done.July 17, 2014 at 9:12 pm #149262In reply to: Different Sidebar for the Forums
Herophantom
ParticipantThank you.
I would also like to update, so after reading some more last night, I found the documentation on the short codes. I tried making a dedicated page and using the short codes to load the main forum index. Now this works in almost every way, including using the proper sidebar that I want, however, the search option at the top is now off set, with the button below the bar instead of next to it. I have been fiddling with the CSS for awhile to see if I can get it to align properly, but so far no luck. And now, even the page provided by the bbpress plugin is doing the same thing. So maybe I messed something up, or maybe I’m just missing something, but if I can get this solved, I will have a perfect solution.
July 17, 2014 at 10:34 am #149242In reply to: bbPress don't work.
Pavle123
ParticipantIt would be useful if you could share the link or something.
Have you pasted the forum shortcode on a page?Forums
[bbp-forum-index] – This will display your entire forum index.
July 15, 2014 at 9:16 am #149145In reply to: How to make similar bbpress forum to QuicSprout one?
Robkk
ModeratorAmazing work man, thanks so much.
your welcome 😀
I need to figure out where to post each code in my theme,etc.
Should I also put codes in bbPress plugin, or not? Since it might get deleted once updated, right?
you copy bbpress templates into your child theme so its okay when bbpress updates, i explain exactly what template to copy and also i show you a snippet of where to put the code by the original code.
you put custom css into anything that can handle custom css
in bbpress.css in your child theme(you copy the original in your child theme)
in your child themes css stylesheet
the jetpack plugin module custom css
a standalone custom css pluginJuly 15, 2014 at 5:08 am #149133Topic: WordPress and bbpress search
in forum Troubleshootingacornale
ParticipantAt the moment, I have a standard WordPress search box on the top of my page. It seems to return posts and pages but not bbpress forums or topics.
I can use the bbpress shortcodes to display a forum search but I don’t want two search boxes.
Is there a way to extend the native wordpress search so it returns posts, pages, topics and forums?
At the moment, it seems I can search bbpress OR search wordpress posts / pages. I want to search both?
July 15, 2014 at 4:26 am #149132In reply to: How to make similar bbpress forum to QuicSprout one?
Pavle123
ParticipantWow @Robkk
Amazing work man, thanks so much. I will need few days to set everything up.
I need to figure out where to post each code in my theme,etc.
Should I also put codes in bbPress plugin, or not? Since it might get deleted once updated, right?
July 12, 2014 at 2:10 pm #149083Jerry
ParticipantHi Robin. I’m on my way to the UK to support the Farnborough airshow, so I can’t access my home computer to replicate the error for another week. What I can tell you is; when I removed the switch_to_blog id input parameter and instead assigned a variable $cat to ‘post_parent’, and set $cat = $attr[‘id’];, I received no errors. I hard-coded to the blog site, then I can adjust the id to equal the forum id. So my feeling is that shortcodes cannot accept two inputs? If I’m wrong about that, then I will re-address this upon my return to the states.
July 12, 2014 at 8:08 am #149068In reply to: How to make similar bbpress forum to QuicSprout one?
Robkk
ModeratorFor login and register you could create individual pages for login and registration , you could use the login and register form short codes by bbpress and put them in your pages or if you use theme my login or something similar that creates custom frontend membership pages use that. And put an HTML link to both pages above loop-forums.php or above the call of loop-forums.php in archive-forum.php
Round avatar images use border-radius:50%; or something like that , you could probably right click inspect element target the avatar image and get the CSS code right off of quick sprout and put that in your custom css
Unread posts you have to wait til its sunday (time I will be home to see my desktop)
Stats at bottom you could use the bbpress stats short code , if you want it in your templates use the php do shortcode function with the bbpress stats short code
I don’t know how the new thread button fuctions , but you could create a page let’s say “new topic” and link to it the same as the login/register buttons
July 12, 2014 at 6:45 am #149062In reply to: BBPress advise wanted
Stephen Edgar
KeymasterCool, most of things you mention can be done, some are ready to go, others need a few tweaks and custom PHP code to achieve the results.
1. create login in the wp home page for BBpress
Create a WordPress page, set that as your home page, add the bbPress login/register shortcodes
2. allow only offline registered members to be registered as BBpress users
Not quite sure what you mean here, you can set your forums to ‘private’ so only logged in registered members can see or use the forums.
3. enable/disable users, and hence their profiles
This is more of a WordPress question than bbPress, if the member has an active and valid WordPress account then they can login. If you want to remove the user and their associated profile then you’d delete the actual WordPress user which inherently flows down to bbPress.
4. allow users to create profiles with their filmography and perhaps a vimeo embed or two
With a few minor tweaks/customisations you could achieve this, you may also want to take a look at BuddyPress’ Extended profiles which will let you do this also.
5. can users have simple URLs for their profiles, like perhaps example.com/username?
Yep, this is built in, here’s yours here on bbpress.org https://bbpress.org/forums/profile/parambyte/
July 12, 2014 at 5:12 am #149043In reply to: Custom user administration page
Stephen Edgar
KeymasterCreate a page or two and use the bbPress shortcodes
https://codex.bbpress.org/shortcodes/
https://codex.bbpress.org/widgets/July 11, 2014 at 10:21 am #148987Topic: Allow HTML tags in Post for All Users
in forum TroubleshootingLeonyipa
ParticipantHow to allow all users to use HTML codes, because at the moment, only keymaster can have access to all HTML tags.
I would like to allow user to use this code:
//<span style=”font-size: 36pt; font-family: impact, chicago;”>Pademelon</span><span style=”font-size: 36pt; font-family: impact, chicago;”>Pademelon</span>
July 10, 2014 at 8:32 am #148931In reply to: Reduce size of embed Media
Robkk
Moderator@leonyipa ok great on the youtube video width , at least the code is doing something
there is probably another function on the web that i can direct you to if i find something that works on both height and width, so wait til i come back with a function that works for both
if i give you a new function delete the old one
paste codes into a child themes functions.php and style.css so that the code wont disappear during theme upgrades
and dont edit the core files inside of bbpress
copy those files into your child theme so you can be safe on bbpress plugin upgradesso copy bbpress.css to your child theme, if you dont have a child theme , make one they are great for customizing your bbpress install
for more about customizing bbpress with css , plugins, and functions read this
July 9, 2014 at 6:59 am #148891In reply to: Reduce size of embed Media
Robkk
Moderatornot sure but you probably have to set a max width for oembed embeds
http://www.wpbeginner.com/wp-themes/how-to-set-oembed-max-width-in-wordpress-3-5-with-content_width/
add the code to your functions.php in your child theme.
change 600 to whatever number you want as the width, im sure you could copy the function to width to height and also do the height to.
if the code doesnt work , look at the comments and try that user posted code. (i havent tried any of these codes so i dont know if they work really, if they dont just delete the function from your child functions.php)
for images (using img quicktag) i think you can use css
#bbpress-forums div.bbp-reply-content img, #bbpress-forums div.bbp-topic-content img {
max-width: 100%;
height: auto;
}for images (posted by link using oembed , imgur , flickr picture, instagram picture) the oembed code that i linked to should do the same for these.
July 9, 2014 at 2:52 am #148882In reply to: Topic Index Shortcode
Robin W
Moderatoryes, I’ve started a plugin that does some different shortcodes, and at the moment one that does just that is all that’s in there
July 8, 2014 at 5:50 am #148852In reply to: Single Forum for WP Multisite
mattmatt88
ParticipantI already have a multisite with subdomains:
myurl.com
page1.myurl.com
page2.myurl.com
page3.myurl.comNow I want, that the same forum content is used for every page.
So the same forum should be available for every page:myurl.com/forum
page1.myurl.com/forum
…For example, I’ve got a points system plugin that is multisite compatible (mycred).
I just have to set it on the main page (myurl.com) and the points logs are the same on every page. That’s what I would need for the forum.Why I need it on every page and I’m not just linking to the main page forum:
e.g. because I want to use shortcodes/widgets to show the user the most recent forum topics, doesn’t matter if he is on a subsite (e.g. page2.myurl.com/forum).Thanks a lot
-
AuthorSearch Results