Search Results for 'code'
-
AuthorSearch Results
-
July 20, 2015 at 3:13 pm #164269
In reply to: purpose of activate component
folgerj
ParticipantWell I created a page titled activate with nothing on it… I can’t find any documentation that details if there needs to be a shortcode on that page but mine is blank. I’m still getting new users but I don’t know what they are seeing. I created one user to see the process and I did see a 404 page. I still saw on the same page a link to continue the log in process…
This is the downside so far. In the Docs there should be a description of each of the required pages and what they do as well as what I need to do with them… I’m still not sure I’m doing this right.
July 20, 2015 at 11:22 am #164257In reply to: How to add latest reply or topic to forum list
PinkishHue
ParticipantAah just realised of course that code is showing just the *last* reply, not listing all replies, so I will keep tweaking it and update if I can get it showing *all* replies.
July 20, 2015 at 10:41 am #164256In reply to: How to add latest reply or topic to forum list
PinkishHue
Participant@julia_b (If you’re still waiting for a reply!) – you need to put this in your functions.php file, more info here: https://codex.bbpress.org/functions-files-and-child-themes-explained/
This works great, thanks so much for sharing this code!
I’ve also managed, with very little tweaking, to get this displaying replies under topics within the topics list (this is very rough with some bits commented out but pasting here in case it helps someone)
// https://bbpress.org/forums/topic/how-to-add-latest-reply-or-topic-to-forum-list/ function jagreplies_add_last_reply() { { $jagreplies_last_reply_id = bbp_get_topic_last_reply_id(); //$jagreplies_last_topic_id = bbp_get_forum_last_topic_id(); $new_args = array( 'post_type'=> 'reply', 'p' => $jagreplies_last_reply_id ); $post_title_args = array( 'post_type'=> 'topic', 'p' => $jagreplies_last_topic_id ); $other_args = array( 'post_type'=> 'topic', 'p' => $jagreplies_last_topic_id ); $jagreplies_query = new WP_Query( $post_title_args ); $nest_query = new WP_Query( $new_args ); $another_nest_query = new WP_Query( $other_args ); if ( $jagreplies_query->have_posts() ) : while ( $jagreplies_query->have_posts() ) : $jagreplies_query->the_post(); $this_post_id=$post->ID; $this_post_permalink= get_permalink(); ?> <!--<a href="<?php //echo $this_post_permalink; ?>">--> <?php endwhile; endif; wp_reset_query(); if ( $nest_query->have_posts() ) : while ( $nest_query->have_posts() ) : $nest_query->the_post(); $this_post_id=$post->ID; //$this_post_title= get_the_title(); //$this_post_content= get_the_excerpt(); $this_post_content= the_content(); ?> <h1><?php echo $this_post_title; ?></h1></a> <div class="the_content"><?php echo $this_post_content; ?></div> <?php endwhile; elseif ( $another_nest_query->have_posts() ) : while ( $another_nest_query->have_posts() ) : $another_nest_query->the_post(); $this_post_id=$post->ID; //$this_post_title= get_the_title(); //$this_post_content= get_the_excerpt(); $this_post_content= the_content(); ?> <!--<h1><?php //echo $this_post_title; ?></h1></a>--> <div class="the_content"><?php echo $this_post_content; ?></div> <?php endwhile; endif; }} // Hook into action add_action('bbp_theme_after_topic_freshness_author','jagreplies_add_last_reply');This is extremely useful in creating a ‘Facebook’ style site where all content can be displayed on one single page (I know, Facebook, yuck! But it’s what ‘the people’ like)
Now I just need to try to get the bbpress Ajax Replies plugin working in conjunction with this so people can post and reply from that single page. Interesting!
**edited to add – if using my code above you may just want to change the last line ‘bbp_theme_after_topic_freshness_author’ to a different hook depending on where you want to display it, I am using customised templates but I’m not sure how it would look loading the content there if using the default templates
July 20, 2015 at 5:50 am #164244In reply to: Importing from WBB4
Stephen Edgar
KeymasterWhat happens if you logout and log in again, also fully refreshing the import page would do the same thing, if you’ve left the import page open for too long without doing anything then the MySQL connection is dropped from the database and is most often the cause of only seeing
Startingwithout any other error.July 20, 2015 at 5:37 am #164243In reply to: Importing from WBB4
sammmmy
Participant2000user…. 5000threads… 150000posts… If this could be important.
I used 1 line/sec
The field saysstartingand does nothing moreJuly 20, 2015 at 12:41 am #164237In reply to: Problem on installation
Robkk
ModeratorJuly 19, 2015 at 3:31 pm #164225In reply to: Importing from WBB4
sammmmy
Participanti thought so and used this code:
https://gist.github.com/anonymous/526a8d9913e872ad5a43
the import was starting but not more…
I am still helplessJuly 19, 2015 at 10:20 am #164217In reply to: spam users are registering in my website
seo india
ParticipantMost of the Marketing Bots are advance enough to break through any type of Captcha Code. The real issue is not pondering over your captcha code, but you need to make your login/registration process secure with additional questions such as
What is the 3rd character in my Domain after www. ?
As far as math captcha is concerned, it can be easily cracked by Marketing Bots. You need to create your own custom question and this will surely help to get rid of automated registrations.
I was handling wordpress blog for 1 client and every day I used to get around 10-50 comments. Ultimately I had to block the commenting feature. Spamming is really bad form of marketing.
July 18, 2015 at 8:21 pm #164210Sam Rohn
Participantthe bbpress search code posted above by robkk works fine for me with wordpress 4.2.2 + bbpress 2.5.8, shows expected bbpress topics and replies in wp search results for admins, non admin members, and non logged in users
also respects posts hidden by s2member bbpress level restrictions
sam
July 18, 2015 at 10:59 am #164202In reply to: Importing from WBB4
Stephen Edgar
Keymasterin wbb4 there is no salt…
Yes, if that
saltfield is not in the user table then delete that block of code from your custom script.July 18, 2015 at 9:26 am #164199In reply to: Importing from WBB4
sammmmy
Participantcould it be the there is a problem with the user import?
in wbb4 there is no
salt…
July 17, 2015 at 5:32 pm #164192In reply to: bbPress.org profile edit redirect error
Stephen Edgar
Keymaster@susfse You are using
define( 'WP_DEBUG', true );and because of this one of your plugin or themes is doing it wrong and bbPress is informing you of that, to fix the issue start deactivating each of your plugins until you no longer see the message, then you will have the name of plugin causing the issue, you can then contact the plugin author about fixing the issue. If it’s not a plugin, switch your theme to Twenty Fifteen to determine if it’s your theme.July 17, 2015 at 5:27 am #164182In reply to: dots bbpres theme
Robkk
ModeratorUse this Custom CSS
#bbpress-forums ul li { margin-left: 0; text-indent: 0; list-style: none; }July 17, 2015 at 2:06 am #164175In reply to: Importing from WBB4
Robkk
Moderatorwell for the
wbb1_postit looks right.July 17, 2015 at 1:42 am #164174In reply to: Importing from WBB4
sammmmy
ParticipantThanks for your help.
I think that was correct, because in wbb3 it waswbb1_1_post
…and in WBB4 it is
wbb1_post
or am i wrong?
July 16, 2015 at 11:08 pm #164164In reply to: How to remove all of the Author information?
Robkk
ModeratorI think editing the bbPress templates removing all instances of
bbp_author_link()andbbp_reply_author_link()would be what you are looking for.You can also edit the loop (like loop-topics.php) files to remove the text that says Author and Posts, or use some CSS.
July 16, 2015 at 10:56 pm #164162In reply to: 500 Internal Server Error after update
Robkk
ModeratorFollow anything that is listed on this WordPress Codex guide
https://codex.wordpress.org/Common_WordPress_Errors#Internal_Server_Error
July 16, 2015 at 10:43 pm #164159In reply to: Bulk Forum Creation
Robkk
ModeratorYou can kind of do the same process that is mentioned here.
And you could possibly use a plugin to create forums too like this one
July 16, 2015 at 10:41 pm #164158In reply to: How to Change Freshness Time Format
Robkk
ModeratorThis should just change it to something like
1 hour ago/26 minutes ago/5 days ago/8 months ago/2 years ago
July 16, 2015 at 10:05 pm #164153In reply to: Topics Not Showing on Forum Index Page
Robkk
ModeratorHowever I have topics associated with forums and if you click on the forum the topics do show (Introductions – for example has a topic in it). But even though the topic shows once the correct forum is clicked the notification banner at the top states “This Forum is Empty”
Hmm try some troubleshooting , clear cache run repair tools.
July 16, 2015 at 3:04 pm #164144Topic: purpose of activate component
in forum Installationfolgerj
ParticipantI’m using weaver extreme, current WP install and current Buddy press install and BPress install.
Over all the site is working http://www.autumnadvice.com/ and I think looks good. But I have a question about two components that I apparently have ignored.
I can click repair and register and activate are labeled as none. I created a login/registration page and put the login shortcode on it and put it in my menu.
When I link register to this page, and save, the page disappears from the menu and from the list of pages. I don’t see anything in the documentation about how to call or link to these functions but I feel I’m missing something that I should be doing.I don’t see anything on Activate at all??? what is the purpose of it?
Also If anyone wants to give feed back on how I’m implementing so far I would love it.. I don’t see a listing but I think if the owner/moderators created a list of what they see as best practice forums, it would help us to get ours off the ground. If you had under pimp your press a separate topic where folks can say what they are using as plugins and CSS and so forth… might be there already but searching for it is not clear… Maybe I’m lazy.. 🙂 Thanks
July 16, 2015 at 11:45 am #164136Stagger Lee
ParticipantAh OK. You can find hundred of excuses. Bit you know as good as I know bbPress is lacking huge behind other forum scripts.
At the end it is your time, you code for nothing if people dont use bbPress.All those names of developers are very active in core community. Developers of bbPress plugins are not.
Either they abandon plugin and lose lust, dissapear.Please no excuses. Nobody force you do one way or other. It is up to you. But I have seen infinite number of times Users asked you to implement those plugins in core and you ignored it. Why it has to be plugin Author making such wish ? Despite “or” in sentence.
OK, you personally dont have time and it is to be respected. Make some internal discussion and ask other bbPress developers if they have time to adopt some plugin(s).
Give us later a raport how it all goes and stands.
July 16, 2015 at 7:10 am #164118Stephen Edgar
KeymasterA year or two ago we had lots of translation issues with bbPress, to fix this I got en_AU (English Australian) of the ground and translated all the things, WordPress, BuddyPress and bbPress and help out on the #polyglots team https://make.wordpress.org/polyglots/
The string I translated to test was the
Pendingstring replaced withstickfingerforen_AU:I then downloaded the .po and .mo files (at the bottom of that screen you can export these) and replaced my en_AU
bbpress-en_AU.mo/bbpress-en_AU.pofiles in/wp-content/languages/pluginsWhat happens if you export the .po/.mo files from /bbpress/2.5.x/pt-br/default?
Also make sure your files are named
bbpress-pt_BR.moandbbpress-pt_BR.poJuly 16, 2015 at 6:33 am #164115Stagger Lee
ParticipantYou noticed I am not asking all this will be in the core and force people parse all those lines of code if they dont want it or dont need it. Just as it is a GPL take ownership from todays developers, or cooperate with them as co-maintainer Author.
Fast few of them should be in the core definitelly.
July 16, 2015 at 6:30 am #164114Stagger Lee
ParticipantHere is a list in my opinion should have under Author names at least one nam of bbPress core developers. Not of things on list has anything to do with me personally, just using other popular forum scripts as reference.
– Live preview (live or button for another window/popup)
– Report content (reply)
– Ignore User
– bbPress moderation panel separate from backend
– Notifications
– Make topics/forums read, unread (dont know if it is already in the core)
– bbPress TinyMce plugin
– Reply titles
– View counts
– Topics for posts (very important even if not used on all installations)
– Online / Offline status
– bbPress Polls (not shortcode based)
– Attachments
– Move topics / replies between subforums
– Avatar management
– Like / Vote topics, replies (I personally would never use this one, but..)
– New plugin that makes it easy to add custom fields and add them where you need (this one is not referenced by other forum scripts).And some more, other people can have other lists. Most important is that at least one bbPress core developer stand on Author list and guarantee plugin will work with latest bbPress version. Not in same minut maybe, nobody is a Superman, but few days after new bbPress version got out.
-
AuthorSearch Results