Forum Replies Created
My apologies for not being accurate; you are correct, it is the exact error you mention: “ERROR: Your topic needs a title.”
I could be wrong, but I believe it is my function that is causing this to happen. Not being very good at php, my thought is that the submit input for my google book search function is triggering a new topic submission somehow.
I am calling the google book search function within form-topic.php (book_search_google ()). You are correct when you mention a plugin might be creating this. My google book search function is indeed a plugin I created.
Perhaps I need an “if” statement in form_topic.php, something that tells bbp_new_topic to wait for book_search_google to return a result? Can you point me in the right direction on how to write such an “if” statement?
Did you determine how to do this? I’m trying to do something similar. I’ve figured out that I needed to create a bp-custom.php file, and I’ve used that to rearrange and rename the menu items in the buddypress profile page. But similar to you, I want to move the page title and avatar.
If I figure this out before you respond, I’ll come back and let you know.
It was my inexperience in php coding (a huge understatement). The problem was spaces before the <?php line, and spaces after the final ?>.
Next time I will use the code tag – still new to this.
Thanks again – very much appreciated. I suppose we can close this as solved. I would do that but do not know how, or if I am even able to.
We can close this one down. I’ve created bp-custom.php, but am having issues with that and will start a new thread.
Okay, I think I see what you mean. I am going back to reading now. Thanks for your help and directing me in the correct direction.
I guess we can close this thread.
I think I need to include another question. In my personal themes folder, I assume I need to create a style.css file. I have done this, but I don’t know what to put on the “Template:” line.
I did read that link you provided previously, and I have been searching the codex pages. Perhaps this is a case of “the light not coming on” for me. It is probably an issue of me not ever having created a child theme.
If I understand the codex link you sent me correctly, then basically I create a buddypress directory in my personal themes folder (gotbooks_forums), then copy over whatever I want to modify? Like buddypress.php? And then I create a css folder, and copy over the css files that I want to modify?
Am I on the right track? My apologies for all the questions. I’ve been searching the web for hours and have finally decided to ask for help.