Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 14,726 through 14,750 (of 32,581 total)
  • Author
    Search Results
  • florianbottermann
    Participant

    I’m working at a WordPress site in which I want to use the bbPress plugin. Now, I want to create a link between the normal WordPress comment function and bbPress. I just want to do one thing. Under my standard WordPress blog entries, the users of my site can post comments. The comments are listed under the respective blog article. Next to each comments there the picture of the user that creates the comment. Now I want to create a link between the picture of the commentator and his bbPress profile page. When someone presses the picture of the commentator, there should be a forwarding to the bbPress profile page of the commentator. Observer of my blog can get a few informations about the commentator by that. Unfortunately I’m not able to create the link.

    This is the code of my functions.php, that describes the comments setup of my normal WordPress commenting system:

    And this is the bbPress php code which creates the user avatar link to the profile page:

    Can somebody tell me the way how I have to modify the WordPress functions.php?

    Even now, many thanks for your Help!

    #126273
    kraigg
    Participant

    You could install the BuddyPress plugin, which has forums listed under groups. If you decide to go with this option, make sure to do a backup of your database first, just in case.

    Or you could customise your forum list page using bbPress shortcodes (https://codex.bbpress.org/shortcodes/). You would just need to get the IDs of the forums. Such as:

    Forums page
    ———–

    Main forums
    [bbp-single-forum id=32]
    [bbp-single-forum id=1]
    [bbp-single-forum id=5]

    Other forums
    [bbp-single-forum id=23]
    [bbp-single-forum id=12]
    [bbp-single-forum id=54]
    [bbp-single-forum id=3]
    [bbp-single-forum id=7]
    [bbp-single-forum id=8]

    #126268
    xmasons
    Participant

    I’m trying to create a page that includes only recent topics which would only be available to a forum role of Participant and a visibility of Private.

    Creating a new page and using the short code [bbp-topic-index] doesn’t work, as the Private page visibility is based on WordPress user roles and not bbPress.

    Is there a way to create an additional forum template that lists recent topics? This would not replace the main forum list view, but would be an additional page.

    moonoi
    Participant

    After upgrading to 2.2.4, only the “keymaster” role gets the normal fancy post editor with a choice between WYSIWYG view and source code view.

    Normal “participant” users only get the source code view (exactly like in this support forum). There’s the row of helper buttons to insert code, but you can’t switch to the WYSIWYG view.

    I checked that there are no JS errors. (This is usually what prevents the tabs for switching to show up).

    I figure it must have something to do with the capabilities of the forum roles, but I don’t know how I would be able to view or change these. I use the Members plugin to edit roles and caps for the rest of WP.

    #126265
    moonoi
    Participant

    Thanks Justin and John for all your amazing contributions to the community. I have a few questions/thoughts…

    Dynamic roles – how to edit their caps?
    The switch to “dynamic” roles in the most recent BBPress has left me completely puzzled. I’m still not sure what “dynamic” is supposed to mean?!

    I can’t seem to find anywhere to view and/or edit the caps of these new forum roles. I’d like to, for some reason only “keymaster” users get the wysiwyg post edit form, whereas “participant” can only see the source code pane (no, there are no js errors?!).

    Roles and capabilities in WP
    I have been using Justin’s Members plugin, which made roles and caps in WordPress work like I feel it should. In the same way as in Drupal core. Any number of roles can be assigned to a user. Caps are assigned to roles – never to one single user of course. One specific user will have the combined capabilities of the roles he/she has.

    Am I right that the only thing keeping us from just having a happy life together with Members plugin – assigning many roles to one user – is WP core’s User Edit screen that cuts everything else but one role away when you click save? If so, this should be easy to fix by just modifying this User Edit form. Right!?

    Thanks! 🙂

    #126251
    johni33
    Participant

    I use [ bbp-topic-index] embedded on the front page of http://www.cpsarc.com and it’s been reported that clicking on the navigation links (for page 2 etc) doesn’t direct to forum pages, they display news posts.

    However the same shortcode on the forum page, works as expected
    I can see the address generated for the link on the front page is cpsarc.com/?paged=2
    however on the forum page it’s cpsarc.com/?pageid=1555&paged=2 and pageid 1555 is the forum page.

    John

    #126244
    #126238
    whatisajess
    Participant

    I’ve tried that numerous times, nothing ever seems to work.

    #126236
    sontru
    Participant

    Thanks for confirming the first bug. (I’ve also found that this bug can be fixed by simply saving the settings as is.)

    I’ve been doing some more investigation on the second issue. It looks like it is not the add_user_to_blog function but the wp_create_user function (probably used in conjuction with add_user_to_blog) that is causing the problem. I’ve written a simple admin page (menu item appears under the Users menu) that will manifest the issue on my multisite setup.
    `
    [code with angle brackets removed to be posted]
    `
    Unfortunately, I have not been able to replicate this using a new install of WordPress MS v3.4.2, bbPress and a few sub sites and users. I will have to carry on looking to why my live MS site is causing this issue to manifest.

    #126229
    mtrulete.cb
    Participant

    Hello. Good day! I have installed BuddyPress Plugin on some of my sites. But earlier, I have tried running the exploit scanner plugin on those sites and it has found ‘base64_decode’ and ‘eval()’ lines of code. (Kindly see attached image). I don’t know if I would have to remove the plugin because i found out on some forums and articles that those codes are threats and can cause hijacking and injecting malicious stuffs and the likes. Looking forward on your reply regarding this matter. Thanks!

    #126224
    Stephen Edgar
    Keymaster
    #126219
    raminkhan
    Participant

    okay guys my website is called: schoolruled.com it’s a fairly new website and I would like to set it up like the support section here before it’ too late. I want to have a colum like with forums list and topics count in each forum and the a main column with latest topics but smaller width so what shortcodes should I use for this?

    #126215

    In reply to: BASIC QUESTION

    Lynq
    Participant

    You can find a list of shortcodes and other helpful stuff in the documentation link above.

    #126214
    Lynq
    Participant
    #126213

    Topic: BASIC QUESTION

    in forum Installation
    isay81
    Participant

    I am starting a new Web-site and the client wants a forum. I downloaded the wpbbpress Plug in. I added the widget for the login to my sidebar and I Created the First Forum and a topic for that forum. NOW WHAT?

    Where is a list of the shortcodes?

    HELP????

    #126212
    whatisajess
    Participant

    I tried displaying the reply form in my WordPress theme’s single.php file by putting [bbp-reply-form] but it just outputs [bbp-reply-form] as text on the site.
    I am using the “bbPress Topics for Posts” plugin to automatically create a new topic with every new post and I want to display the latest replies as well as the reply form under the article but it only displays the replies, not the form. So I thought by adding the shortcode, I would get the form but that didn’t work.
    What am I doing wrong?
    Thanks so much in advance!

    #126198
    venomdog
    Participant

    Guys,

    I am starting a social networking site using buddypress and I am also a premium member for WPMUDEV.  However I have different requirement, I want to allow users registered as ‘”agents”” to sell their products to the registered users of my social network. Such that I want to give agents separate login and their own dashboard with all the standard e-commerce stats/reports/affiliate tools and also let them add products on the site, with predefined categories (admin will add these categories) etc.

    So, once agents are done adding their products user can search them and also be able to compare and pay for the product, add coupon codes etc and checkout pay for their purchase, receiver email, all standard features.

    That”s not all I also have requirement to let admin add ”additional services” on the top of user purchase not coming from agents but from the site admin himself.  I know I have lots of customization to do here, but could you please suggest any e commerce solution that fits this requirement, I think MarketPress is quite not what I am looking and cannot do all this.

    I am now looking at Woo commerce but that something I want some feedback, even a paid plugin is fine with me but that should not be complex and easy to customize with its own theme.

    Any advice or you think Marketpress can be customized for this. I am open for suggestions.

    #126181

    In reply to: Manage Forum

    Stephen Edgar
    Keymaster

    You can set the forum order from your WordPress dashboard, see the following docs for more info:

    https://codex.bbpress.org/getting-started-with-bbpress/#creating-your-first-forum

    Stephen Edgar
    Keymaster

    I currently have a new version of my theme sitting locally but I am fairly certain the updates you did aren’t included. I am thinking it might be best to try and extend the bbpress-functions.php from yet another custom functions file so that this can almost sit on top of that and never need to be changed?

    Any thoughts about it?

    I am not sure what the best practice approach is as I am wrestling with the same issue myself for a project I am doing at the moment. I’ll ask @jjj his thoughts and get back to you.

    Hey all, I am pretty bad with Github at the moment, I broke something so I made a new git repo.

    https://github.com/EpicWebs/bbpress-starter-theme-v2.0

    Its all good, I took a look at the code and will submit another pull request against your original GitHub repo with all your updates and the bbPress 2.3 updates.

    (I think it’s best to keep the original repo as people are following/starred/bookmarked it etc)

    If anyone has any good git tutorials let me know lol.

    What platform and devtools are you using to develop with?

    Windows/Mac, MAMP/XAMP, Sublime Text 2/Notepad++/Netbeans etc etc

    These tools below take some of the daunting command line horrors out of your learning Git.

    If you are on Windows then use this http://windows.github.com/
    (I use this for %90+ of anything to do with GitHub)

    If on a Mac grab this http://mac.github.com/
    (I don’t have a Mac but this looks from my quick look the equiv of the Windows features above)

    If you want to get into Git via the command line check this out
    http://try.github.com/

    #126172
    Shane Gowland
    Participant

    I think youre right that the first is a bug. Ive been able to reproduce.

    The second issue doesnt seem very bug-like though. Could you share the code that is calling the add_user function? As I said before, I suspect you’re not doing any validation on the situations ion which the function is allowed to run.

    #126168
    Lynq
    Participant

    That’s going to need quite a bit of custom work, unless someone knows of a plugin you can use.

    You will need to somehow map the user to their forum and then in their custom login page pull all the topics based on that users forum id.  I can see how it could be done.

    When the customer registers you could create the forum, update the user_meta with that forum id and then have a custom view which fetches the customers user_meta forum id and then displays all of the topics based off that forum id.

    https://codex.wordpress.org/Function_Reference/add_user_meta

    Good luck!

    #126158
    Shane Gowland
    Participant

    The ‘participant’ role is one of WordPress’ user roles. bbPress assigns the bbp_participant role, which makes me think there is something else going on here. Are you running any other plugins or custom functions?

    Perhaps you could use something like Multisite User Management to set ‘no role’ as the default across the network. You might need to make some code changes to it though.

    What does your add_user() function look like? It sounds like this could be resolved by wrapping your code in a !is_admin() conditional.

    #126157
    sontru
    Participant

    You misunderstand – I don’t want network users to be added as a participant! (The bug is that bbPress does this even, at installation/activation, the default option says not too!)

    The second bug is a bigger problem here, as there is no work-around except disabling bbPress!

    (I did see your plugin and article before posting, and thought the code had been absorbed into bbPress, but obviously not. If the feature is already present, why write this plugin?)

    #126119
    Stephen Edgar
    Keymaster
    #126117
    physoc
    Participant

    I have codecogs latex equation editor installed for normal posts on my site, but I’m desperately trying to find a way to allow users on the forum to enter equations. Are there any plugins or other solutions? Many thanks.

Viewing 25 results - 14,726 through 14,750 (of 32,581 total)
Skip to toolbar