Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 77 total)
  • @trcwest

    Participant

    @Lance Willett Thanks for the update in the codex post..

    I have updated things in bp-custom.php and its working like a treat.

    Thanks again.

    @trcwest

    Participant

    I also want to do the same thing and link the users profile to the comments they make on blog posts.

    My memebers are called spotters!

    In what file or page Do i put this link in? is it comments.php or something similar in my wp theme?

    So basically how do i impliment it in so that when a user makes a comment it links to their profile

    http://spotskenya.com/spotters/< ?php echo the_author_login(); ?>/

    @trcwest

    Participant

    This works great for me.. Redirects people who click on yoursite.com/groups/…. to my signup.php (change where you want to go) the directory for the groups will show

    but strangely its is different for the members urls.. even the members directory redirects to my signup.php

    1) can the members directory be visible but not anything after that?? like the groups.

    2) can any one surgest a nice else or other statment that gives a message on the actual page saying something like you have to login or sign up to do this.

    <?php

    function oci_restrict_access(){

    global $bp, $bp_unfiltered_uri;

    if (!is_user_logged_in() &&

    (BP_MEMBERS_SLUG == $bp_unfiltered_uri[0] && !empty( $bp->current_action ) ||

    BP_GROUPS_SLUG == $bp->current_component && !empty( $bp->current_action ))){

    bp_core_redirect(get_bloginfo(‘siteurl’) . ‘/signup.php’);

    //bp_core_redirect(get_bloginfo(‘siteurl’) . ‘/wp-login.php?redirect_to=’ . urlencode( $bp->root_domain ));

    }

    }

    add_action( ‘wp’, ‘oci_restrict_access’, 3 );

    ?>

    @trcwest

    Participant

    Yes i tried burtadsits code in my bp-custom.php but no joy.. just get a few php errors in my header..

    Warning: Cannot modify header information – headers already sent by (output started at /home/ourbour/spotskenya/wp-content/plugins/buddypress/bp-custom.php:9) in /home/ourbour/spotskenya/wp-content/plugins/wordpress-mobile-plugin/wordpress-mobile.php on line 1658

    Warning: Cannot modify header information – headers already sent by (output started at /home/ourbour/spotskenya/wp-content/plugins/buddypress/bp-custom.php:9) in /home/ourbour/spotskenya/wp-content/plugins/wordpress-mobile-plugin/wordpress-mobile.php on line 1659

    Warning: Cannot modify header information – headers already sent by (output started at /home/ourbour/spotskenya/wp-content/plugins/buddypress/bp-custom.php:9) in /home/ourbour/spotskenya/wp-content/plugins/wordpress-mobile-plugin/wordpress-mobile.php on line 1660

    Is there anything else that could do this.. im sure i ahve come accros a plugin from nicola??

    i also tried Mspecht one in <?php ?> but it didnt work either??

    @trcwest

    Participant

    I have put recaptcha in mu plugins and i can see it bellow the user name and email.. but it does not process it it just lets anyone through no mater what they type.??

    has any got any thoughts.. i assume its because the bp side of the form process is different to the wp side and its not working..

    what do people do for spam then??

    @trcwest

    Participant

    i am getting this error now even though i have the latest svn and the latest index.php in directory/members

    Warning: implode() [function.implode]: Invalid arguments passed in /home/ourbour/spotskenya/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-templatetags.php on line 230

    What spots?

    could it be something to do with the fact that i ahve now disabled the function and its getting confused.. ??

    @trcwest

    Participant

    i also have the line 528″ error.. i remember there there being a fix but i could find it.. ??

    @trcwest

    Participant

    does this plugin still work with the latest wpmu 2.7.1 and bp rc 02 as i cant see it in plugins menu

    is it meant to now go in plugins/buddypress

    ??

    @trcwest

    Participant

    ok well after a long day and implimenting teh new rc 02 my direct messages option is still faulty..

    after allot of testing with burtadsit he found that its probably a sesions issue and to do with the fact that i have so many test accounts and constantly going in and out of all of them is confusing bp…

    we tested exactely the same account and he could send messages from it… BUT when i tried it jidnt work just returned to the compose page…

    what is good is that i think most users will be able to email if they dont have multiple accounts but i need to test this.. BUT i cant email any one back…

    here are some key comments by burtadsit can any one else think what it may be…

    burtadsit: i\’m still thinking it\’s a session problem. same user, same browser, same session then problem

    burtadsit: either session cookies in the browser, or sessions in linux

    burtadsit: it goes by user and browser. i think. the session \’key\’ is composed of a unique combo of things for that user login. same user, same browser, same session and failure along the way

    has any one else got any thoughts..

    @trcwest

    Participant

    FIXED this worked for me..

    <?php

    define( ‘BPLANG’, ‘spots’ );

    if ( file_exists( ABSPATH . PLUGINDIR . ‘/buddypress/bp-languages/buddypress-‘ . BPLANG . ‘.mo’ ) ) {

    load_textdomain( ‘buddypress’, ABSPATH . PLUGINDIR . ‘/buddypress/bp-languages/buddypress-‘ . BPLANG . ‘.mo’ );

    }

    ?>

    @trcwest

    Participant

    now that its changed to plugins does the code in bp-custom change to this

    <?php

    define( ‘BPLANG’, ‘spots’ );

    if ( file_exists( ABSPATH . PLUGINDIR . ‘buddypress/bp-languages/buddypress-‘ . BPLANG . ‘.mo’ ) ) {

    load_textdomain( ‘buddypress’, ABSPATH . PLUGINDIR . ‘buddypress/bp-languages/buddypress-‘ . BPLANG . ‘.mo’ );

    }

    ?>

    @trcwest

    Participant

    Yes sorry i missed the first post instructions….

    I will follow the instructions once i have 2.7.1 implimented this…

    svn co http://svn.automattic.com/wordpress-mu/branches/2.7

    BUT HOW… do i impliment this svn on top of my current stable wpmu 2.7 from zip…

    what i mean is how do i sortof upgrade my current “current stable wpmu 2.7 from zip” to this the wpmu branch 2.7.1 from snv …current stable wpmu 2.7 from zipsvn co http://svn.automattic.com/wordpress-mu/branches/2.7

    does that make sense?

    @trcwest

    Participant

    Ok so i just uploaded my svn and it has messed up a few things like the admin bar is displaying funny on the bottom and my profile nav buttons and options nave buttons are now displaying funny..

    Currently i am runing bp 1309 and a stable zip uploaded wpmu 2.7

    My site Spots kenya is part of a final year degree project and so its quite important that when i reach the handin (May 15) it is fairly stable.

    The question I have are these..

    1) Should i revert back to a svn previous to 1303 and just work with that or…

    2) Should i start from scratch quite literally… I have no users at the moment so my database can be scrapped.

    3) if i start from scratch i assume that i…. c o svn.automattic.com/wordpress-mu/trunk/ into what a) my root OR b) a folder eg wpmu then transfer the files to spotskenya base or root. c)

    4) once i have wpmu running perfectly i can then

    a) co svn.buddypress.org/trunk/ to say /wp-content/buddy press

    b) use symbolic links to /wp-content/plugins —- guide here ( https://codex.buddypress.org/developer-docs/installing-through-svn/) which needs to be updated to plugin btw.

    c) or just transfer (which will not update latest svn changes.

    5) Re upload my bp-spotskenya-theme to /wp-content/bp-themes/ (WHAT CHANGES NEED TO BE MADE THE THEM ?)

    Anything that i ahve missed?? Please say…

    Sorry if this is all really basic but i am learning as i go but really do need to get it right as its quite a chunk of my degree..

    thanks so much..

    @trcwest

    Participant

    @Nicola I have completely removed bpdev from my server

    @Lance I assume you mean all mu plgins.. apart from bp ones or do you mean all even the normal plugins?

    Sadly it is still not working and i just dont have the knowledge to look at the code can any one advise.. same issue loged on and i go to messages then i compose and i enter the friend and it finds it then i write a mesage then i hit send and it just returns to the compose page with no messages erorr or anything??

    here is my raw acces logs straight after i tried to send a message…

    196.202.208.185 – – [04/Apr/2009:04:13:42 -0700] “GET /spotters/support/messages HTTP/1.1” 200 18209 “http://spotskenya.com/spotters&#8221; “Opera/9.64 (Macintosh; Intel Mac OS X; U; en) Presto/2.1.1”

    196.202.208.185 – – [04/Apr/2009:04:13:49 -0700] “GET /spotters/support/messages/compose HTTP/1.1” 200 19399 “http://spotskenya.com/spotters/support/messages&#8221; “Opera/9.64 (Macintosh; Intel Mac OS X; U; en) Presto/2.1.1”

    196.202.208.185 – – [04/Apr/2009:04:13:51 -0700] “GET /wp-content/mu-plugins/bp-messages/js/autocomplete/init.php?ver=2.7 HTTP/1.1” 200 400 “http://spotskenya.com/spotters/support/messages/compose&#8221; “Opera/9.64 (Macintosh; Intel Mac OS X; U; en) Presto/2.1.1”

    196.202.208.185 – – [04/Apr/2009:04:14:04 -0700] “GET /spotters HTTP/1.1” 200 29361 “http://spotskenya.com/spotters/support/messages/compose&#8221; “Opera/9.64 (Macintosh; Intel Mac OS X; U; en) Presto/2.1.1”

    196.202.208.185 – – [04/Apr/2009:04:14:20 -0700] “GET /wp-content/mu-plugins/bp-core/images/mystery-man.jpg HTTP/1.1” 200 1764 “http://spotskenya.com/spotters&#8221; “Opera/9.64 (Macintosh; Intel Mac OS X; U; en) Presto/2.1.1”

    196.202.208.185 – – [04/Apr/2009:04:14:25 -0700] “GET /spotters/twesty/ HTTP/1.1” 200 23281 “http://spotskenya.com/spotters&#8221; “Opera/9.64 (Macintosh; Intel Mac OS X; U; en) Presto/2.1.1”

    196.202.208.185 – – [04/Apr/2009:04:14:30 -0700] “GET /spotters/support/messages/compose/?r=twesty HTTP/1.1” 200 19837 “http://spotskenya.com/spotters/twesty/&#8221; “Opera/9.64 (Macintosh; Intel Mac OS X; U; en) Presto/2.1.1”

    196.202.208.185 – – [04/Apr/2009:04:14:33 -0700] “GET /wp-content/mu-plugins/bp-messages/js/autocomplete/init.php?ver=2.7 HTTP/1.1” 200 400 “http://spotskenya.com/spotters/support/messages/compose/?r=twesty&#8221; “Opera/9.64 (Macintosh; Intel Mac OS X; U; en) Presto/2.1.1”

    196.202.208.185 – – [04/Apr/2009:04:14:52 -0700] “POST /spotters/support/messages/compose HTTP/1.1” 200 19399 “http://spotskenya.com/spotters/support/messages/compose/?r=twesty&#8221; “Opera/9.64 (Macintosh; Intel Mac OS X; U; en) Presto/2.1.1”

    196.202.208.185 – – [04/Apr/2009:04:14:56 -0700] “GET /wp-content/mu-plugins/bp-messages/js/autocomplete/init.php?ver=2.7 HTTP/1.1” 200 400 “http://spotskenya.com/spotters/support/messages/compose&#8221; “Opera/9.64 (Macintosh; Intel Mac OS X; U; en) Presto/2.1.1”

    74.63.11.92 – – [04/Apr/2009:04:15:07 -0700] “HEAD /wp-cron.php?check=511baa707bb12ab3ce7a315f6d6e11fd HTTP/1.0” 200 – “-” “WordPress/2.7”

    196.202.208.185 – – [04/Apr/2009:04:15:05 -0700] “GET /feed/atom/ HTTP/1.1” 304 – “-” “Apple-PubSub/65.6”

    196.202.208.185 – – [04/Apr/2009:04:15:11 -0700] “GET /feed/ HTTP/1.1” 304 – “-” “Apple-PubSub/65.6”

    @trcwest

    Participant

    its not working again…

    MY messaging service has died… i cant send any messages to any memebers from about 4 test acounts that i have tried which is all… .. i remember it working a few days ago but i have put some bdev plugins on and put the latest bp svn up…

    PLEASE help

    @trcwest

    Participant

    cool cool i have got it all working now.. thanks Lance

    @trcwest

    Participant

    is this plugin in working with the latest trunk???

    i see from your site @Egerrits that the latest version will not but is bp-events 0.54 workin?

    @trcwest

    Participant

    I am also looking to integrate google maps with the groups so that some one can effectively geotag a group and it show up on a google map.. ??

    any thoughts…

    @trcwest

    Participant

    hi lance.. yes it is working i sent you a direct message from “twesty test account”… did you get it?

    for some strange reason when i am logged on as admin it doesnt send messages

    @trcwest

    Participant

    sounds good.. it would be good to try this if someone has it set up… just to see how it work..ss

    so please POST a LINK

    @trcwest

    Participant

    @Lance Willett

    Thanks a few questions if you dont mind… my replies below your pont

    ********

    1. First I opened the POT file, copied it to a .po version, and then made the changes I wanted in a text editor (most with search and replace, but also had to do some new lines by hand).

    *******

    Yes i have started doing this with poedit and i have now looked at doing this with text editor.. so once i have changed all groups to spots etc ill be ready with the .po and .mo file….

    **********

    2. I uploaded the .po file to my web server, and ran this from a command line:

    *********

    where do i upload the .po file to??

    msgfmt -o buddypress-spots.mo buddypress-spots.po

    **********

    What directory to i run this command in.. in the bas root one of the site or in /wp-content/

    or /wp-content/mu-plugins/

    ???

    what does this command do exactely

    ******

    4. Then I went into wp-content/mu-plugins/bp-languages and added the spots.mo file there.

    ********

    did you mean.. “and added the buddypress-spots.mo file there…”

    ___________________

    I too think that this is better long term as if each time i update it will nock out my changed files…

    QUESTION the things i have defined…

    define( ‘BP_GROUPS_SLUG’, ‘spots’ );

    define( ‘BP_MEMBERS_SLUG’, ‘spotters’ );

    i have already set up in wp-config.php will this clash with what you have said to doo..

    thanks so much

    @trcwest

    Participant

    its all good… i have sorted it by creating a duplicate wp-config file then deleting the orriginal then renaming duplicate.. ….

    I am working on getting the theme intergrated.

    @trcwest

    Participant

    i cant seem to edit my wp-config.php [spotskenya/wp-config.php] it says that i dont have permisions and even on the server side under cpannel it doesnt let me edit it i ahve tried setting permissions of it but they just revert back to 644 each time… its really strange and rather frustrating as i cant impliment the

    define( ‘BP_GROUPS_SLUG’, ‘spots’ );

    define( ‘BP_MEMBERS_SLUG’, ‘spotters’ );

    is this something i can fix or will i have to contact my server people??

    @trcwest

    Participant

    Q1) Latest Buddypress Trunk or MU Trunk … I assume buddypress… i have it running of the latest buddypress svn ?

    Q2) where do i put these in my wp-config.php [spotskenya/wp-config.php]

    define( ‘BP_GROUPS_SLUG’, ‘spots’ );

    define( ‘BP_MEMBERS_SLUG’, ‘spotters’ );

    ?

    Q3) “Then just edit the other names in the actual template files, there is nothing wrong with that. The template is meant to be edited. “

    what is the template files? are they the core things in [spotskenya/wp-content/mu-plugins/] or in the theme????

    wont this take ages and be harder to do than the language thing??

    Sorry for all the basic simple questions

    @trcwest

    Participant

    UPDATE

    I ahve managed to use poedit and i have started translating… I am going to do it on my flight tonight but between now it would be good to know how to impliment the .mo

    basically i have spotlish.mo and i want to impliment it as a language…

Viewing 25 replies - 26 through 50 (of 77 total)
Skip to toolbar