Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 14,676 through 14,700 (of 32,503 total)
  • Author
    Search Results
  • #126238

    In reply to: Shortcodes don't work

    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

    In reply to: Shortcodes don't work

    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.

    Stephen Edgar
    Keymaster

    Looks like the conversion hangs around 13,000 replies …. I have about 20,000 more to go. It definitely slows down near the end.

    If it hangs and appears that nothing is progressing, click ‘stop’, wait a minute to give your webhost a moment to finish anything it might be doing, click ‘start’ and it should resume from where it left off. Take note of the step and count of where it was up to so after importing you can check that for example all replies between 13,400 & 13,499 have indeed been imported.

    However, the posts that do end up getting converted look beautiful.

    Cool, took a while to get to this point but quite satisfied with the results.

    My only guess is the scrubbing process is taking a lot more resources than before this beta version? Any insights would be much appreciated

    There have been no changes to the actual converter, only the importer. Granted that the import now imports more phpBB fields than it did previously but this should make only a small increase to the SQL query performance.

    As each topic or reply is imported it is parsed with ~30 regex strings to convert the BBCodes, I haven’t done any benchmarks but presumably this has some impact.

    My base phpBB database import I have used for the past 6 months to test with is around ~6000 topics and 30,000 replies and I haven’t really noticed much of an impact during what I would say has been ~100 imports.

    Also, I’ve noticed that there seems to be only two levels of hiearchy that gets converted … Categories and 1 level of forums below that. Nested forums within forums in phpbb don’t get pulled in? It’s okay for me either way because i’ll modify my forum structure before importing them.

    That should work fine, I tested things to a depth of 4 with a forums hierarchy based on the ‘‘nested set model’.

    #126085

    In reply to: login shortcode

    Stephen Edgar
    Keymaster

    http://www.newlifeworshiparts.com/wp-content/themes/Soundstage/style.css?ver=3.5 Line #1478

    Remove the `float: left` from your CSS (Check where else this may affect your site also)
    `.comments-list .title strong{font-family:DroidSerifBold;}
    .comments-form .txt,
    input[type=”password”]{
    float:left;
    clear:left;
    width:204px;
    padding:8px 9px 9px;
    background:#fff;
    border:1px solid #c2c4c6;
    margin:0 0 12px;
    position:relative;
    }`

    Stephen Edgar
    Keymaster

    @Lynq,

    I just sent you a pull request over at GitHub and updated all the things.

    • Update to latest bbPress r4754 code changes
    • Added README.md
    • Updated bbpress-functions.php
    • Updated bbpress.css
    • Added custom CSS changes to bbpress-rtl.css
    • Removed unused templates

    bbPress r4754 is at this stage bbPress 2.3 Beta 2 and I am pretty sure any other changes we make before releasing 2.3 won’t affect any of what I just updated.

    There are no changes to your code, just the bbPress updates to the latest version available.

    #126075
    Stephen Edgar
    Keymaster
    #126069

    In reply to: phpBB magic URLs fix?

    Stephen Edgar
    Keymaster

    The good thing though is that the majority of what is included in the 2.3 update can be used manually on your MySQL database to convert the BBCodes & Magic URL’s to WordPress friendly HTML.

    I just haven’t written any docs on this yet, I also haven’t actually done it on a site I desperately need to do this with. Hopefully in the next couple of days I can get some time to get this started.

    #126068
    nadir
    Participant

    Okay figured it out … closing the loop here in case someone needs a solution in the future to this problem.

    This code worked:

    `printf( bbp_get_topic_author_link( array( ‘type’ => ‘avatar’ ) ) );`

    #126065
    kprichardson
    Participant

    http://www.newlifeworshiparts.com/login/

    I placed the login shortcode on this page. The boxes don’t seem to be lining up correctly. The register shortcode looks fine. Any suggestions?

Viewing 25 results - 14,676 through 14,700 (of 32,503 total)
Skip to toolbar