Search Results for 'code'
-
AuthorSearch Results
-
March 2, 2007 at 1:49 am #1496
Topic: Character Encoding Problem
in forum Troubleshootingstuboo
MemberI have bbpress and wordpress running independently on the same domain but am having some encoding problems with bbpress that I didnt have on my local server.
As an example . . .
the…?Shows as . . .
the…?I am sharing some of the same header information between my bbpress install and my wp theme, but I don’t know enough about encoding to know if that’s the problem.
Thanks,
Ryan
March 2, 2007 at 12:50 am #54409In reply to: REQ: Theme demo switcher like phpBB
fel64
MemberWhy not have the server zip the theme every time a theme is added? Minimises work on all sides.
Very nice work. I especially like the don’t show for … settings. It feels very professional.
March 2, 2007 at 12:12 am #54408In reply to: REQ: Theme demo switcher like phpBB
lonemadmax
MemberDownload button that will (on click) download the theme currently viewing (even grater if it would zip the theme folder and offer it for download on the fly)
Good idea! I’ll work on that. I don’t know if zipping on the fly would be nice on the server. I think it’d be better that the admin adds the zip each time he adds a theme. But that’s more work for the admin
so I don’t know.Remove the Show theme button. Just selecting it in the ddlb should be enough to switch (or some explainetion of how to do this, cause I want to use it without that button)
You can remove it by deleting the lines that generate it. Line 139 – 142 in cookie_themes.php (that is, from
var but = ...tof.appendChild(but);). I put it before adding the “submit on change” stuff, and then I left it just in case the new thing didn’t work. When I tried it yesterday on MSIE, it didn’t work there, you had to use the button. But it may be just my MSIE with paranoid configuration.March 1, 2007 at 7:37 pm #1487Topic: Fix bbPress Plugin 0.8.1-1
in forum TroubleshootingMichael Adams (mdawaffe)
Memberhttp://bbpress.org/plugins/topic/37
This will hopefully fix the following issues.
This user is a bozo: "1"in the edit profile page.- Slashes getting added to some quote marks (
"->") in posts.
March 1, 2007 at 6:22 pm #54627In reply to: Plugin: bbMenu 1.0
Null
MemberI have made a new testversion for suleiman. Plz try this version.
1) Delete bbemenu.php from your plugin directory (and close browser)
2) Delete the bb_menu table from your database
3) Upload this test version, go to your admin and refresh the page if needed
4) Check if the bb_menu table is filled now.
ps. you only have to replace the bbmenu.php from your plugin directory.
Download testversion:
http://www.sourceskins.com/bbmenutest.zip
If this version isn’t working for you sul, I give up
March 1, 2007 at 5:23 pm #51640In reply to: Bozo – what are the triggers?
altmejd
MemberStrange. All users on my forums got the
This user is a bozo: "1", that doesn’t change no matter what I do. But still, all the topics created are visible and none of the users are listed in the Bozo-list.March 1, 2007 at 5:16 pm #51639In reply to: Bozo – what are the triggers?
darkgrave
MemberYou can make your own measures. Its not exactly
NEEDEDand it gets really annoying.Well cheers theres your fix.
March 1, 2007 at 4:13 pm #55114In reply to: local computer installation
chrishajer
ParticipantYes
March 1, 2007 at 1:51 pm #50264In reply to: Users dont receive password after registration
Pravin Paratey
ParticipantTrent:I don’t know if this should go in the main branch. This patch is for those people who can not send mail from their servers.
master501: If you don’t know how to use
patch, just open the files in notepad and change the lines marked with – to the ones marked with +March 1, 2007 at 8:17 am #51637In reply to: Bozo – what are the triggers?
darkgrave
MemberTrent you can also alternatively get rid of it all together just by taking this line out of bb-settings.php:
require( BBPATH . BBINC . 'bozo.php');
&&
require( BBPATH . BBINC . 'akismet.php');It won’t lock up your new-topics which it actually auto deletes them and it gets really annoying after trying to fix it. So, I just got rid of it all together.
March 1, 2007 at 8:08 am #55107In reply to: Topics Not Showing Up
darkgrave
MemberSry for the Db post but, this is a bug caused by
Bozo.Go into BB-settings.php, look for
require( BBPATH . BBINC . 'bozo.php');
And Delete it.
Theres your fix.
March 1, 2007 at 6:02 am #55113In reply to: local computer installation
chenchen
Memberwell it meets all the requirements… what about in the config file? what shall i write to “$bb->domain” and “$bb->path”? i have a folder in my localhost called “testfolder”, and i want to install BBPress inside this folder so the path of my BBPress must be http://localhost/testfolder/forums? is this possible?
March 1, 2007 at 4:44 am #55110In reply to: I cannot install bbp
Trent Adams
MemberI am not sure what problems you are having exactly. Is it the same as your last post on this issue? If so, chrishajer wanted to help you in this reply.
I see from your screenshot and your config.php file above that you haven’t edited it to your circumstance. You have to put in the values that correspond to your install for these parts here:
$bb->domain = 'http://my-cool-forums.example.com'; // Example: 'http://bbpress.example.com'
// There should be both a leading and trailing slash here. '/' is fine if the site is in root.
$bb->path = '/'; // Example: '/forums/'Right now, you have the my-cool-forums.example.com and that has to be the URL of your install. Does your system work with an IP address or http://localhost or how do you access it. That will be part of the reason the graphics don’t work as that portion isn’t correct.
Trent
March 1, 2007 at 4:35 am #52901In reply to: MediaWiki, bbPress, and WordPress integration..
AphelionZ
ParticipantI’m having trouble with this plugin – MediaWiki version 1.6.9, using the Authpress.php from the codex link in the first post.
I try to log in and I get this error:
..from within function “AuthPress::authenticate”. MySQL returned error “1146: Table ‘*********.wk_wp_users’ doesn’t exist (*****.***)”
It looks like it’s appending wk_ before my user table?
March 1, 2007 at 4:24 am #1495Topic: local computer installation
in forum Installationchenchen
MemberHi, everyone. is it possible to install BBPress to my own computer? if it is, what do i need to do?
thanks a lot. it would really be a great help.
March 1, 2007 at 3:54 am #54406In reply to: REQ: Theme demo switcher like phpBB
lonemadmax
MemberYep, just have a look at the beginning of the injected javascript, in the plugin file.
stis the variable through which you change the CSS of the box. Regarding position, the original file has:st.position = "fixed";
st.left = st.top = "40px";Changing
toptobottommay give what you are asking for. You can change the value, of course, and add other CSS that you may want. Also, if you know JavaScript, you can make the box work as a draggable window, there are examples of that out there.I’ve just tried it under MSIE and guess what, it puts the box in the bottom of the page, after all content (that is, where it is generated).

And there’s a BUG (I’m talking about my files again, not MSIE positioning). The “close this box for this session” closes it forever. Well, for “more than just this session”, a week, I think. I can’t correct it and test it now, but the change needed would be to add the “just for this session” expiration time for the “annoying_box” cookie. That’d be the third parameter to
bb_cookiein line 15 of themes.php. There are only two parameters now, and bbPress takes the absence of the third (or its value being 0) to mean a week. Right now I don’t know if you have to set a value in the past, a negative value or no value to make it a session cookie. In the latter case, it may be necessary to callsetcookiedirectly instead ofbb_cookieasbb_cookiechanges the no-value case to a week.You may also leave that option out, the “box that disappears after 5 seconds” one may be enough.
February 28, 2007 at 10:22 pm #54982In reply to: Can’t Switch Themes in 0.8.1
ccmve
MemberIt’s on Windows Server 2003 Standard Edition.
In the config file, I have it set to:
$bb->domain = 'http://www.forum.mybbress.com';Above though it calls http://www.forum.mybbress.com before the absolute path and http://www.forums.mybbress.com after the path.
February 28, 2007 at 7:14 pm #54979In reply to: Can’t Switch Themes in 0.8.1
fel64
MemberAre you using xampp? I’ve no experience with that whatsoever, but since it’s a path on your hard drive it seems that way to me. I’ve seen a few people say they’ve had problems using bbPress with that, and someone rightly point out that if you test on xampp you’ll get a bunch of errors you wouldn’t get on a server and miss the ones you would get.
I’ve personally had no problems on my server, and if you already have hosting and an unused or wordpress db then there probably isn’t any harm in just testing it on the server.

Edit: err – hehe …
February 28, 2007 at 6:33 pm #54977In reply to: Can’t Switch Themes in 0.8.1
fel64
MemberAren’t themes meant to be in the /my-templates folder? Not sure if it’s necessary.
As a temporary fix, you could right-click the link, select Copy Link Location, paste it into your URL and just change the path so it links to your theme. Might be worth a try
February 28, 2007 at 4:49 am #54674In reply to: Import SMF to bbPress
lonemadmax
MemberYou don’t have to know Spanish to send mail

I got your script, and it worked for me. That is, after I added an ‘l’ you deleted with a parenthesis
. So it seems the problem with your second try was just a typo. In line 521 the original script said:$import_sql = utf8_encode($import_sql);and yours say:
$import_sql = $import_sq;So add back the ‘l’ or delete the whole line, as it’s useless in the utf8->utf8 version.
February 28, 2007 at 3:26 am #54950flatworm
MemberThanks, I will try.
I suck at code file editing, but sometimes i get lucky.
February 28, 2007 at 3:09 am #54949Fakey
MemberTrent, does the maintainer of the code know the localhost problem exists (yes, even with path-to-url.2.php plugin)? The only way I’ve managed to get around it is by directly editing the “bb-templates/kakumei” files.
Also, another note, I’m using lighttpd on a windows machine. This probably adds to the slash havoc.
February 28, 2007 at 3:05 am #53891In reply to: Bozo problem
huntherx17
MemberI’ve been trying to trace which code assigns the post status to “2” for every post but I cant seem to find it since it marks every post a spam, bozo or not bozo. I dunno why.
February 28, 2007 at 2:36 am #55094In reply to: Installation Problem (last time was a disaster!)
fel64
MemberI think the contents of your bbpress folder (config.php, bb-includes, bb-images etc) should have been uploaded to /otherblog/forums, and your .htaccess file should go next to them in the /otherblog/forums folder. Good luck
February 28, 2007 at 12:45 am #53890In reply to: Bozo problem
wsokc
MemberThanks Trent! u’re the savior…
-
AuthorSearch Results