Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
Recent Tutorials
Top posting users this month
Top Achievers
Who is online?
In total there are 26 users online :: 0 Registered, 0 Hidden and 26 Guests :: 1 Bot
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
about the shoutbox in the index
Page 1 of 1 • Share
is this project will be shared for everyone
im just asking due to the problems in the original chat box of the forums this one could do better
if this shoutbox wont be shared its no problem
but i like to know the answer
im looking up to translate this one to Arabic
also i think im almost done translating the database project
as the image i like to ask about 2 things
the number 1 in the image is it gonna stay at the left even with Arabic forum ?
the number 2 i wonder why its not in one line and if you don`t mind
allowing me to add a link to my forum next to your link as translator i already typed its programed by Ange translated by me
the last thing i like to check my work if is it good or i did some bugs in it
im just asking due to the problems in the original chat box of the forums this one could do better
if this shoutbox wont be shared its no problem
but i like to know the answer
im looking up to translate this one to Arabic
also i think im almost done translating the database project
as the image i like to ask about 2 things
the number 1 in the image is it gonna stay at the left even with Arabic forum ?
the number 2 i wonder why its not in one line and if you don`t mind
allowing me to add a link to my forum next to your link as translator i already typed its programed by Ange translated by me
the last thing i like to check my work if is it good or i did some bugs in it
- Code:
var notice = 'قاعدة بيانات اضافية لاحلى منتدى تصميم (Ange Tuteur) ترجمة مايكل سوفت';
_database = new Object();
_database.tid = '/t20-database';
_database.name = 'Database';
_database.data = function () {
var db = document.createElement('DIV');
db.style.display = 'none';
return document.body.appendChild(db);
};
/* database get method */
_database.get = function(tid, code) {
var db = _database.data();
$(db).load(tid, function() { code(db, function() { document.body.removeChild(db) }) });
};
/* database post method */
_database.post = function(o) {
if (_userdata.session_logged_in == 0) return;
var db = _database.data(), tables;
$(db).load('/post?p='+o.pid+'&mode=editpost #text_editor_textarea', function() {
tables = $(this).find('textarea');
if (RegExp('id="'+o.tableid+'"').test(tables.val())) tables.val(tables.val().replace(RegExp(o.update[0]), o.update[1]));
else tables.val(tables.val().replace(/\[\/table\]/,o.newRow + '[/table]'));
$.post('/post?p='+o.pid+'&mode=editpost', {
subject: _database.name,
message: tables.val(),
post: 1
}, function() { document.body.removeChild(db), o.reload && window.location.reload() });
});
};
/* create a new database table */
_database.newTable = function() {
var a = document.createElement('DIV'), b = document.createElement('INPUT'), c, t = document.createElement('TEXTAREA');
a.className = 'db_overlay';
b.className = 'db_button';
t.className = 'db_textarea';
b.value = 'تاكيد';
b.type = 'button';
c = b.cloneNode();
c.value = 'الغاء';
a.innerHTML = '<div class="dbo_content"><div class="db_title">منصة جديدة بقاعدة البيانات</div><p class="db_info">هنا يمكنك كتابة المنصة التى تخص قاعدة البيانات الاضافية</p><div style="text-align:center;"><p class="db_erreur"></p></div></div>';
a.firstChild.insertBefore(t,a.firstChild.lastChild);
a.firstChild.lastChild.appendChild(b);
a.firstChild.lastChild.appendChild(c);
document.body.appendChild(a);
b.onclick = function() {
if (!t.value.length) return this.previousSibling.innerHTML = 'لا يمكنك اضافة منصة بقاعدة البيانات وهى فارغه';
a.innerHTML = a.innerHTML + '<div class="db_overlay"><div class="dbo_content process">جارى العمل برجاء الانتظار</div></div>';
$.post('/post', {
subject : _database.name,
t : _database.tid.match(/\/t(\d+)-/)[1],
message : t.value,
mode : 'reply',
post : 1
},function() { window.location.reload() });
};
c.onclick = function() { document.body.removeChild(a) };
};
/* START DATABASE CONTROL PANEL */
RegExp(_database.tid).test(window.location.pathname) && $(function() {
var admin = '', type = _userdata.user_level;
if (type == 1 && window.location.hash == '#edit') return $('.post').css('display','block');
if (type == 1) admin = '<a href="#new" onclick="_database.newTable();return false;">منصة جديده</a><a href="#edit" onclick="window.location.hash=\'#edit\';window.location.reload();">التعديل بقاعدة البيانات</a>';
document.title = 'قاعدة البيانات مايكل سوفت';
$('body').append('<div id="theOverwrite"><div id="db_wrap"><h1>قاعدة البيانات مايكل سوفت</h1><p class="db_info">قاعدة البيانات الاضافية لاحلى منتدى برمجة Ange Tuteur تمت الترجمة والتحويل الى العربية بواسطة Michael_vx مايكل سوفت</p><div class="db_nav">'+admin+'<a href="/forum">العودة الى الرئيسية</a></div><div id="db_list"><div class="db_title">منصات القاعدة</div></div><div id="db_tables"><div id="currentDB" class="db_title">حدد احدى المنصات من منصات القاعدة</div><div id="innertable"></div></div><p style="color:#999;font-size:10px;text-align:right;margin:6px 0;">حقوق التصميم <a href="http://fmdesign.forumotion.com/u1" target="_blank">Ange Tuteur</a> | Version 1.01</p>حقوق الترجمة محفوظة لمايكل سوفت</div></div>');
$('.database_table').appendTo('#innertable').hide().each(function() { $('#db_list').append('<div class="database">'+$(this).attr('id')+'</div>') });
$('#page-footer, #pun-foot, #gfooter, #gfooter + p').appendTo('#db_wrap');
$('body').addClass('databaseBody').html($('#theOverwrite').html());
$('#db_list .database').on('click', function() {
$('#db_tables .database_table').hide();
$('#db_list .database').removeClass('dbactif');
$(this).addClass('dbactif');
$('#' + $(this).text()).show();
$('#currentDB').text($(this).text());
});
$('#db_list .database:first').click();
});
/* END DATABASE CONTROL PANEL */
1. that can be fixed by modifying the text-align under #db_wrap h1
2. It looks like because you have the text outside of the <p> tag. I see no problem with adding credits for translation. To make modifications easier, I was actually thinking of creating a language object.
Also, information on the shoutbox can be found in this topic : https://fmdesign.forumotion.com/t297-shoutbox-project-discussion
2. It looks like because you have the text outside of the <p> tag. I see no problem with adding credits for translation. To make modifications easier, I was actually thinking of creating a language object.
Also, information on the shoutbox can be found in this topic : https://fmdesign.forumotion.com/t297-shoutbox-project-discussion
To make modifications easier, I was actually thinking of creating a language object.
do mind Explain more im not sure if i understand that part
and ill look at the rest you said and ill see what i can do for the align
by the way i think i forget to ask about the bugs i might face like the topic ID you know Arabic forums only could use
/t32 instead of /t32-database
so is this gonna work or will give a bug i did not test it yest because i like to finish the translate and make sure it will look good
thanks again
A javascript object which contains the language values. For example :
Default English
French translation :
v1.02 will introduce a Clean Topic Id (CTID). It doesn't need editing, because it'll take the ID from the current TID
Default English
- Code:
lang = {
red : 'red',
blue : 'blue',
green : 'green'
}
French translation :
- Code:
lang = {
red : 'rouge',
blue : 'bleu',
green : 'vert'
}
v1.02 will introduce a Clean Topic Id (CTID). It doesn't need editing, because it'll take the ID from the current TID
you know im not a super man or a genius
you said something about multiple languages if i did understand
now you say something about auto topic id
please take it easy with me
consider that im a dumb
are you gonna make the next version with a new settings that will not need much edit like the one been already released ?
if so then ill wait to see it
I was giving an example of language settings that I sometimes put in my scripts. It's user friendly and allows a person to translate it to their preferred language. I'm far from implementing it just yet.
These are new settings in v1.02. It'll allow extra security, at least for those who have JavaScript enabled. ( the name isn't new )
the CTID is the same as the TID. It just strips off the useless stuff, and gives you the clean topic id. Example :
_database.tid : /t252-database
_database.ctid : 252
These are new settings in v1.02. It'll allow extra security, at least for those who have JavaScript enabled. ( the name isn't new )
the CTID is the same as the TID. It just strips off the useless stuff, and gives you the clean topic id. Example :
_database.tid : /t252-database
_database.ctid : 252
may be i understand now
and one more question
can i use any of these
_database.tid : /t252-database
_database.ctid : 252
in my next test at the Arabic testing forum
or it wont work for the older version
i feel like im not a dumb right now
i feel like im a half idiot
and one more question
can i use any of these
_database.tid : /t252-database
_database.ctid : 252
in my next test at the Arabic testing forum
or it wont work for the older version
i feel like im not a dumb right now
i feel like im a half idiot
- Sponsored content
Similar topics
Create an account or log in to leave a reply
You need to be a member in order to leave a reply.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum