Search Results for 'code'
-
AuthorSearch Results
-
August 7, 2008 at 5:45 am #66657
In reply to: Language Instalation
_ck_
ParticipantI’ve never done it myself but I believe you first have to put the translation
es_ES.mo
file intobb-includes/languages
directory.Then you go into bb-config.php` and change the BBLANG setting:
define('BBLANG', 'es_ES');
Here is more info:
http://www.degabriel.es/2008/04/24/traduccion-de-bbpress-09-al-castellano/
and the file:
_ck_
ParticipantUnfortunately by some oversight, there is no directly link to the search feature on the default bbPress 0.9 templates (this is fixed in the next version – perhaps too prominently given how weak the built-in search is in bbPress).
You can make a link to search.php yourself in the header.php or footer.php to have it on all pages.
<a href="<?php bb_option('uri'); ?>search.php">Search</a>
Or you can make a mini-form that passes the field “search”
<form action="<?php bb_option('uri'); ?>search.php" method="get">
<input name="search" id="search"></form>August 7, 2008 at 2:57 am #3758Topic: Search???
in forum Troubleshootingsempervideo
MemberHi,
usually i am not that stupid, but here you got me.
Can someone please tell me where i can find the search to search my forum?
Do I have to activate it? According to some posts it should be build-in.
I have a search.php and search-form.php in my template folder. So it should be somewhere.
please help me out, will you.
Thanks a ton.
Greetings
Andy
August 6, 2008 at 8:00 pm #66655In reply to: Remove/block this spammer plz
Null
MemberHis name (and the link) is the spam! Translated it is: get a loan cheap and: let us calculate your morgage (don’t know if this is spelled correctly).
It is spam it isn’t a normal name. Spam in my mail have the same name
The sites are identical too.
Also his replies aren’t sound either. He just posted stuf so his name and link are seen and (hopefully) clicked.
August 6, 2008 at 6:44 pm #66652In reply to: Switching from another forum software (MyBB)
_ck_
ParticipantUnfortunately that software is so new I don’t think anyone has done a conversion yet.
If you can get it into phpBB format it might be possible to convert from there.
If you are comfortable with phpmyadmin and some php code you can always attempt to do it yourself too.
August 6, 2008 at 3:37 pm #66621In reply to: www.mastercleanse.co.za/forum
djp
MemberOk Chris, it should be fixed.
Thanks again for the heads up.
August 6, 2008 at 10:17 am #66620In reply to: www.mastercleanse.co.za/forum
djp
MemberThanks for the feedback Chris. Looks like the footer is inheriting a parent CSS style or something.
It looks fine on my mac in FF & safari, and it looks fine in IE6 & 7 on a pc.
Will look into it & repost the url for you to have a squizz.
Cheers, and thanks again
August 6, 2008 at 2:29 am #66569In reply to: Help! I renamed my bbpress file directory name…
dpeeples
Memberi followed your instructions as well as i could but got a messed up page after inserting the
$bb->uri = ‘http://your-domain-name.com/forum-path/’
portion in the config code.
Where exactly should it go?
thanks much for the help.
August 5, 2008 at 9:06 pm #66618In reply to: my-plugins and bb-plugins, why do we have 2?
Null
MemberOw okay, it just makes it confusion for some people having 2 folders having (almost) the same name.
Putting my stuff back into my-plugins then
August 5, 2008 at 6:49 pm #66606In reply to: Do we know where our members are?
_ck_
ParticipantIf you look at the instructions, you can get a list of names by using
<?php mini_track(2); ?>
instead of (1)I’ve updated the code to link to profiles.
That’s all I’m doing on that plugin, if you want more, you need to learn PHP.
August 5, 2008 at 4:03 pm #66612In reply to: Pilates Digest Forums
thion
Member@_ck_ – you of all people should know that you can do amazing things with bbPress
.
@gio500000 – nice and clean design – I like it.
August 5, 2008 at 3:54 pm #3746Topic: www.mastercleanse.co.za/forum
in forum Showcasedjp
MemberHi all
After much tweaking & relatively extensive style changes, I finally went live with my website.
I needed to make bbpress fit in with the clean, simple style of the rest of the site & to be completely honest, I think I did a great job. Please have a look at the forum as well as the rest of the site to get a feel of what I mean by ‘fitting in’.
Comments are most certainly welcome, good & bad
August 5, 2008 at 2:39 pm #66594In reply to: htaccess muwordpress +bbpress
810798
Inactivethanks _ck_,
It seems to be a problem with when you include the wp-config… There must be a check somewhere in one of the files included in it that checks if that has been registered or is a banned blog, and wp-admin must be hardcoded in somewhere to be a safe directory.. i just havent had time to go through and look for where that happens.. been making a bunch of other customizations instead, as this problem can be solved by just using sub-domains..
James
August 5, 2008 at 2:38 pm #66605In reply to: Do we know where our members are?
Null
MemberOkay, I’ve tested the new one. I see there is a hyperlink now and when you click it, I see this (statuspage?):
There are 1 total users online. 1 of them are members: Admin. 1 of them are on this page.
Admin (1) - 1 minutes ago - /mssp/?mini_track_displayThe last part /mssp/etc is a link too? I think this is a bug.
Sec:
Is this also possible?
These members are currently on this page: jhon, kim, jack, etc
Third: It would be cool if the names are clickable and you go to their profile while clicking them.
August 5, 2008 at 1:43 pm #66609In reply to: Pilates Digest Forums
_ck_
ParticipantVery nice! For a moment I was almost going to accuse you of advertising a non-bbpress forum here, LOL. It fooled me
August 5, 2008 at 11:04 am #66600In reply to: Do we know where our members are?
_ck_
ParticipantWell I started to write some code but I then remembered why I did it completely on my own. There are many problems you encounter with trying to do this efficiently with as few DB queries as possible. Using the built in bbpress functions when there’s only a couple people online are fine, but when it gets to many times that, it’s too inefficient.
There’s also the issue of tracking NON members. Much more tricky than authenticated users.
I recommend you modify simple online list to track position. Much easier.
If you know PHP, here’s the process:
1. take the IP of the current user, change it into ip2long and make that the index of an array or object
2. store the request_url for that index
3. store the time() for that index
4. if they have a user id# (a member) store that
5. save the array via bb_update_option (not usermeta)
6. on every bbpress load, do a bb_get_option for the usertracking, which is the array of all the above
7. comb through the time() for timestamps older than 30 minutes and discard them
8. count the remaining items to see how many online in past 30 minutes
9. comb the request_url to see if it == your bbpress front page and count
August 5, 2008 at 10:49 am #66599In reply to: Do we know where our members are?
_ck_
ParticipantIf you know some basic PHP this is a very easy thing to store/track but you’ll need some more extensive code to print it out.
Essentially what you’d want to do is store in the usermeta the bb_location and timestamp on every load of bbpress via a simple plugin.
Then to count the number of users in the front page you’d do a mysql query to limit by time and count the number of “front-page” that appear.
I’ll give you some rough code in a minute, it’s fairly straightforward.
August 5, 2008 at 10:17 am #66598In reply to: Do we know where our members are?
Null
MemberYeah about that plugin of yours, hurry up with it, many people want that one
I can also test it if you like on my board
But back on topic: lets say I want to use bb_location since I ONLY want to track users on the frontpage. Is this possible without extending the users table?
If a user goes to another page or leaves the bb_location will change. Thats not a problem since I only want the people from the frontpage.
And how would you update this? At page load or something? Perhaps I should request this in the plugin section since I have no idea how to make a clean plugin of this…
August 5, 2008 at 5:44 am #66416In reply to: Possible way to upload image to post
_ck_
ParticipantOh shoot, you are correct, I allowed them in the end by default. I might remove that.
update: oh wait, BMP is only allowed for admin, no one else has that allowance – so it’s not an issue, I forgot I did that. The reason you got “denied mime” is because it’s a bug where I didn’t add “image/bmp” to the allowed mime types for admin. I’ve reposted 0.1.9 with that fixed.
But that’s a strange error I need to explore on the png. Apparently “Error Occurred While Processing Request” is a mysql error? Interesting.
Did the filename have any strange characters? Quotes? Apostrophies? Unicode?
August 5, 2008 at 5:13 am #66595In reply to: Install error
chrishajer
ParticipantI’m not really sure why, but I can guess. Do you have a file in bb-includes called compat.php?
/bb-includes/compat.php
In that file, line 10 says “if this function does not exist, create it.” That PHP function is available in newer PHP versions only (greater than or equal to 5.1.2). So, for compatibility, if the function is not available on your server, bbPress creates it in compat.php.
Do you have that file, and does line 10 look like this?
if ( ! function_exists('hash_hmac') ):
What bbPress version did you install, if it’s not the latest 0.9.0.2 release? Are you certain all the files were uploaded properly?
August 5, 2008 at 5:05 am #66415In reply to: Possible way to upload image to post
chrishajer
ParticipantIIRC, I uploaded the BMP and got the denied mime. Then, at a totally separate time when uploading a PNG I got the error described here.
I never tried to upload more than one image at a time.
I would totally disallow bitmaps as well, since they’re really not designed for the web. I was thrown off by this note from the saying they’re allowed:
allowed uploads: bmp (500 KB), doc (500 KB), gif (500 KB), gz (500 KB), jpeg (500 KB),
jpg (500 KB), pdf (500 KB), png (500 KB), txt (500 KB), xls (500 KB), zip (500 KB)August 5, 2008 at 3:46 am #57099In reply to: Code backtick bug
_ck_
ParticipantIt’s archived here:
http://code.google.com/p/llbbsc/wiki/HTMLTagAttributesValidatorPlugin
http://web.archive.org/web/20071227175025/http://www.livibetter.com/it/topic/plugin-html-tag-attributes-validator
http://llbbsc.googlecode.com/svn/trunk/bbPress/HTMLTagAttributesValidator/HTMLTagAttributesValidator.phpThat’s actually a fairly decent plugin, too bad it’s not in the extend section.
August 5, 2008 at 3:40 am #66414In reply to: Possible way to upload image to post
_ck_
ParticipantBMP is not an allowed mime by default because they tend to be huge and uncompressed. You can force it to be allowed though by adding it to the mime (and extension types).
This bug bothers me though, if you can give me steps to reproduce it that would be very helpful:
[png] Error_Occurred_While_Processing_Request.png (17.7 KB, 0 downloads) [x]
Did it happen when you uploaded a PNG and a BMP at the same time?
August 5, 2008 at 12:02 am #57098In reply to: Code backtick bug
Indojepang
Memberlivibetter link is dead
August 4, 2008 at 7:24 pm #64631chriskalani
Memberhmmm… yeah. So it sounds like everyone wants it. Now we just need to find someone awesome who can make it happen.
On a side note… it would be really cool if they released a 3rd product focused more around community. Basically just an integrated bundle of bbpress and wordprss with maybe some additional integrated features. That would kick so much butt!! Drupal sucks… so does everything else. But I might end up using it if the main feature I am looking for doesn’t exist.
-
AuthorSearch Results