Search Results for 'code'
-
Search Results
-
We are adding forums to an existing site rather than having a site that is 100% forums. I already have a breadcrumb set up for the main site but the forums don’t show up in them. Since the bbPress breadcrumb functions are significantly more complex than the simple breadcrumbs I currently use I decided to use bbPress’ crumbs in place of the main one. I have successfully modified the function to include category and single page data in the crumbs (without having “forums” as the base) but the blog root disappears. Help? Here’s what I added to ** Current Text **
// Category Page if (is_category() || is_single()) { the_category(' » '); if (is_single()) { echo " » "; the_title(); }That omitted the blog root from the crumbs, so I tried this, which didn’t work either.
if (is_category() || is_single()) { $pre_current_text[] = '<a href="' . trailingslashit( home_url() ) . '">Front Row</a>' . the_category(' » '); if (is_single()) { echo " » "; the_title(); }I’m not really sure what I’m doing here. I’m no function whiz.
Is there any shortcode that would allow me to display a forum from one of my other sites on a multisite installation?
I was hoping to display the latest topics of a forum from site “X” on site “Y” because they share interests. I am hoping to do that with shortcode and not a theme change because I am using the same theme across all of my sites.
Hello,
I have a dev version of my website so sorry but you have to enter the password and the username: dev/dev1234
My problem is with the profile page, if you check it you can see the header with the AMS name not fits perfectly. So I want to change. If I change it the header is change every post page.
If you check the css classes you can see the following: post-1693 post type-post status-publish format-standard hentry category-vice-city tag-evfordulo tag-focimdal
I don’t know why but the profile page get the latest posts css classes. Why?
The posts url: http://dev.codenamegta.hu/2012/majamihiroz-vice-city-focimdala/
The profile url: http://dev.codenamegta.hu/forumok/tagok/ams/
How can I disable the redirection after the registration? It’s very annoying if the user the a login registration form with different design.
Thank you very much!
Just reporting a problem..
After i activated the Topic Lead option i can’t use the Edit button anymore.
add_filter( 'bbp_show_lead_topic', '__return_true' );
Replies i can still edit front-end, but not the Lead Topic anymore.
What can i do to overwrite a bbPress Core function and develop my own function..
Let say i want to overwrite the default bbPress breadcrumb tag.
I found the Core code inside a Core-template and i pasted this code inside a new PHP document changed all the bbp_ names of all functions to bbp_shmoo_ > Saved it.
Loaded this new file from the inc. folder into my themes functions.php with the require_once tag..
Change the PHP code inside my forum template from bbp_breadcrumb(); to bbp_shmoo_breadcrumb(); but this doesn’t work, why does it break my theme ?
I need a before_link and after_link array.
This is what a breadcrumb looks like, by default made with a List because it’s a navigation.
http://twitter.github.com/bootstrap/components.htmlI have created a forum and can register a new user and log in using the short codes. I can also go to the forum page and post new topics, etc.
http://www.davidbroad.co.uk/flac/forums/forum/forum/
My only problem is when the user is logged in and on their Dashboard page when they click ‘Topics’ or ‘Reply’ in the ‘Right Now in Forums’ box they get this message:
You do not have sufficient permissions to access this page. apart from this it seems to be working, but this is obliviously going to confuse some users..
I’m using WordPress 3.4.2 and bbpress 2.1.2
Thanks,
David
Topic: Posts don’t show
Anyone have any idea how to fix the problem that generated this error message:
bbPress database error: [INSERT command denied to user ‘dbo251638404’@’74.208.16.147’ for table ‘bb_posts’]
INSERT INTO bb_posts (
topic_id,post_text,post_time,poster_id,poster_ip,post_status,post_position,forum_id) VALUES (‘14733′,’how about now?
‘,’2012-10-31 18:51:07′,’521′,’184.174.187.66′,’0′,’6′,’7’)
Warning: Cannot modify header information – headers already sent by (output started at /homepages/14/d230503101/htdocs/mh900e/parlare/bb-includes/db-mysql.php:130) in /homepages/14/d230503101/htdocs/mh900e/parlare/bb-includes/pluggable.php on line 232
The site address is http://www.mh900e.org/parlare/
Thanks in advance.