Search Results for 'code'
-
AuthorSearch Results
-
November 6, 2013 at 11:37 am #138785
In reply to: previous/next thread/forum navigation
Mailhilfe
ParticipantThank you!
This works, but how can I save the code before an update?November 6, 2013 at 5:54 am #138778In reply to: Trouble with shortcode layout
raduszeged
ParticipantTo moderators: please, remove the blog links and images from my post! My server is under heavy load 🙁
November 6, 2013 at 3:14 am #138772In reply to: Trouble with shortcode layout
raduszeged
Participantnicoblue: I checked your website and – as far as I can see – you solved the problem. I’ve the same issue now; could you help me with the solution?
Wordpress version: 3.5.1
BBpress version: 2.3.2
Theme: Default Twenty-eleven (from earlier WP) with my own minor modificationsThe problem is the same: the bbpress forum style on the full-width pages are working flawless. But when I use the shortcode, the floating elements are broken, for example the pagination is messed up. The styling was okay a year ago, but I updated bbpress not so long ago, after I did not checked the shortcode pages (my bad…), and yesterday I faced with the problem.
I show you the difference:
On full-width page, without shortcode (perfect):

Link: http://www.radu.hu/forum/f/kerdesek-a-pontos-adatokkal-kapcsolatban/With shortcode, pagination and other styles are broken:

Link: http://www.radu.hu/hasznos-eszkozok/jo-minosegu-backteszt-adatok/adatok-letoltese/At the bottom of the page, the new topic box (the border) is wrong:

Link: http://www.radu.hu/hasznos-eszkozok/jo-minosegu-backteszt-adatok/adatok-letoltese/If anyone could give me a hint… 🙂
November 5, 2013 at 4:59 pm #138768In reply to: Shortcode vs forums url
connielk
ParticipantI was right. There was a file missing.
I took archive-forum.php and renamed it search-forum.php. Then I changed this line:
<?php bbp_get_template_part( 'content', 'archive-forum' ); ?>to this:
<?php bbp_get_template_part( 'content', 'search' ); ?>Then I copied it into my theme folder. And voila. Search now works.
I get the gold start today.
November 5, 2013 at 2:47 pm #138767In reply to: Forum Access Question
Robin W
ModeratorThis will take you several stages but should get you where you want to be
1. For your forum page
Create a page called forum or forums. In the body of the page type the following code
[bbp-forum-index]
And save
If your menu auto-creates then this will appear, if not go into dashboard>appearance>menus
2. Create a register form
Download contact form 7
https://wordpress.org/plugins/contact-form-7/
set up a page called ‘register’, and put a registration for in there
3. Download bbpress WP tweaks
https://wordpress.org/plugins/bbpress-wp-tweaks/
This will give you a bbpress sidebar that your forum page will use
Go into dashboard>appearance>widgets and populate this with
(bbpress) login widget
The url for register will be the page you set up under 2 – so populate this with “/register”, and the lost password url will be “/lost-password”
(bbpress) forums list
(bbpress) recent topics
(bbpress) recent replies
And anything else you want to add
4. When someone sends in a form (it’ll be emailed to you) then you can set them up, and ensure that they don’t get the toolbar. They will have “no role for this site” for wordpress, and “participant” form bbpress.
That should be enough to get you going, but come back if you need more !
November 5, 2013 at 2:25 pm #138766Topic: Default bbPress theme not working
in forum Installationtristanojbacon
ParticipantI have tried to install bbPress, but am having issues with the Forum Index page.
This is the forum index: Forums. However, the actual forums work fine, as you can see on a test forum I created called Suggestions.Any ideas as to why it’s doing this? I’ve followed the few instructions I could find, including the page about Theme Compatibility. I added the bbPress theme files to my own theme, as suggested in those intructions.
Also, is there a way for the link to just be ‘http://thewhitesharks.co.uk/forums/suggestions/’ instead of ‘http://thewhitesharks.co.uk/forums/forum/suggestions/’? Seems a bit long to me…
November 5, 2013 at 12:27 pm #138760In reply to: Shortcode vs forums url
connielk
ParticipantIt’s as if there is a php file missing in pugins\bbpress\templates\default\extras that displays the search results. Where can I find that?
November 5, 2013 at 11:02 am #138758In reply to: Shortcode vs forums url
connielk
ParticipantThat’s a great tutorial. And close to what I did yesterday, just without the child theme. I used this: https://codex.bbpress.org/theme-compatibility/
However this had no effect on the search page and I can’t find what page to edit.
November 4, 2013 at 11:57 pm #138748In reply to: Shortcode vs forums url
neotrikz
ParticipantFollow this link for the tutorial :http://technotip.org/bbpressplugin-theme-compatibility/
November 4, 2013 at 6:06 pm #138746In reply to: Shortcode vs forums url
connielk
ParticipantAs per the theme support page, I went to bbpress\templates\default\ and copied the bbpress and css folders into my theme folder. I also copied archive-forum.php and single-user.php in to the theme folder.
I made a few modifications to archive-forum.php and single-user.php to fit into the page and remove the sidebar.
Seems like most functions are working now except Search. It still goes to a wonky page. Where do I go to look to fix that?
November 4, 2013 at 4:17 pm #138744In reply to: Shortcode vs forums url
connielk
ParticipantDo you mind posting again? I don’t see a link to a tutorial.
In the mean time I found a post about Theme support. It helped somewhat. The page is too wide and I want to remove the sitemap. I can probably find that in the php. And Search still doesn’t work. Not sure how to fix that. Any pointers there?
November 4, 2013 at 2:07 pm #138739OrgSpring
ParticipantFor those still struggling with the garbled forums page in a stock woothemes canvas installation (or child theme off canvas) this support post at WooThemes really helps:
http://support.woothemes.com/entries/24051302-Fix-bbPress-forum-search-in-CanvasThe woo team created a simple bbpress template for use in canvas and included the attached files – one template file and a some code for functions.php.
Works like a charm.
November 4, 2013 at 2:05 pm #138738In reply to: Breadcrumbs issue, duplicate ‘forums’?
Robin W
ModeratorYour first “forum” is actually your home page – most people run forums as a sub to their main site -the site sort of thinks it is displaying
home>forums>Digital terrestrial
Interesting thread here
Which makes me think this plugin might be what you need to lose the “home” page bit in the breadcrumb.
https://wordpress.org/plugins/bbpress-string-swap/
It that doesn’t work, come back and I’ll try to work out where in the plugin you put some code.
November 4, 2013 at 11:54 am #138735In reply to: Shortcode vs forums url
neotrikz
ParticipantThis tutorial can help you http://technotip.org/bbpressplugin-theme-compatibility/
November 4, 2013 at 11:09 am #138731In reply to: Shortcode vs forums url
connielk
ParticipantI removed the page with the shortcode, since the links in it to users and search send it to the slug that doesn’t work. It has just confused everyone. So what you see in the menu now goes directly to the slug that doesn’t work.
November 4, 2013 at 10:53 am #138729In reply to: Shortcode vs forums url
connielk
ParticipantSo now what do I do. The entire rest of the site is ready. The forum is imported. What do I do???
November 4, 2013 at 10:31 am #138727In reply to: Shortcode vs forums url
neotrikz
ParticipantYour blog’s theme does not have support for bbpress, the same happened with me.
November 3, 2013 at 2:29 pm #138713In reply to: Breadcrumbs issue, duplicate ‘forums’?
Robin W
ModeratorUnfortunately can’t see your issue, as the page is coming up with just the shortcode
November 3, 2013 at 12:45 pm #138710Topic: Breadcrumbs issue, duplicate ‘forums’?
in forum Installationchannelwiki
Participantchannelwiki.org/forums
I see Forums >> Forums >> Digital Terrestrial
Whereas only one forum link should be included.
The root Forum slug is ‘forums’. I have a page called forums (which includes the index shortcode) which is set as the site’s homepage.
the single forum slug is ‘f’.
Also, how can I display post count under usernames?
November 3, 2013 at 11:14 am #138708In reply to: Shortcode vs forums url
connielk
ParticipantNotice that when you use the search function, it also sends the user to the unusable page at forums.
November 3, 2013 at 11:08 am #138706In reply to: Shortcode vs forums url
connielk
ParticipantThat’s the Forum Root Slug. As set under Settings, Forums.
Forum Root Slug
Customize your Forums root. Partner with a WordPress Page and use Shortcodes for more flexibility.
Forum Root=forums
Forum Prefix=Checked Prefix all forum content with the Forum Root slug (Recommended)
Forum root should show=Forum IndexThe page with the shortcode is:
redhorsecrm.com/forumNovember 2, 2013 at 10:51 pm #138701In reply to: Shortcode vs forums url
Stephen Edgar
KeymasterIs this a page or a post? redhorsecrm.com/forums
November 2, 2013 at 10:45 pm #138698In reply to: Import from Question and Answer Forum Plugin
Stephen Edgar
KeymasterHaving a quick look you should be able to export the ‘questions’ via /wp-admin/export.php
As the plugin uses ‘Custom Post Types’ you should be able to then edit the exported XML file and find do a search and replace:
Find
<wp:post_type>question</wp:post_type>Replace
<wp:post_type>topic</wp:post_type>I had issues with the plugin on my site so I am not sure if it uses ‘question’ for the answers or uses ‘answers’ as a CPT for them, if it does use ‘answers’ then search and replace:
Find
<wp:post_type>answers</wp:post_type>Replace
<wp:post_type>reply</wp:post_type>Once you have done that then import them back into WordPress and see how they look, no doubt there will be a few issues such as topics not associated with a forum and depending on how many of these you have editing them in bbPress topic/reply panels should help you fix up any issues, if you have thousands then doing some more tweaking in the XML would be your best bet.
To get an idea of what you would need the best idea would be to export some bbPress forums, topics & replies and have a look at the XML and this should help you work out what values you need to use for search and replace.
November 2, 2013 at 9:55 pm #138697In reply to: Custom Import
Stephen Edgar
KeymasterCool, things look good on your site now 🙂
For the users simply check the following box when you are importing your forum 😉
Convert Users - Attempt to import user accounts from previous forums
(Yes, you will have to reset bbPress and run your import again https://codex.bbpress.org/reset-forums/)November 2, 2013 at 6:44 pm #138685In reply to: Shortcode vs forums url
connielk
ParticipantI tried that and it broke the page I was using the shortcode on. Then nothing worked.
-
AuthorSearch Results


