Forum Replies Created
-
In reply to: Getting Buddypress Functions in to Custom Theme
You shouldn’t need to copy over anything from bp-default functions.php as that will cause a ‘cannot re-declare’ error notice. it sounds as though you have separated yourself from bp-default including the javascript files, it’s probably best to run a child that still references the functions and javascript files just copy over any folders and if necessary the css folder and change your styles.css @import paths to reference the local folder.
I have finished a basic little plugin that allows you to add the google map to profile pages via the various action hooks available along with a widget for placing map in custom areas. Just waiting on svn repo access to upload plugin.
When I get the chance I’ll try and wrap it as a plugin – in the meantime there was a plugin being written by travel_junkie that may suit, not sure how far that’s come in development.
This very same question was asked in another thread that I responded to yesterday, I’ll look for a link to it.
Quick search often comes up trumps
In reply to: PHP code if I didn’t use widgetsGood starting point would be the BP codex and custom loops:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-members-loop/
In reply to: How to block ip when visiting /register ? [SPAM]And do any of these bots respect and observe robots.txt file? in which case id them from your server stats and block that url although that should be blocked already really.
You could go the Apache Allow/Deny directive in .htaccess?
In reply to: How to limit activity items for per page?The function and filter is overkill really you can add to the query string but concatenating the parameter :
bp_has_activities( bp_ajax_querystring( ‘activity’ ) . ‘per_page=10’ )In reply to: Users can’t register through BuddyPress home pageYou came here seeking help from those more experienced!
BTW, I’m a total newby at both WP and BuddyPress and came to the forum to find help, not to get dumped on
Where have you been dumped on?
It doesn’t help to get snippy about “generally not the done thing to do on forum
There is a very deliberate reason old threads are not raised again, and yes sorry but forums rules in general frown upon this action and do ask that people start their own threads. You claim this thread mirrors your own issue, but I’ll point out that your stated inexperience in matter leaves you not best placed to judge that.
I don’t think starting lots of new threads about the same problem will help anyone
Again let us worry about that.
Please set aside the attitude it doesn’t help. Once again you have come here for help, that help often comes from experienced professionals that earn their living coding and developing, please respect the fact that there is no obligation to help and that this help forum and the project itself is maintained by volunteers – unpaid!
You really needed to have followed my advice earlier about testing with bp-default and plugins disabled if you had lurked on the forum you would have noted that this is a very common and important request.
Now as to your concern as to losing work you wont! it is perfectly safe to change themes that is the nature of the WP themeing side of things, disable your custom theme and activate bp-default also deactivate any BP related plugins except BP itself nat and also any custom functions that you may have created in your themes functions file.
Test the registration process in this default state if it works then you now know you have an issue with either your custom theme or a plugin; if it still doesn’t work then you might consider checking that you have in fact told WP to allow registrations in the WP options screen, if that is set confirm whether WP itself can accept registrations – helps to make sure WP is set up correctly and working before moving on to adding further layers like BP.
When that is done please report back and let us know what the outcomes were and we can then proceed from there.
In reply to: Users can’t register through BuddyPress home pageYou will probably need to add a little more detail, version numbers, theme in use plugins etc. 1.2.6 has no issues that I’m aware of with signup and works correctly so there must be something else upsetting things.
It would help to confirm whether disabling all plugins other than required BP and dropping back to the bp-default theme still presents the issue or whether it works with default bp
This thread is 5 months old and apart from possible usefulness as archive reading (not in this instance) it serves little purpose resurrecting old threads to post to, and is generally not the done thing to do on forum
please always create a fresh thread on an issue.In reply to: Making a theme compatible?On a volunteer support forum it’s not really appropriate to ask members to do work for free, members are generally willing to help people to work through things but it will always be expected that they will attempt with help to get this done. Of course if you really haven’t the skills then you can take the option to pay someone to do this for you then we would ask that you post a request for paid help in the Jobs Board group:
https://buddypress.org/community/groups/bp-jobs-board/
I presume you have used the template pack plugin to try and get your theme compatible with BP, have you run through the codex page to see if that helps at all:
https://codex.buddypress.org/theme-development/bp-template-pack-walkthrough-level-easy-2/This thread where I stripped out the markup from a BP index file and theme page.php file to show the common markup that requires to match may help you a little?
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/lightword-theme-help/#post-80930In reply to: Lightword theme helpI’m afraid that is asking slightly too much as that approaches ‘Work’ and as such I earn my living – supposedly – from coding and development- it also takes the BP project site / support forum into the realms of a ‘Service’ which for any any ‘Help’ forum is a dangerous confusion.
When you attempt this kind of customisation you have to accept that a certain level of knowledge is required , it is only a basic level but you do need to learn it.
So no I am not prepared to do that work for you – and provide a ready edited theme for you to use as that would be chargeable work however on a help forum I am prepared to guide you through what you need to do and help you along, so get your site up and live somewhere and make a start, provide a link to it so that I or others can look at where you have got to and advise on the further steps required.
In reply to: Lightword theme helpI f you re-read my last post it should make sense – i referred to checking for example elements such as <div id=”content”> exist in both files as these main elements must match. You can clearly see in the two examples you posted that straight after the header function call there are two elements in the index file but only one in the page.php file and it’s id is different – lightword will be managing the layout i.e applying it’s styles vie elements such as this ‘div id=”content-body’ if that id is not found as it’s not in /activity/index.php then any important CSS rulesets will not be applied.
I will strip the files down to the common elements for you removing those parts of the code which are unique and necessary for both files e.g the output loops essentially.
page.php
``
Avtivity/index.php
``
What you have now represents the common elements of both files and which need to match -obviously what has been removed is for clarities sake and is required if both files are to output their data.There may be other elements introduced in other files that you will have to deal with and adjustments needed to styles and stylesheets but that will become apparent as you work through things.
In reply to: Error message has a pink box around itIt is not myself you are ticking off it is a few people this will only be evident by the lack of responses you find to your threads, I am attempting to point this out so you can rectify this, my comments regarding your recent posts is meant just as I wrote above and carries no other connotation than that which you impose on it it. You have the skill level required to sort the issue out that you report in this thread, yes there may be a little bit of a learning curve but you should deal with some of the things I’ve had to get to grips with the last few days, we all have to advance and approach unfamiliar things and learn how to deal with them. This is not meant as unhelpful or as some brush off, but with a fair bit of experience over the years troubleshooting layouts for people on forums I can tell you providing an solution to this can only be achieved with access to the pages and using debugging tools such as firebug, this you are better positioned to do than us here on the forum, but we can guide you if you get stuck in and help you to use some essential techniques.
Latly and to re-iterate I have not hinted at anything, if I need to make a point I will do so in a quite obvious and definite manner, I will not hint at things. I do not require that you leave the forum and this forum is NOT mine it is a community project home and I am but a very minor and irrelevant part of it.
I would strongly urge that you spend 10 minutes and give this technical RFC paper a read it’s the definitive treatise on how to deal with forums and lists and will help:
In reply to: Lightword theme helpPresuming you have run the template pack plugin on the theme to create BP pages you probably need to now ensure that the markup that lightword uses i.e it’s html element structure and classes or ids are replicated in the BP pages; so take a standard stock lightword file index.php or page.php and compare it to one of the BP files such as activity/index.php you will be looking at those major framwork elements such as <div id=”content”> your BP file must match the elements in the lightword files.
In reply to: Error message has a pink box around itOoooh please never ever tell me to chill it’s rude and disrespectful

No you don’t post any code to pastebin you use firebug to examine the elements it will tell you where that outer pink box is coming from, by showing all the rulesets that apply styles to that element inherited or otherwise.
You’ve been posting to quite a few threads recently attempting to help, in some cases with CSS snippets this tells me that you have sufficient skill levels to cope with this, and it’s not really something we can do for you, at least not from afar so to speak.
In reply to: Lightword theme helpIt’s not possible to help from a couple of images this is about code and specifically the symbiotic relationship between CSS and HTML there can be any number of reasons why an issue can occur and result in the same apparent rendering.
In reply to: Lightword theme helpWould make more sense if you linked to your theme attempt rather than the WP repo, then it would be possible to see what was actually wrong, ‘Sidebar is out of place’ is simply too non descrip.
You have to supply code or a link if you want help.
In reply to: template for single topic?/groups/single/forum/topic.php ?
In reply to: Error message has a pink box around itThat is something that you must have introduced into your custom theme, it’s not the default styling behavior – but then with some 22 stylesheets it’s going to be difficult to debug.
You will need to use firebug or Opera’s firefly to examine the element and isolate the rulesets that are being applied to that element, sadly a jpg isn’t much help to us in determining what is happening we would need to see the element in action so to speak.
Now with my Moderators hat on: You have been asked now by two moderators at least four times not to bump your posts inside a twenty four hour period. You must now observe this request, otherwise you will find it begins to hurt your rep on the forum and people will tend to shy away from helping.
@mercime thanks for linking to the thread I’ll mark this as resolved for the OP

Wish I could track through a series of events but this issue tends to be noticed at such a time when any events or steps to recreate the issue have faded from memory, also I have four primary installs used for testing and two customized installs so tend to forget which one I was working on. In this instance though I do remember it did happen a further time on a production site that I had uploaded and configured this was configured as multi site using subfolders .
I would suggest that perhaps not paying attention and activating BP then going to front end creating a few test groups then realising that I hadn’t set up the forum going back and setting up the forum tables might result in the previous created groups perhaps showing links to forum create topic yet not having a group forum ID to be able to reference the topic to, that would be testable but I would have to set up a fresh install.
So are you a wannabe Mondrian? Not sure and while I tend towards the view that this is a user induced error I’m not 100% convinced there isn’t something else happening and perhaps some form of try/catch that could be implemented to better handle the issue – if of course one could identify the cause in the first place!
In reply to: Child ThemesPlease look through the BP documentation (codex) read up on the child theme guide and the template pack guide which helps you convert WP themes to work with BP pages. If you require further help after reading those or have further questions post back in this thread.
In reply to: Forums Not Working – Error when creating topic@gunju2221 Ah you found the thread. See I knew it would work

You only need do this with the groups that have not been created successfully but if that means quite a few then ‘m afraid it will just have to be done for each, why it happens ? not sure but it’s possibly a mis-sequence of events.
Can I ask that you pop back to the original thread and just add a footnote comment to round things up and close the thread, might be kind to add a link back to this one as threads can be difficult to locate and the more links the easier it is to stumble across

Just visiting the page flushes , you can also just do a quick save to ensure there are no messages along the lines of “this is what we would have written to your file if it had been possible”
Have you visited the permalinks page to force a flushing of the cache and can you definitely write to the .htaccess file.
In reply to: Domain.com and BPMod_rewrite is an Apache module and yes you are running on a IIS server so I’m afraid you have to use another method for url rewriting.
If you head over to the WordPress codex you will find info on permalinks and getting url rewriting running under IIS