Search Results for 'events template'
-
AuthorSearch Results
-
September 5, 2009 at 2:32 pm #52054
In reply to: creating component pages
Matt Kern
ParticipantWell, actually. No… haha
Its good info and it will definitely be used but my actual question here was how to make that main page without having to add it to the themes folder.
Like how the events plugin adds all its files to the bp-themes folder.
I guess it doesn’t matter which directory we add the files to but all the plugins I have seen are adding the files to the bp-themes directory so I guess I am just wanting to be a sheeple on this topic.
After reading your last post, it seems like I am looking for something like this:
bp_member_load_template( ‘fun’, true );
does anything like that exist? I am looking thru the event code but there is quite a lot of it so its slow going.
July 10, 2009 at 10:24 pm #49085r-a-y
Keymaster– Understanding how these 3 pages works in general. Do they belong to the bp-member or bp-home theme or both.
They are styled in the bpmember theme, which is a BuddyPress theme.
The bphome theme is a WordPress theme.
– Figuring out how I create a copy of lets say the Member page, then give that page an entire new name/slug.
Not sure about creating interior BP pages… I know certain BP plugins create their own slug and pages (eg. bpEvents, bpContents).
But depending on what type of page you are planning on creating, I would just create a new page in WP and assign a WP page template that is setup almost identical to the bpmember component in question. This would be the easiest route if you want total control of the page.
However, before you do, you might want to consult with a mod who has more experience with BP than I do!
July 10, 2009 at 3:07 am #48993In reply to: Permission Denied in Content and Events plugin
Erwin Gerrits
ParticipantAlso, upgrade to latest trunk version of bp-events if you’re running BP 1.0.2… some template file constants have changed…
July 10, 2009 at 3:06 am #48992In reply to: Permission Denied in Content and Events plugin
Erwin Gerrits
ParticipantAre your theme files in wp-content/bp-themes/bpmember? It sounds like they are in some other place. These are template related errors, usually the template files are in the wrong directory (they have to be OUT of buddypress dir), or the permissions are set wrong.
July 9, 2009 at 10:02 pm #48964In reply to: Permission Denied in Content and Events plugin
Burt Adsit
ParticipantDid you move the plugin theme templates to your active theme?
June 13, 2009 at 8:50 am #47358In reply to: Announcing: Events component
3138633
InactiveI follow all the steps but I have this error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 6 bytes) in /home/web/universita.ws/home/b/wp-admin/includes/template.php on line 2963
June 2, 2009 at 5:09 pm #46587In reply to: Make access members/groups sections members-only
David Lewis
ParticipantI just did a quick test. In the home theme at least (wp-content/themes/bphome/header.php) the global nav at the top is already hardcoded. So it’s dead easy to hide the groups and members links simply by wrapping it with this:
<?php if(is_user_logged_in()): ?>
[ links for logged in users only go here ]
<?php endif; ?>In my template, the “groups” and “members” links appear on lines 48-53.
Note that the last item in the navigation is:
<?php do_action( 'bp_nav_items' ); ?>This function could pulling in more navigation links if you are using any plugins… like bp-events for instance.That said… I like the solution in this thread much better.
https://buddypress.org/forums/topic.php?id=1651&page=2
The “solution” above is very “low tech” and in fact, isn’t really a solution since it doesn’t actually restrict access… it just hides some links. Probably not a good way to go. You could probably still get into a group by… let’s say… clicking on someone’s profile link and then clicking on a link to a group they are a member of.
April 29, 2009 at 1:54 am #43810In reply to: Page Titles for Custom Page Templates
Roy McKenzie
ParticipantAlso, not using All-in-One SEO. Should I create a different header include?
The events page…that might be a bug in the version of the plug-in I’m using. It’s not meant for live sites but works ok enough at this point.
The TubePress plug-in is available site-wide. All I had to do was activate it site-wide.
April 28, 2009 at 11:57 pm #43807In reply to: Page Titles for Custom Page Templates
enlightenmental1
Participantthat’s weird… any other WP pages using that template? like the blog page?
try throwing this into the page
<?php the_title(); ?>
see what it returns
using all-in-one-SEO ? all filled in?
I notice your events page has no title… only “ModestoBuzz — “
tubepress: is this just for admin, or have you modified to work sitewide for all users?
looks interesting
April 21, 2009 at 6:13 pm #43139In reply to: Avatars, Custom Themes and Registering
auwagner
ParticipantJeff, thanks for responding…
1) Fairly vanilla means i have only buddypress, plus 2 other plugins. I’m running the latest WPMU (2.7)
2) Trunk is 1324
3) bp-events and eg-twitter
4) This was a fresh install of the trunk, so no upgrade. It’s an environment that I created to test things. I have moved over activate, register, plugin-sidebar and plugin-template to my new theme’s home directory, plus the 3 functions in functions.php. Is there anything else I should do for a customized HOME theme?
5) I’ve read them a ridiculous amount of times
changes to htaccess, bp-core-avatars haven’t worked unfortunatelyPermissions are 755 on the blogs.dir folders. I’m just combing through to see if I missed anything. I have deactivated all the plugins and i’m still looking around.
April 8, 2009 at 6:06 pm #42109In reply to: Announcing: Events component
Erwin Gerrits
ParticipantMake sure the “description” field is filled in when editing existing events — I haven’t found out yet why the description field is not filled in with whatever was in that field when editing an event — it’ll be blank, and so being a required field, will give an error trying to save it with a blank value. Can someone figure out WHY the description isn’t being put into the edit-settings screen? (That’s in events-admin.php in the members template folder — calls bp_event_description() which SHOULD work returning the description….)
April 1, 2009 at 8:15 pm #41613In reply to: Announcing: Events component
Simon
Participant@Timothy, I believe Erwin is currently battling with the recently updated group template directory structure changes and thus 0.54 does not work fully with the trunk version of BuddyPress. 0.55 will work with trunk build but there is no eta yet.
March 8, 2009 at 6:50 pm #39481In reply to: Announcing: Events component
Erwin Gerrits
Participantmake sure you have the latest trunk version of buddypress (or at least 1164 I believe) installed, particularly bp-core-templatetags.php.
March 1, 2009 at 12:25 am #38923In reply to: Announcing: Events component
Erwin Gerrits
ParticipantThe function to display the map is:
bp_event_map( $event=false, $width=250, $height=250, $zoom=8 )
So if you put some parameters into the call in event-home.php file in the member template (line 46) you can change the size/zoom.
February 18, 2009 at 9:15 pm #38258In reply to: Announcing: Events component
Erwin Gerrits
ParticipantI am working on a category system where users can pick any number of categories or create a new one (like the WP backend for posts), and will create a template tag for that, and I am keeping an eye on the Content Tag project in the works….
-
AuthorSearch Results