Search Results for 'code'
-
AuthorSearch Results
-
July 25, 2015 at 11:20 am #164552
In reply to: bbCode toolbar with markItUp! editor
killer_x10
ParticipantI understand, thank you anyway Robkk.. btw I am actually testing another Toolbar Plugin and I am editing some stuff around and my first Test went okay, now I’m just editing that Toolbar Plugin to add up with bbcode.
July 25, 2015 at 11:17 am #164551In reply to: bbCode toolbar with markItUp! editor
Robkk
ModeratorThis topic was way back in bbPress v1, so nothing is good for this current version.
There is a way to use shortcodes (bbcode) as long as they are whitelisted for users in the quicktags toolbar but this would require some editing of some javascript.
You can also use the TinyMCE toolbar, adding bbcode to this would be more difficult then editing the quicktags toolbar.
July 25, 2015 at 11:13 am #164550In reply to: Importing from WBB4
Robkk
ModeratorCould be the importer code.
Is there anything else you can spot that is different between WBB3 and WBB4?
July 25, 2015 at 10:52 am #164548In reply to: Forum to sit inside WordPress pages
Robkk
ModeratorYou modify the template bbPress is inheriting from your theme. Use what the file and go to the page with the forum index shortcode to see which template has the banner in it, then go to other bbPress forum pages to see what template bbPress is inheriting by default.
A step by step is pretty difficult since all themes are different.
If you really want the banner, use what ever template that is coming from.
The first issue I’ve got is when you click ‘Forum One’, it shows the message, ‘This forum contains 1 topic, and was last updated by…” but doesn’t actually show the topic.
Try some troubleshooting, try a default theme to see if the issue is present, you should also try leaving only bbPress active to see if could be a plugin issue.
July 25, 2015 at 10:39 am #164547Robkk
ModeratorI think you can hide the forum subscription link if you want? It might be better to remove the code in the template. You might also have to remove the Subscribed Forums in your subscriptions section of your profile.
July 25, 2015 at 9:55 am #164545In reply to: Importing from WBB4
sammmmy
ParticipantI dont know how to answer that.
I want to import a mysql database, i dont know if that is a file or whatever.On my server is an old wbb3 installation and i can import that very good.
My wbb4 import is not running, i think the problem is the importer code….July 25, 2015 at 8:19 am #164541Topic: Forum to sit inside WordPress pages
in forum Installationsbskamey
ParticipantHi guys,
I am looking to have the same setup these guys https://ultimatemember.com/forums/
Page 1: A Page that shows all my forums
Page 2: A Page that shows the topics of each forum
Page 3: A Page that shows the replies of each topic.Simple simple.
Here is my website: http://sincebeingsingle.com/forums/
Fyi: I am using the latest versions of WordPress, bbpress and Bridge theme (from themeforest).
Fyi: I am a bit of a newbie at this.Issue 1:
The first issue I’ve got is when you click ‘Forum One’, it shows the message, ‘This forum contains 1 topic, and was last updated by…” but doesn’t actually show the topic.
Issue 2:
When I click on ‘Forum One’ I’d like it to go to a page where the yellow header banner replicates title of the forum. And that goes the same for, clicking on a topic and a reply.
The Ultimate Members forum above is the best example of this. You can see that each blue header banner has the title of the forum, topic and reply.
fyi:
I have got the forum working for the bbpress-forum index using [bbp-forum-index] shortcode. My header banner is showing perfectly as I have designed the page for the forum to sit on.
I’m struggling with getting the topics and replies sitting on a wordpress page that I’ve designed.
I am literally going around in circles trying to work out how to get my bbpress to sit within my own WordPress pages.
(I would like the same setup as UM, where the Forum page has the Forum title in the blue banner, Topic page has the Top title in the blue banner and Reply page has the Reply title in the blue banner).
Any guidance or step by step instructions would be massively appreciated from bbpress community.
Kam
July 25, 2015 at 5:16 am #164534In reply to: Import from SMF and strange tags in text.
ABCDiamond
ParticipantI just did an import of an SMF forum to bbPress, and my posts have <tt><tt> where all my paragraph breaks were.
I don’t have any of these though, as shown by the other poster: </tt>
But I do have some individual <tt>’s
Any links in the posts also have [ class=”bbcode_url” ] attached to the end of the link.
eg:<tt>Australian Electoral Commission<tt><a href="http://www.aec.gov.au/" class="bbcode_url">http://www.aec.gov.au/</a><tt>Enrolled etcJuly 25, 2015 at 12:06 am #164477Robkk
Moderatoralright if it is out of those plugins I will probably just get one and that is the direct quotes, plugin. Take some features from the vip support forum plugin, and maybe just fork the new topics plugin into a seperate new plugin with the code improvements and post that on wordpress.org.
July 24, 2015 at 11:58 am #164453Stagger Lee
ParticipantRobby, i told you already. I counted 13-14 plugins from here:
not in the WordPress repository. Translated nobody cares about update notifications, etc.
I have no clue what they do on Github, private websites, and why. Beginner User have less chance to know.You can start with this list. Clean it and set a goal to make all possible to move all plugins to WP repository.
If not possible, well it is GPL. Take code and dont care what original developer thinks.
July 24, 2015 at 7:21 am #164445Robkk
ModeratorDont want to talk about design and style. It would ruin all from my title.
But yes, bbPress is ugly as hell when installed and takes lot of time to design. Better to keep written notes what you do and how, to be able to use it next time.email me then, I actually do want to talk about design.
Dont know what to say about buddyPress serving as “Jetpack”. I like to install buddyPress along with bbPress and think they do better with design. Guess it is up to them, will they be standalone WP plugin or serve as filling gaps for bbPress.
Really just design? Only design I can think of is the companion stylesheets? Other than that it has a plain layout look like bbPress. Not the groups, @mention autosuggest, members page, attachments api, more advanced profile fields, ability to change/crop avatar?
Back to your question. Cannot point exactly what is hard for begginers and users. It is all small bits and parts making it difficult. Even to me is hard and takes lot of time to have one bbPress forum ready for live server.
Guess it is huge amount of time spent searching on Google and forums howto. I made those mistakes on my first 2-3 instalaltions and noticed it is impossible to continue this way. Now I have searchable and filterable database with bbPress, buddyPress snippets. Just for bbPress circa 150 of them and some tutorials. But not many people will do this. When they spend half day searching on Google how to solve something they will simply go to phpbb, SMF forum and it is one user less.It is easy to get a bbPress forum set up. It will definitely get hard to make bbPress work like other forum solutions? It would be pretty difficult to make something like phpbb turn into something like discourse for example.
Most of this time lost is fixing and tweaking third party plugins, using their adapted code in functions.php, etc.
What plugins? Tell me what plugins to adopt if you need to fix them? Email me this too.
In matter of fact price of one bbPress installation and customization goes easy to level of one very advanced web shop. Only know it is not sustainable and should not be this way.
Dont want to talk about money, just took it as example of how many hours and days bbPress takes to be finished and looks professional.
Yeah this would probably be level of skill vs cost for time to do it. It is easy for me and I might say I have a moderate level of skill. This is just my opinion though.
July 24, 2015 at 6:20 am #164440Stagger Lee
ParticipantThanks Robby.
Dont want to talk about design and style. It would ruin all from my title.
But yes, bbPress is ugly as hell when installed and takes lot of time to design. Better to keep written notes what you do and how, to be able to use it next time.I have some ideas of making bbPress more acceptable to Pods or ACF. It would open many possibilities. Some of them could be, polls, attachments (very regulated and narrowed), SVG icons, reply title (it is just text input field), avatars, etc..
Dont know what to say about buddyPress serving as “Jetpack”. I like to install buddyPress along with bbPress and think they do better with design. Guess it is up to them, will they be standalone WP plugin or serve as filling gaps for bbPress.
Anything that is the same as Jetpack. Lots of modules all deactivated on default, to not force people use what they dont need and want. And without connection to wordpress.com.
If you make some better cooperation with Pods you get automatically mass of new developers and possibly mass of custom tweaks shared around. Same would be with bbPress “Jetpack” or buddyPress if they want it.Back to your question. Cannot point exactly what is hard for begginers and users. It is all small bits and parts making it difficult. Even to me is hard and takes lot of time to have one bbPress forum ready for live server.
Guess it is huge amount of time spent searching on Google and forums howto. I made those mistakes on my first 2-3 instalaltions and noticed it is impossible to continue this way. Now I have searchable and filterable database with bbPress, buddyPress snippets. Just for bbPress circa 150 of them and some tutorials. But not many people will do this. When they spend half day searching on Google how to solve something they will simply go to phpbb, SMF forum and it is one user less.Most of this time lost is fixing and tweaking third party plugins, using their adapted code in functions.php, etc. Design OK, but usually easy to find answer on Google.
In some way I try to imagine how would it be to charge a client for a bbPress installation and customization. I dont do it for money, i spend time on it because I think it is fun. But so many spent hours and days is impossible to charge. Hence, nobody will setup bbPress forum for living and earning. Web companies goes to other solutions.
In matter of fact price of one bbPress installation and customization goes easy to level of one very advanced web shop. Only know it is not sustainable and should not be this way.
Dont want to talk about money, just took it as example of how many hours and days bbPress takes to be finished and looks professional.
July 24, 2015 at 5:03 am #164435In reply to: bbPress like Flarum
illwriteit
ParticipantA few problems with this i wanted to comment on, as I’ve completely re-wrote your entire theme.
A. The way you do forum.php is going to break a lot of templates. Premium templates on theme forest, many of them have other functions to generate the WP header and footer. When you do it the way you have done it, any template that does this will be broken by this template.
B. Enabling white.php completely broke my website just by turning it on.
I stripped out all your javascript, completely re-wrote your forum.php file to use standard wordpress protocol, and turned your forum template into this:
http://www.illwriteit.com/forum/
Each forum is color coded, each forum has custom font icons assigned to it. When you view a sub forum, I completely re-wrote your loop-forums so it displays all sub topics within all child forums.
I also custom integrated mycred so that your badges and rank are shown in the topic view like:
http://www.illwriteit.com/forum/topic/patriotic-writings/
I also custom designed a privacy system so that some topics are only shown to people I give access to based on their ultimate member role.
July 24, 2015 at 4:25 am #164432In reply to: Redirect from page to profile url (menu link)
project_subdomain
ParticipantI’m using the default backend design -> menu for all my menus. Tested this at the main navigation menu on my usual desktop version. Actual links show up but throw a 404-page only when clicking.
My mobile navigation menu (plugin: Responsive Menu) then simply could use one of those menus.
Should be also possible to make new menu items via functions to one of the menus created in backend design -> menu, right? Already tried this, but really have no idea if the correct slug ID is correct (mobile-menu is the name I gave the menu in backend):
add_filter ('wp_nav_menu_items', 'add_account-link'); function add_account_link ( $items, $args ) { if (is_user_logged_in() && $args->menu->slug == 'mobile_menu') { $items = '<ul><li><a href="#">Account</a></li>'; $items ='<ul><li><a href="<?php bbp_user_profile_url( bbp_get_current_user_id() ); ?>" >Profile</a></li>'; $items ='<li><a href="<?php bbp_user_profile_url( bbp_get_current_user_id() ); ?>replies" >My replies</a></li>'; $items ='<li><a href="<?php bbp_user_profile_url( bbp_get_current_user_id() ); ?>topics" >My topics</a></li>'; $items ='<li><a href="<?php bbp_user_profile_url( bbp_get_current_user_id() ); ?>favorites" >My favorites</a></li>'; $items ='<li><a href="<?php bbp_user_profile_url( bbp_get_current_user_id() ); ?>subscriptions" >My subscriptions</a></li>'; </ul></ul>; } return $items; }July 24, 2015 at 4:20 am #164431Robkk
ModeratorBecause I see potentioal and how WordPress self can make bbPress powerfull. Or buddyPress, I install it all the time together.
I know a lot of users who ask for more features like other forum solutions are like this because they all do see potential.
But, one thing is very specific for bbPress. I would not dare to touch it as average User, who installs and setup phpbb or SMF forum without big problems. It is extremely hard for beginners
In what ways is it difficult? Is it anything about user experience, or from just going from one to another?? Any ideas to improve it for beginners?
At least take those 10-12 plugins from Github and put them in WP repository. Dont ask developer, it is GPL. Developer had 2-3 years or more to decide to do it byself, and he did not wanted it.
Problem there is notification about updates.
Just one example, lost many hours to see why Live preview stoped to word and by chance checked on Github versions. If it was in WP repository I would be notificated directly there is an update for it.There is some plugins on Github but that doesn’t mean everybody should use them. Some plugins on github were made from developers from jobs they did for people(might contain specific db table names for a specific site), are just some custom plugins they use on their site(might contain several referances to a site), custom projects for themselves(just playing with stuff/learning development). There is a difference between building a plugin for yourself, and building a plugin for everybody to use. When you begin to build one for everybody to use, you definitely take into consideration some plugin conflicts that might happen(I think GD bbPress attachments and bbp live preview comes to mind). There are some plugins on there that actually should be considered to be on WordPress.org, so I will keep that in mind.
Just to not be missunderstood. I personally dont have any problem whatsoever with this list above. Implemented with help of code tweaking and those plugins all of this. And much, much more. All except proper Polls. For this I cannot find a solution.
The polka polls plugin is the best plugin for polls for bbPress. It does require use of shortcodes, I do not think you have to whitelist the shortcode or anything, I think it just works. I guess it could get inspired from some ideas of the bbPress polls plugin for v1 that _ck_ made.
I am not telling about design, despite this too is hard for Users beginners to tweak.
Please say any issues you might have on this, I have ideas for users to make design for theme compatibility easier.
Github should never be primary source of plugins. Additional OK, but only and one never.
I know there is a plugin that makes updates from Github possible, but demands some lines added by author in plugin self.It isn’t, any plugins listed on the featured plugins list are really just plugins that might have functionality similar to what might be suggested to core. Github was never really a plugin repository for WordPress, mostly development. Some of the information why some plugins might not be in what I already said above. Plus some plugins were pretty neat not to leave in.
Something like Jetpack for bbPress would be a killer, perfect. But I do understand when you say there are not many developers of bbPress. Wish just you start discussion about it and report back to us how it went. Jetpack probably started with few developers, and with years come to number of 46. It doesnt have to start great, developers are attracted later to all good staff by itself.
Do you know what all those names behind Jetpack say to me ? Not in the first hand anything about code quality, but about security. I know it will flow huge amount of years before this plugin is abandoned. And with all new WP versions they adapt code before new version get out.If we are talking about Jetpack as a plugin full of features, then BuddyPress could be something like that. There is also another plugin but it is paid (has minimized free version) that has several other features like bbcode, attachments, quotes. Creating another plugin like that I will keep in mind.
July 23, 2015 at 9:52 pm #164418Robkk
Moderatortry some troubleshooting first
July 23, 2015 at 7:55 pm #164413In reply to: Logout Link Redirects to Topic
Robkk
ModeratorWhat happens if you logout from the WordPress toolbar, which has nothing to do with bbPress?? If you come across the same issue something is just redirecting you.
You might have to do some troubleshooting
<?php bbp_logout_link(); ?>pretty much useswp_logout_url{}in WordPress.https://codex.wordpress.org/Function_Reference/wp_logout_url
July 23, 2015 at 7:33 pm #164411In reply to: Modal login plugin
Robkk
ModeratorYeah you do not have to use the plugin in that codex page, its not like it is recommended or anything it is just a user submitted guide. That codex page will likely show an example using CSS or a lightbox when I am done with it. But yeah there are tons of plugins that add a modal popup login.
In this reply to a topic, I list a bunch of alternatives.
July 23, 2015 at 5:34 pm #164401In reply to: How to add a “New Topic” Button and Page?
Robkk
Moderatorsearch the forums, I have said how to do this many times. There are two different ways one using a drop link and another using the new topic shortcode in a page and linking to that.
July 23, 2015 at 3:53 pm #164398In reply to: Search not finding results
InquisitiveReader
ParticipantI forgot to say in the previous reply that you also need to uncheck the “strip shortcodes” and “the content” boxes in the advanced excerpt plugin. See http://inquisitivereader.com/discussion-forum/
July 23, 2015 at 11:17 am #164393In reply to: any POLLS that will work with current versions?
Stagger Lee
ParticipantIt cant work with shortcodes in a forum. Forget about it.
July 22, 2015 at 11:46 am #164372In reply to: Logout Link Redirects to Topic
drinkingsouls
ParticipantThis is the login link that is generated in the HTML:
<a href='http://52.webshrimp.uk/wp-login.php?action=logout&redirect_to=http%3A%2F%2F52.webshrimp.uk%2Fchat%2Fcomments-suggestions%2F&_wpnonce=302ba1641f'>Log Out</a>July 22, 2015 at 11:16 am #164371In reply to: How to add latest reply or topic to forum list
PinkishHue
ParticipantOk got it, needs sprucing up design-wise but this nicely outputs the reply content and date (with permalink) directly under the topic title on the single forum view topics list:
(With thanks to some code used here – https://bbpress.org/forums/topic/how-to-get-reply-ids-within-topic-loop/)
// https://bbpress.org/forums/topic/how-to-add-latest-reply-or-topic-to-forum-list/ - SHOW REPLIES ON SINGLE FORUM LIST OF TOPICS function jagreplies_add_last_reply() { { $new_args = array( 'post_type'=> 'reply' ); $topic_id = bbp_get_topic_id(); $new_args['post_parent'] = $topic_id; $new_query = new WP_Query( $new_args ); if ( $new_query->have_posts() ) : while ( $new_query->have_posts() ) : $new_query->the_post(); $reply_id=$post->ID; $reply_title= get_the_title(); $reply_date= get_the_date(); $reply_content= the_content(); $reply_permalink= get_the_permalink(); ?> <div class="the_content"> <?php echo $reply_content; ?> <a href="<?php echo $reply_permalink ?>"><?php echo $reply_date ?></a> </div> <?php endwhile; ?> <?php endif; }} // Hook into action add_action('bbp_theme_after_topic_freshness_author','jagreplies_add_last_reply');July 22, 2015 at 11:12 am #164370Topic: Logout Link Redirects to Topic
in forum Troubleshootingdrinkingsouls
ParticipantHi Guys,
I’ve come across an issue with the logout link in the bbpress login widget and I’d appreciate some help.
When clicking the logout link it redirects to the first forum titled “Comments and Suggestions”.
Does anyone know why it would be redirecting here? I don’t want the user to be directed here after logging out as it makes no sense.
I’ve looked in the widgets.php file and this is the logout link code:
<?php bbp_logout_link(); ?>
Why would this be redirecting?
Any help would be appreciated.
Thank you.July 22, 2015 at 5:52 am #164357Stagger Lee
ParticipantYou see, I am not saying bbPress is bad or cannot do this and that.
Just that third party plugins community is a bit backward and not well. One can find plenty of explanation for this, I have mine. Dont necessary mean mine are right.Some short explanations of mine opinions:
– I am not telling about design, despite this too is hard for Users beginners to tweak.
– Yes, you could “sell” bbPress better if you made an outstonishing design here on forum, and showed most of the functions. But it is OK for me, I dont have any problem with this forum. Telling this from “selling” bbPress standpoint. It is only CSS, page load is the same, no harm done if you make modern and elegant design.
– Github should never be primary source of plugins. Additional OK, but only and one never.
I know there is a plugin that makes updates from Github possible, but demands some lines added by author in plugin self.– Something like Jetpack for bbPress would be a killer, perfect. But I do understand when you say there are not many developers of bbPress. Wish just you start discussion about it and report back to us how it went. Jetpack probably started with few developers, and with years come to number of 46. It doesnt have to start great, developers are attracted later to all good staff by itself.
Do you know what all those names behind Jetpack say to me ? Not in the first hand anything about code quality, but about security. I know it will flow huge amount of years before this plugin is abandoned. And with all new WP versions they adapt code before new version get out.I dont say you should work hard as they do on Jetpack. It is here just for comparation, and for bbPress something like this would demand much less of time.
I dont know. I would go live with bbPress all the time before I go with some other forum platform.
Used and tweaked SMF forum for many years, phpbb for short time.But first associations about bbPress as newcomer and beginner would be: hard to setup, bad design, third party plugins not so live community.
OK now, dont want to expand discussion to all possible. Let us stick to the plugins.
-
AuthorSearch Results