Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

eboot

Użytkownik
  • Postów

    9
  • Dołączył

  • Ostatnia wizyta

Odpowiedzi opublikowane przez eboot

  1. Sure - I've replaced them and the result is that i cannot mark a forum as read.

    If you want i can provide you with the full BoardIndexTemplate and ForumIndexTemplate files so you can see that the changes are made correctly.

    Any ideas?

    EDIT: When i set the icons to be displayed next to the forum name the AJAX function works as it should be , but when its set to replace the icon indicator it isnt working

  2. HI there again :)

    I think i another problem

    The mod is installed and icons are displayed correctly (on IPB 3.2.2) , but when i click on the icon so the forum can be marked as read - the icon just disappear and appears again when i refresh the page (and the forum is still marked as unread)

    Can You assist me on this?

    PS. You can view the problem here:

    http://forum.soundar...?/forum/1-home/

    In your instructions you said to look for that code in BoardIndexTemplate:

    											<td class='col_c_icon'>
    												<if test="hasUnread:|:$forum_data['_has_unread']">
    													<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']}&i=1" base="public"}" data-tooltip="{$this->lang->words['bi_markread']}" class='forum_marker'><img src='{$this->settings['img_url']}/f_icon.png' /></a>
    												<else />
    													<img src='{$this->settings['img_url']}/f_icon_read.png' />
    												</if>
    											</td>

    but instead i have this part:

    										   	 <td class='col_c_icon'>
    												<if test="hasUnread:|:$forum_data['_has_unread']">
    													<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']}&i=1" base="public"}" data-tooltip="{$this->lang->words['bi_markread']}" class='forum_marker'><img src='{$this->settings['img_url']}/f_icon.png' class='forum_icon' /></a>
    												<else />
    													<img src='{$this->settings['img_url']}/f_icon_read.png' class='forum_icon' />
    												</if>
    											</td>

    AND

    in ForumIndexTemplate im searching for:

                                       	 <td class='col_c_icon'>
                                               <if test="$forum_data['_has_unread']">
                                                   <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']}&i=1" base="public"}" data-tooltip="{$this->lang->words['bi_markread']}" class='forum_marker'><img src='{$this->settings['img_url']}/f_icon.png' /></a>
                                                   <script type='text/javascript'>
                                                       ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" );
                                                   </script>
                                               <else />
                                                   <img src='{$this->settings['img_url']}/f_icon_read.png' />
                                               </if>
                                           </td>

    but instead i have this one:

                                       	 <td class='col_c_icon'>
                                               <if test="$forum_data['_has_unread']">
                                                   <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']}&i=1" base="public"}" data-tooltip="{$this->lang->words['bi_markread']}" class='forum_marker'><img src='{$this->settings['img_url']}/f_icon.png' class='forum_icon' /></a>
                                                   <script type='text/javascript'>
                                                       ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" );
                                                   </script>
                                               <else />
                                                   <img src='{$this->settings['img_url']}/f_icon_read.png' class='forum_icon' />
                                               </if>
                                           </td>

×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.