Recent Posts

:
1
Estas acciones marcan error y no quiero dañar el archivo:

Reemplazar

Code: [Select]
echo '
<form action="', $scripturl, '?action=quickmod2;topic=', $context['current_topic'], '.', $context['start'], '" method="post" accept-charset="', $context['character_set'], '" name="quickModForm" id="quickModForm" style="margin: 0;" onsubmit="return oQuickModify.bInEditMode ? oQuickModify.modifySave(\'' . $context['session_id'] . '\', \'' . $context['session_var'] . '\') : false">';

Code: [Select]
// AJAX Style Thank You Post
if (!empty($modSettings['thankYouPostAJAX']))
{
echo '
<script language="JavaScript" type="text/javascript">
var thank_you_ajax_url = smf_scripturl + \'?action=thankyouajax;topic=' . $context['current_topic'] . '\';

function thankyou(msg_id) {
// Follow the link if no ajax support...
if (!window.XMLHttpRequest)
return true;

// Standard Variables
var elementName = "ThankOMaticID" + msg_id;
var elementButton = "buttonThxID" + msg_id;
var elementLockButton = "thank_lock_button_" + msg_id;
var elementDeleteButton = "thank_delete_button_" + msg_id;

// Tell him that something loading :)
ajax_indicator(true);

// Remove the Thank You Button :)
document.getElementById(elementButton).style.display = "none";
document.getElementById(elementLockButton).style.display = "none";
document.getElementById(elementDeleteButton).style.display = "none";

var thank_you_ajax_thx = thank_you_ajax_url + ";sa=thx;msg=" + msg_id;
var data = ThankYouLoadTextData(thank_you_ajax_thx, elementName, elementButton, elementDeleteButton, elementLockButton);

return !data;
}

function ThankYouLoadTextData(url, elementName, elementButton, elementDeleteButton, elementLockButton) {
if (!window.XMLHttpRequest)
return false;

request = new XMLHttpRequest();
request.onreadystatechange = function() {
if (request.readyState != 4)
return;
if (request.responseText != null && request.status == 200) {
if (request.responseText.substr(0, 7) == "#ERROR#") {
setInnerHTML(document.getElementById("Error" + elementName), request.responseText.substr(7));
document.getElementById(elementName).style.display = "block";
document.getElementById(elementButton).style.display = "inline";
document.getElementById(elementLockButton).style.display = "none";
document.getElementById(elementDeleteButton).style.display = "none";
ajax_indicator(false);
}
else {
document.getElementById(elementName).style.display = "block";
setInnerHTML(document.getElementById(elementName), request.responseText);
document.getElementById(elementButton).style.display = "none";
document.getElementById(elementLockButton).style.display = "inline";
document.getElementById(elementDeleteButton).style.display = "inline";
ajax_indicator(false);
}
return false;
}
else {
return true;
}
}
// Load the Request!
request.open("GET", url, true);
request.send(null);
return request;
}
</script>';
}

echo '
<form action="', $scripturl, '?action=quickmod2;topic=', $context['current_topic'], '.', $context['start'], '" method="post" accept-charset="', $context['character_set'], '" name="quickModForm" id="quickModForm" style="margin: 0;" onsubmit="return oQuickModify.bInEditMode ? oQuickModify.modifySave(\'' . $context['session_id'] . '\', \'' . $context['session_var'] . '\') : false">';

Reemplazar:

Code: [Select]
// Show avatars, images, etc.?
Code: [Select]
// Show some Thank-O-Matic Stats ;D
if (!empty($modSettings['thankYouPostDisplayPage']) && (empty($modSettings['thankYouPostDisplayDisableBecame']) || empty($modSettings['thankYouPostDisplayDisableMade'])))
{
echo '
<li>', $txt['thank_you_post_thx_display'], '</li>';
// Disabled?
if(empty($modSettings['thankYouPostDisplayDisableMade']))
echo '
<li>-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '</li>';

// Disabled?
if(empty($modSettings['thankYouPostDisplayDisableBecame']))
echo '
<li>-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '</li>';
}

// Show avatars, images, etc.?

Reemplazar:

Code: [Select]
// Maybe we can approve it, maybe we should?
Quote
      elseif (($message['thank_you_post']['post'] && !$message['thank_you_post']['locked']) || (($message['thank_you_post']['lock'] || $message['thank_you_post']['delete']) && $message['thank_you_post']['isThankYouPost']))
         echo '
                        <ul class="reset smalltext quickbuttons">';
                        
      // Maybe we can approve it, maybe we should?

Reemplazar:

Code: [Select]
// Can we restore topics?
Code: [Select]
// Can do some Thank You Post things :)
if ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked'])
{
echo '
<li class="thank_you_button"><span id="buttonThxID' . $message['id'] . '" style="display: inline;"><a id="buttonThxHrefID' . $message['id'] . '" href="', $scripturl, '?action=thankyou;topic=', $context['current_topic'], '.0;msg=', $message['id'], '"'.(!empty($modSettings['thankYouPostAJAX']) ? ' onclick="return thankyou(' . $message['id'] . ');"' : '').'>', $txt['thank_you_post_post_b'], '</a></span></li>';

if(!empty($modSettings['thankYouPostAJAX']) && $context['browser']['is_ie']) {
// I HATE INTERNET EXPLORER!!!!!!!!!!!!!!!!!!!!!!!
echo '
<script language="JavaScript" type="text/javascript">
// Rewrite the url :x so that internet explorer can not follow it
document.getElementById("buttonThxHrefID' . $message['id'] . '").href = "#msg=' . $message['id'] . '";
</script>';
}
}

// This is the Thank-O-Matic Lock Button with Ajax special Addon :D
if ($message['thank_you_post']['lock'] && $message['thank_you_post']['isThankYouPost'])
echo '
<li class="', $message['thank_you_post']['locked'] ? 'thank_you_open_button' : 'thank_you_lock_button', '"><a href="', $scripturl, '?action=thankyoupostlock;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $message['thank_you_post']['locked'] ? $txt['thank_you_post_open_b'] : $txt['thank_you_post_lock_b'], '</a></li>';
elseif ($message['thank_you_post']['lock'] && !$message['thank_you_post']['isThankYouPost'] && !empty($modSettings['thankYouPostAJAX']) && empty($modSettings['thankYouPostAJAXModButtonsDisable']))
echo '
<li class="', $message['thank_you_post']['locked'] ? 'thank_you_open_button' : 'thank_you_lock_button', '" id="thank_lock_button_' . $message['id'] . '" style="display: none;"><a href="', $scripturl, '?action=thankyoupostlock;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $message['thank_you_post']['locked'] ? $txt['thank_you_post_open_b'] : $txt['thank_you_post_lock_b'], '</a></li>';
// This will prevent Java Script errors on most browser...
elseif (!empty($modSettings['thankYouPostAJAX']) || !empty($modSettings['thankYouPostAJAXModButtonsDisable']))
echo '
<span id="thank_lock_button_' . $message['id'] . '" style="display: none;"></span>';

// This is the Thank-O-Matic Delete Button with Ajax special Addon ;P
if ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'])
echo '
<li class="thank_you_delete_button"><a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', $txt['thank_you_post_delete_b'], '</a></li>';
elseif ($message['thank_you_post']['delete'] && !$message['thank_you_post']['isThankYouPost'] && !empty($modSettings['thankYouPostAJAX']) && empty($modSettings['thankYouPostAJAXModButtonsDisable']))
echo '
<li class="thank_you_delete_button" id="thank_delete_button_' . $message['id'] . '" style="display: none;"><a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', $txt['thank_you_post_delete_b'], '</a></li>';
// This will prevent Java Script errors on most browser...
elseif (!empty($modSettings['thankYouPostAJAX']) || !empty($modSettings['thankYouPostAJAXModButtonsDisable']))
echo '
<span id="thank_delete_button_' . $message['id'] . '" style="display: none;"></span>';

// Can we restore topics?

Reemplazar:

Code: [Select]
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
</ul>';

Code: [Select]
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
</ul>';

// Thank-O-Matic okay close the ul on sometimes :D
elseif (($message['thank_you_post']['post'] && !$message['thank_you_post']['locked']) || (($message['thank_you_post']['lock'] || $message['thank_you_post']['delete']) && $message['thank_you_post']['isThankYouPost']))
echo '
</ul>';

Agregar antes:

Code: [Select]
<hr class="post_separator" />';
Code: [Select]
';

// Show the Thank You list or the link or.... nothing? XD
echo '
<div class="ThankOMatic ', $message['approved'] ? ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') : 'approvebg', '" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>';
// Output the Template for Thank-O-Matic (Normal found in the index.template.php)
// It will fall back into a standard function, if this template_thank_you_post doesn't exists!
if ($message['thank_you_post']['isThankYouPost'])
{
// Mistake? Function not loaded oO.
if (empty($context['call_thank_you_post_func']))
loadThankYouTemplateFunctions();

// Call the correct function =D
$context['call_thank_you_post_func']($message['thank_you_post'], $message['id']);
}
echo '
</div>

Reemplazar:

Code: [Select]
// Restore topic. eh?  No monkey business.
Code: [Select]
if($context['thank_you_post_unlock_all'])
$mod_buttons[] = array('text' => 'thank_you_post_unlock_all', 'image' => 'thankyoulock2.png', 'lang' => true, 'url' => $scripturl . '?action=thankyoupostunlockall;topic='  . $context['current_topic'] . '.0');

// Restore topic. eh?  No monkey business.

Adjunto mi archivo y gracias de antemano!!!
2
Theme Ask / Re: Is there a version of Darkec in light colors?
« Last post by Boban ツ on April 19, 2018, 04:09:40 PM »
No only dark, but colors can always be changed.
3
Theme Ask / Theme Is there a version of Darkec in light colors?
« Last post by ziperativo on April 19, 2018, 02:04:20 PM »
Hi,

Is there a version of Darkec in light colors?

Thx,
4
Theme Ask / Re: I'm interested in buying a premium theme but I have some doubts
« Last post by ziperativo on April 19, 2018, 01:19:38 PM »
Seems to be very basic and software related, so I would suggest you to first jump into SMF itself and head over to the official forums at https://simplemachines.org and get started so you will have more knowledge and experience with it, as a lot more of support with your issues and doubts.
This is since here we would provide only products related support assuming you already know how to handle yourself using SMF.

To briefly answer your initial questions:
1- Free
2- Surely, you can install it just as any other forum software.
3- I believe there is yes, check the official site for language packs.
4- Surely since there should be a Portuguese translation
5- I’m not sure what you mean, but maybe if you be more specific over there someone could help you find a mod to do this
6- I didn’t get this, our current theme is not for sale if that’s what you are asking.
7- There might be a mod that could make this possible you should search in the mod site on smf site.

Regards

1- ok
2- ok
3- ok
4- ok
5-
There are some <embed> tags that social networks provide to appear in posts.

looks
http://prntscr.com/j7hom5
http://prntscr.com/j7hp08
http://prntscr.com/j7hpd8
6- ok
7-  Quick Login
5
Seems to be very basic and software related, so I would suggest you to first jump into SMF itself and head over to the official forums at https://simplemachines.org and get started so you will have more knowledge and experience with it, as a lot more of support with your issues and doubts.
This is since here we would provide only products related support assuming you already know how to handle yourself using SMF.

To briefly answer your initial questions:
1- Free
2- Surely, you can install it just as any other forum software.
3- I believe there is yes, check the official site for language packs.
4- Surely since there should be a Portuguese translation
5- I’m not sure what you mean, but maybe if you be more specific over there someone could help you find a mod to do this
6- I didn’t get this, our current theme is not for sale if that’s what you are asking.
7- There might be a mod that could make this possible you should search in the mod site on smf site.

Regards
6
Theme Ask / Theme I'm interested in buying a premium theme but I have some doubts
« Last post by ziperativo on April 19, 2018, 12:55:55 PM »
Hi,

First of all congratulations on the themes, they are beautiful.
I'm interested in buying a premium theme but I have some doubts?

1- Is the "Simple Machine Forum" paid or for free?
2- Can you install "Simple Machine Forum" in hosting?
3 - Is there a Portuguese language?
4- Is it possible to translate into Portuguese?
5- Does the Editor accept embed code for tweets, facebook post, instagram post?
6 - Is there a theme used on the site for sale?
7- Is it possible to login and register on the forum using social networks (facebook, google and twitter)?

Thx,
Alessandro
alejpabr@gmail.com
7
Premium Themes / Re: Marina
« Last post by SlyJacki on April 15, 2018, 05:07:04 AM »
Thank you :)
8
Premium Themes / Re: Marina
« Last post by Diego Andrés on April 13, 2018, 11:07:30 AM »
Only available for customers
9
Premium Themes / Re: Marina
« Last post by SlyJacki on April 13, 2018, 11:00:07 AM »
Hey, i think about buying this Theme.
But it looks like there is a Mod needed that i can´t download because the Topic is not available?

Install:

    You need to install ST Customs mod: http://smftricks.com/index.php?topic=1055.0 (important)

Greets
René
10
General Discussion / just saying hello
« Last post by scarlet on April 13, 2018, 07:43:46 AM »
Hi everyone.
Im new here but a long time user of SMF and smf tricks themes.
Thanks for making great looking and functional themes. very professional work you guys do.
: