php_fusion

View previous topic View next topic Go down

php_fusion

Post by xperience on Wed Oct 15, 2008 5:11 pm

Pasaki ludzu ka php_fusion var panakt lai Users varetu ielikt liekas bildes nekas 100x100px Un ka dabut gatavu so paneli blakus navigacijai meginaju visadi bet nesanaca

xperience
New user
New user

Number of posts : 13
Registration date : 2008-10-09

View user profile

Back to top Go down

Re: php_fusion

Post by Gest3r on Sat Oct 18, 2008 3:46 pm

1)Liekas bildes vai lielaakas?
2)To var izdariit admin paneli pie users configuration laikam taa bija...

_________________
avatar
Gest3r
Administrator
Administrator

Number of posts : 21
Age : 23
Location : Latvija/Olaine
Registration date : 2008-03-22

View user profile http://tuts.topicboard.net

Back to top Go down

Re: php_fusion

Post by xperience on Mon Oct 27, 2008 11:12 am

es domaju lielaakas bildes a to tikai 100x100 px var ielikt tas ir loti mazas!!

xperience
New user
New user

Number of posts : 13
Registration date : 2008-10-09

View user profile

Back to top Go down

Re: php_fusion

Post by Lecter on Mon Oct 27, 2008 12:14 pm

Dodies uz
/includes/update_profile_include.php
un sameklē rindu:
if ($size['0'] > 100 || $size['1'] > 100) {
Tas ļaus nomainīt attēlu izmēru, bet profila iestatījumos tāpat uzrādīsies 100x100, tāpēc jādodas uz failu
edit_profile.php
un jāatrod rinda:
if ($size['0'] > 100 || $size['1'] > 100) {
izmaini izmērus uz tādiem, kādus norādīji iepriekš...
Bet protams, tiklīdz attēlam ir lielāks izmērs, tas paliks arī smagāks, tātad 3. solis:
Ir neliela atšķirība 6. versijai un 7.
6.:
/includes/update_profile_include.php
77. koda rinda
if (preg_match("/^[-0-9A-Z_\[\]] $/i", $avatarname) && preg_match("/(\.gif|\.GIF|\.jpg|\.JPG|\.png|\.PNG)$/", $avatarext) && $newavatar['size'] <= 30720) {
7v.:
110. koda rinda
if (preg_check("/^[-0-9A-Z_\[\]] $/i", $avatarname) && preg_check("/(\.gif|\.GIF|\.jpg|\.JPG|\.jpeg|\.JPEG|\.png|\.PNG)$/", $avatarext) && $newavatar['size'] <= 30720) {

izmērs norādīts bitos (30720)

Tas arī viss... Nu re, sarakstīju bezmaz vai mini pamācību

_________________
avatar
Lecter
Administrator
Administrator

Number of posts : 89
Location : Latvia; Riga
Registration date : 2008-03-21

View user profile http://tuts.whizkris.com

Back to top Go down

Re: php_fusion

Post by xperience on Mon Oct 27, 2008 9:14 pm

Liels paldies par tadu pamacibu atradu google labaku un vieglaku variantu avatar resizer vot ar to paneli gan nesmu ticis skaidriba es zinu ka nak jau gatavas themes ar tadu paneli bet ka pasam tadu izveidot?

xperience
New user
New user

Number of posts : 13
Registration date : 2008-10-09

View user profile

Back to top Go down

Re: php_fusion

Post by Lecter on Mon Oct 27, 2008 10:36 pm

ar resizer viņš tāpat samazināš attēla izmēru, ja tev vajag lielāku par 100x100 šis laikam ir labākais variants

_________________
avatar
Lecter
Administrator
Administrator

Number of posts : 89
Location : Latvia; Riga
Registration date : 2008-03-21

View user profile http://tuts.whizkris.com

Back to top Go down

Re: php_fusion

Post by ArisH on Tue Nov 25, 2008 6:48 pm

Plyzz iemetat linku uz PHP FUSION failiem loti vajag...

ArisH

Number of posts : 4
Registration date : 2008-11-25

View user profile

Back to top Go down

Re: php_fusion

Post by Lecter on Tue Nov 25, 2008 10:46 pm

http://php-fusion.co.uk/downloads.php?cat_id=19

_________________
avatar
Lecter
Administrator
Administrator

Number of posts : 89
Location : Latvia; Riga
Registration date : 2008-03-21

View user profile http://tuts.whizkris.com

Back to top Go down

Re: php_fusion

Post by Tarpins on Wed Nov 26, 2008 1:30 am

eh es jau domaju pac atradisu sitais paskreja prieksha Very Happy
avatar
Tarpins
Administrator
Administrator

Number of posts : 88
Age : 23
Location : Latvia , Riga
Registration date : 2008-10-19

View user profile http://Chill-strike.oo.lv

Back to top Go down

Re: php_fusion

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum