MaxRom | Scripturi uCoz Romania

Bannerul tau aici
[ Mesaje noi · Membrii · Regulamentul forumului · RSS ]
Pagina 1 din 11
Forum » uCoz system » Board » Peretele Utilizatorului
Peretele Utilizatorului
Muşatinu Date: Duminică, 2012-03-25, 08:07 | Message # 1
Mesaje: 1801
Awards: 202
« 52 »

[spoiler="Ex:"][/spoiler]

Pentru acest perete e nevoie de modulul board (anunturi)

1) Activam API din setarile generale, de obicei ele sunt activate (API key nu trebuie activat)


2) Creem o categorie pentru acest modul (denumirea nu conteaza sa fie prima.

3) in setarile modulului dat dezactivam toate celulele in afara de subiesct (tema)



4) dezactivam in drepturile utilizatorilor remodularea materialelor pentru modulul dat


5) In Page with full entry text and associated comments schimbam totul cu:
Code
<?substr($ADMIN_BAR$,0,0)?>   
  <html><head>   
  <title>$ENTRY_TITLE$</title>   
  <?substr('</head>',strpos('</head>','/head>')-1)?><body>   
  <?if($COM_PAGE_SELECTOR$)?>$COM_PAGE_SELECTOR$<?endif?>   
  $COM_BODY$   
  <?if($COM_CAN_ADD$)?>$COM_ADD_FORM$<?endif?>   
  $POWERED_BY$   
  </body></html>


6) In Appearance of entries schimbam totul cu:
Code
<a href="$ENTRY_URL$" class="urlWall">$TITLE$</a>


7) in paginile Page with search results and entries rating si Entry adding/editing page schimbam totul cu:

Code
<?substr($ADMIN_BAR$,0,0)?>   
  <html><head>   
  <title>Peretele utilizatorului</title>   
  <?substr('</head>',strpos('</head>','/head>')-1)?><body>   
  $BODY$   
  $POWERED_BY$   
  </body></html>


8) In Appearance of comments la inceput punem:

Code
<?if($MODULE_ID$='board')?>  
<table class="Mlwall" cellpadding="0" cellspacing="0">
  <tbody>
  <tr>  
<td colspan="1" rowspan="2" style="width:60px;vertical-align:top">
  <?if($USER_AVATAR_URL$)?>
  <img src="$USER_AVATAR_URL$" width="50"><?else?>
  <img src="http://i.imgur.com/nIrtE.gif" width="50">
  <?endif?>
</td>  
<td colspan="2" rowspan="1" style="height:10px;vertical-align:top">
  <a href="$PROFILE_URL$" class="lwall"><b>$USERNAME$</b></a>
  <?if($MODER_PANEL$)?> $MODER_PANEL$<?endif?>
  <div style="float:right"><?if($COMMENT_RATING$<0)?>
  <span class="myWinError"><b>$COMMENT_RATING$</b></span>
  <?else?>
  <?if($COMMENT_RATING$=0)?>
  <span style="color:gray;"><b>$COMMENT_RATING$</b></span>
  <?else?><span class="myWinSuccess"><b>+$COMMENT_RATING$</b></span>
  <?endif?>
  <?endif?>
  <?if($GOOD_COMMENT_URL$)?>
  <a href="$GOOD_COMMENT_URL$">
  <img alt="" src="http://s105.ucoz.net/img/icon/thumbu.png" width="13" align="absmiddle" border="0" title="Post bun"></a><a href="$BAD_COMMENT_URL$"><img alt="" src="http://s105.ucoz.net/img/icon/thumbd.png" width="13" border="0" align="absmiddle" title="Post rau"></a><?else?><img alt="" src="http://s105.ucoz.net/img/icon/thumbu_.png" align="absmiddle" width="13" border="0" title="Post bun"><img alt="" src="http://s105.ucoz.net/img/icon/thumbd_.png" width="13" align="absmiddle" border="0" title="Post rau"><?endif?></div></td>  
<tr>
  <td>$MESSAGE$<div class="Twall">$DATE$ в $TIME$</div>
  </td>  
<td width="60" style="vertical-align:bottom"><?if($ANSWER_URL$)?><a style="float:right" href="$ANSWER_URL$">Raspunde</a><?endif?></td></tr></tbody></table><hr style="color:#EEEEEE;height:1px;border-top:0px;border-style:solid">  
<?if($ANSWER$)?><table class="Mlwall" cellpadding="0" cellspacing="0"><tbody><tr><td colspan="1" rowspan="3" width="60"> </td><td colspan="1" rowspan="2" style="width:60px;vertical-align:top"><?if($USER_AVATAR_URL$)?><img src="$USER_AVATAR_URL$" width="50"><?else?><img src="http://i.imgur.com/nIrtE.gif" width="50"><?endif?></td><td style="height:10px;vertical-align:top"><a href="$PROFILE_URL$" class="lwall">$USERNAME$</a></td></tr><tr><td>$ANSWER$<div class="Twall">$DATE$ в $TIME$</div></td></tr><tr><td colspan="2" rowspan="1"><hr style="color:#EEEEEE;height:1px;border-top:0px;border-style:dashed"></td></tr></tbody></table><?endif?><?else?>


si la sfarsit punem:

Code
<?endif?>


9) In profilul utilizatorului, unde doriti sa apara peretele puneti:

Code
<?if(!$_BOARD_ENTRIES$ && $_IS_OWN_PROFILE$)?>  
<input id="wallAdd" onclick="wall.add()" style="float:right" value="Activati peretele" type="button">  
<?endif?>  
<?if($USER_LOGGED_IN$ && $_BOARD_ENTRIES$)?>  
<div class="bwall">  
<div style="padding:3px">  
<textarea id="wallTxt" style="border:1px solid #DDDDDD;height:20px;width:98%;resize:none;"></textarea>  
<table style="display:none" id="fadeWall"><tbody><tr><td style="display:none" class="wallCp">Cod: </td><td style="display:none" class="wallCp"><input id="scCd" type="text" size="7" maxlength="6" style="padding:4px;font-size:20px;" /> <img alt="" style="cursor:pointer;vertical-align:top" id="scImg" title="Reamprospateaza codu de securitate" src="" align="absmiddle"> <input type="hidden" id="sckey" value="" /></td><td><input id="wallSmb" value="Adauga" type="button"> </td><td id="wallSt"></td></tr></tbody></table>
</div></div>  
<hr style="color:#EEEEEE;height:1px;border-top:0px;border-style:solid">  
<div id="entry">Se incarca...</div>  
<div id="uploadW" style="display:none;text-align:center;cursor:pointer;background:#F2F2F2;padding:10px;border-top:1px solid #EAEAEA;border-bottom:1px solid #EAEAEA;color:#888888" onclick="wall.upload()"><b>Inregistrarea anterioara</b></div>  
<?endif?>  
<script type="text/javascript" src="http://maxrom.ucoz.com/js/wall_v2.js"></script>  
<?if($_BOARD_ENTRIES$)?>  
<style type="text/css">  
.bwall{border:1px solid #EAEAEA;text-align:left;color:#888888;cursor:pointer;background:#F7F7F7;}  
.swall{background:#F2F2F2;text-align:left;padding:4px}  
.Mlwall {font-family:tahoma,arial,verdana,sans-serif,Lucida Sans;font-size:8pt;width:100%}  
a.lwall {font-size:10pt}  
.Twall {margin-top:4px;color:#999999;font-size:7pt}  
.Mlwall a:link {text-decoration:none;color:#2B587A}  
.Mlwall a:active {text-decoration:underline;color:#2B587A;}  
.Mlwall a:visited {text-decoration:none;color:#2B587A}  
.Mlwall a:hover {text-decoration:underline;color:#2B587A}  
.wallCp, #fadeWall {display:none}  
</style>  
<script type="text/javascript">  
$('#wallSmb').click(function (){  
  wall.send($_USER_ID$);  
});  
wall.load($_USER_ID$);  
</script><?endif?>


[texterror4]Sursa: http://upost.su
Traducere RO: http://maxrom.net

[/texterror4]

Attachments: 9990932.png(6Kb) · 4006817.png(14Kb)



 
Stefax Date: Miercuri, 2012-03-28, 16:07 | Message # 2
Mesaje: 5
Awards: 0
« 0 »

Am o problema miam pus pus peretele asta si cand scrii ceva si dau adauga imi apare ca se incarca si atat nu i se pune mesajul.

 
Muşatinu Date: Miercuri, 2012-03-28, 17:58 | Message # 3
Mesaje: 1801
Awards: 202
« 52 »

Stefax, mmm nu stiu de ce e asa, dati refres dupa, mesaju sa adaugat?



 
Stefax Date: Joi, 2012-03-29, 15:20 | Message # 4
Mesaje: 5
Awards: 0
« 0 »

nu tot nu apare mesajul.

 
sorynik Date: Sâmbătă, 2012-04-07, 12:15 | Message # 5
Mesaje: 41
Awards: 24
« 0 »

Dar cu alt modul in afara de board nu merge?


Cu muzica buna, nu e de gluma!
 
Muşatinu Date: Sâmbătă, 2012-04-07, 13:42 | Message # 6
Mesaje: 1801
Awards: 202
« 52 »

sorynik, merge, insa eu nu am modificatiile necesare, am vazut si pentru site catalog.



 
Eu Date: Joi, 2012-12-20, 01:19 | Message # 7
Mesaje: 15
Awards: 14
« 0 »

Muşatinu, daca modulul "board" il folosesc la altceva ... cum ar fi asta http://cupeonline.ucoz.ro/board/ (sper sa nu fie considerata reclama) pot rezolva cumva sa nu stric bagina respectiva dar sa-mi pun si perete pentru fiecare profil??!

Adăugat (2012-12-20, 02:19)
---------------------------------------------
Muşatinu, daca modulul "board" il folosesc la altceva ... cum ar fi asta http://cupeonline.ucoz.ro/board/ (sper sa nu fie considerata reclama) pot rezolva cumva sa nu stric bagina respectiva dar sa-mi pun si perete pentru fiecare profil??!



http://cupeonline.ucoz.ro/ >>> Cupe, Competitii Online, Meciuri Online, Live Score, Dueluri, Provocari ...
 
Muşatinu Date: Joi, 2012-12-20, 19:42 | Message # 8
Mesaje: 1801
Awards: 202
« 52 »

Eu, nu se poate, sau asta sau alta.



 
sorynik Date: Vineri, 2013-01-18, 06:33 | Message # 9
Mesaje: 41
Awards: 24
« 0 »

Am incerca ttot ce am gasit si la rusi ..si asta ..dar niciunu nu a mers :( ..dau sa se adauge si nu apare.. x(


Cu muzica buna, nu e de gluma!
 
Muşatinu Date: Duminică, 2013-01-20, 14:51 | Message # 10
Mesaje: 1801
Awards: 202
« 52 »

sorynik, aici functioneaza, problema e la voi.



 
Expert-Zone Date: Joi, 2013-07-11, 21:11 | Message # 11
Mesaje: 9
Awards: 0
« 0 »

Musatinu , am aceiasi problema ca si sorynik .. si o mai are un prieten tot aceasta problema rezolvarea?:|

 
Muşatinu Date: Sâmbătă, 2013-07-13, 08:15 | Message # 12
Mesaje: 1801
Awards: 202
« 52 »

In principiu, scriptul functioneaza insa cu retinere
http://posta.at.ua/index/8



 
Forum » uCoz system » Board » Peretele Utilizatorului
Pagina 1 din 11
Căutare: