Uploaded images on mobile

 
Douzeper
Benutzer
Avatar
Geschlecht:
Herkunft: Antrim, Northern Ireland
Alter: 55
Homepage: motorhomecraic.com
Beiträge: 555
Dabei seit: 10 / 2004
Betreff:

Re: Uploaded images on mobile

 · 
Gepostet: 21.09.2017 - 19:32 Uhr  ·  #9
cback
Admin
Avatar
Geschlecht:
Herkunft: Saarland
Alter: 37
Homepage: cback.net
Beiträge: 17610
Dabei seit: 12 / 2003
Betreff:

Re: Uploaded images on mobile

 · 
Gepostet: 21.09.2017 - 19:33 Uhr  ·  #10
Douzeper
Benutzer
Avatar
Geschlecht:
Herkunft: Antrim, Northern Ireland
Alter: 55
Homepage: motorhomecraic.com
Beiträge: 555
Dabei seit: 10 / 2004
Betreff:

Re: Uploaded images on mobile

 · 
Gepostet: 08.05.2018 - 19:20 Uhr  ·  #11
cback
Admin
Avatar
Geschlecht:
Herkunft: Saarland
Alter: 37
Homepage: cback.net
Beiträge: 17610
Dabei seit: 12 / 2003
Betreff:

Re: Uploaded images on mobile

 · 
Gepostet: 08.05.2018 - 21:17 Uhr  ·  #12
Hi Ally,

no this time it's a little bit different because center-image-preview is the new default since 4.3.0.

The new thing would look like this:

FIND:
Code
                          <td colspan="2" class="uk-text-center uk-hidden-small"><div class="cf-attach-preview">{if $pd.system_attachment_output[atpout].a_prev && $pd.system_attachment_output[atpout].a_p_code != ''}{$pd.system_attachment_output[atpout].a_p_code}{else}<img src="upload/file_icons/{$pd.system_attachment_output[atpout].a_fimg}" alt="" title="" class="cf-attach-row-ficon" />{/if}</div></td>



REPLACE WITH:
Code
                          <td colspan="2" class="uk-text-center"><div class="cf-attach-preview">{if $pd.system_attachment_output[atpout].a_prev && $pd.system_attachment_output[atpout].a_p_code != ''}{$pd.system_attachment_output[atpout].a_p_code}{else}<img src="upload/file_icons/{$pd.system_attachment_output[atpout].a_fimg}" alt="" title="" class="cf-attach-row-ficon" />{/if}</div></td>



But the file (topic.htm) is still the same. ;)


Sincerely,
Chris
Douzeper
Benutzer
Avatar
Geschlecht:
Herkunft: Antrim, Northern Ireland
Alter: 55
Homepage: motorhomecraic.com
Beiträge: 555
Dabei seit: 10 / 2004
Betreff:

Re: Uploaded images on mobile

 · 
Gepostet: 08.05.2018 - 22:59 Uhr  ·  #13
cback
Admin
Avatar
Geschlecht:
Herkunft: Saarland
Alter: 37
Homepage: cback.net
Beiträge: 17610
Dabei seit: 12 / 2003
Betreff:

Re: Uploaded images on mobile

 · 
Gepostet: 09.05.2018 - 15:08 Uhr  ·  #14
Douzeper
Benutzer
Avatar
Geschlecht:
Herkunft: Antrim, Northern Ireland
Alter: 55
Homepage: motorhomecraic.com
Beiträge: 555
Dabei seit: 10 / 2004
Betreff:

Re: Uploaded images on mobile

 · 
Gepostet: 09.05.2018 - 20:12 Uhr  ·  #15
Idiot question :)

Would the topic.htm be the same for all installed templates are does it differ for each style? (for future reference)

IE: can I use same topic.htm for cblack ?
cback
Admin
Avatar
Geschlecht:
Herkunft: Saarland
Alter: 37
Homepage: cback.net
Beiträge: 17610
Dabei seit: 12 / 2003
Betreff:

Re: Uploaded images on mobile

 · 
Gepostet: 09.05.2018 - 20:19 Uhr  ·  #16
Hi Ally,

the file is always the same for every style. But depending how much of the standard stuff that own template changed the "Find & Replace" code could be different in your own styles.

Beside that you also have to upgrade all additional styles with our Codechanges on every update manually. The Update-Package only applies to our default style (Mira) but doesn't update your individual or additional styles. If you use outdated styles in a newer forum version there could be some errors or new features are missing.

And depending on how much your own styles differ from the standard MIRA there could also be problems if you just copy mira files into a different template. So always use the manual codechanges for own Templates.

In case of the CB(l)ACK style from me that is ok for .htm files though, because the CB(l)ACK Style has just another style but is beside that just a dark clone from mira with the same .htm filebase.


Sincerely,
Chris
Gewählte Zitate für Mehrfachzitierung:   0

Registrierte in diesem Topic

Aktuell kein registrierter in diesem Bereich

Die Statistik zeigt, wer in den letzten 5 Minuten online war. Erneuerung alle 90 Sekunden.