Search Results for 'code'
-
AuthorSearch Results
-
April 10, 2012 at 4:53 am #44012
Topic: Error when posting URLs
in forum TroubleshootingEntrepreNerd
MemberWhen ever I try and post a URL, such as – http://www.youtube.com/watch?v=RJC28DUQcZs&feature=g-vrec&context=G2026267RVAAAAAAAABg – I get the following error.
Forbidden
You do not have permission to access this document.
Web Server at crankyoldmen.com
feel free to register an account at http://www.CrankyOldMen.com and test it out. I have tried 3 accounts so far and they all do the same thing.
Things I have tried already:
– turn off all non-core plugins
– switch to default theme
– sign in and post with accounts of varying privileges
– tried posting from my Android Phone and Tablet
April 10, 2012 at 2:52 am #112872In reply to: Limit the number of topics with [bbp-topic-index]
arturex
Memberthank you acctually i do have some ideas to contribute , is there a wish list topic already where I can say , or should i just create a new topic for it?.
But going back to the shortcode thing, i am not a programer but is it dificult to create or is out there a code in php instead of the shortcode where i can call a fixed number of topics, and a way to call also an specific number of the last replies just like the way you have it in the home of bbpress.org??
April 9, 2012 at 4:00 pm #113002In reply to: Modifying colors
mizu no oto
MemberThank you. I was able to change the color of one box, now yellow,
using the following code.
#content div.bbp-template-notice.info {
background-color: #FFFFEE;
border-color: #FFFFEE;
}
But I can’t figure out the coding using Firebug for . . .
Gray topic box color . . .
http://participatorydemocracy.ca/forums/forum/test-forum
Gray author/post box color . . .
http://participatorydemocracy.ca/forums/topic/what-sustains-a-democracy
Also I am unable to double-space between paragraphs as the bbpress forum does.
Thanks for your suggestions and help . . .
April 9, 2012 at 1:59 pm #113026In reply to: Cool 2.1 features
Martin
ParticipantCool.
Do you know whether it’ll be possible to inject other code into Topics and/or Replies which other Custom Post Types allow but not yet bbPress?
This is like Advertising or Social Media icons.
As an example, I have the WP Socializer plugin installed for Social Sharing. When questioned about it working, the author replied with:
“Please note that WP Socializer works in all pages or places where there the <?php the_content(); ?> function is called in the theme.”
This seems to be the case for any other Social plugin so I’m guessing bbPress post types do not have this included.
Further, I’m using Simple Ads Manager for injecting advertising space as well as other stuff. Works fine by picking a Custom Post Type and bbPress Topics and Replies show up, except nothing is displayed so I presume these aren’t following Custom Post Type convention, in some way either.
Any ideas on these things?
April 9, 2012 at 8:12 am #112952In reply to: Upload Avatar via edit profile section
SK
ParticipantI understand that technically it’s all the same in that they have their user roles and can’t access any more functionality than intended for them.
It’s more of a UI and face-of-the-site issue…
Regarding the plugins, I do hope someone will take a crack at them soon
April 9, 2012 at 5:38 am #108807In reply to: Create Sticky Topic in Multiple Forums
Jared Atchison
MemberNope, not just you
April 9, 2012 at 5:35 am #112794In reply to: a way to check for subforums
Jared Atchison
MemberYou’ve fixed this, marking resolved
April 9, 2012 at 5:28 am #112993In reply to: Last post date-time instead of Freshness
Jared Atchison
MemberRight now there are no filters in place so without creating a new theme there isn’t much you can do.
However, if you DID create a new theme, you could change “Freshness” to whatever you want.
For what it’s worth I agree with you – IMO there should eventually be a filter in place where you can chance that without having to create a new theme
April 9, 2012 at 5:25 am #108250Jared Atchison
MemberClosing since this is an old topic. If you encounter this issue feel free to create a new topic
April 9, 2012 at 5:24 am #112991In reply to: kakumei profile-menu in header
Jared Atchison
MemberDo you have a URL or example?
Most people won’t know what you mean otherwise
Jared Atchison
MemberYeah, any new themes or plugins, definitely share with the bbPress community
April 9, 2012 at 5:21 am #113018In reply to: bodycolor Tinymce
Jared Atchison
MemberDo you have a screenshot? I just want to double check and see if we are on the same page
April 9, 2012 at 5:18 am #113024In reply to: Pls tell me how to change avatar
Jared Atchison
MemberAs OC2PS mentioned, that’s where you need to go to set up your avatar.
It’s free and is used by MANY other websites across the internet – so no only are you setting up you avatar her, but potentially a lot of other websites
April 9, 2012 at 5:16 am #113025In reply to: Cool 2.1 features
Jared Atchison
MemberI’d say the whole new theming system (ability to register new themes via plugins etc), the new visual editor, and the new hooks available.
It’s hard because there were a lot of great bug fixes in the new release
April 9, 2012 at 5:06 am #113031In reply to: Unable to set buddypress on my localhost .
Jared Atchison
MemberIf it is strictly a BuddyPress install you should first try to ask on the BP forums as OC2PS said.
If you are dealing with bbPress, just give us some more details and we will see what we can do
April 9, 2012 at 4:58 am #112896In reply to: Installed. Now, how do I get it visible?
Jared Atchison
MemberFirst, you need to reset your permalinks. To do this, just go to Setting->Permalinks. you dont need to do anything on the page – simply going to this page will do the job.
Secondly, after you do this, go to YourDomain.com/forums and see if they appear.
Hopefully step 3 is profit
April 8, 2012 at 5:59 pm #112990In reply to: CSS display: none question
Jared Atchison
MemberIt depends on what theme you are using.
Theme’s typically call and register sidebar’s differently, which is why it is easier to fix this on a theme level and not a plugin.
Find out how your theme is handling sidebars, write mini plugin or block in your functions.php that addresses the issue.
We’ve been down this road already
April 8, 2012 at 5:56 pm #113007Jared Atchison
MemberNo problem! That’s what we’re here for
April 8, 2012 at 5:54 pm #112951In reply to: Upload Avatar via edit profile section
Jared Atchison
MemberI understand for simplicity’s same you want to keep forum users on the front end, but there is no reason from a technical aspect why they can’t access the backed to edit their user profiles.
OC2PS – when are we going to start seeing some of these plugins you keep suggesting?
April 8, 2012 at 10:11 am #112998In reply to: Remove toast/notice
SK
ParticipantJared, Thanks! I will check this solution out.
Regarding configurations: I don’t know if 347374 is an actual number or if you use it just to make a point, which I do get. If bbPress included everything in configurations, then there will be way too many configurations, and would delay next releases a lot. That’s fair enough.
But let’s look at it from the perspective of added value and break from forum convention.
bbPress is billed as a lightweight forum. Hence, when it breaks from forum convention to make it lighter (have fewer functions), that is at least understandable. e.g.
– No signatures in core (plugin exists)
– No icons (e.g. http://www.phpbb.com/community/styles/prosilver/imageset/forum_read_subforum.gif ) by forums and posts showing useful information (ripe for plugin)
– No emoticons in posts (ripe for plugin)
– No attachments in posts (ripe for plugin)
– No “topic started” date in list of topics (e.g. on forums page or topics archive page)
– No “read count” for topics (ripe for plugin)
– No forum specific search (plugin exists)
– No post count for posters
etc
However, when bbPress breaks with forum convention to add something without evident added value, that is a bummer. e.g.
– Freshness instead of Last post in list of topics (e.g. on forums page or topics archive page). I don’t understand the reasoning behind this. bbPress is making an additional calculation, bending over backwards, just to calculate how many seconds, minutes or days have passed since last post. Why? Why not simply display the date-time of last post like most major forum software do? I don’t see the reason and I don’t like it this way, but if it is like this then I assume that there are other bbPress users who do. Hence I say…perhaps this should be configurable.
– The notification
This forum contains 5 topics and 7 replies, and was last updated by some-author 5 days ago.Why? What is the thinking behind this? What purpose does this serve? I mean, on the same page, topics are listed, there is pagination (and total number of topics) above and below the list of topics, the user can see which post is on top and who last updated it, so why is this notification important to have? I don’t get it. But since it’s there, I assume somebody does, and hence I request that it be a configuration.– Similarly, I wonder if a lot is achieved performance-wise by not showing the name of OP in lists of topics, considering that date-time of original post is being retrieved anyway.
– Formatting/styling of original post and replies is different by default on the topic page. From a user perspective, I don’t see why. You don’t have different styling for original post and replies on bbpress.org or wordpress.org What makes you think that everyone else would want it? Perhaps there is not much additional work is being put into it because replies have to be assigned a formatting anyway, and this way bbPress users know that this is possible. But if so, then even if styling of replies has to be defined separately, it should be same as that of original posts by default, and users should be able to see in documentation that it is possible for them to have different styling. If, on the other hand, you have discovered that a large number of bbPress users want to have different styling for original posts and replies, then I say make it configurable.
– In freshness, the number of days/hours/minutes is linked. How does that make sense? (yes it takes to the last post, but linking hours is odd…phpBB’s approach where they have a tiny icon next to the date-time is better) If it does to a lot of bbPress users, I say make it configurable.
(Through all this, remember: There aren’t that many bbPress-supporting themes, and most of bbPress users will end up using bbPress with their generic WordPress themes)
Lots of people use WordPress despite the performance hit (as opposed to say, Drupal) because it is so easy to use and customize without having to do (or even know) any coding. All bbPress users are WordPress users and so there is a similar expectation from bbPress.
I know it’s not fair to compare bbPress to WordPress, which has so many more developers and contributors, not to mention forum moderators.
On the other hand, it is a fair expectation, for bbPress is billed as a forum software from the makers of WordPress. If Matt wants this to take on phpBB, vBulletin and SMF, he needs to put some resources behind it, instead of making JJJ toil alone.
April 8, 2012 at 9:12 am #112989In reply to: CSS display: none question
SK
ParticipantThanks guys!
@martin_style: Not quite sure what you mean by “once time load slow, but not loading multiple times”
@jaredatch: How do I nuke the sidebar?
I lied. I am not using
.bbp-forum #primary {
display: none;
}I am using a plugin that replaces primary sidebar with a bbpress specific sidebar.
But I have 2 sidebars, and I am hiding the 2nd sidebar with CSS
.bbp-forum #secondary {
display: none;
}So this is the one that I need to remove.
I am guessing that instead of fiddling with the Theme, it might be easier to patch the plugin. Here’s what it does at the moment:
function vp_sidebars_widgets($data)
{
// if bbpress enabled and main sidebar requested
if ($this->is_bbp && $this->is_main_sidebar)
{
// switch sidebar if bbrepss sidebar has some widgets in it
if (!empty($data[$this->sidebar_id]))
{
if (isset($data['sidebar-1']))
{
// uses sidebar-1 as main sidebar in most themes
// set forum sidebar as main sidebar
$main_sidebar_key = 'sidebar-1';
}
else
{
// get first sidebar which should be main in most themes
foreach ($data as $k => $v)
{
if (strpos($k,'inactive')===false)
{
$main_sidebar_key = $k;
break;
}
}
}
// replace main sidebar with bbpress sidebar
if (isset($main_sidebar_key))
{
$data[$main_sidebar_key] = $data[$this->sidebar_id];
}
}
// reset main sidebar request
$this->is_main_sidebar = false;
}
// return modified widgets array
return $data;
}Jared Atchison
MemberI don’t see the issue. The CSS is there.
ul.bbp-has-subforums ul.bbp-forums-listYou’re not going to be able to do what is on the ubi form without a custom theme, because of how it’s setup.
April 7, 2012 at 6:36 pm #113005Jared Atchison
MemberInstall bbPress 2.0.2 (the plugin) – it will do all of this out of the box
April 7, 2012 at 6:31 pm #112997In reply to: Remove toast/notice
Jared Atchison
MemberIf you are using bbPress 2.1 by chance, you can drop this into your theme’s functions.php and it should do what you want.
add_filter( 'bbp_get_single_forum_description', 'ja_return_blank' );
add_filter( 'bbp_get_single_topic_description', 'ja_return_blank' );
function ja_return_blank() {
return '';
}If we provided a configuration for every request received we would have 347374 configurations and be years from a future release.
Instead bbPress is built extremely flexible so *you* can do these things as you see fit.
April 7, 2012 at 4:57 pm #43977Topic: Modifying colors
in forum Themesmizu no oto
MemberGreetings from Vancouver, B.C.
I’ve installed the BBPress plugin and want to modify the ‘light blue’ and ‘yellow’ text block colors on the following page.
http://participatorydemocracy.ca/forums/forum/test-forum
I followed plugin >> bb press >> bbp-twentyten >> css >> bbpress-rtl and bbpress.css
Using Firebug I located in the css where (I thought) I would modify the colors but when I looked in both bbpress-rtl and bbpress.css there was no matching code, at least that I could find.
Same for . . .
http://participatorydemocracy.ca/forums
which I want to modify the header to match the rest of the website.
Any suggestions would be grateful . . .
-
AuthorSearch Results