PDA

View Full Version: Tradiksyon deroulan nan CMS / Blogs



anand
23-04-10, 15:18
Hi Tout,

Nou vle ajoute Tradiksyon deroulan meni CMS / Blogs / eksetera ki jan nou ka fè li & mwen pa t 'jwenn nenpòt opsyon.


Thanks
Anand

vBET
23-04-10, 18:34
Ou gen modifye ki apwopriye modèl manyèlman epi ajoute gen:

{vb:raw vbenterprisetranslatorflagsdropdown}

Ou pral gen tou yo enskri l ':
1. Louvri / gen ladan / vbentrprisetranslator_functions_hook.php
2. Jwenn:

vB_Template::preRegister('navbar', array('vbenterprisetranslatorflagsdropdown' => $vbenterprisetranslatorflagsdropdown));

3. Double liy sa a ak nan yon kopi chanjman navbar nan non modèl ou yo.

Mwen ajoute kounye a, sou lis todo nou yo aplike li nan vèsyon vBET pwochen.

anand
25-04-10, 05:02
te eseye nan blogtemplates / blog_navbar_link

pa gen okenn siksè

Kite m 'konnen ki pral modèl ki apwopriye a

anand
25-04-10, 05:11
Ou jwenn li tou ensèk lè nou sèvi ak Tradiksyon gout desann pozisyon meni - li yo> navbar fen yo montre de fwa nan ba navigation wè ekran an pou plis detay


http://www.architectpavilion.com/twiceshown.jpg

vBET
25-04-10, 20:42
Ou jwenn li tou ensèk lè nou sèvi ak Tradiksyon gout desann pozisyon meni - li yo> navbar fen yo montre de fwa nan ba navigation wè ekran an pou plis detay


http://www.architectpavilion.com/twiceshown.jpg

Èske ou w ke ou pa t 'ajoute li tou manyèlman nan modèl?

vBET
25-04-10, 21:02
te eseye nan blogtemplates / blog_navbar_link

pa gen okenn siksè

Kite m 'konnen ki pral modèl ki apwopriye a

Pou CMS: vbcms_navbar_link
Pou Blog: blog_navbar_link

Epitou mwen wè ke sa yo gen modèl grefon zen, se konsa nan liberasyon pwochen nou pral fè li konplètman configurable:)

anand
26-04-10, 14:34
Èske ou w ke ou pa t 'ajoute li tou manyèlman nan modèl?


Wi nou pa t 'modifye nenpòt ki modèl asire w VB jis default li yo 4.0.3

Thanks
Anand

anand
26-04-10, 16:04
Pou CMS: vbcms_navbar_link
Pou Blog: blog_navbar_link

Epitou mwen wè ke sa yo gen modèl grefon zen, se konsa nan liberasyon pwochen nou pral fè li konplètman configurable:)


Added postal lan, men li pa travay pa sèten ki sa nou yo ap fè mal

blog_navbar_link -> {VB: anvan tout koreksyon vbenterprisetranslatorflagsdropdown}

/ Gen ladan / vbentrprisetranslator_functions_hook.php ->



vB_Template::preRegister('navbar', array('vbenterprisetranslatorflagsdropdown' => $vbenterprisetranslatorflagsdropdown));
vB_Template::preRegister('vbcms_navbar_link', array('vbenterprisetranslatorflagsdropdown' => $vbenterprisetranslatorflagsdropdown));
vB_Template::preRegister('blog_navbar_link', array('vbenterprisetranslatorflagsdropdown' => $vbenterprisetranslatorflagsdropdown));



blog_navbar_link -> postal anba a



*******************************************
<vb:if condition="$vboptions['selectednavtab'] == 'vbblog'">
<li class="selected">
<a class="navtab" href="blog.php{vb:raw session.sessionurl_q}">{vb:rawphrase blogs}</a>
<ul class="floatcontainer">
{vb:raw template_hook.blog_navbar_start}
<vb:if condition="$show['canpostitems']">
<li><a href="{vb:link blog, {vb:raw bbuserinfo}, null, 'userid', 'blog_title'}">{vb:rawphrase your_blog}</a></li>
</vb:if>
{vb:raw template_hook.blog_navbar_after_your_blog}
<li><a href="blog.php?{vb:raw session.sessionurl}do=list">{vb:rawphrase recent_entries}</a></li>
{vb:raw template_hook.blog_navbar_after_recent_entries}
<li><a href="blog.php?{vb:raw session.sessionurl}do=list&amp;blogtype=best">{vb:rawphrase best_blog_entries}</a></li>
{vb:raw template_hook.blog_navbar_after_best_entries}
<li><a href="blog.php?{vb:raw session.sessionurl}do=bloglist">{vb:rawphrase blog_list}</a></li>
{vb:raw template_hook.blog_navbar_after_blog_list}
<vb:if condition="$show['canpostitems']">
<li><a href="blog_usercp.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase blog_options}</a></li>
{vb:raw vbenterprisetranslatorflagsdropdown}
</vb:if>
{vb:raw template_hook.blog_navbar_end}
</ul>
</li>
<vb:else />
<li><a class="navtab" href="blog.php{vb:raw session.sessionurl_q}">{vb:rawphrase blogs}</a></li>
</vb:if>
***********************************************

vBET
26-04-10, 23:43
Nan ki dekri solisyon ou bezwen gen kote pou mete koutim drapo!

Pou ou gen li fè travay li nan tout konfigirasyon jis ranplase sa a:


if ('cu' != $vbulletin->options['vbenterprisetranslator_translationsDropdownMenu_position']) {
$template_hook[$vbulletin->options['vbenterprisetranslator_translationsDropdownMenu_position']] .= $vbenterprisetranslatorflagsdropdown;
} else {
vB_Template::preRegister('navbar', array('vbenterprisetranslatorflagsdropdown' => $vbenterprisetranslatorflagsdropdown));
}


Pou sa ka:


if ('cu' != $vbulletin->options['vbenterprisetranslator_translationsDropdownMenu_position']) {
$template_hook[$vbulletin->options['vbenterprisetranslator_translationsDropdownMenu_position']] .= $vbenterprisetranslatorflagsdropdown;
} else {
vB_Template::preRegister('navbar', array('vbenterprisetranslatorflagsdropdown' => $vbenterprisetranslatorflagsdropdown));
}
vB_Template::preRegister('vbcms_navbar_link', array('vbenterprisetranslatorflagsdropdown' => $vbenterprisetranslatorflagsdropdown));
vB_Template::preRegister('blog_navbar_link', array('vbenterprisetranslatorflagsdropdown' => $vbenterprisetranslatorflagsdropdown));

Se konsa, nan lòt mo - mete liy 2 ak ou anplis sèlman 1 liy pi ba (apre "}").

Epitou mwen wè ke nan modèl ou mete {VB: anvan tout koreksyon vbenterprisetranslatorflagsdropdown} anndan si kloz - mete l 1 liy pi ba yo. Li pral ba ou:


*******************************************
<vb:if condition="$vboptions['selectednavtab'] == 'vbblog'">
<li class="selected">
<a class="navtab" href="blog.php{vb:raw session.sessionurl_q}">{vb:rawphrase blogs}</a>
<ul class="floatcontainer">
{vb:raw template_hook.blog_navbar_start}
<vb:if condition="$show['canpostitems']">
<li><a href="{vb:link blog, {vb:raw bbuserinfo}, null, 'userid', 'blog_title'}">{vb:rawphrase your_blog}</a></li>
</vb:if>
{vb:raw template_hook.blog_navbar_after_your_blog}
<li><a href="blog.php?{vb:raw session.sessionurl}do=list">{vb:rawphrase recent_entries}</a></li>
{vb:raw template_hook.blog_navbar_after_recent_entries}
<li><a href="blog.php?{vb:raw session.sessionurl}do=list&amp;blogtype=best">{vb:rawphrase best_blog_entries}</a></li>
{vb:raw template_hook.blog_navbar_after_best_entries}
<li><a href="blog.php?{vb:raw session.sessionurl}do=bloglist">{vb:rawphrase blog_list}</a></li>
{vb:raw template_hook.blog_navbar_after_blog_list}
<vb:if condition="$show['canpostitems']">
<li><a href="blog_usercp.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase blog_options}</a></li>
</vb:if>
{vb:raw vbenterprisetranslatorflagsdropdown}
{vb:raw template_hook.blog_navbar_end}
</ul>
</li>
<vb:else />
<li><a class="navtab" href="blog.php{vb:raw session.sessionurl_q}">{vb:rawphrase blogs}</a></li>
</vb:if>
***********************************************

anand
27-04-10, 06:42
ajoute sa a postal fè sistèm yo ale vid paj blan & menm admincp vin paj blan

Thanks
Anand

anand
27-04-10, 07:06
Nan ki dekri solisyon ou bezwen gen kote pou mete koutim drapo!

Pou ou gen li fè travay li nan tout konfigirasyon jis ranplase sa a:


if ('cu' != $vbulletin->options['vbenterprisetranslator_translationsDropdownMenu_position']) {
$template_hook[$vbulletin->options['vbenterprisetranslator_translationsDropdownMenu_position']] .= $vbenterprisetranslatorflagsdropdown;
} else {
vB_Template::preRegister('navbar', array('vbenterprisetranslatorflagsdropdown' => $vbenterprisetranslatorflagsdropdown));
}


Pou sa ka:


if ('cu' != $vbulletin->options['vbenterprisetranslator_translationsDropdownMenu_position']) {
$template_hook[$vbulletin->options['vbenterprisetranslator_translationsDropdownMenu_position']] .= $vbenterprisetranslatorflagsdropdown;
} else {
vB_Template::preRegister('navbar', array('vbenterprisetranslatorflagsdropdown' => $vbenterprisetranslatorflagsdropdown));
}
vB_Template::preRegister('vbcms_navbar_link', array('vbenterprisetranslatorflagsdropdown' => $vbenterprisetranslatorflagsdropdown));
vB_Template::preRegister('blog_navbar_link', array('vbenterprisetranslatorflagsdropdown' => $vbenterprisetranslatorflagsdropdown));

Se konsa, nan lòt mo - mete liy 2 ak ou anplis sèlman 1 liy pi ba (apre "}").

Epitou mwen wè ke nan modèl ou mete {VB: anvan tout koreksyon vbenterprisetranslatorflagsdropdown} anndan si kloz - mete l 1 liy pi ba yo. Li pral ba ou:


*******************************************
<vb:if condition="$vboptions['selectednavtab'] == 'vbblog'">
<li class="selected">
<a class="navtab" href="blog.php{vb:raw session.sessionurl_q}">{vb:rawphrase blogs}</a>
<ul class="floatcontainer">
{vb:raw template_hook.blog_navbar_start}
<vb:if condition="$show['canpostitems']">
<li><a href="{vb:link blog, {vb:raw bbuserinfo}, null, 'userid', 'blog_title'}">{vb:rawphrase your_blog}</a></li>
</vb:if>
{vb:raw template_hook.blog_navbar_after_your_blog}
<li><a href="blog.php?{vb:raw session.sessionurl}do=list">{vb:rawphrase recent_entries}</a></li>
{vb:raw template_hook.blog_navbar_after_recent_entries}
<li><a href="blog.php?{vb:raw session.sessionurl}do=list&amp;blogtype=best">{vb:rawphrase best_blog_entries}</a></li>
{vb:raw template_hook.blog_navbar_after_best_entries}
<li><a href="blog.php?{vb:raw session.sessionurl}do=bloglist">{vb:rawphrase blog_list}</a></li>
{vb:raw template_hook.blog_navbar_after_blog_list}
<vb:if condition="$show['canpostitems']">
<li><a href="blog_usercp.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase blog_options}</a></li>
</vb:if>
{vb:raw vbenterprisetranslatorflagsdropdown}
{vb:raw template_hook.blog_navbar_end}
</ul>
</li>
<vb:else />
<li><a class="navtab" href="blog.php{vb:raw session.sessionurl_q}">{vb:rawphrase blogs}</a></li>
</vb:if>
***********************************************

asire w anba a si postal pouvwa dwe pandan y ap kopye isit la li yo mwen rate li

vBET
27-04-10, 21:54
asire w anba a si postal pouvwa dwe pandan y ap kopye isit la li yo mwen rate li

Se konsa, gen se yon pwoblèm ki gen paj vid oswa postal bay pou sa se travay? :)

anand
28-04-10, 15:29
bay postal se pa sa k ap travay: (espere ou te teste sou VB 4.0.3 si se pa mwen pral ba ou aksè nan server nou an / VB


Se konsa, gen se yon pwoblèm ki gen paj vid oswa postal bay pou sa se travay? :)

anand
30-04-10, 11:49
toujou ap tann pou replies ou a??

vBET
01-05-10, 12:19
toujou ap tann pou replies ou a??

Sorry - te aksidantèlman manke mesaj li. Tanpri, aksè PM e mwen pral tcheke pou wè ak kòrèk l 'sou kote.

vBET
02-05-10, 23:05
Fè. Tanpri sonje byen ke bay enstriksyon yo kòrèk - ou pa t 'fè chanjman pou dosye zen;)

anand
03-05-10, 12:30
Fè. Tanpri sonje byen ke bay enstriksyon yo kòrèk - ou pa t 'fè chanjman pou dosye zen;)

Mèsi pou ranje a: D

Wi mwen te ajoute postal lan nan Kwòk yo, men yo retire pita depi li te ban m 'blan paj vid & tou te remake icon tradiksyon vini nan fen navbar a nan blog / CMS nou vle nan kòmansman an navbar???


Epitou ou ka fè tès tèt ou pwoblèm nan fen navbar tèt ou kounye a depi ou gen login & modpas avèk ou

Thanks
Anand

vBET
03-05-10, 13:31
Mèsi pou ranje a: D

Wi mwen te ajoute postal lan nan Kwòk yo, men yo retire pita depi li te ban m 'blan paj vid & tou te remake icon tradiksyon vini nan fen navbar a nan blog / CMS nou vle nan kòmansman an navbar???


Epitou ou ka fè tès tèt ou pwoblèm nan fen navbar tèt ou kounye a depi ou gen login & modpas avèk ou

Thanks
Anand

Pou ou gen li nan kòmansman an jis modifye ki apwopriye modèl ak kote chanjman nan varyab vBET pou gout meni-desann.

Mwen ekri ou nan PM ki se navbar pwoblèm fen ki te koze pa kèk mod lòt ki Doublon antye kontni de $ template_hook ['navbar_end']. Tanpri sonje ke nou yo ki responsab sèlman pou postal nou yo ak isit la se pa ensèk vBET. Tanpri, mande enfòmasyon sou otè solisyon an mod ki lakòz pwoblèm nan. Ou ka jwenn koupab youn pa tanporèl enfimite Mods lòt youn pa youn. Epitou ou ka jis mete koutim kote epi ajoute drapo manyèlman nan fen navbar.

vBET
03-05-10, 22:20
Added opsyon konfigirasyon pou gout meni desann nan CMS ak BLOG navbar - pral enkli nan 4.2.2

trevis
12-05-10, 16:41
Ou kapab tou genyen nan "de MediaWiki" navbar? :)

vBET
12-05-10, 18:08
Ou kapab tou genyen nan "de MediaWiki" navbar? :)

Pa ka di kounye a - pa konnen sa a mod. Tanpri, gade repons pou posts lòt ou te fè sou MedyaWiki. Mwen yo pral kapab ba ou repons ki gen plis detay lè mwen pral wè li montre kouman li ap travay sou fowòm reyèl. Epitou - ajoute drapo pou MediaViki tanpri eseye sijesyon premye yo bay la a:

Men, adopte li nan MediaViki - konsa ajoute jis yon sèl liy preRegister, non modèl chanje nan yon sèl la itilize pa MediaViki epi ajoute nan sa a modèl varyab nou an.

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations delivered by vB Enterprise Translator 4.10.1