Changeset 427136
- Timestamp:
- 08/22/2011 02:43:26 PM (15 years ago)
- Location:
- xmpp-auth/trunk
- Files:
-
- 4 edited
-
plugged.php (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
-
xmpp-auth.php (modified) (1 diff)
-
xmpp_stanzas.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
xmpp-auth/trunk/plugged.php
r422920 r427136 30 30 * @return string <img> tag for the user's avatar 31 31 */ 32 function get_avatar( $id_or_email, $size = '96', $default = '', $alt = false)32 function get_avatar($id_or_email, $size = '96', $default = '', $alt = false) 33 33 { 34 34 if (!get_option('show_avatars')) -
xmpp-auth/trunk/readme.txt
r426647 r427136 78 78 will be verified by XMPP (but the fields will stay if the user wants to add 79 79 them in). 80 81 Also the new comment field (for JID) is automatically displayed if you use a 82 recent theme (because it uses a function newly added since 3.0). If you don't 83 see the new field after activating, don't panick. 4 solutions: 84 85 1. the simpler: use a more recent theme. The default _twentyten_ and 86 _twentyeleven_ will work perfectly without doing anything; 87 1. if you don't want to change your theme, try to contact the theme writers 88 and ask them if they could not support the generic (and now "adviced") 89 `comment_form()` feature (they will understand); 90 1. you know PHP/HTML and want to do it fast: simply check the file 91 `comments.php` of your theme. and either replace the whole form by this 92 simpler function: `<?php comment_form(); ?>` yourself; 93 1. or if you want to do it manually, add the following code (can be modified, 94 but what matters obviously is the id of the input field): 95 `<p class="comment-form-email"><label for="jid" title="Jabber ID (will not be 96 published)"><?php _e( 'JID' ); ?></label><span class="required">*</span> 97 <input id="jid" name="jid" type="text" value="" size="30" aria-required="true" /> 98 </p>` 99 100 My advice is **obviously** to go for the first and the second solutions. The 101 third one is really when you want to do this fast (but still you should report 102 this to the theme writers for them to update upstream) and the fourth is a 103 last resort if you have some very atypical comment form. 80 104 81 105 = dependencies = … … 197 221 security matters. 198 222 223 = The new "JID" field does not appear in the comment form! = 224 225 You most probably use an outdated theme which does not use recent Wordpress 226 features about commenting (since 3.0). This is not a blocker. See the bottom 227 of the "Installation" tab. I provide the solutions to this issue. 228 199 229 == Screenshots == 200 230 201 1. Visitor post a comment and receive a confirmation request by pop-up through231 1. Visitor posts a comment and receive a confirmation request by pop-up through 202 232 one's IM client (here Psi+). 203 233 2. Configuration page. … … 242 272 == Changelog == 243 273 274 = 0.4 = 275 276 - When login is disabled, login page look is not modified. 277 - When comments is disabled, I still display the JID field, but simply don't 278 process anything and without the '*' of mandatory fields. 279 244 280 = 0.3 = 245 281 … … 272 308 == Upgrade Notice == 273 309 310 = 0.4 = 311 312 274 313 = 0.3 = 275 314 -
xmpp-auth/trunk/xmpp-auth.php
r426647 r427136 57 57 //require_once(dirname(__FILE__) . '/plugged.php'); 58 58 59 load_plugin_textdomain('xmpp-auth', false, basename(dirname(__FILE__)) . '/i18n/'); 60 59 61 ?> -
xmpp-auth/trunk/xmpp_stanzas.php
r426589 r427136 53 53 } // }}} 54 54 55 /** 56 * XEP-0084. 57 */ 58 function subscribe_avatar($params) 59 { 60 } 55 61 56 62 ?>
Note: See TracChangeset
for help on using the changeset viewer.