Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: kas pades?

Parašė Dweinas333· 2008 Rugp. 5 18:08:53
#1

zinot kai yra tie smailai apacioj kai rasai per foruma atsakyma arba komentara kur nors...tj kaip juos pakeisti? ten kazkur forum/postreply.php tik nesusigaudau... padekit

Parašė mXt· 2008 Rugp. 5 18:08:39
#2

images/smileys direktorijoje istrini senus ir idedi naujus.

Parašė Dweinas333· 2008 Rugp. 5 18:08:20
#3

jau ta padariau... pvz yra ten smile,sad,cool ir kt. tj man nerodo kuriuos idejau(kai kuriu)

Parašė mXt· 2008 Rugp. 5 18:08:02
#4

Atsidarai maincore.php, tada 302 eiluteje rasai

"#\kodas, kuri parasius rodys smaila#si" => "<img src='".IMAGES."smiley/smailo pavadinimas smileys folderyje.gif' alt='smiley'>",


Tada susirandi 320 eilute, ten rasai:

"kodas, kuri parasius ismes smaila" => "smailo pavadinimas smileys folderyje.gif",
.

Parašė Dweinas333· 2008 Rugp. 5 18:08:19
#5

padariau kaip sakei ir dbr man raso:
Warning: preg_replace(): Compilation failed: unmatched parentheses at offset 2 in /home/www/cshome.freehostia.com/maincore.php on line 317

Warning: preg_replace(): Compilation failed: missing ) at offset 3 in /home/www/cshome.freehostia.com/maincore.php on line 317

gal ka blogai padariau?

Parašė mXt· 2008 Rugp. 5 18:08:54
#6

kazkur nepadejai ) 317 eiluteje

Parašė Dweinas333· 2008 Rugp. 5 19:08:23
#7


// Parse smiley bbcode into HTML images
function parsesmileys($message) {
$smiley = array(
"#\:)#si" => "<img src='".IMAGES."smiley/smile.gif' alt='smiley'>",
"#\:D#si" => "<img src='".IMAGES."smiley/bigsmile.gif' alt='smiley'>",
"#\:|#si" => "<img src='".IMAGES."smiley/speechless.gif' alt='smiley'>",
"#\:(#si" => "<img src='".IMAGES."smiley/sadsmile.gif' alt='smiley'>",
"#\;)#si" => "<img src='".IMAGES."smiley/wink.gif' alt='smiley'>",
"#\:p#si" => "<img src='".IMAGES."smiley/toungueout.gif' alt='smiley'>",
"#B)#si" => "<img src='".IMAGES."smiley/cool.gif' alt='smiley'>",
"#\;(#si" => "<img src='".IMAGES."smiley/crying.gif' alt='smiley'>",
"#\:@#si" => "<img src='".IMAGES."smiley/angry.gif' alt='smiley'>"
);
foreach($smiley as $key=>$smiley_img) $message = preg_replace($key, $smiley_img, $message);
return $message;
}

// Show smiley icons in comments, forum and other post pages
function displaysmileys($textarea) {
$smiles = "";
$smileys = array (
":)" => "smile.gif",
":D" => "bigsmile.gif",
":|" => "speechless.gif",
":(" => "sadsmile.gif",
";)" => "wink.gif",
":p" => "tangueout.gif",
"B)" => "cool.gif",
";(" => "crying.gif",
":@" => "angry.gif"
);


kur nepadejau?

Redagavo Dweinas333· 2008 Rugp. 5 19:08:04