WordPress.org

Forums

Subscribe To Comments Reloaded
[resolved] issue with checkbox (32 posts)

  1. nagol81
    Member
    Posted 4 years ago #

    Hi,i have this issue whith checkbox see image.

    http://img42.imageshack.us/i/unled2v.jpg/

    what can i do?

    Italian: da quel che ho capito sei italiano. Complimenti per il plugin, come vedi dall'immagine il checkbox è spostato verso destra, e la prima parola inoltre è sposta oltre a destra. Come posso rimediare? Grazie

    http://wordpress.org/extend/plugins/subscribe-to-comments-reloaded/

  2. danielagi
    Member
    Posted 4 years ago #

    Anche io ho avuto lo stesso problema.

  3. camu
    Member
    Plugin Contributor

    Posted 4 years ago #

    Hi there, that's something related to your theme. You can either edit your CSS or add some custom styles using the corresponding option in my plugin's panel.

    Italiano
    Ciao, il problema dipende dal tema che stai usando. Puoi sia modificare il tuo CSS per ridurre la larghezza (width) degli input, o aggiungere una regola nell'apposita opzione nella schermata delle configurazioni.

    Camu

    PS: un voto per il mio plugin sarebbe molto apprezzato!

  4. nagol81
    Member
    Posted 4 years ago #

    And what can i do?

    come si fa? :P Mi dai un piccolo aiuto?

  5. camu
    Member
    Plugin Contributor

    Posted 4 years ago #

    Se mi dai l'indirizzo del blog in questione, posso essere più specifico :)
    O stai chiedendo come si fa... a votare il mio plugin?

    Camu

  6. nagol81
    Member
    Posted 4 years ago #

    Ti ho scritto una mail attraverso il tuo blog :)

    Grazie

  7. camu
    Member
    Plugin Contributor

    Posted 4 years ago #

    Okay prova ad aggiungere questo codice al tuo style.css (nella cartella del tema)

    #subscribe-reloaded{
       width: 20px;
       display: block;
       float: left;
       margin: 0 15px 0 0;
    }

    E non dimenticare un voto per il mio plugin.

    Camu

  8. nagol81
    Member
    Posted 4 years ago #

    doesn't work :(

  9. camu
    Member
    Plugin Contributor

    Posted 4 years ago #

    Some more information would be really helpful ;)

  10. nagol81
    Member
    Posted 4 years ago #

  11. camu
    Member
    Plugin Contributor

    Posted 4 years ago #

    Si, quello l'avevo capito. Ma quale file hai modificato? Quale sarebbe la URL? Che versione del plugin stai usando? Mi farebbe comodo avere più info sul caso specifico per curare il malato ;)

    Camu

  12. camu
    Member
    Plugin Contributor

    Posted 4 years ago #

    Casomai scrivimi in privato...

  13. GuiltyCol
    Member
    Posted 4 years ago #

    Hi Camu, first off thanks for the excellent plugin, your time and effort is appreciated.

    I too am having this problem with a very wide checkbox column in the management screen (I'm using the Thesis Theme) but am struggling to set the CSS (I'm not expert) as there doesn't seem to be a StCR specific class set in the CSS for it, and I don't read Italian is that? See here for the problem and CSS output:

    http://screencast.com/t/MRuAwmiV

    I tried using the CSS you posted above and that had no effect whatsoever. I assume the reason is because #subscribe-reloaded isn't listed as one of the checkbox's ancestors. When I changed your CSS to apply to #subscribe-reloaded-list, it screwed up the display completely.

    I'd appreciate your advice as how to fix this please?

    Many thanks,

    Colin

  14. camu
    Member
    Plugin Contributor

    Posted 4 years ago #

    You can specify some inline CSS in the plugin's options, try with width:30px :)

    Camu

  15. GuiltyCol
    Member
    Posted 4 years ago #

    Hi Camu, thank you for the prompt reply.

    I remember trying to fix this problem before and must have seen your answer previously, because when I went to make the change you suggested, it was already there:

    http://screencast.com/t/wW38tONGs

    Just to be sure, I took it off, saved, then put it back and saved again. I disabled my cache and reloaded the page and got the same result as my original screenshot. I've tried loading that page in firefox and IE and it's the same in both.

    I noticed that that field for inline CSS has moved from the Options tab to the Comments form tab, which I assume is just a cosmetic change? Either way, it doesn't appear to be working. :-/

    Any thoughts?

  16. camu
    Member
    Plugin Contributor

    Posted 4 years ago #

    Hi there,

    do you see the inline code in your html?

  17. GuiltyCol
    Member
    Posted 4 years ago #

    Hi Camu, no it's not there, here's the relevant html snippet:

    <p id="subscribe-reloaded-title-p">Title: <strong>Introductory Post</strong></p><p id="subscribe-reloaded-legend-p">Legend: Y = all comments, R = replies only, C = inactive</p><ul id="subscribe-reloaded-list"><li><strong><input type='checkbox' name='email_list[]' value='blog.test1%40xxxxxxx.com' id='e_0'/></strong>
    				<label for='e_0'><span class='subscribe-column-1'>2011-07-22 11:50:04</span>
    					<span class='subscribe-separator subscribe-separator-1'>&mdash;</span>
    
    					<span class='subscribe-column-2'>Y</span>
    					<span class='subscribe-separator subscribe-separator-2'>&mdash;</span>
    					<span class='subscribe-column-3'>blog.test1@xxxxxxx.com</span></label></li>
    <li><input type='checkbox' name='email_list[]' value='blog.test2%40xxxxxxx.com' id='e_1'/>
    				<label for='e_1'><span class='subscribe-column-1'>2011-07-22 11:50:32</span>
    					<span class='subscribe-separator subscribe-separator-1'>&mdash;</span>
    					<span class='subscribe-column-2'>Y</span>
    
    					<span class='subscribe-separator subscribe-separator-2'>&mdash;</span>
    					<span class='subscribe-column-3'>blog.test2@xxxxxxx.com</span></label></li>
    </ul>
  18. GuiltyCol
    Member
    Posted 4 years ago #

    Ah, I tried to highlight the relevant bit for the checkbox in bold but of course inside the code block, it left the strong tag in. Don't be confused by that strong tag being there, it wasn't in the source code.

    Also width:30px doesn't appear anywhere in the whole html source file.

  19. camu
    Member
    Plugin Contributor

    Posted 4 years ago #

    Can you post a screenshot of your options, please?

  20. GuiltyCol
    Member
    Posted 4 years ago #

    Sure, here's the Comment form tab, where the inline CSS for the checkbox is: http://screencast.com/t/UxUjMpTAFSb

    And in case you need it, here's the options tab: http://screencast.com/t/cRCC0unVsmXk

  21. camu
    Member
    Plugin Contributor

    Posted 4 years ago #

    Do you have qTranslate enabled on your site?

  22. GuiltyCol
    Member
    Posted 4 years ago #

    No I don't. This is my complete list of active plugins:

    Akismet
    Amazon Affiliate Link Localizer
    FeedBurner FeedSmith
    Flash Video Player with HTML5
    Google Analyticator
    Google Custom Search
    Google XML Sitemaps
    Maintenance Mode
    MapPress Easy Google Maps
    Permalink Redirect
    Register Plus
    Social Media Widget
    Subscribe to Comments Reloaded
    WordPress Database Backup
    WP Super Cache
    WPvideo
    WyPiekacz

    If you're willing, if you give me an email address Camu (why is there no private message facility on this forum?!?) I can email you my test site's details.

  23. camu
    Member
    Plugin Contributor

    Posted 4 years ago #

    Okay cool. What's the value for the option Custom HTML under the second tab?

  24. GuiltyCol
    Member
    Posted 4 years ago #

    It's empty. See screen shots of all the setup pages:

    Comment Form

    Management Page

    Notifications

    Options

  25. camu
    Member
    Plugin Contributor

    Posted 4 years ago #

    I guess in your case the only way to fix it is to add something to your CSS. But it depends on how your theme was built. You should contact those who developed it.

    Camu

  26. GuiltyCol
    Member
    Posted 4 years ago #

    So what do you think the problem is camu? Do you think the Thesis Theme is interfering with the CSS your plugin is trying to produce? I'll try a different theme and see if that works.

  27. GuiltyCol
    Member
    Posted 4 years ago #

    Ok, I just tried changing to the new WordPress default "Twenty Eleven 1.1" and the management page looks fine:

    http://screencast.com/t/MN6jZB8KoDWo

    BUT the custom inline CSS width:30px is still not in the source:

    <form action="/blog/2011/04/08/comment-subscriptions/?srp=5" method="post" id="email_list_form" name="email_list_form" onsubmit="if(this.sra[0].checked) return confirm('Please remember: this operation cannot be undone. Are you sure you want to proceed?')">
    <fieldset style="border:0">
    <p id="subscribe-reloaded-title-p">Title: <strong>Introductory Post</strong></p><p id="subscribe-reloaded-legend-p">Legend: Y = all comments, R = replies only, C = inactive</p><ul id="subscribe-reloaded-list"><li><input type='checkbox' name='email_list[]' value='blog.test1%40xxxxxx.com' id='e_0'/>
    				<label for='e_0'><span class='subscribe-column-1'>2011-07-22 11:50:04</span>
    
    					<span class='subscribe-separator subscribe-separator-1'>&mdash;</span>
    					<span class='subscribe-column-2'>Y</span>
    					<span class='subscribe-separator subscribe-separator-2'>&mdash;</span>
    					<span class='subscribe-column-3'>blog.test1@xxxxxx.com</span></label></li>
    <li><input type='checkbox' name='email_list[]' value='blog.test2%40xxxxxx.com' id='e_1'/>
    				<label for='e_1'><span class='subscribe-column-1'>2011-07-22 11:50:32</span>
    					<span class='subscribe-separator subscribe-separator-1'>&mdash;</span>
    					<span class='subscribe-column-2'>Y</span>
    
    					<span class='subscribe-separator subscribe-separator-2'>&mdash;</span>
    					<span class='subscribe-column-3'>blog.test2@xxxxxx.com</span></label></li>
    </ul><p id="subscribe-reloaded-select-all-p"><a class="subscribe-reloaded-small-button" href="#" onclick="t=document.forms['email_list_form'].elements['email_list[]'];c=t.length;if(!c){t.checked=true}else{for(var i=0;i<c;i++){t[i].checked=true}};return false;">Select all</a> <a class="subscribe-reloaded-small-button" href="#" onclick="t=document.forms['email_list_form'].elements['email_list[]'];c=t.length;if(!c){t.checked=!t.checked}else{for(var i=0;i<c;i++){t[i].checked=false}};return false;">Invert selection</a></p><p id="subscribe-reloaded-action-p">Action:
    			<input type="radio" name="sra" value="delete" id="action_type_delete" /> <label for="action_type_delete">Delete</label> &nbsp;&nbsp;&nbsp;&nbsp;
    			<input type="radio" name="sra" value="suspend" id="action_type_suspend" checked="checked" /> <label for="action_type_suspend">Suspend</label> &nbsp;&nbsp;&nbsp;&nbsp;
    
    			<input type="radio" name="sra" value="force_y" id="action_type_force_y" /> <label for="action_type_force_y">Set to Y</label> &nbsp;&nbsp;&nbsp;&nbsp;
    			<input type="radio" name="sra" value="activate" id="action_type_activate" /> <label for="action_type_activate">Activate</label></p><p id="subscribe-reloaded-update-p"><input type="submit" class="subscribe-form-button" value="Update subscriptions" /><input type="hidden" name="srp" value="5"/></p></fieldset>
    </form>
  28. camu
    Member
    Plugin Contributor

    Posted 4 years ago #

    No wait, there's a little misunderstanding here, my fault. The inline CSS is only applied to the checkbox shown to the user TO SUBSCRIBE, not in the management page. In this case you should rely on your CSS only, using the ID's and classes assigned to each element of this page.

    Camu

  29. GuiltyCol
    Member
    Posted 4 years ago #

    Ah I see. The main problem is that there is no class applied to the checkbox by your plugin though. There's a class for all the columns and separators, but nothing on the checkbox for me to hang any CSS off.

  30. camu
    Member
    Plugin Contributor

    Posted 4 years ago #

    In CSS you don't need a class for everything, you can also use tag names :)

    #subscribe-reloaded-list input[type=checkbox]{width:30px}

    Cheers,
    Camu

    PS: a vote for my plugin would be a nice way to say thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Subscribe To Comments Reloaded
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic