Search Results for 'code'
-
AuthorSearch Results
-
May 17, 2011 at 8:59 pm #98170
In reply to: Just a Community
Snat
MemberMany thanks, it took a lot of time to get the layout right. A friend of mine helped with the physical design work, I just coded the layout.
Ps, your avatar reminds me of Allie’s drawings from somewhere I can’t remember nowadays sadly.
May 17, 2011 at 8:59 pm #103270In reply to: Just a Community
Snat
MemberMany thanks, it took a lot of time to get the layout right. A friend of mine helped with the physical design work, I just coded the layout.
Ps, your avatar reminds me of Allie’s drawings from somewhere I can’t remember nowadays sadly.
May 17, 2011 at 3:43 pm #95374In reply to: bbPress 2.0 – Updates
Mr.bishop
Member@jjj – I must say I’m incredibly impressed with bbPress, and what you have here. I eagerly want to use the bbPress / BuddyPress plugin combo in conjunction with a few wordpress sites that I work on.
Do you have any idea what a rough timeframe on launching the plugin would be?
Also, what could I do to help move the process along? I don’t code myself but I do work with guys that do. We figure its a waste of time to get a bbPress standalone working only to have the plugin released soon after.
May 17, 2011 at 6:48 am #95370In reply to: bbPress 2.0 – Updates
Daily Anarchist
MemberThe header that I am using is a modified version of the default theme header file that came with wordpress. It should be in the same location and called by the same name as the default header file. I am sort of a noob at code but I thought because my header file appears at on the index/home page when the website loads that things were working. By “appropriate call to” do you mean the “get_header” php command?
Secondly, the entire theme is located in the wp-content folder within a default theme sub folder. That is why there is no reference. Again, I am probably really confused by what you mean so it is probably something I am doing wrong.
The entire site may be a hack job, because it is my first, but up to this point everything has worked flawlessly, including all of my plugins.
I suspect there is a simple solution to preventing the WP css from overriding bbP css but I haven’t figured it out yet.
May 17, 2011 at 5:42 am #95369In reply to: bbPress 2.0 – Updates
John James Jacoby
Keymaster@Daily Anarchist – Your theme doesn’t use a conventional WordPress header, and it’s missing the appropriate call to
wp_head();
which is how WordPress themes load dynamic content in the
<head>
of the page.
There is also no reference anywhere in your source to a wp-content folder, which is where your theme and any related plugins should be loading from. With something that’s this outside of the norm, you’re going to run into lots of incompatibilities with many plugins as you go. I’m actually pretty happy that bbPress looks as good as it does considering there’s no CSS applied to it at all.

As a general note going forward to everyone, if you have site specific questions please post up new topics and tag them ‘plugin’ so that we keep this sticky focused on the bbPress plugin, and not supporting your sites. Thanks
May 17, 2011 at 12:52 am #95357In reply to: bbPress 2.0 – Updates
Daily Anarchist
MemberIt’s a fresh install with the 3167 changeset. I’m not quite sure what you mean by “check out the child theme functions.php to grab the code.”
I’m kind of a perpetual noob so bare with me.

Also, if I do already have the function.php code installed, could it be that my site’s css is overpowering the plugin’s css?
May 17, 2011 at 12:45 am #95356In 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 #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 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 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 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 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 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 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 #100553In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberRockstar!
Uploading new build now…Jonathan
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 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: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: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 #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 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 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?
-
AuthorSearch Results