IT

Articole despre realizările noastre din domeniul IT

Here is a simple shortcode that can be put in the

functions.php

file from the active WordPress theme. In the shortcode arguments you can specify starting time, ending time, title and title tag as well as the background colour and padding values for the div element that envelopes the announcment content.

Of course you are free to modify anything as needed.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
function timed_announcement_shortcode($args = array(), $content = '') {
	extract(shortcode_atts(
		array(
			'until' 	=> 'tomorrow',
			'from'  	=> 'yesterday',
			'title' 	=> __('Announcement','your_theme_textdomain'),
			'titletag' 	=> 'h3',
			'background' 	=> 'lightyellow',
			'padding' 	=> '20px',
		),
		$args

	));
	if ( strtotime($from) < time() && strtotime($until) > time()) {

		return '<div style="background-color: ' . $background . '; padding: ' . $padding . ';"><' . $titletag . '>' . $title . '</' . $titletag . '><p>' . $content . '</p></div>';
	}
	return '';
}
add_shortcode('announcement', 'timed_announcement_shortcode');

Usage examples (remove the * character for the shortcode to work):

Citiţi restul articolului »

Etichete: ,

screenshot-1

I wrote a WordPress plugin to handle in a different way the sticky posts, i.e. as recommended stories with links into a jQuery animated box.

Installation can be done using: WordPress.org plugin repository.

Admins can select four parameters:

  1. the *percent of vertical scroll* where the animated box appears
  2. the *number* of recent sticky posts to list
  3. if the posts have thumbnail there is an option to turn on / turn off the *thumbnail theme capability*
  4. since the sticky posts are presented this way, maybe there is no need to keep them on the front page anymore, so the third option allows to *disable the sticky property of posts in the main loops*

Other features

  1. when displaying a post that is sticky, the corresponding link is eliminated from the animated box
  2. if the sticky posts list remains empty, the animated box is not displayed anymore

== Installation ==

  1. Upload `recstory.zip` to the `/wp-content/plugins/` directory
  2. Unzip the archive
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

== Frequently Asked Questions ==

The animated box is not animated, it just appears at all times
This is most probable a jQuery conflict with the theme or with another plugin. Try to switch to the default theme and / or disable other plugins.

== Changelog ==
= 0.1.3 =
Added admin options to display only on single pages, search pages, archives, category pages, tag pages, front page, author pages
Added admin options to display only for logged in users

= 0.1.2 =
Added metabox to remove recommended stories from specific posts, pages or custom posts id’s
Fixed some minor bugs that triggered javascript errors in certain conditions

= 0.1.1 =
Added option to modify the percent of vertical scroll where the animated box appears

= 0.1 =
Incipient version

Etichete:

Below are the translation files of Tribulant FAQ plugin into Romanian language.

wordpress-faqs-plugin

Translation files downloads

FAQ plugin version 1.4.3

Etichete:

logo mTouch QuizRecent am avut nevoie de un modul de chestionare și am găsit acest modul gratuit scris de dl. G. Michael Guy. Este extrem de flexibil, optimizat pentru smartphone și alte dispozitive cu touch screen și este foarte bun pentru aplicații de anvergură medie.

Vă ofer spre descărcare fișierele de traducere în limba română.

Versiunea 2.4.2 fișiere localizare ro_RO

Versiunea 2.3.3 fișiere localizare ro_RO

Versiunea 2.2.3 fișiere localizare ro_RO

Versiunea 2.3.1 fișiere localizare ro_RO

Exemple de utilizare a versiunii localizate: test pentru bolile gingiei

 

Etichete:

Below are the translation files of Tribulant Shopping Cart plugin into Romanian language. The current version has one integration with a RO based payment gateway; Moneybookers can also be used to charge customers credit cards in RON. Manual POS payments, bank transfers (OP) are two more available options that work in Romania.

I have submited a request to integrate the MobilPay and ePayment gateways as well, they will come in future releases. Check here to read the news when those integrations will be available.

wordpress-shopping-cart-plugin

Translation files downloads

Shopping Cart (Checkout) version 1.5.6

Shopping Cart (Checkout) version 1.6.1.2

Shopping Cart (Checkout) version v1.6.5

 

 

 

Etichete: ,

I made a professional translation into Romanian language for Tribulant Newsletter plugin for WordPress.

Translation files:

files for version version 3.8.5.1.

translation files for version 3.8.6

Files for version 3.8.7.2

 

wordpress-newsletters-plugin

Please note that the initial translation files were uploaded into the plugin repository. However please bookmark this post as I will upload any update to the translation files here, along with a changelog comment.

Etichete: ,

Bazele de date in-memory au devenit de curând un subiect intrigant în industria bazelor de date. O dată ce pe piaţă sunt disponibile la scară largă servere de 64 de biţi cu mulţi GB de memorie, o soluţie de baze de date construită complet pe RAM este o perspectivă tentantă pentru mult mai mulţi clienţi. Cu toate astea, pentru mulţi utilizatori de baze de date din sferele guvernamentale, financiare sau de telecomunicaţii, SSD-urile au oferit soluţii pentru baze de date pe RAM de decenii întregi. Performanţa unei soluţii de baze de date construite pe  memorie eclipsează performanţa unei baze de date de pe HDD.

SSD-urile fac procesul de implementare a unei soluţii complete bazate pe memorie nu mai complicat decât transferul tabelelor de baze de date de pe mediul de stocare curent pe un SSD şi ca pornirea acestei baze de date. În plus, SSD-urile oferă o serie de caracteristici pe care bazele de date in-memory nu le pot egala:

Siguranţă

SSD-urile încorporează elemente de siguranţă a sistemului de stocare la nivel de corporaţie, oferind scheme de protecţie avansată a memoriei, cum ar fi ECC sau Chipkill (ce permite unui cip de memorie să se defecteze fără pierdere de date). SSD-urile profesionale au baterii şi discuri redundante cu capacitatea de a menţine datele în siguranţă pe disc. Acest fapt oferă încrederea într-un sistem nevolatil pe care simplele soluții bazate numai pe memoriile din server nu-l pot egala.

Disponibilitate

Folosirea SSD-urilor ca parte a unei baze de date de mare performanţă permite componentelor de stocare ale unei aplicații şi să fie decuplate de componentele sale de server. Acest lucru permite la rândul lui protecție la căderi ale serverului şi la erorile de programare ale aplicaţiilor prin implementarea unor grupuri cu mai multe noduri. O dată cu folosirea SSD-urilor, în detrimentul bazelor de date in-memory, se poate atinge o performanţă mare prin implementarea de noduri cu resurse mari CPU dar cu volum obișnuit de memorie evitând astfel creşterile exponenţiale de preţ cauzate de memoria de gabarit mare. De asemenea, acest fapt reduce acţiunea complexă de a menţine cache-urile din fiecare nod al grupului în coerență unele cu celelalte, pentru că cu cât este mai mare memoria locală a fiecarui nod, cu atât mai dificilă devine problema coerenţei. Testele au arătat că folosirea SSD-urilor RAMSAN cu clustere de baze de date având noduri cu memorii locale mici oferă o performanţă mai mare decât păstrarea bazei de date într-un cluster de baze de date cu noduri cu memorie mare din cauza acestei probleme de coerenţă. Într-un sistem cu disponibilitate extrem de mare, SSD-urile pot fi oglindite pentru a oferi un nivel suplimentar de protecţie la utilizarea unei arhitecturi in-memory de mare performanţă și complet total redundantă.

Scalabilitate

SSD-urile oferă o abordare cu adevărat scalabilă a bazelor de date de mare performanţă. Mediul de stocare suplimentar poate fi adăugat uşor întrucât sistemul se scalează, cu capacități de producţie desfăşurate în aria terabiţilor. În contrast violent cu preţul memoriei de server, preţul pentru a adăuga capacitate la SSD-uri scade pe măsură ce creşte capacitatea totală.

Costuri reduse

La prima vedere, s-ar părea că un SSD este mai scump decât o soluție de bază de date in-memory. Cu toate acestea, cele mai multe implementări de baze de date in-memory sunt de fapt mai scumpe decât implementările SSD, în special dacă se creşte capacitatea. Pe măsură ce creşte densitatea memoriei în servere, costurile de memorie suplimentară cresc în mod dramatic. Pe măsură ce cantitatea de memorie necesară creşte, creşte de obicei şi numărul de procesoare necesare (în majoritatea sistemelor de operare cu mai multe procesoare, există o limitare a cantităţii de memorie pe procesor). Pe măsură ce creşte numărul de procesoare şi capacitatea memoriei, creşte şi preţul licenţei pentru baza de date in-memory. Costurile licenţei pentru baze de date in-memory şi întreţinerea anuală subsecventă pot afecta în mod decisiv comparaţia de preţ. În plus, costurile asociate cu bazele de date in-memory vor creşte proporţional cu numărul serverelor achiziţionate, fapt ce duce la soluţii cluster neplăcute. Un singur SSD poate susţine un grup sau chiar un grid de servere de baze de date fără costuri adiţionale, ceea ce permite scalare independentă a nevoilor de procesor şi de memorie ale unei aplicaţii. În fine, costurile şi acţiunile complexe asociate cu dezvoltarea, testarea şi desfăşurarea bazelor de date in-memory sunt mult mai mari decât costurile de instalare ale unui SSD.

 

Etichete:

« Înregistrări mai vechi § Înregistrări mai noi »