Search Results for 'code'
-
AuthorSearch Results
-
March 1, 2007 at 6:22 pm #54627
In 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
NEEDED
and 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.
st
is 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
top
tobottom
may 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_cookie
in 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 callsetcookie
directly instead ofbb_cookie
asbb_cookie
changes 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…
February 27, 2007 at 11:30 pm #54907In reply to: Integrating Aggrss into bbPress theme?
CMoseley
MemberI’m not sure exactly what your asking. I copied and pasted the code in my WordPress template into my bbPress template. Works fine in WordPress, gives me the above error in bbPress.
The code I used was:
<?php
if ($rs = aggrss('http://onctalk.com/wp-commentsrss2-custom.php'))
{
// dump the structure
//echo "<pre>";
//print_r($rs);
//echo "</pre>";
echo "<a href='" . $rs[link] . "' style='color: #000000; font-weight: bold;' >" . $rs[title] . "</a>";
echo $rs[description] . "<br />";
foreach ($rs['items'] as $item)
{
echo "<p><a href='" .$item['link']. "'>" . $item['title'] . "</a><br/>" .html_entity_decode($item['description']). "</p>";
}
if ($rs['items_count'] <= 0) { echo "Sorry, no items found in the RSS file <img src='http://www.soderlind.no/wp-includes/images/smilies/icon_sad.gif' alt='' class='wp-smiley' /> "; }
}
else
{
echo "<!-- It's not possible to reach RSS file -->";
}
?>February 27, 2007 at 10:08 pm #55085In reply to: “/” Escaping issue within my posts
Null
MemberIt happens on this forum as well. You get more \every time you edit a post one is added.
Excample (used the code tags):
echo '<li><a href="link-to-your-thingy.com">Thingy-name</a></li>';
I didn’t add any in it Also code between the code tags shouldn’t be altered at all.
Every time I edit this post (and leave the in) it wil ad 1 more…
Edit:
LOL seems to be fixed now :S
February 27, 2007 at 9:39 pm #55062In reply to: WordPress + BBpress vs. WordPress + Vanilla
flatworm
Memberif ( !defined('BBPATH') )
define('BBPATH', dirname(C:AllProgramingphp&mysql SERVERwordpressbbpress) . '/' );
require_once( BBPATH . 'C:AllProgramingphp&mysql SERVERwordpressbbpress' );
?>Are this last lines correct if the path to my bbpress is: “C:AllProgramingphp&mysql SERVERwordpressbbpress” ?
February 27, 2007 at 6:44 pm #54673In reply to: Import SMF to bbPress
vedmak
Member>>The only thing I can say is: have you deleted all occurrences of ut8_encode? There are more than one.
I deleted all ut8_encode. You can see my script.
>>If so, please send it to antiswen at yahoo dot es (yep, es, not com).
I don`t know spanish (yahoo dot es?), that is why i put it on my blog.
Download my script and SMF db
-
AuthorSearch Results