Search Results for 'code'
-
Search Results
-
Hi guyz,
I am working on a new website (php5/mysql5/apache). I have already installed bbPress in sub-directory on my website. What i am trying to do is to integrate my website’s user registration and login module to work with bbPress.
1) When user registers on my site, s/he automatically registers in bbPress too.
2) When user login on my site, s/he automatically login on bbPress too.
I have googled it but most of the topics are for bbPress & WP integration. I am sure this scenario must have happened to someone else before me
I just cant seem to find the solution. please help me.
TIA
Topic: WP – add 2nd column to theme
Hi,
I am very very green with CSS (read, I have NO idea what I am doing! LOL). I am using a template for my new site that only has 1 column. I would like there to be 2 columns on the main page. The overall width is set to 1000px and I would like to integrate a 2nd column where I can put widgets and other content like a category list, RSS, html linked image ads, etc.
Can anyone look at the code and tell me where and what to put to make this happen?
http://www.vervelifeportraits.com/clientsite
Thanks so much!
Topic: Integration URL Problems
(I removed all references tot he URL due to the spam plugin hating me for it)
I installed WordPress 2.7.1 first then bbPress 1.0-Alpha-6. When I first installed I set the follow settings,
bbPress Admin – Settings – WP Integration:
WordPress address (URL): URL with WWW
Blog address (URL): URL with WWW
My main admin / keymaster has to log into both WP and bbPress to access both. I want to integrate it so I can log into one and access both.
I realized that in WP my WP URL and Blog URL, they are both the same, was set to (URL WITHOUT WWW) so I changed it in the bbPress settings. You would think since both WP and bbPress now actually match things would get better? They got worse.
I have a Maintenance Mode plugin that denies access to every page in WP (Excluding the forums since they aren’t a part of WP) unless you are logged in as an admin on the WP side. When the URL and Blog were set to (URL with WWW) I had to log into bbPress and then WP but could see all of the WP pages.
Now that I changed the URL to exclude the www I can now log into bbPress AND be AUTOMATICALLY logged into WP BUT I can no longer see the WP pages indicating WP doesn’t see me as an admin. Not only that but when in the WP Admin and I try to log out it gives me an error:
You are attempting to log out of AscenDance Radio
Please try again.
With a link back to my admin page. It never lets me log out and only happens after I go into bbPRess Admin Panel and change the URL / Blog to match the actual URL that WP has in its settings.
It has nothing to do with the Maintenance Mode plugin either. I take it off and try to leave a comment on a post but bbPress and WP Admin see me logged in BUT the post requires me to enter my name and email address as if it doesn’t know I’m logged in.
So basically bbPress and WP Admin knows I’m logged in but my actual WP Site had no clue.
When I put,
define(‘COOKIE_DOMAIN’,’.ascendanceradio.com’);
define(‘COOKIEPATH’, ‘/’ );
into both the wpconfig and bbpressconfig files it will no longer let me log into both WP and bbPress. If I log into WP first I can access all my WP Pages but when I try to log into bbPRess after the page just refreshes and my login information clears. If I log into bbPress first it lets me get into my WP Admin but my WP Pages can’t be access due to the plugin not recognizing I’m an admin. I also get the same error when trying to log out of the WP Admin.
I tried only adding the cook domain / path code to ONLY wpconfig and receive the same error as mentioned in the above paragraph.
I also just tried adding all that code from the Integration 101 8 step solution and get the same problems as mention in the big paragraph above.
The closet I get to having it work is when I add www to all the bbPress settings. I just tried adding to the 8 step code snippet (the URL portions, I did not touch the cookie domain or any other domains) AND changing the URL and Blog to (URL with WWW) and it lets me log into both giving me access to everything I want, bbPress / WP Admin AND WP Pages as my plugin now sees me as an admin.
The only problem is that’s not integrated login.
Do you think if I change, in WP Admin, my URL and Blog URL to (URL with WWW) (As opposed to what it is now, http://ascendanceradio.com) it would fix the problem? I tried changing the name before and ruined my WP site and had to reinstall (Afterward I figured out I could have changed the value through myphpadmin and proceeded to cry for days). Could I ruin my WP site if I change the URL and Blog address to include www?
Is there someway somewhere a function / cookie / database value is requiring a www and that’s why things seem to work better when I include it in my bbPress Admin Settings?
I try to go to (URL with WWW) and it automatically redirects me to (URL WITHOUT WWW) so I don’t understand why www would be needed for anything.
I hope I was clear and concise enough to get some good help. I’ve spent over 8 hours debugging this before turning for help so anything at this point is greatly appreciated! Thanks!!
I’m use bbPress, and have one big usability problem: there is a bug (you think “a feature, I know that!
) – when a topic has a few pages, the post form displaying only on last page. Quoting on another pages is not working, and user must read (or skip) all pages to post reply.
How to display a post form on every topic page?
(sorry for my bad English)
- Reason
My users are signing up on a mobile device and can not copy paste the generated password from their email.
- What Is Needed
When you successfully register a new user, it redirects to register.php and the Username is already pre-populated with the following code:
<input name="user_login" type="text" id="user_login" size="18" maxlength="40" value="<?php if (!is_bool($user_login)) echo $user_login; ?>" tabindex="1" />
How can we do the exact same thing with the password field?
I have already tried using $pass, $password and $user_pass none of which are available to register.php
Thanks!!!
Topic: Why Was I Bozoed?
Topic: Integration URL Problems
I installed WordPress 2.7.1 first then bbPress 1.0-Alpha-6. When I first installed I set the follow settings,
bbPress Admin – Settings – WP Integration:
WordPress address (URL): http://www.ascendanceradio.com/
Blog address (URL): http://www.ascendanceradio.com/
My main admin / keymaster has to log into both WP and bbPress to access both. I want to integrate it so I can log into one and access both.
I realized that in WP my WP URL and Blog URL, they are both the same, was set to http://ascendanceradio.com (Without the www and /) so I changed it in the bbPress settings. You would think since both WP and bbPress now actually match things would get better? They got worse.
I have a Maintenance Mode plugin that denies access to every page in WP (Excluding the forums since they aren’t a part of WP) unless you are logged in as an admin on the WP side. When the URL and Blog were set to http://www.ascendanceradio.com/ I could had to log into bbPress and then WP but could see all of the WP pages.
Now that I changed the URL to exclude the www I can now log into bbPress AND be AUTOMATICALLY logged into WP BUT I can no longer see the WP pages indicating WP doesn’t see me as an admin. Not only that but when in the WP Admin and I try to log out it gives me an error:
You are attempting to log out of AscenDance Radio
Please try again.
With a link back to my admin page. It never lets me log out and only happens after I go into bbPRess Admin Panel and change the URL / Blog to match the actual URL that WP has in its settings.
It has nothing to do with the Maintenance Mode plugin either. I take it off and try to leave a comment on a post but bbPress and WP Admin see me logged in BUT the post requires me to enter my name and email address as if it doesn’t know I’m logged in.
So basically bbPress and WP Admin knows I’m logged in but my actual WP Site had no clue.
When I put,
define(‘COOKIE_DOMAIN’,’.ascendanceradio.com’);
define(‘COOKIEPATH’, ‘/’ );
into both the wpconfig and bbpressconfig files it will no longer let me log into both WP and bbPress. If I log into WP first I can access all my WP Pages but when I try to log into bbPRess after the page just refreshes and my login information clears. If I log into bbPress first it lets me get into my WP Admin but my WP Pages can’t be access due to the plugin not recognizing I’m an admin. I also get the same error when trying to log out of the WP Admin.
I tried only adding the cook domain / path code to ONLY wpconfig and receive the same error as mentioned in the above paragraph.
I also just tried adding all that code from the Integration 101 8 step solution and get the same problems as mention in the big paragraph above.
The closet I get to having it work is when I add www to all the bbPress settings. I just tried adding to the 8 step code snippet (the URL portions, I did not touch the cookie domain or any other domains) AND changing the URL and Blog to http://www.ascendanceradio.com and it lets me log into both giving me access to everything I want, bbPress / WP Admin AND WP Pages as my plugin now sees me as an admin.
The only problem is that’s not integrated login.
Do you think if I change, in WP Admin, my URL and Blog URL to http://www.ascendanceradio.com (As opposed to what it is now, http://ascendanceradio.com) it would fix the problem? I tried changing the name before and ruined my WP site and had to reinstall (Afterward I figured out I could have changed the value through myphpadmin and proceeded to cry for days). Could I ruin my WP site if I change the URL and Blog address to include www?
Is there someway somewhere a function / cookie / database value is requiring a www and that’s why things seem to work better when I include it in my bbPress Admin Settings?
I try to go to http://www.ascendanceradio.com and it automatically redirects me to http://ascendanceradio.com so I don’t understand why www would be needed for anything.
I hope I was clear and concise enough to get some good help. I’ve spent over 8 hours debugging this before turning for help so anything at this point is greatly appreciated! Thanks!!
I’ve integrated my WordPress (2.5) install with my bbPress (0.9) install… and have the signin for both routing through the bbPress bb-login.php.
There are signin fields at the top of every page:
* http://www.weddingbee.com (the WordPress blog)
* http://boards.weddingbee.com (the bbPress forum, on a subdomain)
When users signin to a page on the boards, they stay on whatever page they are on. However… when user signin through the blog… they get sent to boards.weddingbee.com (the bbPress install frontpage). This annoys some users, because they have to navigate back to whatever blog page they were on in order to comment.
I looked at the bb-login code, and there seem to be references to keeping track of the referer and redirecting using redirect_to. Does anyone know how to use those, so that when my users sign into a page… they stay on that page, rather than being redirected to the boards frontpage?