Search Results for 'questions'
-
AuthorSearch Results
-
August 17, 2010 at 6:56 am #89355
In reply to: Blog Theme / Buddypress Theme
Hugo Ashmore
ParticipantPoint of general forum nettiquette: It is a frowned upon practice to ‘Hijack’ another’s post, this is due to the confusion it can introduce to the thread where you have multiple replies to different questions asked.
Please always start a fresh topic with your question unless you are responding in some fashion to the OP’s question.
August 17, 2010 at 5:52 am #89352In reply to: Two questions about the login process
damainman
MemberArx Poetica did you find your answer?
August 16, 2010 at 2:49 pm #89274Hugo Ashmore
Participant@ri-kun please avoid doing this in future, sometimes questions don’t get answered, sometimes that means you have to think about them again, perhaps they had obvious answers, perhaps a search would find the answer, sometimes reposting and rephrasing the question is required, what isn’t acceptable is to demand attention in the fashion that you have and is likely going to result in your thread being locked leaving you to have to repost, but you will have done your rep little favour in the process

Oh and fyi – emoticons or smilies please ‘lolz’ is derived from l33t or txt speak and most coders/developers dislike that language also ‘lolz’ carries a particular meaning it’s meant to be laughter with sarcastic overtones! not. I hope, what you intended?
August 14, 2010 at 8:05 pm #89117Roger Coathup
ParticipantHave a look at the functions in bp-core.php, bp-core-templatetags.php :
You can call functions such as bp_core_get_username, bp_core_get_user_displayname, bp_member_avatar, bp_member_profile_data
There is a list of template tags being developed, (https://codex.buddypress.org/developer-discussions/buddypress-template-tags/), but I tend to resort to using find in files in my editor (Coda) and trawling the BuddyPress files.
I understand @johnjamesjacoby is doing work to significantly enhance the API for future BuddyPress releases
I suggest asking your group id questions in a separate thread
August 14, 2010 at 3:35 pm #89084Hugo Ashmore
ParticipantPeople The community , must as a whole, stop this practice of hijacking threads we now have three questions running in the same thread this practice isn’t tolerated on most tech forumsd due to the confusion that thread dissolves into.
The first thing all three of you must check is that your permalinks are working correctly and that the server can write to the .htaccess file
August 13, 2010 at 10:18 am #88960In reply to: Some questions about BLOG POSTS in BP. Help please
marco-raaphorst
Participanthow can I enable network mode?
I alow multi users to blog on one blog. There’s no easy way to show a New BlogPost button it seems that with network mode it can be done, but how can I switch it on?
August 12, 2010 at 10:48 am #88825In reply to: New plugin: Add All Nav Links to BP Adminbar
Hugo Ashmore
ParticipantIt’s not as straightforward as it ought to be there appear to be issues with the order of loading at least what is easily doable from functions.php becomes problematic as a plugin – I have had to wrap the remove_actions in a bp-init function and that provokes other questions as there appear to be conflicting docs on this aspect, most remove_actions I can get to work, site-logo refuses to play ball.
August 9, 2010 at 9:57 am #88527In reply to: Adding menu items to the admin bar
August 9, 2010 at 3:50 am #88509In reply to: http 500 internal server error
Beck B
ParticipantI doubt I can help much, but I’m sure whoever does help will need more details. Here are a few follow up questions for you.
How did you try to install buddypress, exactly? Did you add the plugin from wp-admin or by uploading to the plugins directory via ftp? Were you able to activate the buddypress plugin? i.e., when you say you just “tried to install” it, is that because it gave some error directly (and therefore you never saw buddypress in action at all or altered the default settings), or because you haven’t been able to log into wordpress since then?
Hopefully with some more details, one of the generous wp/bp gurus on here will be able to sort you out.
August 7, 2010 at 7:43 pm #88376lorenzo
Memberi’m not sure if i’m posting in the wrong place, if i’m asking the wrong questions or both?
does anyone have a clue about the above and where the code which does the update of the profile fields actually is? some guidance/suggestion (any) will be very helpful to put me in the right direction! thanks
August 7, 2010 at 11:17 am #88325In reply to: how upgrade an old bp theme, please?
alcina22
Participanthnla, r-a-y, thank you for your answers! I’ll follow your advices, and if I’m in trouble with something I’ll post again in the forum, maybe with detailed questions…
you are kind!
ciao and thank you again, also for the link,
alcinaAugust 7, 2010 at 2:06 am #88303In reply to: Something like “Yahoo! Answer” possible?
Nahum
Participantthere are a few Q&A themes that exist already that you could use. Add BP plugin. Create a frontend form that submits questions as Posts with the member poster assigned as author and the comments for the post(?) are your answers. The community layer is the community layer just allow only members to submit questions and answers. Add plugins like ratings and page views and you’re set.
you could go with groups or forums but they are limiting when you consider what can be done with a full blog. So if you are on MU, just create another blog just for QA. that way you keep them separate from the blog and other things. I think post types are great…but at the end of the day you begin filling up your main site admin with tons of stuff. I like spreading the post type and plugin weight across different blogs(or sections)…but if the site is only going to be QA (no blog, no nothing else) just do the same thing but on the main site.
on your bp language change the “wrote a new post” to “added the question: ” or whatever and you’re set again!
August 6, 2010 at 12:35 pm #88239In reply to: how upgrade an old bp theme, please?
Hugo Ashmore
ParticipantIt’s not a dummy question but there is little to go on, the best I can suggest is that you start of afresh create a child theme (which it sounds as though you have done) and start to add your old styles in and try and re-create the previous layout based on the new default theme, more than this and you would need to provide far more detail but i don’t think it would help, just a case of getting stuck in really and asking questions as and when you get stuck.
August 4, 2010 at 12:51 am #87923jellybean
ParticipantUgh I’m having this same problem. Everyday I get at least one or two ‘fake profiles’ where they answer questions with ‘johoabjdvbajsldhfs’. I have the CAPTCHA plugin installed and it’s done nothing so far. Each ‘user’ also creates a blog, one was about world of warcraft and the others have been about cars. It’s HIGHLY annoying to have to sift through and mark each of these users as spammers.
August 3, 2010 at 1:17 am #87800In reply to: Something like “Yahoo! Answer” possible?
justbishop
MemberSounds like something I would do using a combo of a custom post type (“Questions”), a comment rating plugin of some sort (for the “this was the best answer” functionality), and maybe custom taxonomies (status (open/answered), categories, tags, etc.)
To clarify, the post in the custom type would be published by the question asker, and people could answer by commenting.
August 2, 2010 at 4:44 am #87716In reply to: Event Calender for visitors
matthewprice1178
Memberi am happy to share.
so i use jquery-ui first off, but if you just want today’s events, you don’t need to use it
so the first part is what is in my sidebar.php file
<?
// first set up today’s date
$today = date(‘m/d/Y’);
?>
This next part is still in the sidebar.php
<?
generate_week_events(‘1’, $today);
// to figure out tomorrow, i use mktime and date together
$tomorrow = mktime(0, 0, 0, date(‘m’), date(‘d’)+1, date(‘y’)); $tomorrowCompare = date(‘m/d/Y’, $tomorrow);
// you can use the +1 to add as many dates as possible for your calendar
// the ‘1’ that is an argument of the function is the id of the jquery-ui tab. i just add a “generate_week_events” function for as many days that i want to show and increment this number by one for each tab
?>the function then compares the date fed in as an argument to the date in the custom field. if there is a match, then it shows the corresponding events. i just placed this in my function.php of my theme
<?
function generate_week_events($id, $date) {
global $post;
?>
<div id="tabs-“>
<?
// The cat=>9 here is the Events Category for this site it was implemented on and gets all posts where with a meta_value of the date fed in
$args=array(‘cat’=> 9, ‘meta_value’=> $date);
query_posts($args);// Here I just split the $date at the “/”. the client at one point wanted the date spelled out in the list as “January 1st, 2010” but later did not, but i kept it here for your reference if you want it.
$r_date = explode(‘/’, $date);
$mk_date = mktime( 0,0,0, date($r_date[0]), date($r_date[1]), date($r_date[2]));
$print_date = date(‘F jS Y’, $mk_date);
// echo $print_date;if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<a href="”><?
$location = get_post_meta($post->ID, ‘event location’, true);
if ($location!=”) {
echo “@” . $location;
}
?>this is the basic concept if you want the full code lemme know and i can email it to you
Any questions feel free
Matt
August 1, 2010 at 3:36 pm #87668sddmbr
MemberHi hnla, thanks for the response. Yes to all your questions except that I was not aware that localhost is a loopback address. So I should have typed in my website address where it ask me what was my url and where to put wordpress? I suspect that is where I messed up. I there anything I can do? Or should I just start all over again?
Thanks in advance, Fernando
July 30, 2010 at 9:50 pm #87532rickkumar
ParticipantAny buddypress Guru here that can answer my questions?
Thank you for your time and help.
July 29, 2010 at 5:30 am #87324In reply to: Add the possibility to create a blog for every user
lisalove
Membermaybe I can ask further questions…?
The problem now is that every blog needs to be as a sub-domain and not as a sub-directory. This seems to mean that when users visits a “subdomain-blog”, the comunnity banner disappears. My question is: do I need to redo the installaion and make subdirectory-blogs to enable them to be within the community? Or is there any whay of having the subdomain-blogs implemented in the community and give each blog a community menu?
Please have a look at two examples: http://crossbook.se/blogs/
The main blog is “within the community” (as it is installed in the main domain) and users are not “sent away” from the community as the blog has the same location as the community: http://crossbook.se.
The subdomain-blogs apperas like this: http://jon.crossbook.se – as you can see the blog is not implemented in to the community like the main-domain-blog is.
EDIT: Just found this page, where the main community menu is visible on sub-domain-blogs, just like I want it!! Anyone who can advise how to make this happen? Please see what I mean here: http://commons.gc.cuny.edu/blogs/ (cklick on one of the blogs and you will se how the main community menu still is visible on the sub-domain-blogs!)
Please advise!!? Any suggestion or link to help, would be highly apprichiated.
July 26, 2010 at 4:25 pm #87075Peter Anselmo
ParticipantHi @rossagrant, @r-a-y & @hkcharlie,
Thanks for the good question. So, there are three separate questions here that are slightly but significantly different, and often get merged into one.First: ‘Can people upload malicious things?’
Yes. Say I have a file MyVirus.exe. I can rename it to MyVirus.exe.txt, and upload it to the site. Adding a MIME type check would help significantly, but it’s not foolproof, as the MIME type can also be spoofed. What it would do is take what I would call a “casual” malicious user out of the picture, as only more experienced and/or motivated malicious users are going to go through the trouble of spoofing MIME types. Although this sounds terrible, it’s not as bad as you might think, leading into the next question…‘Will this cause any problems for my website/server?’
No. This is not much of an issue for several reasons. The main reason is that Apache doesn’t give uploaded files executable permission. So, even if a virus is uploaded, and a user clicks on it, the most likely scenario is that the user will see the source code (which may be a bunch of junk if it’s a binary file). Even if it was a file that the web server could process (like a PHP file or shell script), it still would just display the source.‘Is this a hazard to my users?
Not Likely. Given the above scenario, Someone malicious would need to rename a file extension, upload it to the site, get people to download it, and get people to change the extension. So, if the user is really dumb, it’s possible. I’d like to think that someone that goes around downloading things and changing extensions from txt to exe would learn their lesson pretty quick.I hope that helps. If someone is a security expert, I hope they might add more to the topic, but those are the risks to the best of my knowledge.
July 25, 2010 at 3:49 pm #86944In reply to: Some questions about BLOG POSTS in BP. Help please
Hugo Ashmore
Participant@r-a-y
@hnla – Just for sanity’s sake, I tried again. This time via “Super Admin > Blogs”. I clicked “Edit”, then added an existing user to the sub-blog that way. Works. Can you check to see your wp_bp_user_blogs table to see if it’s recording anything?May be testing at cross purposes here? Also I t may well be my misunderstanding of things.
It isn’t so much sub blogs issue it’s a general member of the main site BP / WP blog has no means of easily logging in to the dashboard to make a post as a ‘contributor’ or a level elevated from ‘subscriber’ (As was raised by the OP on this thread?) further to that I realised that also there was a similar issue when installing WP as single blog in that users – at any level – had no bp-adminbar links to access the dashboard (normally under ‘My-blogs’) this issue is known but I had to quickly whip up a crude function to test user level and drop a series of dashboard links on to the adminbar if !bp_core_is_multisite() not ideal but functional.
The issue which still puzzles me is that on, for example, a multisite install, no user blogs created; if I take a user and elevate their role to ‘contributor’ or even ‘admin’ they still get no means of logging in to the dashboard, not at least under the my-blogs link (as the super admin gets) Perhaps they were never intended to be able but it does mean an awkward route for them to be able to make a post, in my mind I expected them to receive a link to the main blog under ‘my-blogs’ as the super admin or main admin gets, but it isn’t their blog so they don’t.
I would suppose that a bit of a rewrite of the ‘my-blogs’ function would solve things for both missing link on single installs and for elevated member roles to receive the link as well, I was starting to look at ‘my-blogs’ and adapting it but time is my enemy at the moment.
July 25, 2010 at 1:19 pm #86933In reply to: Some questions about BLOG POSTS in BP. Help please
Andrea Rennick
Participant@ray – i’m thinking of the one under the Dashboard – My sites…
July 24, 2010 at 10:58 pm #86906In reply to: Buddypress Links plugin
Jeff Sayre
ParticipantA plugin’s readme.txt file is your friend. It can answer many of the common questions you may have about a given plugin. Your question is answered on the first sentence of the Installation section.
From the Installation section of the readme.txt file for BuddyPress Links: “Notice: This plugin is under heavy development, and is not recommended for production environments!“
This is the same information that is displayed on the plugin’s page here on BuddyPress or within the WordPress Plugin Repository.
July 22, 2010 at 5:02 pm #86648In reply to: Some questions about BLOG POSTS in BP. Help please
r-a-y
KeymasterHi Andrea, this isn’t true. A bug was fixed a few weeks ago in bp-blogs-classes.php that wasn’t correctly pulling a user’s blogs.
@hnla – Just for sanity’s sake, I tried again. This time via “Super Admin > Blogs”. I clicked “Edit”, then added an existing user to the sub-blog that way. Works. Can you check to see your wp_bp_user_blogs table to see if it’s recording anything?
July 22, 2010 at 4:02 pm #86637In reply to: Some questions about BLOG POSTS in BP. Help please
Andrea Rennick
ParticipantI think the “my blogs” link pulls blogs that the user is an *admin* on, not just ones they have any access level to.
-
AuthorSearch Results