Admin Admin
Number of posts : 262 Join date : 08.03.12 Age : 62 Dzīvesvieta : Talsi
| Tēma: Video izskats (UCOZ) Piektdiena Oktobris 12, 2012 12:51 pm | |
| Ejam uz savu cp, tad ejam tur, kur vēlamies uzstādīt video saaļu, tas būs - Ad Board, load, publ vai kāds cits modulis, un tā scooter zīme traucē rakstīt. Tad, es stāstīšu par board, jo man pašam uz tā ir. Spiežam uz ad board moduļa, tad uz Module settings, un tur, kur ir - Fields of a new entry form:, noņemam pilnīgi visur ķesīšus, tikai atstājam uz - 2 (tas peč kārtas, jo man samainīts nosaukums, un nezināšu kā citiem tur ir.), un Custom field 1, pārējo atstājam neatķeksētu. tad ejam uz Ad board - Module design customization un tur kur ir - page with full entry and associated comments, tur aizvietosim $MESSAGE$ kodu ar šo: - Kods:
-
<center><noindex><object id="videoplayer779" width="100%" height="425"> <param name="allowFullScreen" value="true" /> <param name="allowScriptAccess" value="always" /> <param name="wmode" value="transparent" /> <param name="movie" value="http://clipis.ucoz.ru/pleer/uppod.swf" /> <param name="flashvars" value="comment=$ENTRY_TITLE$&st=http://clipis.ucoz.ru/pleer/video5-1512.txt&file=$OTHER1$" />
<embed src="http://clipis.ucoz.ru/pleer/uppod.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" flashvars="comment=$ENTRY_TITLE$&st=http://clipis.ucoz.ru/pleer/video5-1512.txt&file=$OTHER1$" width="100%" height="425"></embed> </object></noindex></center> Tad ejam uz apparance of entries, un tur nomainam visu uz šo : - Kods:
-
<div class="cBlock1" style="margin-top: 2px; margin-right: 2px; margin-bottom: 2px; margin-left: 2px; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: rgb(68, 68, 68); border-right-color: rgb(68, 68, 68); border-bottom-color: rgb(68, 68, 68); border-left-color: rgb(68, 68, 68); border-image: initial; color: rgb(153, 153, 153); font-family: 'Times New Roman'; font-size: medium; "><div class="f-block" style="background-image: url(http://biedriem.ucoz.lv/images/body/dark/module-tm.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; min-height: 58px; height: auto !important; background-position: 100% -5px; background-repeat: repeat no-repeat; "><div class="a-block" style="height: 54px; width: 54px; float: left; margin-top: 0px; margin-right: 6px; margin-bottom: 0px; margin-left: 0px; "><a href="$ENTRY_URL$"><img src="http://i1.ytimg.com/vi/<?if(strpos($OTHER1$, 'youtu.be')!='-1')?><?if(strpos($OTHER1$, 'www.youtu')='-1')?><?substr($OTHER1$,16,11)?><?else?><?substr($OTHER1$,20,11)?><?endif?><?else?><?if(strpos($OTHER1$, 'www.youtube')='-1')?><?substr($OTHER1$,27,11)?><?else?><?substr($OTHER1$,31,11)?><?endif?><?endif?>/3.jpg" title="$TITLE$" class="fl imgborder_tech mar0px" border="0" width="54" height="54"></a> </div><div class="cMessage" style="font-size: 10pt; text-align: left; line-height: 1.1em; padding-top: 0px; padding-right: 4px; padding-bottom: 4px; padding-left: 4px; min-height: 58px; height: auto !important; "><div class="u-block" style="font-size: 9pt; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; "><b style="color: rgb(67, 155, 230); "><span class="d-block" title="$DATE$" style="font-size: 7pt; color: rgb(67, 155, 230); float: right; ">$DATE$</span> <style="color: rgb(67,="" 155,="" 230);="" "="">$TITLE$</style="color:></b></div><div class="u-block" style="font-size: 9pt; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; "> Pievienoja - <a href="$PROFILE_URL$" style="color: rgb(67, 155, 230); "><b>$USERNAME$</b></a></div>Skatīts - $READS$ reizes <span class="d-block" title="Skatīties" style="color: rgb(67, 155, 230); float: right; font-size: 10pt; "><a href=" $ENTRY_URL$ " style="color: rgb(67, 155, 230); "><b>Skatīties</b></a></span> </div></div></div> Protams tur izskatu var mainīt, tikai nemainiet neko šajā koda daļā, tad viss apparance of entries kods sajuks un nerādiīs video bildi: - Kods:
-
<a href="$ENTRY_URL$"><img src="http://i1.ytimg.com/vi/<!--%IFTH1%0%--><!--%IFTH2%1%--><?substr($OTHER1$,16,11)?><!--%IFEN2%1%--><!--%IFEL3%1%--><?substr($OTHER1$,20,11)?><!--%IFEN3%1%--><!--%IFE N1%0%--><!--%IFEL4%0%--><!--%IFTH5%2%--><?substr($OTHER1$,27,11)?><!--%IFEN5%2%--><!--%IFEL6%2%--><?substr($OTHER1$,31,11)?><!--%IFEN6%2%--> <!--%IFEN4%0%-->/3.jpg" title="$TITLE$" class="fl imgborder_tech mar0px" border="0" width="54" height="54" /></a> Izskats būs diezgan pievilcīgs, apparance of entries kods der jebkādam dizainam, baltam vai melnam, vai zaļam, jo viņš izskatu automātiski maina, vismaz šajam saitam tā ir. Baltam izskats - Melnam izskats - Protams, melnajam teksti būs tādi kā baltajam, jo tur kodus esmu mainījis un daudz sexsīgāk salicis. | |
|