Imam jedno pitanje : Zelim da pored svakog topica napravim razlicitu sliku. Kako to mogu da uradim ?
Evo zelim uraditi nesto slicno kao na ovoj slici samo sa razlicitim slikama
http://img2.imagetitan.com/img.php?image=1_newadobephotoshopimage.jpg
http://custom.simplemachines.org/mods/index.php?mod=511
Samo to sto ja koristim je modifikovana verzija tog mod-a ;)
a kako ga install? :S
meni ovaj mod ne radi... nikako mi ga nema medju modovima...
ima li neki drugi eventualno da mogu istu stvar napravit
Izaberi u admin panelu u podesavanjima servera engleski pa ce se mozda pojaviti...
ne pomaze...
vec sam odustao od njega...
evo nasao samneki drugi, al i sa njim imam problema...
Boardicon1.1.2
dobijem pri inastalcijji gresku na
1. Primjeni ./Themes/default/BoardIndex.template.php Neuspješno
2. Primjeni ./Themes/default/MessageIndex.template.php Neuspješno
10. Primjeni ./Themes/default/languages/index.turkish.php Neuspješno
ta tri... kopiro sam hrvatski preimenovo u turkish i ne prijavljuje ovo zadnje, neznam kolko je to pametno al eto.. htio sam probat jel do toga... :D
inace ova dva prva sam postavio na 777 dozvole, al i dalje ista greska? :(
hmmm evo jos jedno pitanje
probo sam i pjeske uradit to...
znaci, naso sam
BoardIndex.template.php i u njemu naso
// If the board is new, show a strong indicator.
if ($board['new'])
echo '<img src="', $settings['images_url'], '/on.gif" alt="', $txt[333], '" title="', $txt[333], '" />';
// This board doesn't have new posts, but its children do.
elseif ($board['children_new'])
echo '<img src="', $settings['images_url'], '/on2.gif" alt="', $txt[333], '" title="', $txt[333], '" />';
// No new posts at all! The agony!!
else
echo '<img src="', $settings['images_url'], '/off.gif" alt="', $txt[334], '" title="', $txt[334], '" />';
i zamjenio sa:
// If the board is new, show a strong indicator.
if ($board['new'])
echo '<img src="', $settings['images_url'], '/onoff/new' , $board['1'] ,'1_on.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
echo '<img src="', $settings['images_url'], '/onoff/new' , $board['2'] ,'2_on.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
echo '<img src="', $settings['images_url'], '/onoff/new' , $board['3'] ,'3_on.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
// This board doesn't have new posts, but its children do.
elseif ($board['children_new'])
echo '<img src="', $settings['images_url'], '/onoff/child' , $board['1'] ,'1_on.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
echo '<img src="', $settings['images_url'], '/onoff/child' , $board['2'] ,'2_on.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
echo '<img src="', $settings['images_url'], '/onoff/child' , $board['3'] ,'3_on.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
// No new posts at all! The agony!!
else
echo '<img src="', $settings['images_url'], '/onoff/old' , $board['1'] ,'1_off.gif" alt="', $txt[334], '" title="', $txt[334], '" border="0" />';
echo '<img src="', $settings['images_url'], '/onoff/old' , $board['2'] ,'2_off.gif" alt="', $txt[334], '" title="', $txt[334], '" border="0" />';
echo '<img src="', $settings['images_url'], '/onoff/old' , $board['3'] ,'3_off.gif" alt="', $txt[334], '" title="', $txt[334], '" border="0" />';
}
kako je naveo ALM OVDJE (http://www.simplemachines.org/community/index.php?topic=180704.0) ali kad pregazim stari BoardIndex.template.php dobijem gresku tipa:
Parse Error predloška!
Problem u učitavanju /Themes/default/BoardIndex.template.php predloška ili jezične datoteke. Provjerite sintaksu i pokušajte ponovno - zapamtite, jednostavni navodnici (') često moraju biti odvojeni sa kosom crtom (\). Da bi ste pogledali informacije o određenoj PHP pogreški, pokušajte pristupiti datoteci direktno.
Možete i probati osviježiti / refresh ovu stranicu ili koristite standardni predložak.
syntax error, unexpected T_ELSEIF
e sad pitanje... GDJE GRIJESIM?! :-\ :-\
rjesio sam problemcic ;)
ok..
uspio sam... napokon...
u BoardIndex.template.php
// If the board is new, show a strong indicator.
if ($board['new'])
echo '<img src="', $settings['images_url'], '/on.gif" alt="', $txt[333], '" title="', $txt[333], '" />';
// This board doesn't have new posts, but its children do.
elseif ($board['children_new'])
echo '<img src="', $settings['images_url'], '/on2.gif" alt="', $txt[333], '" title="', $txt[333], '" />';
// No new posts at all! The agony!!
else
echo '<img src="', $settings['images_url'], '/off.gif" alt="', $txt[334], '" title="', $txt[334], '" />';
zamjenio sa
// If the board is new, show a strong indicator.
if ($board['new'])
echo '<img src="', $settings['images_url'], '/boards/' , $board['id'] , 'on.gif" alt="', $txt[333], '" title="', $txt[333], '" />';
// This board doesn't have new posts, but its children do.
elseif ($board['children_new'])
echo '<img src="', $settings['images_url'], '/boards/' , $board['id'] , 'on2.gif" alt="', $txt[333], '" title="', $txt[333], '" />';
// No new posts at all! The agony!!
else
echo '<img src="', $settings['images_url'], '/boards/' , $board['id'] , 'off.gif" alt="', $txt[334], '" title="', $txt[334], '" />';
i onda slike upload u folder boards sa imenima 1on.gif 1on2.gif 1off.gif za svaki board dajuci broj slici ;)
www.forum.monitor.ba ;)
Ja sam ro riješio htmk kodom u rubrici gdje se upisuje opis topica.Naravno sličicu trba negdje hostovati a to nije problem.Preporuka uzeti slicice ili ikone veličine 32x32 a toga ima more.Pozdrav
Primjer www.modran.com/smf (http://www.modran.com/smf)