Jeffrey Roberts

Visitors
  • Content count

    55
  • Joined

  • Last visited


About Jeffrey Roberts

  • Rank
    IPB Member

Contact Methods

Profile Information

  • Location Toronto, Canada

Jeffrey Roberts's Activity

  1. Jeffrey Roberts added a post in a topic: Adding a right sidebar to Forum View   

    Good work on the Topic View!
  2. Jeffrey Roberts added a post in a topic: Adding a right sidebar to Forum View   

    I can't answer about the hooks as I have never built one.
     
    As for on the Topic View, I've never tried that, but I can't see any reason why you shouldn't be able to follow the guidelines in the first post in this topic.
  3. Jeffrey Roberts added a post in a topic: Member database mod for custom field change from a button to a check box   

    This is roughly the sql that you would want to execute:
     
    update ibf_pfields_content
    set field_number='|<value>|'
    where field_number='<value>';
     
    field_number = the field_# that is the pf_id from ibf_fields_data
    value = the string used in the checkbox / button
  4. Jeffrey Roberts added a post in a topic: Member database mod for custom field change from a button to a check box   

    I took a quick look at the tables and figured this out pretty quickly.
     
    You modify the field_<number> in ibf_fields_content by changing the "<value>" to "|<value>|".
     
    ie: You enclose the value with | |
     
    NB:  I opened a support ticket asking for some pointers to this very simple mod and was told that they cannot assist me.  Seriously, this was not rocket science.
  5. Jeffrey Roberts added a post in a topic: Member database mod for custom field change from a button to a check box   

    I have to manually change the member table as I have changed an existing custom field from a button to a check box and now search cannot find the check'ed records.
     
    Does anybody know what actually needs to change for each member that previously had the button selected?
     
    Which table is involved and what kind of MySQL query would I run? 
  6. Jeffrey Roberts added a post in a topic: Member search doesn't see a custom field selection   

    I modified a Custom Field to change it from a Radio Button to a Check Box.  I removed the option "n=No" so now only "y=Yes" exists as the only option.
     
    When I try and search on the Custom Field check box, search only returns members which re-saved their profile which  since I made the change from radio button to a check box.
     
    ie:
     
    http://www.ibsgroup.org/forums/index.php?app=members+
     
    Check the "IBS Penpal - yes" box
     
    Apply Filters
     
    It only returns the Member List with just myself.
     
    Is there a cache that I would need to re-cache for Search to see that the already checked "Yes" should be included in search results or can I touch something in a database table?
     
     
  7. Jeffrey Roberts added a post in a topic: Postings within a topic are not in date order   

    I was told that I could add the following line to conf_global.php and this change worked well for us.
     
    $ INFO [ ' post_order_column ' ] = ' post_date ';
  8. Jeffrey Roberts added a post in a topic: Postings within a topic are not in date order   

    Is this something that can be re-sorted at an enduser level with an option in their settings or does this require a rebuild of all posts from within ACP?
  9. Jeffrey Roberts added a post in a topic: Adding DFP tags to IP Board   

    Use ~/forums/index.php?google_debug for google_debug
     
    I place this in globalTemplate in the <head>
     
    <script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'> </script> <script type='text/javascript'> GS_googleAddAdSenseService("ca-pub-number"); GS_googleEnableAllServices(); </script> <script type='text/javascript'> GA_googleAddSlot("ca-pub-number", "_300x250"); </script>   and place the DFP calls in the System Settings -> System -> Ad Code Integration blocks   ie:   <script type='text/javascript'> GA_googleFillSlot("_300x250"); </script>
  10. Jeffrey Roberts added a post in a topic: Is the More Search Options expanded page directly linkable?   

    I got it!!!
     
    No changes required to the javascript  ~forums/public/js/memberlist.js .  Ignore what I wrote above.
     
    Add this to the top of the member_list_show skin
    <script type='text/javascript'>function getParam ( variable ) {   var query = window.location.search.substring(1);   var vars = query.split("&");   for (var i=0;i<vars.length;i++) {     var pair = vars .split("=");     if(pair[0] == variable){return pair[1];}   }   return(false); } var param = getParam("app"); if (param == "members+") {    var _mytoggle='show();'; } else {    var _mytoggle='hide();'; } </script> and change the line   $('member_filters').hide();   to    eval("$('member_filters')." + _mytoggle);   Here's how to invoke it.   If you want  http://forums/index.php?app=members to display extended More Search Options use the modified url http://forums/index.php?app=members+   ie: add a '+' to the end of the URL
  11. Jeffrey Roberts added a post in a topic: Is the More Search Options expanded page directly linkable?   

    Well, perhaps almost working...
     
    In ~forums/public/js/memberlist.js I added this declaration at the top of the script
     
    var _mytoggle='show();';
     
    In member_list_show skin I changed the line
     
    $('member_filters').hide();
     
    to
     
    eval("$('member_filters')." + _mytoggle);
     
    and
     
    added the following to the <form>
     
    onsubmit="return _mytoggle='hide();'"
     
    I know that this onsubmit isn't correct, but that is essentially what I would like to do.  I have tried to call a function which resets _mytoggle, but that didn't work either.
     
    At this point I am stumped.
  12. Jeffrey Roberts added a post in a topic: Is the More Search Options expanded page directly linkable?   

    I see that I can toggle the #filters by changing the javascript line within the member_list_show skin
     
    $('member_filters').hide();
     
    to
     
    $('member_filters').show();
     
    That works fine; however, I really want to toggle this back to hide() after you submit the form, ie: only show() for the first time you display the page
     
    This is out of my expertise.
     
    Any guidance?
  13. Jeffrey Roberts added a post in a topic: Is the More Search Options expanded page directly linkable?   

    I kind of thought that was the case.
     
    I suppose I can modify the skin to display the element for any member search.
  14. Jeffrey Roberts added a post in a topic: Is the More Search Options expanded page directly linkable?   

    Thanks, but no that didn't work for me.
  15. Jeffrey Roberts added a post in a topic: Is the More Search Options expanded page directly linkable?   

    I have tried to use the URL  ~forums/index.php?app=members#filters, but it does not expand the search page unless I am already on it.
     
    Does anyone know if the expanded page is directly linkable?

About Me

http://www.ibsgroup.org/forums