Subida a producción de la maqueta
git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@6 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
03b6a342ad
commit
768dbe0a2d
1
migracion.sql
Normal file
1
migracion.sql
Normal file
@ -0,0 +1 @@
|
||||
UPDATE wp_posts SET guid = replace(guid, 'http://127.0.0.1:4001/wordpress','http://www.maquetaweb.ws/asong2u');
UPDATE wp_posts SET post_content = replace(post_content, 'http://127.0.0.1:4001/wordpress', 'http://www.maquetaweb.ws/asong2u');
UPDATE wp_posts SET guid = REPLACE (guid, 'http://127.0.0.1:4001/wordpress', 'http://www.maquetaweb.ws/asong2u') WHERE post_type = 'attachment';
UPDATE wp_postmeta SET meta_value = replace(meta_value, 'http://127.0.0.1:4001/wordpress', 'http://www.maquetaweb.ws/asong2u');
UPDATE wp_options SET option_value = replace(option_value, 'http://127.0.0.1:4001/wordpress', 'http://www.maquetaweb.ws/asong2u') WHERE option_name = 'home' OR option_name = 'siteurl';
/* Borrar revisiones */
DELETE a,b,c FROM wp_posts a
LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id)
LEFT JOIN wp_postmeta c ON (a.ID = c.post_id)
WHERE a.post_type = 'revision';
TRUNCATE `wp_bp_activity` ;
TRUNCATE `wp_bp_activity_meta` ;
TRUNCATE `wp_bp_friends` ;
TRUNCATE `wp_bp_groups` ;
TRUNCATE `wp_bp_groups_groupmeta` ;
TRUNCATE `wp_bp_xprofile_data`;
|
||||
102
wp-config.php.produccion
Normal file
102
wp-config.php.produccion
Normal file
@ -0,0 +1,102 @@
|
||||
<?php
|
||||
/**
|
||||
* The base configurations of the WordPress.
|
||||
*
|
||||
* This file has the following configurations: MySQL settings, Table Prefix,
|
||||
* Secret Keys, WordPress Language, and ABSPATH. You can find more information
|
||||
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
|
||||
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
|
||||
*
|
||||
* This file is used by the wp-config.php creation script during the
|
||||
* installation. You don't have to use the web site, you can just copy this file
|
||||
* to "wp-config.php" and fill in the values.
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
|
||||
// ** MySQL settings - You can get this info from your web host ** //
|
||||
/** The name of the database for WordPress */
|
||||
define('DB_NAME', 'maqueta_asong2u_wp');
|
||||
|
||||
/** MySQL database username */
|
||||
define('DB_USER', 'maqueta_asong2u');
|
||||
|
||||
/** MySQL database password */
|
||||
define('DB_PASSWORD', '!B{cd&HF{es2');
|
||||
|
||||
/** MySQL hostname */
|
||||
define('DB_HOST', 'localhost');
|
||||
|
||||
/** Database Charset to use in creating database tables. */
|
||||
define('DB_CHARSET', 'utf8');
|
||||
|
||||
/** The Database Collate type. Don't change this if in doubt. */
|
||||
define('DB_COLLATE', '');
|
||||
|
||||
/**#@+
|
||||
* Authentication Unique Keys and Salts.
|
||||
*
|
||||
* Change these to different unique phrases!
|
||||
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
|
||||
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
define('AUTH_KEY', 'txPbG1kD #Ay;{|ko3|os}xWE]o:DZIq&yO=7^uAPJru0W(ioe)!pciD@Z1-?*eu');
|
||||
define('SECURE_AUTH_KEY', 'dFJ&+W{4oJ@yMw:N}|Dqy4TL1 *YJMaST]M92|+1y@X%-aTWWmNM.g<7Wf#9dK(p');
|
||||
define('LOGGED_IN_KEY', 'sI6-[O=u%51D;I)lWN+7W$nJdd.D0O6@rJ8OuD&IGGQR)S$E`=o-/Au</1BRBeHF');
|
||||
define('NONCE_KEY', 'diQD2McXFZKD4PyHi:LU8``TVJg1->4HFV6$74-N!x997-C&PSVFd|n~r/bmlw[g');
|
||||
define('AUTH_SALT', 'h@sB31$fnriw<IN>}GY)D~ldC/& -U7c_#E3t+I@8kd)P2G{x/S[WJs!kD?U6q0D');
|
||||
define('SECURE_AUTH_SALT', '?>|D!R!lhZ`Pee@gDo(W>z&5g|zF*MRL#5iuk5J``f8UHc+CJ|vF7C`r)W*<(<gT');
|
||||
define('LOGGED_IN_SALT', 'Ya((Z1f38T(<)`DRmYz|N!.4jhE|E51|OJzs5[L@>=gk<~sPiD`yu*Ni<zv#b1m7');
|
||||
define('NONCE_SALT', '.kczX#Gt]R/6c<wmd&__MBwkb-d|Ui6gjf@9qS#f@e~jaR69WEpP <G5(dU0O$)|');
|
||||
|
||||
/**#@-*/
|
||||
|
||||
/**
|
||||
* WordPress Database Table prefix.
|
||||
*
|
||||
* You can have multiple installations in one database if you give each a unique
|
||||
* prefix. Only numbers, letters, and underscores please!
|
||||
*/
|
||||
$table_prefix = 'wp_';
|
||||
|
||||
/**
|
||||
* WordPress Localized Language, defaults to English.
|
||||
*
|
||||
* Change this to localize WordPress. A corresponding MO file for the chosen
|
||||
* language must be installed to wp-content/languages. For example, install
|
||||
* de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
|
||||
* language support.
|
||||
*/
|
||||
define('WPLANG', '');
|
||||
|
||||
/**
|
||||
* For developers: WordPress debugging mode.
|
||||
*
|
||||
* Change this to true to enable the display of notices during development.
|
||||
* It is strongly recommended that plugin and theme developers use WP_DEBUG
|
||||
* in their development environments.
|
||||
*/
|
||||
define('WP_DEBUG', false);
|
||||
// Enable WP_DEBUG mode
|
||||
//define('WP_DEBUG', true);
|
||||
|
||||
// Enable Debug logging to the /wp-content/debug.log file
|
||||
//define('WP_DEBUG_LOG', true);
|
||||
|
||||
// Disable display of errors and warnings
|
||||
define('WP_DEBUG_DISPLAY', false);
|
||||
@ini_set('display_errors',0);
|
||||
|
||||
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
|
||||
define('SCRIPT_DEBUG', true);
|
||||
|
||||
/* That's all, stop editing! Happy blogging. */
|
||||
|
||||
/** Absolute path to the WordPress directory. */
|
||||
if ( !defined('ABSPATH') )
|
||||
define('ABSPATH', dirname(__FILE__) . '/');
|
||||
|
||||
/** Sets up WordPress vars and included files. */
|
||||
require_once(ABSPATH . 'wp-settings.php');
|
||||
@ -24,7 +24,7 @@ function bp_dedication_create_new_dedication() {
|
||||
}
|
||||
|
||||
if (isset($_POST['friend_ids'])) {
|
||||
$friend_ids = $_POST['friend_ids'];
|
||||
$friend_ids = explode(',', $_POST['friend_ids']);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
@ -85,6 +85,10 @@ function bp_dedication_create_new_dedication() {
|
||||
add_post_meta($post_id, 'ghostpool_dedication_url', $videoData['videoURL']);
|
||||
|
||||
|
||||
$friend_info = get_userdata($friend_ids[1]);
|
||||
add_post_meta($post_id, 'ghostpool_destination_user_name', $friend_info->user_login);
|
||||
add_post_meta($post_id, 'ghostpool_destination_user_email', $friend_info->user_email);
|
||||
|
||||
$imageurl = $videoData['thumbnail'];
|
||||
$imageurl = stripslashes($imageurl);
|
||||
$uploads = wp_upload_dir();
|
||||
|
||||
@ -78,7 +78,7 @@ function ia_on_autocomplete_select( value, data ) {
|
||||
// Check the right checkbox
|
||||
//j('#invite-anyone-member-list input#f-' + data).prop('checked',true);
|
||||
|
||||
j('#dedicate_to_input').addClass('loading');
|
||||
//j('#dedicate_to_input').addClass('loading');
|
||||
|
||||
j.post( ajaxurl, {
|
||||
action: 'bp_dedication_add_user_ajax_handler',
|
||||
@ -93,10 +93,11 @@ function ia_on_autocomplete_select( value, data ) {
|
||||
friendIDs.push(data);
|
||||
j('#friend_ids').val(friendIDs.toString());
|
||||
|
||||
j('#user-list').append(response);
|
||||
j('#dedicate_to_input').removeClass('loading');
|
||||
/*j('#user-list').html('');
|
||||
j('#user-list').append(response);*/
|
||||
//j('#dedicate_to_input').removeClass('loading');
|
||||
});
|
||||
|
||||
// Remove the value from the send-to-input box
|
||||
j('#dedicate_to_input').val('');
|
||||
// j('#dedicate_to_input').val('');
|
||||
}
|
||||
@ -24,7 +24,7 @@
|
||||
|
||||
<div id="latest-update">
|
||||
|
||||
<?php bp_activity_latest_update( bp_loggedin_user_id() ); ?>
|
||||
<?php /*bp_activity_latest_update( bp_loggedin_user_id() );*/ ?>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ global $bp;
|
||||
<input name="private-dedication" type="checkbox" />This dedication is private.
|
||||
</li>
|
||||
<li>
|
||||
<label for="dedicate_to_input"><?php _e("Search for members to dedicate:", 'bp-dedication') ?></label>
|
||||
<label for="dedicate_to_input"><?php _e("Enter a member to dedicate:", 'bp-dedication') ?></label>
|
||||
|
||||
<ul class="first acfb-holder">
|
||||
<li>
|
||||
|
||||
@ -681,12 +681,17 @@ h3.comments {
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
.activity-comments .avatar,
|
||||
.bp-wrapper #whats-new-avatar .avatar,
|
||||
.bp-wrapper .item-list div.activity-avatar img {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.activity-comments .ac-reply-content {
|
||||
margin-left: 85px;
|
||||
}
|
||||
|
||||
.bp-wrapper ul.item-list .item,
|
||||
.bp-wrapper li .admin-links,
|
||||
.bp-wrapper .post-content,
|
||||
@ -802,3 +807,4 @@ background: #273138;
|
||||
.bp-wrapper div#subnav.item-list-tabs {
|
||||
margin: 15px 0 10px;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user