## WP Bulletin Board[resolved] Completely messed my WP up! (40 posts)

1. Slideit
Member
Posted 1 year ago #

Completely messed my WP up!
DON'T USE!

2. codebycarter
Member
Plugin Author

Posted 1 year ago #

Would you care to elaborate on what actually happened?

3. Slideit
Member
Posted 1 year ago #

I have no idea what's going on.

Notice: Undefined index: action in C:\Wamp\www\wordpress\wp-content\plugins\wp-from-email\wp-from-email.php on line 17
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
4	0.0063	763400	require_once( 'C:\Wamp\www\wordpress\wp-config.php' )	..\wp-load.php:29
5	0.0078	866120	require_once( 'C:\Wamp\www\wordpress\wp-settings.php' )	..\wp-config.php:94
6	0.7928	38741920	include_once( 'C:\Wamp\www\wordpress\wp-content\plugins\wp-from-email\wp-from-email.php' )	..\wp-settings.php:198
7	0.7929	38742064	WPFromEmail->WPFromEmail( )	..\wp-from-email.php:109

Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
4	0.0063	763400	require_once( 'C:\Wamp\www\wordpress\wp-config.php' )	..\wp-load.php:29
5	0.0078	866120	require_once( 'C:\Wamp\www\wordpress\wp-settings.php' )	..\wp-config.php:94
7	0.8292	38746328	define ( )	..\wp-recaptcha.php:14

( ! ) Notice: Undefined index: pmjsscript in C:\Wamp\www\wordpress\wp-content\plugins\cartpauj-pm\pm-class.php on line 91
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
4	0.0063	763400	require_once( 'C:\Wamp\www\wordpress\wp-config.php' )	..\wp-load.php:29
5	0.0078	866120	require_once( 'C:\Wamp\www\wordpress\wp-settings.php' )	..\wp-config.php:94
6	1.1295	46741032	do_action( )	..\wp-settings.php:302
7	2.3389	49161040	call_user_func_array ( )	..\plugin.php:403
8	2.3389	49161088	cartpaujPM->jsInit( )	..\plugin.php:403

( ! ) Deprecated: Function ereg() is deprecated in C:\Wamp\www\wordpress\wp-content\plugins\wp-ban\wp-ban.php on line 110
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
4	0.0063	763400	require_once( 'C:\Wamp\www\wordpress\wp-config.php' )	..\wp-load.php:29
5	0.0078	866120	require_once( 'C:\Wamp\www\wordpress\wp-settings.php' )	..\wp-config.php:94
6	1.1295	46741032	do_action( )	..\wp-settings.php:302
7	2.4771	49205064	call_user_func_array ( )	..\plugin.php:403
8	2.4771	49205080	banned( )	..\plugin.php:403
9	2.4790	49206304	process_ban( )	..\wp-ban.php:178

( ! ) Notice: Undefined variable: new in C:\Wamp\www\wordpress\wp-content\plugins\wp-from-email\wp-from-email.php on line 61
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
4	0.0063	763400	require_once( 'C:\Wamp\www\wordpress\wp-config.php' )	..\wp-load.php:29
5	0.0078	866120	require_once( 'C:\Wamp\www\wordpress\wp-settings.php' )	..\wp-config.php:94
6	1.1295	46741032	do_action( )	..\wp-settings.php:302
7	2.6251	49205064	call_user_func_array ( )	..\plugin.php:403
8	2.6251	49205080	WPFromEmail->DefaultSettings( )	..\plugin.php:403

( ! ) Notice: Undefined variable: wp_query in C:\Wamp\www\wordpress\wp-content\plugins\font\Font.php on line 232
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
5	2.8746	54245680	do_action( )	..\menu.php:97
6	2.9041	54295816	call_user_func_array ( )	..\plugin.php:403
8	2.9045	54297488	Font->get_fonts_ids_from_content( )	..\Font.php:167

( ! ) Notice: Trying to get property of non-object in C:\Wamp\www\wordpress\wp-content\plugins\font\Font.php on line 232
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
5	2.8746	54245680	do_action( )	..\menu.php:97
6	2.9041	54295816	call_user_func_array ( )	..\plugin.php:403
8	2.9045	54297488	Font->get_fonts_ids_from_content( )	..\Font.php:167

( ! ) Notice: Trying to get property of non-object in C:\Wamp\www\wordpress\wp-content\plugins\font\Font.php on line 232
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
5	2.8746	54245680	do_action( )	..\menu.php:97
6	2.9041	54295816	call_user_func_array ( )	..\plugin.php:403
8	2.9045	54297488	Font->get_fonts_ids_from_content( )	..\Font.php:167

( ! ) Notice: Undefined index: post in C:\Wamp\www\wordpress\wp-content\plugins\font\Font.php on line 234
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
5	2.8746	54245680	do_action( )	..\menu.php:97
6	2.9041	54295816	call_user_func_array ( )	..\plugin.php:403
8	2.9045	54297488	Font->get_fonts_ids_from_content( )	..\Font.php:167

( ! ) Notice: Undefined index: page in C:\Wamp\www\wordpress\wp-content\plugins\font\Font.php on line 236
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
5	2.8746	54245680	do_action( )	..\menu.php:97
6	2.9041	54295816	call_user_func_array ( )	..\plugin.php:403
8	2.9045	54297488	Font->get_fonts_ids_from_content( )	..\Font.php:167

( ! ) Notice: Undefined index: p in C:\Wamp\www\wordpress\wp-content\plugins\font\Font.php on line 238
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
5	2.8746	54245680	do_action( )	..\menu.php:97
6	2.9041	54295816	call_user_func_array ( )	..\plugin.php:403
8	2.9045	54297488	Font->get_fonts_ids_from_content( )	..\Font.php:167

( ! ) Notice: Undefined variable: post in C:\Wamp\www\wordpress\wp-content\plugins\font\Font.php on line 241
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
5	2.8746	54245680	do_action( )	..\menu.php:97
6	2.9041	54295816	call_user_func_array ( )	..\plugin.php:403
8	2.9045	54297488	Font->get_fonts_ids_from_content( )	..\Font.php:167

( ! ) Notice: Trying to get property of non-object in C:\Wamp\www\wordpress\wp-content\plugins\font\Font.php on line 241
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
5	2.8746	54245680	do_action( )	..\menu.php:97
6	2.9041	54295816	call_user_func_array ( )	..\plugin.php:403
8	2.9045	54297488	Font->get_fonts_ids_from_content( )	..\Font.php:167

( ! ) Notice: Undefined offset: 0 in C:\Wamp\www\wordpress\wp-content\plugins\font\Font.php on line 180
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
5	2.8746	54245680	do_action( )	..\menu.php:97
6	2.9041	54295816	call_user_func_array ( )	..\plugin.php:403
8	3.3233	54307848	Font->loadFontsForTinymce( )	..\Font.php:167
9	3.3234	54307848	Font->generateFFWCSSURL( )	..\Font.php:194

( ! ) Notice: Undefined index: page in C:\Wamp\www\wordpress\wp-content\themes\Election2012\functions.php on line 126
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
5	2.8746	54245680	do_action( )	..\menu.php:97
6	3.5182	54893360	call_user_func_array ( )	..\plugin.php:403

( ! ) Notice: Undefined index: plugins_page_skysa-key-config in C:\Wamp\www\wordpress\wp-content\plugins\skysa-polls-app\skysa-required\admin.php on line 807
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
5	2.8746	54245680	do_action( )	..\menu.php:97
6	3.5786	54905856	call_user_func_array ( )	..\plugin.php:403
7	3.5786	54905872	SkysaApps_Admin( )	..\plugin.php:403
8	3.5786	54905904	skysa_plugins_constructor->AdminSetup( )	..\index.php:89
9	3.5820	55131456	include( 'C:\Wamp\www\wordpress\wp-content\plugins\skysa-polls-app\skysa-required\admin.php' )	..\index.php:73

( ! ) Notice: Undefined index: displayfav in C:\Wamp\www\wordpress\wp-content\plugins\ozh-admin-drop-down-menu\inc\core.php on line 264
Call Stack
#	Time	Memory	Function	Location
1	0.0034	635760	{main}( )	..\plugins.php:0
4	4.6554	55554648	call_user_func_array ( )	..\plugin.php:403
6	4.6554	55554664	wp_ozh_adminmenu_css( )	..\core.php:276

I re-downloaded and re-installed again. Local this time. I'm running through WAMP. It's the same setup of my live site and it happens again.

4. Imokon
Member
Posted 1 year ago #

I am having issues also, main errors I get are something like this "The plugin generated 537 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin."

and

Notice: Use of undefined constant DC_MAX_ATTEMPTS - assumed 'DC_MAX_ATTEMPTS' in /home/.........plugins/wp-download-codes/wp-download-codes.php on line 33

Notice: Use of undefined constant ace - assumed 'ace' in /home/.........plugins/advanced-category-excluder/advanced-category-excluder.php on line 310

Notice: Use of undefined constant ace - assumed 'ace' in /home/.........plugins/advanced-category-excluder/advanced-category-excluder.php on line 310

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/.......plugins/wp-download-codes/wp-download-codes.php:33) in /home/............themes/dt-slash/plugins/captcha/dt_captcha.php on line 34

I've installed and uninstalled twice

5. codebycarter
Member
Plugin Author

Posted 1 year ago #

In both your cases the problem lies with the plugin(s) you're using. I'd semi deliberately left the function error_reporting(E_ALL); in the file wp-bb.php so it is only now showing you the errors that your plugin(s) have been generating. I installed one of those plugins alongside WPBB to confirm it.

I.e. In Slideit's case there is an error about the function ereg(). That function was deprecated in version 5.3.0 of PHP and I developed WPBB in version 5.3.6.

If you know how remove line 30 from /wp-bb/wp-bb.php "error_reporting(E_ALL);".

I will update the plugin immediately also.

6. Imokon
Member
Posted 1 year ago #

Ok got the headers to go away by removing that line, now to tinker with this plugin, hopefully I'll never look back. Thanks for the speedy response :)

7. Imokon
Member
Posted 1 year ago #

Current errors when visiting the mydomain.com/forum/ page:

Warning: require_once(/home/......./public_html//wp-content/plugins/wp-bb/php/wpbb-forum.php) [function.require-once]: failed to open stream: No such file or directory in /home/.../wp-content/themes/dt-slash/wpbb-template.php on line 15

Fatal error: require_once() [function.require]: Failed opening required '/home/....public_html//wp-content/plugins/wp-bb/php/wpbb-forum.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/..../wp-content/themes/dt-slash/wpbb-template.php on line 15

I'm trying to edit this myself to see what I can do though.

8. codebycarter
Member
Plugin Author

Posted 1 year ago #

In wp-content/themes/dt-slash/wpbb-template.php

Change:
require_once(ABSPATH.'/wp-content/plugins/wp-bb/php/wpbb-forum.php');

To:
require_once(ABSPATH.'/wp-content/plugins/wp-bulletin-board/php/wpbb-forum.php');

I've only just noticed that there should be a folder called wp-bb when you download the plugin but it's intact wp-bulletin-board with the files that should be inside wp-bb.

I'll fix this asap.

9. Imokon
Member
Posted 1 year ago #

Oops more errors:

I did like you said by changing out that one line of code.

I created a dummy category, a dummy forum, dummy subforum.

I navigate to mydomain.com/forum and I find in my theme the page is blank except the very barebones of the theme background and the footer at the top of the screen.

I switch to default WordPress theme twentyeleven (and also modify the wpbb-forum.php in that folder also like you said)

and now I see this error:

The plugin is deactivated. Please reactivate the plugin to continue using WPBB

I go to check the plugin but it's active, so I deactivated and reactivate again, still same error.

Any ideas?

and it's ok, I'm excited for an easier alternative to bbPress and yours seems to have all the basic functionality I need so here's to tinkering right?

10. codebycarter
Member
Plugin Author

Posted 1 year ago #

You'll just have to change line 11 in php/wpbb-forum.php to this:

$plugin_active = is_plugin_active('wp-bulletin-board/wp-bb.php'); Also if you'll be changing themes you'll also need to make the same edit you made to the wpbb template file in your template folder to the file wp-bulletin-board/wpbb-template.php on line 15. Uploading the changes, svn is just being akward :) Uploaded the changes. Thanks. 11. Imokon Member Posted 1 year ago # Awesome it worked! The css paths were broken due to earlier tweak so I just changed the paths on line 58 and 61 on wpbb-forum.php so that it went from this: if ($wpbb_theme_options['theme'] == 'light') {
wp_register_style('wpbb-light-style', plugins_url('wp-bb/css/wpbb-light-style.css'));
wp_enqueue_style('wpbb-light-style');
} else {
wp_register_style('wpbb-dark-style', plugins_url('wp-bb/css/wpbb-dark-style.css'));
wp_enqueue_style('wpbb-dark-style');
}

to this:

if (\$wpbb_theme_options['theme'] == 'light') {
wp_register_style('wpbb-light-style', plugins_url('wp-bulletin-board/css/wpbb-light-style.css'));
wp_enqueue_style('wpbb-light-style');
} else {
wp_register_style('wpbb-dark-style', plugins_url('wp-bulletin-board/css/wpbb-dark-style.css'));
wp_enqueue_style('wpbb-dark-style');
}

The way it looks now is just modifying the CSS to suit my needs which is beyond the scope of the basic stuff, but at least it looks simple and straight to the point. I will let you know if I run into anymore issues plugin-wise ^^ thanks again for the support really appreciate it.

12. Slideit
Member
Posted 1 year ago #

http://screencast.com/t/uhqaKTdol6

But having a problem here. Once I get the Topic and forum saved, I get a page not found.
http://screencast.com/t/lXDgEfRyx8z

http://screencast.com/t/w3jquS9fbE
Thanks for the extra work and really would like to see a screenshot of what it's suppose to look like.

Thanks again.

13. Slideit
Member
Posted 1 year ago #

PS You can mark this as Not broken. I would, but can't.
Thanks

14. codebycarter
Member
Plugin Author

Posted 1 year ago #

I think you meant that when you were trying to access a sub forum you received a 404 error message?

That should now be fixed, please re-download the plugin and overwrite the existing files (don't worry this won't delete any forums, settings, etc).

Thanks.

15. Slideit
Member
Posted 1 year ago #

Either forum, or sub-forum. I'm still getting the:
Thanks

16. codebycarter
Member
Plugin Author

Posted 1 year ago #

What permalink settings are you using?

If you could, please send an email to me@codebycarter.com with a url to your wp installation.

17. Slideit
Member
Posted 1 year ago #

I am running this local for right now after yesterday. Once all of the bugs are out for me and only me, so far I'll go live.
Day and name http://localhost/wordpress/2012/09/26/sample-post/
If that's what you're talking about.
Thanks

18. codebycarter
Member
Plugin Author

Posted 1 year ago #

Very strange. I've also got a local wp install and have tested it under all custom permalink settings and it works fine.

Could you tell me what the URL is when you visit the forum index and when you try to visit a forum, sub forum or topic?

Also, do you have any other plugins installed?

19. Slideit
Member
Posted 1 year ago #

This is strange. It's working now with:

http://localhost/wordpress/forum-2/?forum=4&topic=2&current_page=1

What is forum-2? Is that suppose to be there? Like I say it started working and I think the problem was the BulletProof Security. It wasn't an error, but BulletProof Security was not happy with it. I had to update the BulletProof.htaccess. It seems to be running but the forum-2 still has me wondering. Now that it's working. I tried to insert a pic. The name of the pic was shown as /hhus/ and that is the name of the pic, but no pic. Is there somewhere I can get it to show a pic?
You have done a great piece of work here.
Thank you!

20. Slideit
Member
Posted 1 year ago #

Found another and again I'm sure it's my setup.
http://screencast.com/t/A4QQtNS62

21. Slideit
Member
Posted 1 year ago #

This is looking good. One more ask. I think it may be in the CSS, but how (if I can) widen the forum from (I think it is 982px) to 1200px?

22. codebycarter
Member
Plugin Author

Posted 1 year ago #

* "forum-2" is the page's permalink. The easiest way to change it is to go to Pages -> Forum -> Edit -> Permalink -> Click 'Edit' and change it to your liking.

* Please download v1.0.1 which fixes a number of issues including the one where it doesn't display images correctly in topics & posts.

* Fixed in 1.0.1

* The table width is set to 100% so it should stretch itself as far as is necessary but without overlapping its templates divs. If you could post a screenshot of what you want it to look like that'd be great.

23. Slideit
Member
Posted 1 year ago #

No problem with the link. I was just wondering what it was. I opened my local and it found the update. Thanks! Here are the screenshots.
Width
http://screencast.com/t/ckcoZxTbh1qR

Thank you for the work and patience with me. Your work is quickly becoming a five star plugin.
Thanks

24. Slideit
Member
Posted 1 year ago #

Post Reply

( ! ) Fatal error: Call to undefined function wpbb_goback() in C:\Wamp\www\wordpress\wp-content\plugins\wp-bulletin-board\php\wpbb-reply-topic.php on line 27
Call Stack
#	Time	Memory	Function	Location
1	0.0009	395360	{main}( )	..\index.php:0
2	0.0015	399064	require( 'C:\Wamp\www\wordpress\wp-blog-header.php' )	..\index.php:17
4	1.5158	39506880	include( 'C:\Wamp\www\wordpress\wp-content\themes\Election2012\wpbb-template.php' )	..\template-loader.php:43
5	1.9988	39944376	require_once( 'C:\Wamp\www\wordpress\wp-content\plugins\wp-bulletin-board\php\wpbb-forum.php' )	..\wpbb-template.php:15
6	2.0147	40652016	require_once( 'C:\Wamp\www\wordpress\wp-content\plugins\wp-bulletin-board\php\wpbb-reply-topic.php' )	..\wpbb-forum.php:600
25. codebycarter
Member
Plugin Author

Posted 1 year ago #

Thanks for pointing that out. Remove line 17 from php/wpbb-reply-topic.php and place this call at the top of the file:

wpbb_goback1('reply-topic', NULL);

Updated the plugin but that'll save you having to download the plugin again.

As for the width of the forum index/forum/subforum/topics etc open css/wpbb-light-style.css and find line 59. Change:

width:100%;

to:

width: 1175px;

Thanks!

26. Slideit
Member
Posted 1 year ago #

With the width: 1175px; works great too, but the centering of the forum is way off.
http://screencast.com/t/imBb8Fkq

A small cosmetic change. Where can I find:

Thankyou, your post has been posted successfully

and change to:

Thank you. Your post has been posted successfully.

Thanks

27. Slideit
Member
Posted 1 year ago #

Sorry to keep bothering you, but when trying to read a message, I click on a message and it takes me to:
http://localhost/wordpress/forum-2/?messages=all&current_page=1
then
http://localhost/wordpress/forum-2/?messages=all&current_page=1&view=2
and shows just the local site. No message at all. I can do a video on it if you want.
Thanks

28. Slideit
Member
Posted 1 year ago #

Sorry again, but there's a colon left in the editor for Compose Message.
http://screencast.com/t/OVfOVtdq5
Have I driven you nuts yet? :)

29. codebycarter
Member
Plugin Author

Posted 1 year ago #

* For the table add these two lines to the table you just edited around (around line 59):

position: relative;
left: -9%;

Should do what you need it to do.

* You have to change that text in two places:
php/wpbb-view-forum-topic.php (line 138)
php/wpbb-view-subforum-topic.php (line 111)

If you were going to do a lot of modifications to the text you may find it easier to generate a POT file and then modify it the way you want to (although its used to translate all the text into different languages, it definitely could be used for this purpose rather than editing it all manually and then having to do it again if you ever make an update to those file(s). Just a thought.)

* Thanks, missed that when I'd added pagination to the messaging system.

* Good eye! Already fixed and updated the plugin.

Thanks again.

30. Slideit
Member
Posted 1 year ago #

For the table I used:

.wpbb-table {
position: relative;
left: -11.5%;
width:1200px;
border: solid 0.1em;
border-color: #9E9E9E;
background-color:#F8F8F8;

and works great. Finally almost a full section of the page with no columns.

For the:

Thankyou, your post has been posted successfully and
Thankyou, your topic was successfully posted to

I've found more places to change.

If wanted. I changed.

line 144 php/wpbb-all-messages.php
line 355 php/wpbb-edit-topic.php
line 138 php/wpbb-view-forum-topic.php
line 111 php/wpbb-view-subforum-topic.php

to

Thank You. Your post has been posted successfully.

and

line 149 php/wpbb-create-topic.php

to

Thank You. Your topic was successfully posted to

You say that the plugin is updated? Did it take care of the Messaging?
I have no idea what a POT file is. Sorry...
Thanks again for all of your work.

This topic has been closed to new replies.