Search Results for 'code'
-
Search Results
-
Hello, I am new to wordpress. I’ve ran into issues as I’ve been building a site most have been fixed after 4-20min of searching and troubleshooting. But I have been searching for this one for about 3 hours by now and I have no clue what the issue is.
Basically registration to my site/forum doesn’t work. I put the right short codes for registration and password recovery. Once I click register it takes me to the page. I put in a user name, email, and click ”register”. Then I get taken to the sites WordPress login. No email sent, nothing. My site is koolhow.com. If anyone can help me out I would greatly appreciate it. It’s been driving me insane. :\
I have this issue on my theme “The current user is being initialized without using $wp->init()”, what I have seen on my theme, I was reading on google, but most of the post sais “disable debug mode”, well as a coder I know it is just for hide the error but is not a solution
I hop you could give me a hand on how to solve that
The tracer error is
# Time Memory Function Location
1 0.0503 151124 {main}( ) ../index.php:0
2 0.0940 185304 require_once( ‘…./wp-admin/admin.php’ ) ../index.php:10
3 0.1142 194292 require_once( ‘…./wp-load.php’ ) ../admin.php:30
4 0.1364 202428 require_once( ‘…./wp-config.php’ ) ../wp-load.php:34
5 0.2221 247748 require_once( ‘…./wp-settings.php’ ) ../wp-config.php:44
6 10.5487 37383376include( ‘…./wp-content/themes/laredchina/functions.php’ ) ../wp-settings.php:293
7 11.1273 38559980 current_user_can( ) ../functions.php:452
8 11.1273 38560008 wp_get_current_user( ) ../capabilities.php:1281
9 11.1273 38560096 get_currentuserinfo( ) ../pluggable.php:54
10 11.1274 38560484 wp_set_current_user( ) ../pluggable.php:102
11 11.1276 38561280 do_action( ) ../pluggable.php:37
12 11.1355 38566692 call_user_func_array ( ) ../plugin.php:406
13 11.1355 38566708 bbp_setup_current_user( ) ../plugin.php:406
14 11.1356 38566816 _doing_it_wrong( ) ../sub-actions.php:147
15 11.1363 38568004 trigger_error ( ) ../functions.php:3041I created a page on our site and I’m using code from the “Newest Topics” template to make this page generate the most recent topics.
But this shows me the most recent activity, not the most recent topics. So, any topic that gets a new response then becomes the most recent topic, even if it was started a long time ago.
What I WANT to show are the most recently started topics, like the Newest Topics widget shows. Is there an adjustment I can make?
Can I include a new query in my page template that will order them differently?
Is there a different template for this altogether?
I am using the latest install of wordpress, buddypress and bbpress as well as gravity forms. I am needing to place a Gravity From inside a private bbpress forum topic as this form is meant to be seen only by members of this private buddypress group. When using the typical “add form” button at the top of the edit topic page which adds the shortcode to embed the form it places the shortcode there but then the shortcode is the only thing that appears when viewing the topic, not the intended form. Is shortcode not the way to do this and if not what is the best way to proceed to allow only members of this private group access to this form?
Wordpress 3.6.1, bbPress 2.4, Buddypress1.8.1 Site is http://www.thedoctorwhoforum.com
I’m using the visual TinyMCE editor on my bbPress Forum pages and also on my normal WordPress blog pages.
Some users have issues with spans and other code being copied in when they paste. I have been able to stop the pasting issue on the blog comments with the following code which added the paste plugin to TinyMCE:
function myformatTinyMCE($in) { $in['plugins'] = 'inlinepopups, paste, wordpress, wplink, wpdialogs'; $in['paste_text_sticky'] = true; $in['paste_text_sticky_default'] = true; return $in; } add_filter('tiny_mce_before_init', 'myformatTinyMCE' );However, it doesn’t affect TinyMCE on the Forums. They seem to be separate. I instigated the visual editor on the bbPress topics with the following code:
function bbp_enable_visual_editor($in) { $in['tinymce'] = true; return $in; } add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor');I’ve tried lots of different things, but I can’t seem to affect the bbPress TinyMCE the same way I can the blog TinyMCE.
For example, this didn’t work:
function bbp_enable_visual_editor($in) { $in['tinymce'] = true; $in['plugins'] = 'inlinepopups, paste, wordpress, wplink, wpdialogs, tabfocus'; $in['paste_text_sticky'] = true; $in['paste_text_sticky_default'] = true; return $in; } add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor');Anybody any ideas how to add paste to the plugins and possibly add paste_text_sticky etc as well? I’m a bit new at this.
Thanks.
Topic: Landing page issues
I want to create a custom landing page which displays my forums.
I have created a page with the bbPress shorcode [bbp-forum-index] which works fine.
However, the breadcrumb “forums” link goes to a different page which contains a load of text jibberish!
I changed the forums slug in the settings to my page (and updated the permalinks) but instead of the breadcrumb link going to the page with the shortcode, the page itself gets over-written by the text jibberish.
It actually looks like the bbPress sidebar is loading into the main content field, though i don’t know why or how to fix.
Page with shortcode > activenaturalist.org.uk/anforum/
Forums breadcrumb text jibberish > activenaturalist.org.uk/fmsforum/If anyone thinks this post looks familiar it is because i posted about something similar in the past then went under siege from a Chinese bot, the website has only recently been allowed back up by my host.
WP 3.6.1
bbPress 2.4