(DP30) Forum Icons
Rozpoczęty przez DawPi, 21 lip 2009 12:37
299 odpowiedzi w tym temacie
#47
Napisano 14 wrzesień 2009 - 07:14
Pokaż:
- link do forum,
- screen z ACP z widokiem, że powinna być ikona,
- screen z forum z widokiem, że powinna być ikona, a nie ma.
intermedia - profesjonalne rozwiązania Invision Power Board
#49
Napisano 14 wrzesień 2009 - 07:26
cichy: oczywiście wrzuciłeś dwie wersje pliku wg instrukcji, którą przeczytałeś dokładnie?
intermedia - profesjonalne rozwiązania Invision Power Board
#50
Napisano 14 wrzesień 2009 - 09:13
Tak oczywiście są dwie wersje .png i _off.png skopiowałem ikony z ibp 2.3.6
No robiłem według instrukcji no ale może być jakiś zonk w bicie.
boardIndexTemplate
forumindextemplate
Wydaje mi się że jest poprawnie.
No robiłem według instrukcji no ale może być jakiś zonk w bicie.
boardIndexTemplate
<if test="$forum_data['icon'] != '' AND $forum_data['icon'] !='0'">
<center><img src='{$this->settings['board_url']}/public/forumicons/{$forum_data['icon']}.png' /></center>
<else />
<if test="$forum_data['icon'] != '' AND $forum_data['icon'] !='0'">
<center><img src='{$this->settings['board_url']}/public/forumicons/{$forum_data['icon']}_off.png' /></center>
<else />
{parse replacement="{$forum_data['img_new_post']}"}
</if>
</if>
</a>
<script type='text/javascript'>
ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "{$forum_data['id']}" );
</script>
<else />
{parse replacement="{$forum_data['img_new_post']}"}
</if>
</td>
<td>
forumindextemplate
<tr class='{parse striping="catTable"}'>
<td class='altrow'>
<a id='forum_img_{$forum_data['id']}' href="{parse url="app=forums&module=forums&section=markasread&marktype=forum&forumid={$forum_data['id']}&returntoforumid={$this->request['f']}" base="public"}" title="{$this->lang->words['bi_markread']}" class='forum_marker'><if test="$forum_data['icon'] != '' AND $forum_data['icon'] !='0'">
<center><img src='{$this->settings['board_url']}/public/forumicons/{$forum_data['icon']}.png' /></center>
<else />
{parse replacement="{$forum_data['img_new_post']}"}
</if>
</a>
<script type='text/javascript'>
ipb.global.registerMarker( 'forum_img_{$forum_data['id']}', "{$forum_data['img_new_post']}", markerURL + "{$forum_data['id']}" );
</script>
</td>
<td>
Wydaje mi się że jest poprawnie.
#52
Napisano 14 wrzesień 2009 - 17:54
Ten mod ogólnie idzie do ponownego tworzenia. Jak tylko się odrobię z innymi pracami.
intermedia - profesjonalne rozwiązania Invision Power Board
#54
Napisano 15 wrzesień 2009 - 22:47
cichy: przy nowej wersji będzie wszystko grało i buczało, choć te ikony i w tej powinny działać Sprawdź jeszcze, czy dobrze wszystko edytowałeś.
intermedia - profesjonalne rozwiązania Invision Power Board
#57
Napisano 21 wrzesień 2009 - 10:14
Hello
I am have a problem using this hook:
If smbd click forum icon to make it read standard skin icon appear. After refreshing I see right icon (icon_off.gif).
I checked everything once more - I haven't errors in editing...
Also, after editing forumIndexTemplate for icons in subforum such feature as 'mark forums as read' stop working at subforums - after I click subforum icon it happen nothing...
My forum url:
I am have a problem using this hook:
If smbd click forum icon to make it read standard skin icon appear. After refreshing I see right icon (icon_off.gif).
I checked everything once more - I haven't errors in editing...
Also, after editing forumIndexTemplate for icons in subforum such feature as 'mark forums as read' stop working at subforums - after I click subforum icon it happen nothing...
My forum url:
http://forum.umora.biz
Użytkownik Suvoroff edytował ten post 21 wrzesień 2009 - 10:15
#58
Napisano 21 wrzesień 2009 - 11:09
Hi,
yes, this showing standard icon is confirmed error. Please wait for new version of this mod.
yes, this showing standard icon is confirmed error. Please wait for new version of this mod.
intermedia - profesjonalne rozwiązania Invision Power Board
#60
Napisano 29 wrzesień 2009 - 17:29
Hey DawPi!
I used this mod back on 2.3.x and this 3.0.x version is so much better because of that "_off" thingy...
Now, i dont like that you hardcoded ".gif" and "_off.gif" into skin, so i changed that so any image type can be used.
Im having one small problem thought, when you click on an forum icon that is a link to mark posts in side that forum as read, ajax do its thing and it returns normal, default image, not the one i have setted up n acp for that forum...
2009-09-29_182627.png 19,66 KB
3 Ilość pobrań
I used this mod back on 2.3.x and this 3.0.x version is so much better because of that "_off" thingy...
Now, i dont like that you hardcoded ".gif" and "_off.gif" into skin, so i changed that so any image type can be used.
Im having one small problem thought, when you click on an forum icon that is a link to mark posts in side that forum as read, ajax do its thing and it returns normal, default image, not the one i have setted up n acp for that forum...
2009-09-29_182627.png 19,66 KB
3 Ilość pobrań
Użytkownicy przeglądający ten temat: 1
0 użytkowników, 1 gości, 0 anonimowych
















