Search Results for 'theme'
-
AuthorSearch Results
-
December 12, 2008 at 9:44 am #34268
In reply to: /members/ going to blank pages
Burt Adsit
ParticipantIs wpmu 2.7 out now? Your site says its running “WordPress 2.7” not “WordPress 2.7-RC1-xxxx” like everyone else. The site in your profile must not be the site you are talking about.
Anyway, the dreaded “white screen of death” probably means you have some errors and it’s just not showing you them. Check your php and apache error logs and report back.
Sounds like the bp member theme is crashing for some reason. Do you have *all* the bp components installed?
December 11, 2008 at 11:58 pm #34264In reply to: blogs page missing
Burt Adsit
ParticipantThe member theme isn’t something that you can activate and use independently. It is exclusive to bp. It’s not a normal wp theme. It has no value outside of bp.
December 11, 2008 at 11:49 pm #34262In reply to: member theme “trunk-r640”
Burt Adsit
ParticipantYa, that’s almost what I did at first just to get things running. It was driving me nuts though. Should work, didn’t work. Now it does work with the patch. Just a regex change. I haven’t worn my regex hat for years.
Thinking in ‘regex’ is a strange thing. Leaves me goofier than usual for days afterward.
The more I stare at a little 12 character formula for the regex engine, that mutates the natural laws of the known universe, the closer I am to understanding what it is actually doing, instead of what I think it is doing, the farther from reality I get.
When I finally do understand what it is doing, I have a slight headache and I need a nap.
The person who wrote the original regex engine was obviously not human. Aliens walk amongst us.
December 11, 2008 at 11:20 pm #34261In reply to: blogs page missing
frugalers
MemberYes I moved the theme into the wp-content just the way I did last time but with this trunk the theme doesn’t even show up in the back end of wpmu. When you go to sitemap>buddypress there is no them showing.
December 11, 2008 at 11:04 pm #34260In reply to: member theme “trunk-r640”
sdq80
ParticipantI’ve replaced loader.php with the old one “r-571, now its working fine.
December 11, 2008 at 1:01 pm #34247In reply to: Using another URL structure for profiles etc.
ageeshkg
Memberhow can we make the home theme to redirect the social networking part. I too want to make the social networking stuff under one link.
December 11, 2008 at 9:02 am #34244In reply to: member theme “trunk-r640”
Burt Adsit
ParticipantThis is a windows file name problem. loader.php was looking for forward slashes in a directory name and getting backslashes in windows.
Trac has a patch:
https://trac.buddypress.org/ticket/223
I gotta switch over to a linux dev server. But I really like my Vaio running windows. I’ll just buy another domain and hook it up to the DV server. $10 won’t break me. It does mean that I won’t be able to do laundry this week though.
December 11, 2008 at 5:18 am #34243In reply to: member theme “trunk-r640”
Burt Adsit
ParticipantPosted a ticket (without a fix yet, sorry Andy)
December 11, 2008 at 5:06 am #34242In reply to: member theme “trunk-r640”
Burt Adsit
ParticipantYep. That’s what is happening. In the php error log, it’s trying to require_once the wp-load.php file from the bp member theme css dir. It ain’t there. I’ll figure out what is wrong with the regex and post a ticket.
December 11, 2008 at 4:47 am #34241In reply to: member theme “trunk-r640”
Burt Adsit
Participant@gogoplata No I didn’t file a ticket for wpmu yet. I solved my problem and moved on for the night. I wanted to wait and see if anyone else was having the same prob with that wpmu rev. I’m not really sure it *is* exclusively an wpmu problem.
Yes, I rebooted the dev apache instance. Thanks. I’m not sure that apache has anything to do with it.
I was under the mistaken impression that only css files could be imported from a css file. I can’t exactly figure out who/what is failing here. I was trying to work out in my head the sequence of things that happen in this case.
member theme: style.css @import(css/loader.php) .. loader.php? php? what does a browser do with php code? nothing as far as I know.
so what is taking over the interpretation of the php code in loader.php?
mechanism is:
1) browser gets the style.css file, runs across the @import statement and sends a request to apache for a php file
2) apache hands loader.php off to it’s internally loaded php module
3) loader.php runs and outputs a dynamically created stylesheet to the browser
Where is wpmu in all that? My confusion comes in when I consider that.
STOP. Me not you. While I was pondering this and writing this reply, I took a look at the code on the live server for loader.php. It’s *not* the same.
/* Load the WP environment */
require_once( dirname( dirname( dirname( dirname( dirname ( __FILE__ ) ) ) ) ) . '/wp-load.php' );That’s on the bp version that is running on the live server. A couple of revs ago.
/* Load the WP environment */
require_once( preg_replace('/(.*)/wp-content/.*/', '1', dirname( __FILE__ ) ) . '/wp-load.php' );Above is what is in r64x something. I’ve lost track of what rev is running on the dev server at the moment. Anyway, if the require wp-load.php fails for some reason what happens. PHP stops interpreting and nothing else below that happens.
Eh?
December 11, 2008 at 4:41 am #34240In reply to: member theme “trunk-r640”
Trent Adams
ParticipantWell, WP 2.7 officially released, but WPMU 2.7 should be close behind.
December 11, 2008 at 4:04 am #34239In reply to: member theme “trunk-r640”
gogoplata
ParticipantWPMU 2.7 was just officially released.
December 11, 2008 at 3:24 am #34237In reply to: member theme “trunk-r640”
Trent Adams
Participantburtadsit did you file a ticket in wpmu trunk? I would imagine that it should be sorted when Donncha pulls right to 2.7 release, but who knows. I actually am running 10145 right now and it works fine for me. I always reboot apache to make sure my xcache doesn’t keep the wrong data as well as make sure “turbo” isn’t the problem with old files.
Trent
December 11, 2008 at 3:12 am #34235In reply to: blogs page missing
Burt Adsit
ParticipantDid you move the member theme out of mu-plugins to wp-content? Also, the member theme does not need to be activated. Nor should you. I shouldn’t show up anywhere in wpmu.
December 11, 2008 at 3:08 am #34234In reply to: member theme “trunk-r640”
Burt Adsit
ParticipantEDIT: whoops. dup post due to operator misuse of the browser back and edit post buttons
December 11, 2008 at 3:05 am #34233In reply to: member theme “trunk-r640”
Burt Adsit
Participanttestbp.org is running ‘WordPress 2.7-RC1-10119’
my dev machine is running ‘WordPress 2.7-RC1-10145’
December 11, 2008 at 2:57 am #34232In reply to: member theme “trunk-r640”
Burt Adsit
ParticipantYep. That’s the problem on this dev install. The @import(css/loader.php) statement
I just changed the member theme style.css file to import all the css files in the css directory that loader.php sucks up. Works like a charm.
wpmu 2.7 doesn’t like that statement?
December 11, 2008 at 2:42 am #34231In reply to: member theme “trunk-r640”
Burt Adsit
ParticipantThe difference between the member theme and the home theme css is that the member theme uses a a main style.css file that is composed of nothing except this:
@import url(css/loader.php);
loader.php determines what bp components are installed and then sends those to the browser. My live install of bp is running wpmu 2.6.2 and my dev server is running a fresh install of wpmu 2.7 from trunk.
Both the live and dev installs are basically the same. They both have the stub style.css sheet that runs loader.php for the actual css for installed components.
The only difference is the one that works is running wpmu 2.6.2, the one that doesn’t is running 2.7 trunk
What’s different on your installs from then to now?
December 11, 2008 at 2:00 am #34230In reply to: member theme “trunk-r640”
frugalers
MemberI have the same problem on trunk r646. No members page. Everything else seems okay.
December 11, 2008 at 1:55 am #34229In reply to: blogs page missing
frugalers
MemberI replaced the trunk and now I do have a blog button but now my member-theme is not functioning. The template doesn’t show up under site admin > buddypress section or in the actual member site. I created a new database, reinstalled MU and the new trunk but still can’t get the member page running. Which of course when you are on the members site it is the home website and the my account and my blogs don’t work. I get the following error.
Warning: require_once(/home/frugal/public_html/wp-content/member-themes/buddypress-member/index.php) [function.require-once]: failed to open stream: No such file or directory in /home/frugal/public_html/wp-includes/theme.php on line 472
The installation is like the first I had I don’t know where to go now with it.
December 11, 2008 at 12:44 am #34228In reply to: member theme “trunk-r640”
Burt Adsit
ParticipantYa, got a similar problem. Installed wpmu 2.7 and r644 and no member theme css all of a sudden. The home theme is fine, just the member theme is affected. Trying to debug it now.
December 11, 2008 at 12:10 am #34226In reply to: member theme “trunk-r640”
sdq80
Participantjust to clarify my issue, when I go to user’s profile, the content is fine but with white background, user bar becomes vertical, there is no layout!!
December 9, 2008 at 9:23 pm #34201In reply to: Warning: require_once ?
Andy Peatling
KeymasterMove the buddypress-member theme from wp-content/themes/ to wp-content/member-themes/
December 9, 2008 at 1:30 pm #34197nicolagreco
ParticipantOk, but i’ve seen the code yesterday, but the bp’s widget retrieve options directly from wordpress configuration, i wrote some lines of code to add personalization feature, i will post code as soon as possible
Nicola,
@burtadsit, that’s my skype greco.nicola and that’s my e-mail: notsecurity@gmail.comDecember 9, 2008 at 2:44 am #34193Burt Adsit
ParticipantWell, a good place to start would be the widget code itself.
Let’s take the ‘archives’ widget as an example. I look at the widget code in: /wp-includes/widgets.php for the archive widget function: function wp_widget_archives($args), I see that it extracts the stored widget options and then eventually calls the template function: wp_get_archives(‘param=xxx¶m=yyy’). The widget is just a wrapper for the template function that allows blog admins to set the behavior of the template function that does all the work.
We need to pull the guts out of the members widget and create a template tag that does the work by parameters only. Looking at the archive widget again I see some code that sets up defaults, parses the passed args and then turns the args array into vars with extract().
We could also just modify the widget to parse and actually pay attention to passed args.
In any case did I mention that ‘We don’t need no stinking help’. (that was my best Mexican bandito accent). I forgot you are Italian. That was a reference to a Western movie. Never mind. I gotta go play with something else right now but I’ll return to this.
-
AuthorSearch Results