Search Results for 'code'
-
AuthorSearch Results
-
May 17, 2011 at 12:45 am #95356
In reply to: bbPress 2.0 – Updates
christopher jon
MemberDA,
Looks like your missing the CSS. Check out the child theme functions.php to grab the code.
bbpress uses gravatars for forum icons. No additional plugin is needed.
May 16, 2011 at 11:17 pm #105656In reply to: New bbP plugin install, users cannot create topics
John James Jacoby
KeymasterI’ll do my best to keep things error free going forward.

Feeds are coming soon too, so be on the look-out.
May 16, 2011 at 11:17 pm #100556In reply to: New bbP plugin install, users cannot create topics
John James Jacoby
KeymasterI’ll do my best to keep things error free going forward.

Feeds are coming soon too, so be on the look-out.
May 16, 2011 at 9:51 pm #105655In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberYep working great, no errors, no issues, it “just works”.

Was able to open my site’s doors to my first members today and the forum is seeing activity. No turning back now! LOL
Thanks again J3

Jonathan
May 16, 2011 at 9:51 pm #100555In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberYep working great, no errors, no issues, it “just works”.

Was able to open my site’s doors to my first members today and the forum is seeing activity. No turning back now! LOL
Thanks again J3

Jonathan
May 16, 2011 at 6:46 pm #105689In reply to: X-Forwarded-For to show as IP address
zaerl
ParticipantLocate the function
bb_insert_postin file functions.bb-posts.php, then find the line:$ip_address = $_SERVER['REMOTE_ADDR'];The real (*cough*) IP of the user can be retrieved with this function:
function get_real_ip()
{
$ip = '';
$u = 'unknown';
if(($ip = getenv('HTTP_CLIENT_IP')) && strcasecmp($ip, $u)) {}
elseif(($ip = getenv('REMOTE_ADDR')) && strcasecmp($ip, $u)) {}
elseif(($ip = getenv('HTTP_X_FORWARDED_FOR')) && strcasecmp($ip, $u)) {}
elseif(isset($_SERVER['REMOTE_ADDR']) && ($ip = $_SERVER['REMOTE_ADDR']) && strcasecmp($ip, $u)) {}
else return $u;
return $ip;
}May 16, 2011 at 6:46 pm #100589In reply to: X-Forwarded-For to show as IP address
zaerl
ParticipantLocate the function
bb_insert_postin file functions.bb-posts.php, then find the line:$ip_address = $_SERVER['REMOTE_ADDR'];The real (*cough*) IP of the user can be retrieved with this function:
function get_real_ip()
{
$ip = '';
$u = 'unknown';
if(($ip = getenv('HTTP_CLIENT_IP')) && strcasecmp($ip, $u)) {}
elseif(($ip = getenv('REMOTE_ADDR')) && strcasecmp($ip, $u)) {}
elseif(($ip = getenv('HTTP_X_FORWARDED_FOR')) && strcasecmp($ip, $u)) {}
elseif(isset($_SERVER['REMOTE_ADDR']) && ($ip = $_SERVER['REMOTE_ADDR']) && strcasecmp($ip, $u)) {}
else return $u;
return $ip;
}May 16, 2011 at 2:43 pm #95353In reply to: bbPress 2.0 – Updates
Rick Lewis
MemberThe instructions r-a-y mentioned above worked.
I had at one point removed the Forum Base blug altogether. Putting it back as forum and creating a forum page using the shortcode created the page for the index.
Would like to know what other shortcode options there are??
thanks for the help. Good to have a forum index now to start building on.
May 16, 2011 at 2:35 pm #95352In reply to: bbPress 2.0 – Updates
Rick Lewis
Member” Don’t move anything, don’t add anything, and use shortcodes and adjust your CSS as needed. “
This is where I am at right now.
I thought I would try [bbp-forum-index]. I created a page Forum and used that code. I still got the same page as I did all other ways. Goes directly to one of the forums and then list the other forums below it. Says Blog archive across the top.
Now when I create /forums (note the s) that page goes to my home page and not a page at all.
I did a re-save of the permalinks and so on but still not seeing a forum homepage of any kind.
I can only guess that I have something crossed up somewhere beings others have this working.
EDITING __ I did not see the above posts prior to posting this. Going to review and make a change on my site and see how it goes. Thank you for the help.
May 16, 2011 at 8:49 am #100371In reply to: Custom topic Fields
whitehats
MemberNo one has tried anything like that before?
May 16, 2011 at 8:49 am #105471In reply to: Custom topic Fields
whitehats
MemberNo one has tried anything like that before?
May 16, 2011 at 8:07 am #105653In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberRockstar!
Uploading new build now…Jonathan
May 16, 2011 at 8:07 am #100553In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberRockstar!
Uploading new build now…Jonathan
May 16, 2011 at 7:45 am #105652In reply to: New bbP plugin install, users cannot create topics
John James Jacoby
Keymaster@tooltrainer – unrelated, and fixed. Try the latest revision.
Was a bug with subforums, categories, and topic/reply counts.
May 16, 2011 at 7:45 am #100552In reply to: New bbP plugin install, users cannot create topics
John James Jacoby
Keymaster@tooltrainer – unrelated, and fixed. Try the latest revision.
Was a bug with subforums, categories, and topic/reply counts.
May 16, 2011 at 7:09 am #38482Topic: Connect problem… with Simple Facebook Connect
in forum PluginsDykarna
MemberAPI Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.
I use Simple Facebook Connect and I get the following error info from Facebook when I try to login … Does anyone know why this happens? I have tried to fill it up that wants me to fill out the application but … yes it will as it gets (see above) and search or ask for help on facebook, one can not hope, yes, more or less.
Anyone know what I need to do to complete so it works with the Simple Facebook Connect
My page:
May 16, 2011 at 6:27 am #105650In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberSo far, so great!! I actually grabbed JUST the file with this fix in it last night and threw it on my production site. Fixed the problem immediately! Now we’re working on re-integrating a clean install of the latest bbP build into our theme, and making sure everything stays happy.
JJJ, you’re a star. Thank you again for being so willing to actually investigate and fix this issue, and quickly too!
Will let you know if I run into any issues with it but I’m very optimistic.

Jonathan
May 16, 2011 at 6:27 am #100550In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberSo far, so great!! I actually grabbed JUST the file with this fix in it last night and threw it on my production site. Fixed the problem immediately! Now we’re working on re-integrating a clean install of the latest bbP build into our theme, and making sure everything stays happy.
JJJ, you’re a star. Thank you again for being so willing to actually investigate and fix this issue, and quickly too!
Will let you know if I run into any issues with it but I’m very optimistic.

Jonathan
May 16, 2011 at 5:51 am #95349In reply to: bbPress 2.0 – Updates
r-a-y
Participant@RickLewis
In my case, for the forum index, I had to create a WP page with the same page slug as the bbPress forum base slug (located in “Settings > Forums”).
On that page, I used this shortcode:
[bbp-forum-index]
I’m not sure if this is supposed to be generated automatically by bbPress during activation. JJJ, can you confirm if this is the case or not?
May 15, 2011 at 11:51 pm #95347In reply to: bbPress 2.0 – Updates
John James Jacoby
Keymaster@CrownOfMars – Try the latest revision and let me know if it’s fixed for you. Was a regression from fixing something else.
@Rick Lewis – You haven’t started over, because you still have a custom theme. It looks to me like you still have
add_theme_support( 'bbpress' );
in your custom theme, even though you don’t have any bbPress files in your custom theme to actually provide bbPress support.
Using the add_theme_support() method is what tells bbPress not to use its own internal files, and just let WordPress do its thing and figure it out. In that case, bbPress will follow the normal template hierarchy for WordPress (archive.php, index.php, etc…)
So you either…
- Copy the bbPress files out of the bbp-twentyten folder into your custom theme and use the add_theme_support() method, which allows you to use page templates.
- Don’t move anything, don’t add anything, and use shortcodes and adjust your CSS as needed.
- Create your own completely custom method of handling bbPress, which is possible to do but way more work than it’s probably worth doing unless you need something *really* tricked out.
May 15, 2011 at 6:42 pm #105577In reply to: Starting a new bbPress forum
Gautam Gupta
Participant1. No, you should install it in a sub-directory like
forums. If you install it in the same dir, then their might be conflicting urls.2. You’d need to port the theme yourself. There is no theme compat. (Though the new under-development bbPress plugin has that)
3. If you don’t want anything of WordPress to be shown in bbPress (ie. by using WP functions), then no. It would add extra load.
May 15, 2011 at 6:42 pm #100477In reply to: Starting a new bbPress forum
Gautam Gupta
Participant1. No, you should install it in a sub-directory like
forums. If you install it in the same dir, then their might be conflicting urls.2. You’d need to port the theme yourself. There is no theme compat. (Though the new under-development bbPress plugin has that)
3. If you don’t want anything of WordPress to be shown in bbPress (ie. by using WP functions), then no. It would add extra load.
May 15, 2011 at 5:27 pm #105110In reply to: WordPress and BBpress Integration
gdecaro
MemberThanks bbklo. I think I must have misunderstood your original dilemma. The solution for me was to change the defined cookie path within wp-config.php from define( ‘COOKIEPATH’, ‘/’ ) to define( ‘COOKIEPATH’, ‘/wordpress’ )
Now I am no longer logged out when switching between the two. For a little insight WP & BB are installed at mysite/wordpress and mysite/bbpress
Anyway… thank you. I’m pretty new to this stuff but trying to wrap my head around it.
May 15, 2011 at 5:27 pm #100010In reply to: WordPress and BBpress Integration
gdecaro
MemberThanks bbklo. I think I must have misunderstood your original dilemma. The solution for me was to change the defined cookie path within wp-config.php from define( ‘COOKIEPATH’, ‘/’ ) to define( ‘COOKIEPATH’, ‘/wordpress’ )
Now I am no longer logged out when switching between the two. For a little insight WP & BB are installed at mysite/wordpress and mysite/bbpress
Anyway… thank you. I’m pretty new to this stuff but trying to wrap my head around it.
May 15, 2011 at 3:46 pm #95345In reply to: bbPress 2.0 – Updates
Rick Lewis
Member@jjj you mentioned above that you don’t need to create a Forums page?
From older posts I thought that was the only way to make this work and with that I also moved things around and added in the code you mention to my functions.php. While things seem to show up they do so just like CrownofMars with the Blog Archive thing.
I too had the forums/forum thing and believe I killed that by deleting all the slugs listed in the settings and saving.
My issue is I can’t get to my main Forum page at all. I keep getting either redirected to the stupid Group forum directory or the second forum I made and it’s noted a Blog Archive.
I think I am going to back track a little and retry things without moving template files around and so on. Maybe that was needed in an earlier version?
I would love to get my forum page looking like this http://archaudio.org/forums/. That one looks nice. I haven’t achieved that yet.
-
AuthorSearch Results