Search Results for 'code'
-
AuthorSearch Results
-
January 30, 2011 at 2:34 am #37323
Topic: Subforums FrontPage
in forum Themeszamajeni
MemberI read this topic million times to now, now I`ll just ask a little help from moderators.
Here is my forum: http://www.gitariste.org/bbpress
As you can see there are PLENTY of subforums. And i want to hide them, but to count the posts from subforums to original. Let me give you an explanation.
FORUM Posts
(forum) Tech-Stuff 2
(sub-forum) Internet 4
to look like this:
FORUM Posts
(forum) Tech-Stuff 6
Which means, when i enter in Tech Stuff forum, i will see subforum and the posts in there.
Here is the code of my front-page.php
(Just show me the code that I need to change to get my goal)
Thxxxxx
January 29, 2011 at 3:16 pm #37314Topic: Forum resize
in forum Troubleshootingzamajeni
MemberI want a code that automaticly resize a form to the maximum width to any user and his monitor resolution. Something like there are no marines. Any code for that??
Im using Kakumei theme (default).
January 27, 2011 at 9:26 pm #99080In reply to: facebook graph connect issue
koyuncu
Memberbump.. still can’t post on the plugins page
help?
January 27, 2011 at 9:26 pm #104180In reply to: facebook graph connect issue
koyuncu
Memberbump.. still can’t post on the plugins page
help?
January 27, 2011 at 9:26 pm #99079In reply to: facebook graph connect issue
koyuncu
Memberbump.. still can’t post on the plugins page
help?
January 27, 2011 at 9:26 pm #104179In reply to: facebook graph connect issue
koyuncu
Memberbump.. still can’t post on the plugins page
help?
January 27, 2011 at 5:10 pm #99101In reply to: bots spamming in my forum w/ human test!
John James Jacoby
KeymasterThe problem is an ongoing one that even Matt has blogged about in recent past. Part of the reason they’re able to pass the human test it because they might be humans registering real accounts and making real posts. WordPress.org, bbPress.org, and BuddyPress.org all suffer from a similar problem. I’m about sick of it though.
January 27, 2011 at 4:06 pm #99099In reply to: bots spamming in my forum w/ human test!
Elias Schwerdtfeger
MemberEmail addresses from user are always gmail
And lo.tso.fun.nyd.ots in the address before the @ — the same idiots spamming at me. And I changed the Human Test plugin code a little to get a larger range of numbers for the little addition. So a simple editing of the plugin may not work.
January 27, 2011 at 3:11 pm #99092In reply to: Strange SPAM problem
Elias Schwerdtfeger
MemberSame problem on my site, but I looked a little.
These spammy tags are from spams automatically detected as spam in Akismet, written by a user marked as bozo. (That’s the good part of it.) Nothing is visible from this user except for the tags.
As a quick and dirty workaround I deleted the tags and the referred tag-id in the MySQL tables term_relationships and terms. But it is a bug, this kind of tags should not appear. Generally tags from bozos should not be visible (its a
join on usermeta on ID = usermeta.user_id where meta_key = 'is_bozo' and meta_value = 1).But don’t expect a quick fix, its bbpress here. Even more important things need a lot of time.
January 27, 2011 at 3:11 pm #104192In reply to: Strange SPAM problem
Elias Schwerdtfeger
MemberSame problem on my site, but I looked a little.
These spammy tags are from spams automatically detected as spam in Akismet, written by a user marked as bozo. (That’s the good part of it.) Nothing is visible from this user except for the tags.
As a quick and dirty workaround I deleted the tags and the referred tag-id in the MySQL tables term_relationships and terms. But it is a bug, this kind of tags should not appear. Generally tags from bozos should not be visible (its a
join on usermeta on ID = usermeta.user_id where meta_key = 'is_bozo' and meta_value = 1).But don’t expect a quick fix, its bbpress here. Even more important things need a lot of time.
January 27, 2011 at 3:04 pm #94894In reply to: bbPress 2.0 – Updates
wildkyo
MemberOMG!
thanks for that Willabee, I will do a test tonight!
January 27, 2011 at 2:55 pm #99091In reply to: Strange SPAM problem
Mealin
Member+1
January 27, 2011 at 2:55 pm #104191In reply to: Strange SPAM problem
Mealin
Member+1
January 27, 2011 at 11:40 am #76479In reply to: Language problems with with v.1.0.1
Willabee
MemberHard coded translations can NEVER be translated by a .mo/.po language file, since there’s no indication of it needing a change.
January 27, 2011 at 11:37 am #76478In reply to: Language problems with with v.1.0.1
lespionage
MemberMy bb-press root is in a map called “forum” and in that folder I have put the my-languages folder and inserted the sv_SV.mo i that folder. I have edited the bb-config.php only.
I think that I have gone trough these steps a thousend times.
Would i be possible that some code or something is blocking this thing out. I am using a copy of kakumei which I have edited to fit my design and there I have “manually” translated some of the english text that I found in the files. could that be a problem?
January 27, 2011 at 11:34 am #99096In reply to: bots spamming in my forum w/ human test!
Willabee
MemberTry contacting her, or try changing something in the code so that the bots will be stopped once again.
Either way, spam will always be there.
January 27, 2011 at 11:24 am #94893In reply to: bbPress 2.0 – Updates
Willabee
Member@ dudd, wildkyo
You can throw the twentyten bbp plugin theme in your original theme folder (excluding files like functions.php, just add those to your existing one). Then make a page with a template (in wp-admin), one with the name Forum Index will show up and you have integrated the bbp theme with your normal theme. ^^
This does kinda clutter up your theme folder, but it works for me. Don’t have time atm to wait for more flexible options.
January 27, 2011 at 11:18 am #76477In reply to: Language problems with with v.1.0.1
Ashish Kumar (Ashfame)
ParticipantNot sure! Recheck your steps.
Make sure you have uploaded to the right place. Make sure it is there.
Add the file is to be added in bb-config.php and not bb-config-sample.php
We can generally make mistakes of uploading it somewhere and then trying to figure it out.
January 27, 2011 at 10:33 am #76476In reply to: Language problems with with v.1.0.1
lespionage
MemberHi Ashfame! Thank you for your response. However I have done exactly as in the description of the link you posted. I have made a folder in my bb_press root folder called my-languages and inserted the sv_SE.mo file on to that folder. In the bb-config file I have changed the code string to
define( ‘BB_LANG’, ‘sv_SE)’ );
Still english on my forum.
What´s up with that?
January 27, 2011 at 12:40 am #98535In reply to: Security Bug Report Contact
John James Jacoby
KeymasterThe news is in trac. There’s one ticket left in 1.1 and then it gets released. No sense in putting out a 1.0.4 to fix one bug that 1.1 will fix. Right now we’re in the middle of a WordPress, BuddyPress, bbPress trifecta release, so there’s three times as much testing to do to make sure nothing breaks.
If you can’t wait for a public release, download the trunk and do some testing.
January 27, 2011 at 12:40 am #103635In reply to: Security Bug Report Contact
John James Jacoby
KeymasterThe news is in trac. There’s one ticket left in 1.1 and then it gets released. No sense in putting out a 1.0.4 to fix one bug that 1.1 will fix. Right now we’re in the middle of a WordPress, BuddyPress, bbPress trifecta release, so there’s three times as much testing to do to make sure nothing breaks.
If you can’t wait for a public release, download the trunk and do some testing.
January 26, 2011 at 10:15 pm #94892In reply to: bbPress 2.0 – Updates
wildkyo
Memberdudd, or you can wait to a future release where JJJ said will be more flexible to put the forum in our existing theme.
I’m waiting for!
January 26, 2011 at 5:50 pm #93223In reply to: Nicer permalinks plugin messes up the forum sitemap
blupp
MemberI made a workaround. Not ideal and not performant, but it works for me…
function discover_topics() {
global $bbdb, $frequency, $priority, $bb, $topic;
$topic_query = "SELECT t.topic_id AS tid, t.forum_id as fid, p.post_time AS tim, t.topic_posts AS nposts FROM $bbdb->posts p, $bbdb->topics t WHERE p.topic_id = t.topic_id AND post_status = 0 GROUP BY t.topic_id ORDER BY p.post_time";
$matches = $bbdb->get_results($topic_query);
if ($matches) {
foreach($matches as $match) {
$url = get_topic_link($match->tid);
if ($match->fid!=5) {
$topic = bb_get_topic_from_uri( $url );
$url = str_replace( $bb->uri . ‘faq’, $bb->uri . get_forum( $topic->forum_id )->forum_slug, $url );
}
Note: set
$match->fid!=5the forum_id of the corresponding forum and replace'faq'with the slug of the corresponding forum.January 26, 2011 at 5:10 pm #93222In reply to: Nicer permalinks plugin messes up the forum sitemap
blupp
MemberHello I have the same problem with the sitemap plugins as OreilleMalade.
As far as I understand the code, the problem lies in the function:
function discover_topics() {
global $bbdb, $frequency, $priority;
$topic_query = "SELECT t.topic_id AS tid, p.post_time AS tim, t.topic_posts AS nposts FROM $bbdb->posts p, $bbdb->topics t WHERE p.topic_id = t.topic_id AND post_status = 0 GROUP BY t.topic_id ORDER BY p.post_time";
$matches = $bbdb->get_results($topic_query);
if ($matches) {
foreach($matches as $match) {
$url = get_topic_link($match->tid);
Here is the url generated every time like this:
domain/topic/topic-name
If we use nicerpermalinks than we have not the topic-directory in our url and the function
get_topic_linkgives us the url with the name of the first forum or a random forumname (didn´t figured it out yet).domain/first_forum_name/topic-name
but we have different forum_names now. If I understand the code right, we have to use now
get_topic_nicer_linkinstead of get_topic_link.How to make it??
January 26, 2011 at 2:40 pm #96884In reply to: bbPress theme on bbPress.org
intimez
ParticipantI understand that this theme isn't readily downloadable, but is it available for purchase? I wouldn't mind putting a bit of cash up to get itHave you tried this?
-
AuthorSearch Results