Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • in reply to: Select ads extra *option #2927
    MaxellMaxell
    Participant

    Thanks Anh, I have updated those 2 files only and it seems to be working. Thanks..
    I will test again with other possibilities and report back..

    regards

    in reply to: Select ads extra *option #2905
    MaxellMaxell
    Participant

    Please download it here. Can I have you email where I can share my customized file. Please remove this link once downloaded.

    regards

    in reply to: WP 4.5 Error - Urgent #2901
    MaxellMaxell
    Participant

    🙁 upgrading.. and testing, have still one error, I have posted in another thread.. need fix for that..

    thanks

    in reply to: Select ads extra *option #2900
    MaxellMaxell
    Participant

    Hi Anh,

    I am upgrading my theme, however I am still using simple SELECT but it still shows an empty <*option></option> at the top, please note that I have not included placeholder.. Please advise..

    regards

    in reply to: WP 4.5 Error - Urgent #2899
    MaxellMaxell
    Participant

    Hi Anh, can you please point out files or which function should I look for, any clue ? I will try to find a solution myself, but I have no idea which PHP / JS files should I look for ?..

    Any help would be highly appreciated. I cant upgrade at this stage because meta boxes if used on hundreds of fields and I can test them all together..

    thanks

    in reply to: WP 4.5 Error - Urgent #2895
    MaxellMaxell
    Participant

    Hi Anh, can you please help here ? I am running out of time.

    thanks

    in reply to: Select ads extra *option #2890
    MaxellMaxell
    Participant

    Hi Ahn,

    I went back to old version I was using, I have hundreds of custom metas, cant make this BIG change quickly. I was using it with simple select..

    regards

    in reply to: WP 4.5 Error - Urgent #2889
    MaxellMaxell
    Participant

    Hi Ahn, I am using: Version: 4.4.2

    The above works fine, but not with WP 4.5 upgrade, if I use it before it works perfectly.. I have also Tabs and Columns plugins...

    regards

    in reply to: Select ads extra *option #2885
    MaxellMaxell
    Participant

    I noticed that we have to add "Placeholder" under select... I have already have hundreds of stuff and added "Default" option with value to 0. How can I avoid this placeholder ? if don't add placeholder, it should NOT add a blank list item in select.

    Secondly, fir file (file_advanced).. I was comparing it like this before:

    if(rwmb_meta("prefix_field_name") != "") // to check if user has select any file (image, video), but not I believe it is an Array, how to check if user has not selected any file ?

    regards

    in reply to: Sidebars Array not loading #1476
    MaxellMaxell
    Participant

    Never mind.. I have found that $wp_registered_sidebars; only works within hooks.. I have found the solution..

    regards

    in reply to: Disable rwmb_meta() on Search Results #1013
    MaxellMaxell
    Participant

    Thanks Anh, I am gonna try it tonight and get back with the results.

    regards

    in reply to: Disable rwmb_meta() on Search Results #1003
    MaxellMaxell
    Participant

    Hi Tan, thanks for the reply.

    The template hierarchy is very complex, I wont be able to explain here, for example it generates external CSS and has all the checks as compared to $smof_data (values from theme admin panel) and rwmb_meta values, and each bit of HTML is almost a template so I cant edit all templates to check if its included in a search result of fetched directly on page/post.

    ... and basically all values from $smof_data array are overwritten as compared to rwmb_meta values..

    and this only happends when I search for any page and any page that has rwmb_meta values, then are overwritten and changes the search page header as well. What I want to do is somehow ignore rwmb_meta values and not overwritten on $smof_data array.

    For this I can only think of 2 options (used in header.php):

    1. if its a search page unset(rwmb_meta()) values, or change values of each keys rwmb_meta(EACH_KEY) = "xxx";

    2. if its a search page, redefine rwmb_meta() values again, or example the SUB HEADER is set to SHOW in $smof_data['show_sub_header'] = "show" and within rwmb_meta("show_sub_header") value is "hide" so I would manually change it to:

    if($smof_data['show_sub_header'] == "show")
        rwmb_meta("show_sub_header") = "show";

    but with second method I get error :
    Fatal error: Can't use function return value in write context

    I need a solution as I completely got stuck, and its almost impossible to goto each function and compare if its being within the search page or the original post/page.

    regards

    in reply to: Column break color picker #457
    MaxellMaxell
    Participant

    ok, I came up with a fix, edit color.css in meta-box main CSS, and add the following lines to fix it..

    .rwmb-color-wrapper .iris-picker  {
    position: absolute;
    background: #ffffff !important;
    border: 1px solid #f8f8f8 !important;
    box-shadow: 0 0 20px rgba(0,0,0,.3);
    -moz-box-shadow:  0 0 20px rgba(0,0,0,.3);
    -webkit-box-shadow:  0 0 20px rgba(0,0,0,.3);
    z-index: 5;
    cursor: ns-resize;
    }

    regards

    in reply to: Column break color picker #456
    MaxellMaxell
    Participant

    Hi Anh, I have download the latest version of metabox, but it remains the same, cleared cache, every possible things, but it remains the same.. its just a matter of CSS, can you please tell me where exactly you modified the code for color-picker so I can see what I can do myself..

     

    regards

    in reply to: Column break color picker #442
    MaxellMaxell
    Participant

    🙂 next 2 months.. lol.. Good..

    Anyways, Thanks.. I will check and get back to you on this..

    cheers

Viewing 15 posts - 1 through 15 (of 17 total)