Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 44 total)
  • @christophg

    Member

    A thought for you @embergermedia, Remember my ratings code that i gave you earlier in this conversation? You said it couldn’t work for you unless you could make it apply to existing members too. I think i can make this happen. First you could change the code so it doesn’t create the new page at registration but rather upon joining a curtain group. Then, using the “auto join” plugin, simply cause all members to join the group. It would have to be done in that order but should get the job done and the changes in the ratings plugin should be simple enough. That being said you could probably get specific and have only a curtain group that gets rated and invite all of your “brand” customers to that group. I MIGHT use this functionality as well so let me know what you think.

    @christophg

    Member

    Hey @embergermedia,
    As usual your advise dose not disappoint! I’m in the process of moving and also the creation of s second business site so as soon as I can I’ll give you an update on how it all works out! Ill also continue to mull over your problem and see if I can help at all! Talk to you soon!

    @christophg

    Member

    did i perhaps not phrase the conditional correctly? been looking but cant find the answer.

    @christophg

    Member

    I believe you would have to give them some administrative rights. Try one of the role defining plugins that let you dictate EXACTLY what each user role is capable of. Try “Capability Manager”, if i recall it is pretty good.

    @christophg

    Member

    You may wanna look into the “Desplay widgets” plugin at http://strategy11.com/display-widgets/. Lets you decide which widget will show up on which page.

    @christophg

    Member

    Anyone have ANY theories at all???

    @christophg

    Member

    Hey @embergermedia thought you might like to know that BP Profile Manager (developed by elgunvo) does a great job at hiding profile components based on S2member levels. This may resolve your IE problems.

    @christophg

    Member

    im sorry, I lied. The original file was:

    `add_action ( ‘user_register’, ‘create_feedback_page’ );

    function create_feedback_page($user_id){

    $user_info = get_userdata($user_id);`

    and i changed that to:

    `add_action ( ‘user_register’, ‘create_feedback_page’ );

    function create_feedback_page(){

    if (!current_user_can(‘access_s2member_level1’))

    create_feedback_page($user_id);

    $user_info = get_userdata($user_id); }`

    sorry for the double post.

    @christophg

    Member

    Thanks @pcwriter! It worked!…sort of… Is there a way to completely remove their profile that you know of? As of now that code removes the level “0” users ability to change their profile. If they click “edit profile” it sends them to a page that says “The page isn’t redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    This problem can sometimes be caused by disabling or refusing to accept
    cookies.”

    Any ideas?

    @christophg

    Member

    @embergermedia , Thanks a lot for this! I have been crazy busy with paying jobs but I will be trying your solution out within the next few days. I appreciate you taking the time to post this! I’ll let you know how it goes!

    @christophg

    Member

    Ok i have the feedback page working pretty well. Now @embergermedia had mentioned trying to frame this post right on the users profile page. Anyone know how to go about that?

    @christophg

    Member

    Sweet thanks! BTW i got that feedback code i gave you to work. I just cleaned it up a bit and BAM it worked, but only with new members. This is fine for me because im still in beta and the only members I have are test members. Hopefully it can help, here is the code:

    `<?php
    /*
    Plugin Name: User Feedback Page
    Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
    Description: Creates a post for each user on registration to which other members may add comments to. The new post is titled with the user’s login name for easy linking from user profiles. Check out the plugin CMS Press for creating your custom post type. Idea by justbishop, code HEAVILY guided by templaedhel (thanks again!)
    Version: 0.0.1
    Author: templaedhel, justbishop
    Author URI: http://thingscosmomakes.com/, http://www.clothunderground.com
    License: GPL2
    */

    add_action ( ‘user_register’, ‘create_feedback_page’ );

    function create_feedback_page($user_id){

    $user_info = get_userdata($user_id);

    $new_post = array(
    ‘comment_status’ => ‘open’,
    ‘post_title’ => $user_info->user_login,
    ‘post_content’ => ‘Read what others have to say about us! If we have worked with you please feel free to rate our performance!’,
    ‘post_status’ => ‘publish’,
    ‘post_date’ => date(‘Y-m-d H:i:s’),
    ‘post_author’ => ‘1’,
    ‘post_type’ => ‘feedback’ );
    $post_id = wp_insert_post($new_post);
    }
    ?>`

    @christophg

    Member

    You’re a genius! I would love details if you could spare them!

    @christophg

    Member

    On this same vein, can I make free members get a different registration form. Lets say with just the “base” profile fields to fill out for my records?

    @christophg

    Member

    I am having the same problem with it currently. It says no post exists when I follow the link. I think the framework for it is good though so I will play with it a bit and see what I can do.
    I feel you man, paying work comes first. Hopefully this internet business will be up and running though so I can work from home!
    Say, you wouldn’t have any thoughts on how to facilitate multiple registration forms that are compatible with buddypress but use S2members membership levels to decide which registration form to go to? Just a shot in the dark lol.

    @christophg

    Member

    Well I actually found a plugin file for just that purpose! it was created by justbishop.

    `<?php
    /*
    Plugin Name: User Feedback Page
    Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
    Description: Creates a post for each user on registration to which other members may add comments to. The new post is titled with the user’s login name for easy linking from user profiles. Check out the plugin CMS Press for creating your custom post type. Idea by justbishop, code HEAVILY guided by templaedhel (thanks again!)
    Version: 0.0.1
    Author: templaedhel, justbishop
    Author URI: http://thingscosmomakes.com/, http://www.clothunderground.com
    License: GPL2
    */

    add_action ( ‘user_register’, ‘create_feedback_page’ );

    function create_feedback_page($user_id){

    $user_info = get_userdata($user_id);

    $new_post = array(
    ‘comment_status’ => ‘open’, /* important, probably shouldn’t change */
    ‘post_title’ => $user_info->user_login, /* titles the post */
    ‘post_content’ => ‘Read what others have to say about us! If we have worked with you please feel free to rate our performance!’,
    ‘post_status’ => ‘publish’, /* go ahead and publish, right? */
    ‘post_date’ => date(‘Y-m-d H:i:s’), /* Just the timestamp */
    ‘post_author’ => ‘1’, /* ID of author. Set to admin to prevent users from editing the feedback comments on themselves */
    ‘post_type’ => ‘feedback’, /* name of custom post type (must be created first) */
    );
    $post_id = wp_insert_post($new_post);
    }
    ?>`

    @christophg

    Member

    Yea the unlimited thing is not so pretty… You could try taking apart the “Rate Forum Posts” plugin. It only allows one per user. Alas I cannot be of too much cookie help there as I don’t know the topic well enough but I will continue to think on this problem.

    As for displaying the content in a frame, I like it! i shall look into how to go about coding that unless you have a thought?

    @christophg

    Member

    ooh good stuff I really look forward to seeing what you come up with! As far as displaying it on the profile pages, I haven’t looked into that yet. My initial idea is the first i mentioned in which it will be on a separate “page” (post) and so the GDstar plugin would take care of that. All I would really need is to link it to each profile page by adding it to the member-header.php

    @christophg

    Member

    There may be possibility of the blending of the two? Some way to code in a section right on the profile page for feedback and hotwire a plugin to do all the rating?

    @christophg

    Member

    oh same here and thus the wall I have hit. Although they wouldn’t be as pages on the site but post entries and so wouldn’t clutter up the back end. I also need to see if it would conflict with weather or not you give posting rights to the members. My site is user content driven so I’m not worried but I’m not sure what you got going on.It would be nice to perhaps add commenting to the page too so people could rate and leave a comment. This would be standard functionality of wordpress too though right?

    @christophg

    Member

    Good plan! I was looking into using CMS Press and create a “feedback” custom post type. Then having a post auto created for every member upon registration and make it look like a page attatched to their profile called “rating” or “feedback”. Then I would use the gdstar rating plugin and specify the post type I created. Members would in essence just be rating a post but it should come across as a “feedback” page.

    @christophg

    Member

    @embergermedia Let me know what rout your thinking of taking and perhaps we could put our heads together and find a solution. I have been working on an idea but have hit a wall and maybe between the two of us we will be able to fill the gaps

    @christophg

    Member

    Seems like the right direction! Thank you for the advice! Now…. how would I go about changing this to work? I’m sorry but my skills aren’t really up to par with the task I fear. I will give it a shot but any help would be much appreciated! I know others have been looking for this functionality and have as yet not found it so It is all around a good project to pay attention to. Thanks in advance!

    @christophg

    Member

    OK, so I’m sure I’m just a flippin moron but I can’t get this to work. Where am I supposed to put the style changes “.member-account .padder {margin-right: 0;}”? I tried adding it to my style.css but that did nothing. I then put it in my layout.css and still nothing. Sorry i’m THICK HEADED! Thank you for your patience and help.

    @christophg

    Member

    Thanks! I have a child page all set up and will try this bit out tomorrow! I really appreciate the guidance!

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