Search Results for 'code'
-
AuthorSearch Results
-
December 30, 2013 at 9:19 am #140773
In reply to: Upgrade bbPress 1.0.2 to 2.1.2
e-motion
ParticipantOK, so here is what I get when upgrading database to v1.2:
The upgrade process seems to have failed. Check the upgrade messages below for more information. Attempting to go to the admin area without resolving the listed errors will return you to this upgrade page.Beginning upgrade… >>> Modifying database: circuit_circuit (localhost) >>>>>> Table: bb_forums >>>>>>>>> Dropping index: PRIMARY >>>>>>>>>>>> SQL ERROR! See the error log for more detail >>>>>>>>> Adding index: PRIMARY >>>>>>>>>>>> SQL ERROR! See the error log for more detail >>>>>>>>> Dropping index: forum_slug >>>>>>>>>>>> Done >>>>>>>>> Adding index: forum_slug >>>>>>>>>>>> Done ...SQL ERROR! >>> Database: circuit_circuit (localhost) >>>>>> ALTER TABLE <code>bb_forums</code> DROP PRIMARY KEY; >>>>>> Incorrect table definition; there can be only one auto column and it must be defined as a key(same for each table)
Something wrong with my sql import?
If I click Retry, I get this:
Nothing to upgrade. Get back to work!
And admin page loads as usual.
December 30, 2013 at 8:56 am #140770In reply to: Upgrade bbPress 1.0.2 to 2.1.2
e-motion
ParticipantForum is quite small, around 5’000 posts.
I am trying to reproduce those errors for some time now, but only now I was able to get an error. It’s like something is wrong with my system, as it is too random…
I have lowered post data limit to 128M instead of 1G (it was so high to allow large sql dump upload).
The error is:Repair any missing information: Continue WordPress database error: [Unknown column 'forums.fid' in 'field list'] SELECT convert(forums.fid USING "utf8") AS fid,convert(forums.par_board_id USING "utf8") AS par_board_id,convert(forums.ntopic USING "utf8") AS ntopic,convert(forums.nposts USING "utf8") AS nposts,convert(forums.fname USING "utf8") AS fname,convert(forums.description USING "utf8") AS description,convert(forums.forum_order USING "utf8") AS forum_order,convert(forums.status USING "utf8") AS status FROM bb_forums AS forums LIMIT 0, 100 No forums to convert Starting ConversionDecember 30, 2013 at 8:56 am #140769In reply to: Cannot see "Forums" tab in WordPress dashboard
Stephen Edgar
KeymasterTry running the repair tool ‘Remap existing users to default forum roles’
https://codex.bbpress.org/repair-forums/December 30, 2013 at 8:47 am #140766In reply to: How to remove somethings from my forum
netfux
ParticipantThank’s Thank’s Thank’s! You did it… I put the following code in custom theme css:
#bbp-forum-709 .bbp-forum-topic-count,
#bbp-forum-709 .bbp-forum-reply-count,
#bbp-forum-709 p.bbp-topic-meta {
display: none;
}
#bbp-forum-1085 .bbp-forum-topic-count,
#bbp-forum-1085 .bbp-forum-reply-count,
#bbp-forum-1085 p.bbp-topic-meta {
display: none;
}#bbp-forum-700 .bbp-forum-topic-count,
#bbp-forum-700 .bbp-forum-reply-count,
#bbp-forum-700 p.bbp-topic-meta {
display: none;
}
#bbp-forum-702 .bbp-forum-topic-count,
#bbp-forum-702 .bbp-forum-reply-count,
#bbp-forum-702 p.bbp-topic-meta {
display: none;
}
#bbp-forum-1032 .bbp-forum-topic-count,
#bbp-forum-1032 .bbp-forum-reply-count,
#bbp-forum-1032 p.bbp-topic-meta {
display: none;
}
#bbp-forum-1045 .bbp-forum-topic-count,
#bbp-forum-1045 .bbp-forum-reply-count,
#bbp-forum-1045 p.bbp-topic-meta {
display: none;
}
———I guess there is a cleaner way to put it, but now it’s working. I also needed the thumbnail and info above dissapear so I found the p.bbp-topic-meta code was it…
The only thing that I need now is to know how can I center those forum titles at the center of the page, also center the height between lines…
Thank’s
December 30, 2013 at 4:01 am #140757In reply to: How to make a forum Sticky in the main Forum Page
Robin W
ModeratorIf you want to put some rules at the top of your main forum display page, then create a normal wordpress page, type your rules in the content and then at the end put
[bbp-forum-index]Put that page in your menu, and it will show the rules before showing the forum list
December 30, 2013 at 3:40 am #140756Stephen Edgar
KeymasterTry the ‘Remap existing users to default forum roles’ repair tool
https://codex.bbpress.org/repair-forums/
Also try resaving your permalink structure.
December 30, 2013 at 2:50 am #140751In reply to: Problem to convert Simple Press to bbpress
Stephen Edgar
KeymasterOne other thing I can’t ever get to work is “Purge all information from a previously attempted import”. I’ve let it run for over 48 hours in the past, and it was “Deleting previously converted data” with a number up into the tens of millions before I gave up on the process, and never actually starts converting. Has anyone else experienced similar issues?
This is a known issue as we have two different caching methods we use, and in particular if one is used and not the other this goes on forever, hopefully I will have a fix in the near future for this, as a workaround do as you have and just ‘reset’ bbPress.
It is odd that it stalls, stopis etc at a different point during the reply imports, typicaly it stops because of some mysterious reason on the same reply (or topic) and it appears to be some ‘malformed’ content in that particular post (I can’t prove this though and is not specific to SimplePress) 😉
When it stalls if you click ‘Stop’ then bump the value of
_bbp_converter_startby one, then click ‘Start’ again it should continue on from where it left off skipping that troublesome reply.(A side issue can be you actually get logged out of WordPress so it also pays to open/refresh another admin page to ensure you are still logged in)
December 30, 2013 at 2:31 am #140749In reply to: Dashboard and "Cheatin’ uh?"
Stephen Edgar
KeymasterBasically your users shouldn’t be logging into to backend in the first place, thus they should never see that to be even tempted.
You can add a login widget to a sidebar or create a page with a shortcode, up to you which way depending on how you want your site to look etc.
https://codex.bbpress.org/widgets/ https://codex.bbpress.org/shortcodes/
December 30, 2013 at 2:27 am #140746In reply to: Forums in a public/private site
Stephen Edgar
KeymasterWould I be better with a ‘site-wide’ forum rather than the private All Residents group?
I think this is now sorted based on your reply.
Can I make a site-wide forum private?
Same this is now sorted.
How do I modify the formatting of the forum postings?
If you want custom templates then follow the steps outlined here to make copies of the templates in your theme so they don’t get overridden when you update bbPress.
https://codex.bbpress.org/theme-compatibility/
Where do I look to troubleshoot the ‘threading’ function?
You state you are using ‘bbPress 2.2’, threaded replies were introduced in bbPress 2.4 so you should upgrade to the latest bbPress 2.5.2. You can then enable them in bbPress settings per https://codex.bbpress.org/forum-settings/#forum-features
December 30, 2013 at 2:05 am #140743In reply to: Dashboard and "Cheatin’ uh?"
Stephen Edgar
KeymasterSo far no go. Only my admin user can click on these.
This is correct and is by design, users should only be using the ‘front end’ user interface and not the ‘back end’
Also check the codex docs here to help you on your way 🙂
December 30, 2013 at 2:03 am #140742In reply to: Help with bbpress Install
Stephen Edgar
KeymasterMaybe try making a copy of your themes
page.phporpage-no-sidebar.phporpage-sidebar.phpdepending on the type of template you want your forums to display with and rename the file tobbpress.phpin the root of your themes folder.December 30, 2013 at 1:54 am #140740In reply to: Widget area above topics
Stephen Edgar
KeymasterIf you want widgets above your topic list you will need a theme that supports putting a sidebar at the top of your page, otherwise will one of the shortcodes work?
December 30, 2013 at 1:49 am #140738In reply to: Text Area not Visible
Stephen Edgar
KeymasterYou can make a copy of bbPress’ templates and put theme in a subfolder
bbpressin your theme and edit the templates to any style you wish 😉December 30, 2013 at 1:41 am #140736In reply to: Forum Icons ?
Stephen Edgar
KeymasterThat example I used was using the Glyphicons Font
Probably taking a look at this will give you a rundown on what you can use in CSS with
before,after&contentDecember 30, 2013 at 1:11 am #140730In reply to: Modify "New Post" Form
Stephen Edgar
KeymasterYou could add some custom code with a filter before and after the tags section and apply some custom CSS rules using:
bbp_theme_before_topic_form_tags&bbp_theme_after_topic_form_tagsOr make a copy of
form-topic.phpin your themes/bbpressfolder and edit the template to exactly how you would like it.December 30, 2013 at 12:45 am #140726Stephen Edgar
KeymasterI am pretty sure it is a theme issue your having in that it is not playing nice with bbPress for some reason.
You could try adding a template wrapper for bbPress.
Make a copy of your
page.phporpage-sidebar.phptheme template file and rename it tobbpress.phpin the root folder of your theme.Have you looked to see if there are any resources on your themes support site for using bbPress?
December 30, 2013 at 12:36 am #140724In reply to: Modify "New Post" Form
Stephen Edgar
KeymasterbbPress might not have many settings but it does have this one 😉
https://codex.bbpress.org/forum-settings/#forum-features
Topic Tags
This will disable topic tags site wide and will no longer show topic tags associated with each topic or the topic tag input form.December 30, 2013 at 12:32 am #140723Stephen Edgar
KeymasterThe ‘User Role Editor’ will not fix this issue, it has nothing to do with bbPress and will probably hinder your troubleshoot rather than helping.
Have you tried running the ‘Remap existing users to default forum roles’ repair tool?
https://codex.bbpress.org/repair-forums/December 30, 2013 at 12:30 am #140722In reply to: BBpress Widget
Stephen Edgar
KeymasterAs per https://codex.bbpress.org/widgets/
You can set the forum/category ID in the widget but only a single ID at this stage.
(bbPress) Forums List – A list of forums with an option to set the parent.
Options:
Title: Here you can set the title of the widget as it will be displayed in the sidebar.
Parent Forum ID: “0″ to show only root – “any” to show allDecember 30, 2013 at 12:13 am #140713In reply to: How to remove somethings from my forum
Stephen Edgar
KeymasterAdd some custom CSS to your theme:
Eg. For the ‘Notícias’ forum
#bbp-forum-709 .bbp-forum-topic-count, #bbp-forum-709 .bbp-forum-reply-count { display: none; }Yes, that was spam, now deleted
December 29, 2013 at 11:41 pm #140711Topic: Help with bbpress Install
in forum InstallationBelleO
ParticipantHello everyone! Thanks in advance for your help,
I cannot for the life of me figure out how to get my root forum page to show properly
This is my site: http://www.ladiesbalance.com/forums/
I have created a page title forum and inserted the code [bbp-forum-index],
when i go the forum page, it works fine but in the breadcrumbs, the root page shows up incorrectly. I have tried changing the page name but that doesn’t work. Can someone help please! thanksDecember 29, 2013 at 11:28 pm #140710In reply to: Topic Display In Dashboard Not Displaying Properly?
Stephen Edgar
KeymasterBut eventually I got rid of them all and the Topics display returned to normal.
Still an odd issue but glad you have it sorted now. If you see this again a couple of screenshots would be great to try and work out what exactly is going on.
I am not sure why Akismet didn’t get block them. Perhaps it can only respond to certain language texts?
Akismet handles any spam irrespective of the language in use or being used for the spam.
Is your Akismet API key up to date and valid?
/wp-admin/plugins.php?page=akismet-key-configDecember 29, 2013 at 4:17 pm #140703In reply to: Topic page uses theme's default page
Josh Zandman
ParticipantI’ve got it!
I copied the bbpress.php file to my child theme.
Copy/pasted my full-width.php code into the beginning of the bbpress.php code and it works perfectly.Thanks!
December 29, 2013 at 3:25 pm #140702In reply to: Upgrade bbPress 1.0.2 to 2.1.2
e-motion
ParticipantHi.
I am still running bbPress v1.0.3. I have not upgraded it since due to complexity and lack of time. I am now all full at it.
I am running a copy of my site locally (on WAMP2) due to obvious reasons.
I have tried as per <fontadoni> instructions to update to v1.2, which was successful. Now I am trying to import everything to newest bbPress plugin (v2.5.2) via included import tool. What I get is:Calculating forum hierarchy (0 - 99) Converting forums (0 - 99) Starting ConversionAnd it hangs there (on hierarchy calculation). When I check the forums, I can see that forum categories are there, but no subforums, no topics and no users present.
I do reset and recalculate everything before importing. I have tried various checkbox combinations …
I was running bbPress integration btw (common users between wp and bbPress v1.2).help…
December 29, 2013 at 3:17 pm #140701Topic: Modify "New Post" Form
in forum ThemesRyanSSealey
ParticipantSite: http://dubiousdata.net/forums/forum/news
WP Version: 3.8
bbPress Version: 2.5.2I would like to modify the new post form that displays below the current topics in a forum. I was trying to do it with only CSS, but I have run into a problem.
I want to remove the “Topic Tags” field below the body area. I initially tried with the following CSS:
label[for=bbp_topic_tags],
input[id=bbp_topic_tags] {
display: none;
}
This removed the form and label themselves, but there is a <p> </p> tag around these with no Class or other identifier, leaving a noticeable space.What is the best way to accomplish this or modify the form?
-
AuthorSearch Results