Actualism

Started by Crip, August 02, 2009, 09:34:40 AM

Previous topic - Next topic

Padre gremista

Good, I am using this theme in my forum, but, I have a question:

"How I can repair the bugs of new post's images in topics?"

www.gremioemfoco.info - A comunidade gremista na internet.

Crip

You just have a lack of SMF knowledge friend.
==============================>
Quote from: Padre gremista on October 14, 2013, 09:53:35 PM
Good, I am using this theme in my forum, but, I have a question:

"How I can repair the bugs of new post's images in topics?"
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Padre gremista

Quote from: Crip on October 15, 2013, 07:19:39 AM
You just have a lack of SMF knowledge friend.
==============================>
Quote from: Padre gremista on October 14, 2013, 09:53:35 PM
Good, I am using this theme in my forum, but, I have a question:

"How I can repair the bugs of new post's images in topics?"

Yes, but you may say the archive's name for edit?
www.gremioemfoco.info - A comunidade gremista na internet.

Crip

prolly best to just FTP upload and overwrite the images?
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Padre gremista

Quote from: Crip on October 15, 2013, 02:03:01 PM
prolly best to just FTP upload and overwrite the images?

Yes, but I don't found the images that show the new messages in topic not read.

It's a question basic, however I am having problems with this.  ;D

You may say the archives's name and the directory in your theme?
www.gremioemfoco.info - A comunidade gremista na internet.

Crip

Are you talking about this?     ?
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Padre gremista

Quote from: Crip on October 16, 2013, 10:45:26 AM
Are you talking about this?     ?

Yes, here in my forum, this always is bug and errored.

Which is the name of image archive, to I repair this?
www.gremioemfoco.info - A comunidade gremista na internet.

margarett

new.gif

You should find it under Themes/default/images/english
You have to copy it to Themes/default/images/your_language_here

Or in this theme's folder, if it exists there.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Padre gremista

Quote from: margarett on October 17, 2013, 12:23:03 PM
new.gif

You should find it under Themes/default/images/english
You have to copy it to Themes/default/images/your_language_here

Or in this theme's folder, if it exists there.

Thanks for help.
I will try repair this now.
www.gremioemfoco.info - A comunidade gremista na internet.

Crip

I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Antechinus

Ok, since it turns out I had to do some work with this theme anyway (curse that ChalkCat :D) here's a solution to this question.

In index.css

Code (Find) Select
/* Avatar Fix */
#smf-avatar {
float: left;
padding-top: 5px;
padding-right: 10px;
}


Code (Replace) Select
/* Avatar Fix */
#smf-avatar {
float: left;
padding-right: 10px;
}
#smf-avatar>.avatar {
max-height: 60px;
}


Code (Find) Select
#news {
position: absolute;
float: left;
clear: both;
top: 10.5em;
left: 1.5em;
text-align: left;
font-size: 11px;
color: #FFF;
font-family: Arial, Helvetica, sans-serif;
width: 50%;
}


Code (Replace) Select
#news {
clear: both;
text-align: left;
font-size: 11px;
color: #FFF;
}


Code (Find) Select
#header {
position: relative;
height: 140px;
overflow: hidden;
background: url(../images/art/topperbg.png) 0 0 repeat-x;
}


Code (Replace) Select
#header {
position: relative;
min-height: 140px;
overflow: hidden;
background: url(../images/art/topperbg.png) 0 0;
}

tabu11

thanks man good job

NekoJonez

Quote from: Antechinus on January 12, 2015, 08:05:18 PM
Ok, since it turns out I had to do some work with this theme anyway (curse that ChalkCat :D) here's a solution to this question.

snipped

The avatar looks strange to me now. Is it possible to move the news to the middle...?
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Klauser

#273
I have problem with this Theme under SMF 2.0.15 and PHP 7.1 + PHP 7.2 anyone else ? With PHP 5.4 its working fine.

http://www./index.php?
8: Undefined index: menu_buttons
/Themes/actualism_204/index.template.php
Line: 433

foreach ($context['menu_buttons'] as $act => $button)



http://www./index.php?
8: Undefined index: show_pm_popup
/Themes/actualism_204/index.template.php
Line: 112

var smf_charset = "', $context['character_set'], '";', $context['show_pm_popup'] ? '


http://www./index.php?
2: Invalid argument supplied for foreach()
/Themes/actualism_204/index.template.php
Zeile: 433

foreach ($context['menu_buttons'] as $act => $button)

-Rock Lee-

What happens in the 7.x branch the syntax of the variable is changed foreach for which you have to edit the new structure so that it works correctly!


Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Klauser

Thank you so much. I am not an expert with PHP, can you lead me please to the solve ? I have many mods running and this Theme is the best for us, so I do not want switch to an other, my Hosting Provider will move me soon to PHP 7.x  :-\


-Rock Lee-

I'm doing tests with PHP: 7.2.10 along with some modifications of SMF to work moderately and the theme does not mark any error in the error log. If the theme should not give problems (at least I could not replicate the problem) can be from some mod... *Thinking about it*


Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Klauser

Thank you. I do a compare with WinMerge , my index with the orignal index. I have there only extra the random image mod from SMF Gallery, will test it later without this mod.

// SMF Gallery Recent Images on Index
if (allowedTo('smfgallery_view'))
{
global $boardurl;




// Check if the gallery url has been set if not use the default
if(empty($modSettings['gallery_url']))
$modSettings['gallery_url'] = $boardurl . '/gallery/';

echo '


<table cellspacing="0" cellpadding="5" border="0" align="center" width="100%" class="tborder">

';
$rowlevel = 0;
$maxrowlevel = 4;
foreach ($context['gallery_recent'] as $picture)
{

if ($rowlevel == 0)
echo '<tr>';


echo '
<td align="center"><a href="' . $scripturl . '?action=gallery;sa=view;id=' .$picture['id_picture'] . '"><img src="' . $modSettings['gallery_url'] . $picture['thumbfilename']  . '" alt="" /></a><br />
<span class="smalltext">';
echo $picture['title'] . ' - ' . $picture['profilelink'] ;
if (!empty($modSettings['gallery_set_t_filesize']))
echo $txt['gallery_text_filesize'] . $picture['filesize'] . '<br />';
if (!empty($modSettings['gallery_set_t_date']))
echo $picture['date'] . '<br />';
echo '</span></td>';



if($rowlevel < ($maxrowlevel-1))
$rowlevel++;
else
{
echo '</tr>';
$rowlevel = 0;
}
}
if($rowlevel !=0)
{
echo '</tr>';
}
echo '</table>';
}
// End SMF Gallery Recent Images on Index


// Show the navigation tree.
theme_linktree();
}



Klauser

#278
Ok, I found an old mod "Avatars on Board/MessageIndex"

Version 2.0 - Dec 28, 2017
- Fixed: Illegal string offset 'value' (due > PHP 7.1)
- Added: Proxy for external avatar urls


which was not up to date, I update it to the latest Version and the Errors was gone. After that I got new more errors with create_function() errors. I installed this mod and all is now running fine https://web-develop.ca/index.php?action=downloads;area=stable_smf_modifications;file=48

Thank you for your time you spent in my problem.
Kind Regards

Advertisement: