Forum Replies Created
-
In reply to: How Do I Do This?
I was looking into this a little bit and ran into something weird. Click on a subforum in any of the cities and see where you end up. Check the breadcrumb navigation. Something doesn’t seem right there.
Also, you should change the a:hover line in your style.css as well. When you hover over a black link, it turns green now. You might want to make that match the red in your logo maybe.
a:hover { color: #006400; }
on line 22, change the #006400 to your new hover color.In reply to: How Do I Do This?Color, bold and underline looks good.
I see the latest discussions are gone.
I see a logo but it’s under the login box, in Firefox 2.0.0.9 anyway. I won’t mess with that at all since you are going to redo it. You could move it over with some left-padding in the CSS if you wanted to.
For now, you could do something like add a text link to the website home, like I did here a long time ago:
http://www.riversideinfo.org/forum/
That is a modification to header.php to add that text link, and I think I modified the style.css to move it where I wanted it.
Regarding the cities, where’s livibetter? (seriously, I haven’t looked at it at all…)
In reply to: Change Profile informationI think a plugin IS the easiest way to do it without having to resort to modifying core files, which is generally a bad idea. You lose your changes when you upgrade bbPress.
I think you’ve found the best information about the profile already by browsing the source. There is no official documentation that I know of, but browsing the source is good, and there is at a start of an additional source:
http://bbpulp.org/wiki/Main_Page
I wish I knew more about plugins to help you with this, but I don’t. I’m sure someone else will come along and explain how to do this easily. There is another current thread about modifying the profile information, so learning how to do it would help in both places. I’m pretty sure the answer is to do it with a plugin rather than modifying core files.
We’re writing our own history here :-b)
In reply to: Fight Against Auto-Register Robotsambauers, are you saying I have to move to India or China to get a job like that? More work being taken away from Americans …
Seriously though, I have a few spam users registered every day, and they always link their username to a website, but there are never any posts by them (maybe I delete them soon enough after registering that they never make a post.) So, what good is it creating a user with a link to a website in a profile they never post from? Would a list of users show up somehow in a stock bbPress install where the links there could actually drive traffic to them somehow? I know WHY they do it, but if their username is never shown next to a post, how would the link to their site ever get picked up? I’ve always wondered about that.
In reply to: How Do I Do This?> 1. I’d like to add our logo with either a button
> that says “Home” or something indicating back to
> the main page. I tried to add the logo included
> in a banner, but it wasn’t aligned correctly.
Try inserting it again so people can see it and help you get it aligned properly
> 2. I’d like to make the green lettering a bolder
> Color, maybe even change the size of the font.
In your theme, find this around line 21 and change to whatever you like:
a { color: #2e6e15; text-decoration: none; }
a:hover { color: #006400; }You can change the color and font weight and size there.
> 3. I’d like to eliminate “Latest Discussions”
> entirely.
In front-page.php, on line 11, change this:
<?php if ( $topics || $super_stickies ) : ?>
to this
<?php if ( 0 > 1 ) : ?>
That originally said “if there are topics or super_stickies” then do the rest, which is show the latest discussions. Changing it as shown will cause it to never show “Latest Discussions” because zero is never greater than one (the statement always evaluates false so the code block is skipped). If you want to actually rip out the code that would display the Latest Discussions, you would delete lines 12 to 41 in the file front-page.php in your theme. Those are the line numbers in the stock file, your line numbers might be different. Delete from
<?php if ( $topics || $super_stickies ) : ?>
to
<?php endif; // $topics or $super_stickies ?>
inclusive.
> 4. This message board is huge…Is there a way
> to anchor each city so we can put links on a
> page on the main site. Example: “Click Here To
> Go To the Chicago Forums” and they are taken to
> the Chicago part of the board.
I have to think about that one. I imagine there’s a way to do it, but I haven’t ever done it. Since the name of the city is not a link, you’d have to make that a link to that category, and then suppress the listing of the child forums on the front page. Or, you could just create a new front-page.php that links to only those parent forums. Can you post a link to a screenshot of how you accomplished the different cities like that? Something from your admin panel, or a link to the post here that guided you toward separating things into cities like that?
WAIT: is it this that allowed you to separate the cities? I think livibetter could probably help you do what you want there since that was their code initially.
In reply to: Check if a user is a moderator+What did you figure out? Can you post the solution please?
In reply to: Check if a user is a moderator+How about
bb_current_user_can('moderate')
?In reply to: Plugin request: Announcements forumWould any of these plugins be useful?
I think editing out the capability to post for certain member roles would do the trick (the last plugin).
In reply to: Question about Posting PermissionsIt’s been discussed a couple times:
https://bbpress.org/forums/topic/anonymous-posting
https://bbpress.org/forums/topic/anonymous-post
https://bbpress.org/forums/topic/my-manager-wants-to-remove-the-need-for-passwords-altogether
I would just make them register. If they can’t be bothered with that, why let them bother you with support questions? Can you think of other places where this is allowed?
Heck they can just register with a fake name and disposable email. It’s not that big a deal.
In reply to: How to: ddlb of user rolesI’m not a programmer. I don’t know that much about bbPress. I’ve never written a bbPress plugin. But from reading the source and looking at other admin plugins, I was able to make this work. I’m sure you can too.
In reply to: How to: ddlb of user rolesCheck this:
http://www.chrishajer.com/bike/XLF/bbpress-roles.png
I did that using the stuff I mentioned in this post. So, it works as an administrator since they can edit other users. There is a drop down with all 6 roles listed.
In reply to: Reqest: 1 year membership (plugin).I would like to see the plugin when you get it done. Sounds like a cron job could be written to check the registration dates, then when a year has gone by, send out an email with a link to extend his account another year. You might want to do that only for accounts that have been inactive for some period of time. Why bother users who signed up a year ago but still contribute regularly?
I wouldn’t want to wait a year to delete a bot…
In reply to: User RegistrationSounds like your server is not sending email. Can you confirm that email is being sent from your server via command line or another PHP script? Also, check your spam or junk folder.
The email normally arrives within a couple minutes.
In reply to: How to: ddlb of user roles> yes i did try that one already, but it gave me a
> empty ddlb (proberbly because the user’s role
> couldn’t be defined) .
It has nothing to do with the current user’s role not being defined. That is a list box that appears in the admin section with all roles listed. That will provide you with all roles. I would suspect you need to be logged in as admin to see it though. Where are you trying to use it, and for what? Maybe someone can help you with a little more information.
In reply to: How to: ddlb of user rolesI don’t believe the roles are stored in the database, I think they’re all stored and defined in bb-includes/capabilities.php. So, I don’t believe you can pull them from anywhere other than there. Maybe I missed it and they are defined in the database somewhere, but I don’t think so.
There is already a drop down of roles in the admin section, when you go to edit a user’s profile, you can mark them member, inactive, blocked, etc. Take a look at lines 1309 – 1317 in bb-includes/template-functions.php
<tr>
<th scope="row"><?php _e('User Type:'); ?></th>
<td><select name="role">
<?php foreach( $roles as $r => $n ) : ?>
<option value="<?php echo $r; ?>"<?php if ( array_key_exists($r, $user->capabilities) ) echo ' selected="selected"'; ?>><?php echo $n; ?></option>
<?php endforeach; ?>
</select>
</td>
</tr>Will that do what you want?
In reply to: How to: ddlb of user rolesddlb == Drop Down List Box?
In reply to: Can’t add additional tags to postI don’t think they handle plugins at trac. At least there is no component for “plugins.”
I see you already posted in the plugin forum:
https://bbpress.org/plugins/topic/2?replies=13#post-2
You could try contacting the author of the plugin:
mda TA blog NOSPACE waffe TOD com (from his blog, and there’s also a wordpress email address for him as well if you look around…)
Are you thinking this should be handled in the template files, and thus should be submitted to trac, or should someone just update the plugin?
In reply to: How Do I Do This?For WP header and navigation, or the logo and navigation back to WP, everything you need is in the theme files and the stylesheets. I would make a copy of the default template (create a new folder of a different name, then copy all the files from the stock theme into that new folder, and open style.css and change the
Theme Name: Kakumei
toTheme Name: ChgoGrrl99
), then make your modifications in those files. If you break it, just revert to the stock theme.But, adding links, adding the WP header and navigation, can all be done in the theme files.
In reply to: Permalink broken when in admin mode!If you post the URL maybe someone can help.
If you create another user and log in / log out, does the same thing occur. or is it only as admin that the problem occurs? If it’s only as admin, it’s going to be hard to test by anyone other than you. If it happens to other users (like if you create a test user) then it can be seen by others as well.
In reply to: editing the mod_rewriteNot sure I follow your problem description. mod_rewrite rules are in the .htaccess file normally. You set the option to use mod_rewrite true, false or slugs in config.php. Are you asking where in the code the links are created based on those choices in config.php?
In reply to: bbPress on localhostI think you were bitten by an error that has been fixed in the latest trac release, but still exists in the production release. Take a look through the threads tagged 745:
https://bbpress.org/forums/tags/745
745 is the trac ticket where this was discussed. There are lots of workarounds listed in the forums and on trac.
https://trac.bbpress.org/ticket/745
Good luck.
In reply to: file attachments….Wow – so many red flags:
- “Wouldn’t it be easy to…” (the hidden cost of change)
- “This shouldn’t take long” (artificial time frame)
- “Can you make this small change real quick?” (“small” and “quick”)
- “Before you finish X, could you do Y?” (the mental costs of interruption)
- “Let’s push this today” (artificial scope)
Not all apply here: I just cut-n-pasted the whole thing. I’d say 3 out of 5 is not bad though…
In reply to: wp bb integration cookie issueAre you using any custom role plugins with WordPress or anything that changes the display name? I think those things mess with the integrated logins.
Your setup is fine. The URLs are supposed to be the same in config.php. And once you have it working you can log in in WordPress and still be logged in in bbPress. It’s just an issue of getting it right.
In reply to: How Do I Do This?Check this thread, especially the post from sambauers.
https://bbpress.org/forums/topic/agregar-nueva-categoria-de-temas?replies=12
As far as multiple forums, one for each city, I think that would be possible and the user could stay logged in across forums assuming the cookies are correct.
In reply to: difficulty integrating wp/bbpHow did you resolve the problem, for the benefit of others who might be having the same trouble?