Search Results for 'code'
-
AuthorSearch Results
-
October 3, 2009 at 9:29 pm #80116
In reply to: How do I create user records?
ggwarpig
ParticipantI tried
i cant even find bb_generate_password. Where is it!?
If I do figure out how to encrypt the password correctly and add it to the user table am I going to run into any other issues?
October 3, 2009 at 9:11 pm #80115In reply to: How do I create user records?
Adam Harley (Kawauso)
MemberWhy not just use bbPress native functions and adapt code?
October 3, 2009 at 10:58 am #76545Adam Harley (Kawauso)
MemberAny chance of a user/password login for the demo?
October 3, 2009 at 10:55 am #76543Gautam
MemberSorry for the “month long” late reply as I forgot about this topic after writing my previous reply.
Here it is:
http://gaut.am/uploads/live-comment-preview.zip
Now as the user types, the preview will also refresh itself (I have jQueryised the js code)
October 3, 2009 at 10:36 am #80103In reply to: Latest reply in user activity and search results
Adam Harley (Kawauso)
MemberBoth the “Freshness”/latest reply and normal links in the Search function should be including the page number in links, as that’s allowed for in the function used,
get_topic_link()
.Sort’ve worrying if it’s not including it! bbPress.org includes the page number…
It’s not included for any page 1 links though.
October 3, 2009 at 6:31 am #73217In reply to: How do I move a topic to another forum
johnhiler
MemberThere was a great plugin called “Move It” that did a lot of what you described:
https://bbpress.org/plugins/topic/move-it/
But it was designed for bbPress 0.8x I believe… ck recommended that 0.9 and 1.0 users not use it.
But if you’re interested in coding something similar, her code might be a good place to start.
Good luck!
October 3, 2009 at 5:12 am #80076In reply to: Can't see the upload Images with bb-attachments
johnhiler
MemberLine 48 in the plugin has the following setting:
$bb_attachments=true; // auto insert uploaded images into post49
source: https://plugins-dev.bbpress.org/browser/bb-attachments/trunk/bb-attachments.php
Is that set to true? I noticed that the image wasn’t showing up in your post at all (only in the list of attachments at the end of the post).
Also… you mentioned, “I modify the line in both folders, in the root and the other in my-plugins folder, and nothing happend”.
What do you mean, both folders… the code should only be in the /bb-attachments/ folder under /my-plugins/.
The bb-attachments folder over the root is meant to hold the uploads… the one in /my-plugins/ is designed to hold the code.
October 3, 2009 at 3:55 am #78339In reply to: snowski theme released
chandersbs
MemberIts looking good. However, I do think you have make some changes in this area:
.num, #forumlist small {
font: 11px Verdana,Arial,Helvetica,sans-serif;
text-align: center;
white-space: nowrap;
}October 2, 2009 at 10:38 pm #79000Ben L.
Membererror_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
should actually remove those errors. Something must be wrong with your server configuration.October 2, 2009 at 9:26 pm #78999Mark Kehn
MemberHmm, okay that isn’t working.
Using
error_reporting = E_ALL & ~E_NOTICE
still shows the warnings for my bbPressHow do I do this properly?
I’m not even sure php.ini is the place to do this because even if I totally remove the
error_reporting
line from the php.ini file it still shows the errors. Even if I set:display_errors = Off
it still shows errors.So what file am I supposed to be editing?
October 2, 2009 at 9:08 pm #78998Mark Kehn
MemberHi Nightgunner5,
Can you tell me how to turn that off? Is there a file somewhere in the PHP folder that I would change this?
EDIT:
I found this in the php.ini file.
So all I have to do is change –
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
to this –
error_reporting = E_ALL & ~E_NOTICE
Would that be correct? Anything else I should do? Also, does this mean that I can turn ON error logging again via my .htaccess file for everything else? I like to have the error logging enabled in case I install a plugin or something this way I would know when it is broken.
This is the code I use in the .htaccess –
# SUPPRESS PHP ERRORS FROM SHOWING PUBLICLY:
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
So again I would like to turn the switches back to ON but at the same time not show the errors in bbPress regarding the DEPRECATED stuff.
Thanks
October 2, 2009 at 8:16 pm #79973In reply to: removing tags
InvTrdr
MemberWhere is the function code to delete tags? Maybe I can look at that and check to see if it right or missing.
Thanks.
October 2, 2009 at 6:12 pm #80082In reply to: How to print (or read/save) a multipage thread?
Peter A. Gebhardt
ParticipantThx! Shall give it a try.
OT: Nice Avatar. Especially with tagline “Being active since …”
)
October 2, 2009 at 6:11 pm #80057In reply to: Admin Panel (1.0.2) Logout Error
subtlegusto
MemberSo I see that bb_logout_link handles the href for logout links (for the Admin panel, admin-header.php, ln 44). I’ve commented out the bb_get_uri bit that adds
re=http://example.org/forums/
to the href, and this fixes the logout problem.What’s the redirect for?
I have another install that IS integrated, and I don’t have problems with the redirect there. I’ve been comparing files but haven’t found anything yet. Could this be .htaccess related?
I did see another post in the forums about re=, but it didn’t go anywhere. Anyone have suggestions?
Thanks!
October 2, 2009 at 9:29 am #80039Ashish Kumar (Ashfame)
Participant@mwaterous
Ok! You got the
<h1>
tag. Happy? More suggestions..October 2, 2009 at 7:50 am #80062In reply to: Is it just me or does the plugin search suck?
johnhiler
MemberThere’s a link on the bottom of the search page that says something like, “Search on Google”… I usually click on that.
October 2, 2009 at 4:08 am #80031In reply to: Parent Categories, listings on the front-page…
chrishajer
ParticipantIf the creator of that theme is not going to update it, I think I would compare the stock kakumei
front-page.php
and thefront-page.php
from this theme to see where the differences lie. There are lots of differences, but only a few that apply to your count issue.October 2, 2009 at 12:37 am #69783In reply to: phpbb3 -> bbpress converter
diegozaks
MemberFirst of all, thank you for a great script, I have run into a problem, it seems when I try to transfer the 60k posts it reads:
Data too long for column 'post_text' at row 1 [1406]
What can I do about this? Please help it is very urgent.
Also, in order for it to work, since I installed phpbb with a different table prefix, I had to define the prefix on the script file just under the bbPress prefix, then I worked:
$table_prefix = 'phpbb3_';
October 2, 2009 at 12:34 am #80011gerikg
MemberThe way I did it was to duplicate kakamei theme (not the blue) and put it in the my-template.
Then started with the BB header, I copied what was in the WP header. I took everything out after the body tag except for the “main” div. The BB footer I did the same. I just made sure there were enough div closing tags. Then copied over the codes that apply for the header and footer from the WP css. Most WP theme has two column one main and one sidebar. I treated BB like it was wordpress, one side the main section and the other sidebar. I treated the MAIN div as the main section and View/Hottags as the sidebar. I know this is not the best explanation but I hope you get the idea. It just takes a lot of css work.
October 1, 2009 at 11:41 pm #79763In reply to: WordPress Integration
gerikg
Membertry adding
define( 'COOKIE_DOMAIN', '.mnenie.dp.ua' ); to bb-config
October 1, 2009 at 10:53 pm #80029In reply to: Parent Categories, listings on the front-page…
chrishajer
ParticipantThat theme is missing this:
<?php if (bb_get_forum_is_category()) : ?>
That skips the counts when the forum is a category. Looks like they need to update their theme.
October 1, 2009 at 10:12 pm #79953In reply to: Unhide Profile Email Adresses
pigmonkey
MemberThanks for the replies!
I wouldn’t mind installing a plugin to accomplish this, but I tried out Role Manager and it didn’t have any option for displaying emails.
Ashfame, I just went with your method of putting it in profile.php. It’d be nice to not have it as a per template thingy, but it works fine for now. You’re right about it needing to check to see if the current user is an admin to prevent duplicates. I’m new to bbpress so I don’t know if there’s a proper way to do this or not, but I figure the admin is the only one who can edit users, so I plopped in this little guy:
<?php
if ( bb_is_user_logged_in() && !bb_current_user_can( 'edit_users' ) ) {
echo 'user_email .'">' . $user->user_email . '';
}
?>
It seems to work.
October 1, 2009 at 10:00 pm #31945Topic: Admin Panel (1.0.2) Logout Error
in forum Troubleshootingsubtlegusto
MemberHowdy,
I’ve just installed a fresh, non-integrated 1.0.2 copy to /forums using Kakumei. I can log out of the forum area fine, but trying to log out of the Admin panel causes the following Forbidden error:
You don’t have permission to access /forums/bb-login.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
The difference in the hrefs is apparent:
example.org/forums/bb-login.php?logout=1
(forum) vs (admin panel follows)
example.org/forums/bb-login.php?logout=1&re=http://example.org/forums/
My apologies if this is addressed elsewhere; I’ve looked through the topics under “log out” and “logout” and didn’t see anything there.
Thanks.
October 1, 2009 at 9:29 pm #80048Adam Harley (Kawauso)
Member<?php bb_profile_link( array( 'id' => $user->ID, 'text' => get_user_display_name( $user->ID ) ) ); ?>
I’d guess… not really sure on the context where you’re putting it though, so I can’t really test
October 1, 2009 at 7:07 pm #64197In reply to: I want to show de WP profile instead BB Profille
Ivaylo Draganov
MemberI guess the most simple (and painless) way to do this will be to redirect/rewrite the profile URL from bbPress to point to the profile URL in WordPress.
You can reference the profile by the ID – in bbPress it goes like http://example.com/bbpress/profile.php?id=1 and it is equivalent to http://example.com/wordpress/?author=1
You just need some .htaccess magic
-
AuthorSearch Results