Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 18 replies - 1 through 18 (of 18 total)
  • This plugin creates a user in WP with subscriber privileges – doesnt even store their email, It DOES NOT create any BP user extra fields or anything, so they do not even show up as real users in BP

    I tried this script http://www.dagondesign.com/articles/import-users-plugin-for-wordpress/all-comments/ and it works great, but only creates WP users – I would like to know how to mod this easily to create BP users also. I just need pointers and I will get to work.

    Thanks

    I think we need a generic importer script that people can modify and use to import users from a csv file or a mysql table. At a bare minimum we need to have username, full name, email etc fields in the data to be imported.

    The script needed should perform all steps performed by BP to create a user, feeds etc.

    The code should all be there, it is probably a question of cut/paste.

    Can someone point me to the files and I can create this.

    If thi sis possible, I will import a bunch of community sites I have on various CMS’ to BP.

    BP is the best of all of them – awesome work.

    I would love to see this too – I tried the plugin on a regular WP blog and works awesome.

    That is cool – I knew they had a “wont break with the next version” convention. Nicola could we please follow the convention – that will ensure the longevity of your work.

    Thanks for all the hard work, sincerely appreciate it.

    YEs – you need to fill ALL fields. A friendly error message would help there – such as please fill all required fields or something as opposed to a generic error

    Sorry – not sure how else I can tell what is wrong without pasting code.

    Is there an alternative way to communicate?

    I was just writing for you so you can make the changes to your current version.

    If you agree that this is a change that needs to be made, please do so.

    Thanks.

    I just updated the post above – moved css lines to css func and js lines to js.

    Lightbox works but the close gif at the bottom does not work yet

    So here are the updated youtube functions

    function youtube_head_load_js() {

    global $bp; ?>

    <!–BPDEV-YOUTUBE PLUGIN LOAD STYLE&CSS–>

    <script type=”text/javascript” src=”<?php echo bloginfo(‘wpurl’).$bp; ?>js/mootools.js”></script>

    <script type=”text/javascript” src=”<?php echo bloginfo(‘wpurl’).$bp; ?>js/swfobject.js”></script>

    <script type=”text/javascript” src=”<?php echo bloginfo(‘wpurl’).$bp; ?>js/videobox.js”></script>

    <!–BPDEV-YOUTUBE PLUGIN LOAD STYLE&CSS–>

    <? }

    function youtube_head_load_css() {

    global $bp; ?>

    <link rel=”stylesheet” href=”<?php echo bloginfo(‘wpurl’).$bp; ?>css/videobox.css” type=”text/css” media=”screen” />

    <link rel=”stylesheet” href=”<?php echo bloginfo(‘wpurl’).$bp; ?>css/style.css” type=”text/css” media=”screen” />

    <? }

    AND the flickr functions

    function flickr_head_load_js() {

    global $bp; ?>

    <!–BPDEV-FLICKR PLUGIN LOAD STYLE&CSS START–>

    <script type=”text/javascript” src=”<?php echo bloginfo(‘wpurl’).$bp; ?>js/prototype.js”></script>

    <script type=”text/javascript” src=”<?php echo bloginfo(‘wpurl’).$bp; ?>js/scriptaculous.js?load=effects,builder”></script>

    <script type=”text/javascript” src=”<?php echo bloginfo(‘wpurl’).$bp; ?>js/lightbox.js”></script>

    <!–BPDEV-FLICKR PLUGIN LOAD STYLE&CSS STOP –>

    <? }

    function flickr_head_load_css() {

    global $bp; ?>

    <link rel=”stylesheet” href=”<?php echo bloginfo(‘wpurl’).$bp; ?>css/lightbox.css” type=”text/css” media=”screen” />

    <link rel=”stylesheet” href=”<?php echo bloginfo(‘wpurl’). $bp; ?>css/style.css” type=”text/css” media=”screen” />

    <? }

    AND the youtube css

    li a#my-youtube, li a#user-youtube {

    background: url(../images/youtube_bullet.gif) 89% 57% no-repeat;

    }

    AND the flickr css

    li a#my-flickr, li a#user-flickr {

    background: url(../images/flickr_bullet.gif) 89% 57% no-repeat;

    }

    And then to keep compatibity the style.css file can just have a relative path

    li a#my-flickr, li a#user-flickr {

    background: url(../images/flickr_bullet.gif) 89% 57% no-repeat;

    }

    instead of a hardcoded absolute path – that works.

    Now however the lightbox is broken – I will try to look into why

    Same goes for the js and other files

    Here is what the problem is, the function should be and otehr fnctions also need the bloginfo(‘wpurl’) variable prepended

    function flickr_head_load_css() {

    global $bp; ?>

    <link rel=”stylesheet” href=”<?php echo bloginfo(‘wpurl’). $bp; ?>css/style.css” type=”text/css” media=”screen” />

    <? }

    Here is the problem, when I look a the HTMl source rendered to the browser I see the path

    <link rel=”stylesheet” href=”/wp-content/mu-plugins/bpdev-flickr/css/style.css” type=”text/css” media=”screen” />

    <link rel=”stylesheet” href=”/wp-content/mu-plugins/bpdev-youtube/css/style.css” type=”text/css” media=”screen” />

    whereas the rest of the buddypress and wordpress links have the whole domain associated with them not just the /wp-content… they have http://domain.com/wp-content

    So, the function <script type=”text/javascript” src=”<?php echo $bp; ?>js/lightbox.js”></script>

    needs to really get the WP domain prepended?

    That is what I did – changed the path to /mysubdir/wp-content/……… – doesnt work.

    Done created a ticket

    Great effort. Almost everything works great.

    For the life of me I cannot seem to display the tiny icon flickr_bullet.gif or the youtube icon on my pages – I modified the css to give it an absolute and relative path (I have BP in a subdirectory so I had to change the path) – nothing happens.

    I have the same problem. I have a subdirectory install and the same happens.

    No htaccess rewrite rules issue – I look at everything.

    One interetsing thing I found is that if I categorized posts and am browsing categories the previous next page works fine, it is only with the blog root pages that I get the 404 error with a “edit this” link on the page

Viewing 18 replies - 1 through 18 (of 18 total)
Skip to toolbar