Simple Machines Community Forum
Customizing SMF => Modifications and Packages => Topic started by: Mick. on July 05, 2011, 05:45:27 PM
-
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2972)
COMPATIBLE WITH SMF 2.0
[/center]
Demo: http://www.bluedevilcustoms.com/index.php?action=forum
Credits: Land Of Coder (http://landofcoder.com)
This Jquery plugin may not play nice with others
Bug Fixes / Updates
1.) Created v.1 | March 2011
2.) Made input area boxes larger | March 2011
3.) Fixed xhtml compliance | July 2011
4.) Removed motools file from package and now uses Google's motools. | July 2011
*This mod installs a content slider below the menu in the header of your SMF forum installation.
*Easy to use. Simply add the URL to topics or external pages, URL to images and add a short description.
*Images work best if cropped to 900x300 pixels.
If you need support or need customize help, please post in the thread at SimpleMachines.org or @ bluedevilcustoms.com Thanks!
-
To use this mod with portals,... (Works best with TinyPortal as it uses the center wide blocks)
Remove this entire bit of code from the index.template.php and simply paste it to a PHP block in your portal of choice.
Fallbacks:
To use with simple portal, either left or right blocks cannot be used. Remember, the slider is quite wide. Create a 'Top" PHP block and wolla!
//SMF Slider v.1 by: bluedevilcustoms.com
global $modSettings;
if (!empty($modSettings['slider_enabled']) && (!empty($modSettings['slider_title1']) && !empty($modSettings['slider_img1']) || !empty($modSettings['slider_title2']) && !empty($modSettings['slider_img2']) || !empty($modSettings['slider_title3']) && !empty($modSettings['slider_img3']) || !empty($modSettings['slider_title4']) && !empty($modSettings['slider_img4']) || !empty($modSettings['slider_title5']) && !empty($modSettings['slider_img5']) || !empty($modSettings['slider_title6']) && !empty($modSettings['slider_img6'])))
{
echo '<br />
<div class="center">
<div id="lofslidecontent45" class="lof-slidecontent">
<div class="preload"><div>
</div>
</div>
<!-- MAIN CONTENT -->
<div class="lof-main-wapper">
', !empty($modSettings['slider_title1']) && !empty($modSettings['slider_img1']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img1']. '" title="'. $modSettings['slider_title1']. '" alt="'. $modSettings['slider_title1']. '" height="300" width="900"></img></div>' : '', '
', !empty($modSettings['slider_title2']) && !empty($modSettings['slider_img2']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img2']. '" title="'. $modSettings['slider_title2']. '" alt="'. $modSettings['slider_title2']. '" height="300" width="900"></img></div>' : '', '
', !empty($modSettings['slider_title3']) && !empty($modSettings['slider_img3']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img3']. '" title="'. $modSettings['slider_title3']. '" alt="'. $modSettings['slider_title3']. '" height="300" width="900"></img></div>' : '', '
', !empty($modSettings['slider_title4']) && !empty($modSettings['slider_img4']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img4']. '" title="'. $modSettings['slider_title4']. '" alt="'. $modSettings['slider_title4']. '" height="300" width="900"></img></div>' : '', '
', !empty($modSettings['slider_title5']) && !empty($modSettings['slider_img5']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img5']. '" title="'. $modSettings['slider_title5']. '" alt="'. $modSettings['slider_title5']. '" height="300" width="900"></img></div>' : '', '
', !empty($modSettings['slider_title6']) && !empty($modSettings['slider_img6']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img6']. '" title="'. $modSettings['slider_title6']. '" alt="'. $modSettings['slider_title6']. '" height="300" width="900"></img></div>' : '', '
</div>
<!-- END MAIN CONTENT -->
<!-- NAVIGATOR -->
<div class="lof-navigator-outer">
<ul class="lof-navigator">';
// Item One
if (!empty($modSettings['slider_title1']) && !empty($modSettings['slider_img1']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img1'], '" alt="', !empty($modSettings['slider_short_text1']) ? $modSettings['slider_short_text1'] : '*', '" />';
echo '<h3>
', !empty($modSettings['slider_url1']) ? '<a href="'. $modSettings['slider_url1']. '" target="_self">'. $modSettings['slider_title1']. '</a>' : $modSettings['slider_title1'], '
</h3>
', !empty($modSettings['slider_short_text1']) ? '<span>'. $modSettings['slider_short_text1']. '</span>' : '', '
</div>
</li>';
}
// Item Two
if (!empty($modSettings['slider_title2']) && !empty($modSettings['slider_img2']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img2'], '" alt="', !empty($modSettings['slider_short_text2']) ? $modSettings['slider_short_text2'] : '*', '" />';
echo '<h3>
', !empty($modSettings['slider_url2']) ? '<a href="'. $modSettings['slider_url2']. '" target="_self">'. $modSettings['slider_title2']. '</a>' : $modSettings['slider_title2'], '
</h3>
', !empty($modSettings['slider_short_text2']) ? '<span>'. $modSettings['slider_short_text2']. '</span>' : '', '
</div>
</li>';
}
// Item Three
if (!empty($modSettings['slider_title3']) && !empty($modSettings['slider_img3']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img3'], '" alt="', !empty($modSettings['slider_short_text3']) ? $modSettings['slider_short_text3'] : '*', '" />';
echo '<h3>
', !empty($modSettings['slider_url3']) ? '<a href="'. $modSettings['slider_url3']. '" target="_self">'. $modSettings['slider_title3']. '</a>' : $modSettings['slider_title3'], '
</h3>
', !empty($modSettings['slider_short_text3']) ? '<span>'. $modSettings['slider_short_text3']. '</span>' : '', '
</div>
</li>';
}
// Item Four
if (!empty($modSettings['slider_title4']) && !empty($modSettings['slider_img4']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img4'], '" alt="', !empty($modSettings['slider_short_text4']) ? $modSettings['slider_short_text4'] : '*', '" />';
echo '<h4>
', !empty($modSettings['slider_url4']) ? '<a href="'. $modSettings['slider_url4']. '" target="_self">'. $modSettings['slider_title4']. '</a>' : $modSettings['slider_title4'], '
</h4>
', !empty($modSettings['slider_short_text4']) ? '<span>'. $modSettings['slider_short_text4']. '</span>' : '', '
</div>
</li>';
}
// Item Five
if (!empty($modSettings['slider_title5']) && !empty($modSettings['slider_img5']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img5'], '" alt="', !empty($modSettings['slider_short_text5']) ? $modSettings['slider_short_text5'] : '*', '" />';
echo '<h5>
', !empty($modSettings['slider_url5']) ? '<a href="'. $modSettings['slider_url5']. '" target="_self">'. $modSettings['slider_title5']. '</a>' : $modSettings['slider_title5'], '
</h5>
', !empty($modSettings['slider_short_text5']) ? '<span>'. $modSettings['slider_short_text5']. '</span>' : '', '
</div>
</li>';
}
// Item Six
if (!empty($modSettings['slider_title6']) && !empty($modSettings['slider_img6']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img6'], '" alt="', !empty($modSettings['slider_short_text6']) ? $modSettings['slider_short_text6'] : '*', '" />';
echo '<h6>
', !empty($modSettings['slider_url6']) ? '<a href="'. $modSettings['slider_url6']. '" target="_self">'. $modSettings['slider_title6']. '</a>' : $modSettings['slider_title6'], '
</h6>
', !empty($modSettings['slider_short_text6']) ? '<span>'. $modSettings['slider_short_text6']. '</span>' : '', '
</div>
</li>';
}
echo '</ul>
</div>
</div>
</div>
<script type="text/javascript">
var _lofmain = $(\'lofslidecontent45\');
var _lofscmain = _lofmain.getElement(\'.lof-main-wapper\');
var _lofnavigator = _lofmain.getElement(\'.lof-navigator-outer .lof-navigator\');
var object = new LofFlashContent( _lofscmain,
_lofnavigator,
_lofmain.getElement(\'.lof-navigator-outer\'),
{ fxObject:{ transition:Fx.Transitions.Quad.easeInOut, duration:800},
interval:3000,
direction:\'opacity\' } );
object.start( true, _lofmain.getElement(\'.preload\') );
</script>';
}
//End of SMF Slider v.1
-
Reserved...
-
Reserved...?
-
Reserved...?
For future tips/how'to's ;)
-
Good job, it's nice.
-
Thanks, Firstly Great mod. Is it possible set height to 200 px ? as like as width 900 px height 200 px
-
@pomak, yes.
Open the slider-CSS folder and in the file change 300px to 200px as well in the bit found in the index.template.php
-
Great Mod thanks but I'm I the only one that thinks it looks..well not part of the forum?
Sorry to sound negative
-
No worries man. I use it on my forums, decided to share it.
I share the mods I make. I don't make mods on demand.
-
No worries man. I use it on my forums, decided to share it.
I share the mods I make. I don't make mods on demand.
Your work is good & I'm using some of your mods as we speak
I've never been a big fan of sliders so maybe it's just me
Keep up the good work
Regards
WB
-
I use it on my site to promote 'write ups'. I don't use it for news etc.
www.chevyavalancheclub.com
-
Yes good work
Nice Mod
When Update dont forget Portuguese Linguage
<file name="$themedir/languages/Modifications.portuguese_pt.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
//Slider strings translate By Candidosa2
$txt['slider_admin_menu'] = 'Slides';
$txt['slider_settings_title'] = 'Configuração de Slides';
$txt['slider_settings_desc'] = 'Editar a configuração do Mod SMF Slides';
$txt['slider_enabled'] = 'Activar Slide no SMF';
$txt['slider_title1'] = 'Título do Slide 1';
$txt['slider_url1'] = 'URL para o tópico ou link externo 1';
$txt['slider_img1'] = 'URL da imagem 1';
$txt['slider_short_text1'] = 'Pequena descrição 1';
$txt['slider_title2'] = 'Título do Slide 2';
$txt['slider_url2'] = 'URL para o tópico ou link externo 2';
$txt['slider_img2'] = 'URL da imagem 2';
$txt['slider_short_text2'] = 'Pequena descrição 2';
$txt['slider_title3'] = 'Título do Slide 3';
$txt['slider_url3'] = 'URL para o tópico ou link externo 3';
$txt['slider_img3'] = 'URL da imagem 3';
$txt['slider_short_text3'] = 'Pequena descrição 3';
$txt['slider_title4'] = 'Título do Slide 4';
$txt['slider_url4'] = 'URL para o tópico ou link externo 4';
$txt['slider_img4'] = 'URL da imagem 4';
$txt['slider_short_text4'] = 'Pequena descrição 4';
$txt['slider_title5'] = 'Título do Slide 5';
$txt['slider_url5'] = 'URL para o tópico ou link externo 5';
$txt['slider_img5'] = 'URL da imagem 5';
$txt['slider_short_text5'] = 'Pequena descrição 5';
$txt['slider_title6'] = 'Título do Slide 6';
$txt['slider_url6'] = 'URL para o tópico ou link externo 6';
$txt['slider_img6'] = 'URL da imagem 6';
$txt['slider_short_text6'] = 'Pequena descrição 6';
//End SMF Slider Strings Support SMFPT
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.portuguese_pt-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
//Slider strings translate By Candidosa2
$txt['slider_admin_menu'] = 'Slides';
$txt['slider_settings_title'] = 'Configuração de Slides';
$txt['slider_settings_desc'] = 'Editar a configuração do Mod SMF Slides';
$txt['slider_enabled'] = 'Activar Slide no SMF';
$txt['slider_title1'] = 'Título do Slide 1';
$txt['slider_url1'] = 'URL para o tópico ou link externo 1';
$txt['slider_img1'] = 'URL da imagem 1';
$txt['slider_short_text1'] = 'Pequena descrição 1';
$txt['slider_title2'] = 'Título do Slide 2';
$txt['slider_url2'] = 'URL para o tópico ou link externo 2';
$txt['slider_img2'] = 'URL da imagem 2';
$txt['slider_short_text2'] = 'Pequena descrição 2';
$txt['slider_title3'] = 'Título do Slide 3';
$txt['slider_url3'] = 'URL para o tópico ou link externo 3';
$txt['slider_img3'] = 'URL da imagem 3';
$txt['slider_short_text3'] = 'Pequena descrição 3';
$txt['slider_title4'] = 'Título do Slide 4';
$txt['slider_url4'] = 'URL para o tópico ou link externo 4';
$txt['slider_img4'] = 'URL da imagem 4';
$txt['slider_short_text4'] = 'Pequena descrição 4';
$txt['slider_title5'] = 'Título do Slide 5';
$txt['slider_url5'] = 'URL para o tópico ou link externo 5';
$txt['slider_img5'] = 'URL da imagem 5';
$txt['slider_short_text5'] = 'Pequena descrição 5';
$txt['slider_title6'] = 'Título do Slide 6';
$txt['slider_url6'] = 'URL para o tópico ou link externo 6';
$txt['slider_img6'] = 'URL da imagem 6';
$txt['slider_short_text6'] = 'Pequena descrição 6';
//End SMF Slider Strings Support SMFPT
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.portuguese_brazilian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
//Slider strings translate By Candidosa2
$txt['slider_admin_menu'] = 'Slides';
$txt['slider_settings_title'] = 'Configuração de Slides';
$txt['slider_settings_desc'] = 'Editar a configuração do Mod SMF Slides';
$txt['slider_enabled'] = 'Activar Slide no SMF';
$txt['slider_title1'] = 'Título do Slide 1';
$txt['slider_url1'] = 'URL para o tópico ou link externo 1';
$txt['slider_img1'] = 'URL da imagem 1';
$txt['slider_short_text1'] = 'Pequena descrição 1';
$txt['slider_title2'] = 'Título do Slide 2';
$txt['slider_url2'] = 'URL para o tópico ou link externo 2';
$txt['slider_img2'] = 'URL da imagem 2';
$txt['slider_short_text2'] = 'Pequena descrição 2';
$txt['slider_title3'] = 'Título do Slide 3';
$txt['slider_url3'] = 'URL para o tópico ou link externo 3';
$txt['slider_img3'] = 'URL da imagem 3';
$txt['slider_short_text3'] = 'Pequena descrição 3';
$txt['slider_title4'] = 'Título do Slide 4';
$txt['slider_url4'] = 'URL para o tópico ou link externo 4';
$txt['slider_img4'] = 'URL da imagem 4';
$txt['slider_short_text4'] = 'Pequena descrição 4';
$txt['slider_title5'] = 'Título do Slide 5';
$txt['slider_url5'] = 'URL para o tópico ou link externo 5';
$txt['slider_img5'] = 'URL da imagem 5';
$txt['slider_short_text5'] = 'Pequena descrição 5';
$txt['slider_title6'] = 'Título do Slide 6';
$txt['slider_url6'] = 'URL para o tópico ou link externo 6';
$txt['slider_img6'] = 'URL da imagem 6';
$txt['slider_short_text6'] = 'Pequena descrição 6';
//End SMF Slider Strings Support SMFPT
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.portuguese_brazilian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
//Slider strings translate By Candidosa2
$txt['slider_admin_menu'] = 'Slides';
$txt['slider_settings_title'] = 'Configuração de Slides';
$txt['slider_settings_desc'] = 'Editar a configuração do Mod SMF Slides';
$txt['slider_enabled'] = 'Activar Slide no SMF';
$txt['slider_title1'] = 'Título do Slide 1';
$txt['slider_url1'] = 'URL para o tópico ou link externo 1';
$txt['slider_img1'] = 'URL da imagem 1';
$txt['slider_short_text1'] = 'Pequena descrição 1';
$txt['slider_title2'] = 'Título do Slide 2';
$txt['slider_url2'] = 'URL para o tópico ou link externo 2';
$txt['slider_img2'] = 'URL da imagem 2';
$txt['slider_short_text2'] = 'Pequena descrição 2';
$txt['slider_title3'] = 'Título do Slide 3';
$txt['slider_url3'] = 'URL para o tópico ou link externo 3';
$txt['slider_img3'] = 'URL da imagem 3';
$txt['slider_short_text3'] = 'Pequena descrição 3';
$txt['slider_title4'] = 'Título do Slide 4';
$txt['slider_url4'] = 'URL para o tópico ou link externo 4';
$txt['slider_img4'] = 'URL da imagem 4';
$txt['slider_short_text4'] = 'Pequena descrição 4';
$txt['slider_title5'] = 'Título do Slide 5';
$txt['slider_url5'] = 'URL para o tópico ou link externo 5';
$txt['slider_img5'] = 'URL da imagem 5';
$txt['slider_short_text5'] = 'Pequena descrição 5';
$txt['slider_title6'] = 'Título do Slide 6';
$txt['slider_url6'] = 'URL para o tópico ou link externo 6';
$txt['slider_img6'] = 'URL da imagem 6';
$txt['slider_short_text6'] = 'Pequena descrição 6';
//End SMF Slider Strings Support SMFPT
]]></add>
</operation>
</file>
-
necesito soporte para instalar este mod en smf 2.0 rc5 theme: Dsv4 .. funciona bien con el theme default pero en dsv4 no se ve .. que puedo hacer?
-
necesito soporte para instalar este mod en smf 2.0 rc5 theme: Dsv4 .. funciona bien con el theme default pero en dsv4 no se ve .. que puedo hacer?
busque soporte at dzinerstudios.com ese theme es premium.
-
love the mod, its very AWESOME!!! Thanks for your work! :) I was wondering though if there is a way to set this to a percentage instead of a fixed width? It works out great in widescreen but for the few fullscreen it might effect, The main reason is because I want to keep my slider in the center portal of adk portal, I know it will work fine both full and wide in a top portal but I really like the way it looks in the center with the portals on the left. My website is below if you want to view it. If I cant set in to percentage its no big deal, I was just curious, most people need to have a widescreen these days anyway, lol.
www.psvita-mod.com
-
love the mod, its very AWESOME!!! Thanks for your work! :) I was wondering though if there is a way to set this to a percentage instead of a fixed width? It works out great in widescreen but for the few fullscreen it might effect, The main reason is because I want to keep my slider in the center portal of adk portal, I know it will work fine both full and wide in a top portal but I really like the way it looks in the center with the portals on the left. My website is below if you want to view it. If I cant set in to percentage its no big deal, I was just curious, most people need to have a widescreen these days anyway, lol.
www.psvita-mod.com
Open slider-CSS folder. All your answers are in that file. Also, since you took out that bit of code from the index.template.php and put it on block, make sure you also make the changes there as well.
-
thanks broham, I managed to get it to auto size for wide or full screen, still trying to get the pictures to shrink with fullscreen, but Im much happier, I will continue to tweak settings, thanks for pointing me in the right direction.
-
hello guys first time poster here,and would like same help if possible.
i installed your mod last month and everything was ok and running fine,but we had a problem with the site and had to rebuild from scratch,[wasnt the mods fault].
since rebuilding i cant get the content slider to show the images,images have been uploaded to photobucket and have the [img] tags in place.
the title is named
the url is in place
the img url is in there
and the description
but still will not show,could this be an error with our host provider,photobucket or the plugin.
i have even tried installing on a testsite with just SimplePortal,Aeva Media,SMF Content Slider v.1. over and over installing in different orders.[going bold here]
http://www.simplemachines.org/community/index.php?topic=441257.0 doesnt work.and cant find anything about this problem.
so am hoping this can be resolved,thanks for your time in making this mod and hope to hear something soon.
-
hello guys first time poster here,and would like same help if possible.
i installed your mod last month and everything was ok and running fine,but we had a problem with the site and had to rebuild from scratch,[wasnt the mods fault].
since rebuilding i cant get the content slider to show the images,images have been uploaded to photobucket and have the [img] tags in place.
the title is named
the url is in place
the img url is in there
and the description
but still will not show,could this be an error with our host provider,photobucket or the plugin.
i have even tried installing on a testsite with just SimplePortal,Aeva Media,SMF Content Slider v.1. over and over installing in different orders.[going bold here]
http://www.simplemachines.org/community/index.php?topic=441257.0 doesnt work.and cant find anything about this problem.
so am hoping this can be resolved,thanks for your time in making this mod and hope to hear something soon.
What happens when installed on default theme?
-
exact same thing.
-
exact same thing.
You may be missing something. Use the parser anc make sure all files are included and edits. Including in your custom theme.
http://custom.simplemachines.org/mods/index.php?mod=2972
-
i will say,that hasn't worked as well.i have tried it.
edit 1 : i even tried with just the tinyportal instead simple portal.
edit 2 : thought i would retry using the parser and i do not have this ./Themes/default/languages/Modifications.english-utf8.php file in the ftp.
this now is the problem ?.
i cant understand how it wouldnt be there as the install of smf_2-0_install and SimplePortal_2.3.3.tar went without any errors,i have looked in both the smf and sp .rar .tar its not there aswell.
i would i now go about this.
once again thankyou for your speedy replies.
edit 3 : installed english-utf8 through the website with all edits to files still not working,installed without the edits like the first time i had it running,didnt work.
this now leaves me to believe that its our host.
Apache version 2.2.17 [ am sure this was a different version 2 weeks ago ]
PHP version 5.2.17 [ am sure this was a different version 2 weeks ago ]
MySQL version 5.0.92 [ am sure this was a different version 2 weeks ago ]
Operating system linux
Perl version 5.8.8 [ am sure this was a different version 2 weeks ago ]
could this be the culprit i wounder.if so why would they change ?.
-
hey thanks for the help guiding me to the right place for setting it to a percentage, I did figure out the width for pictures finally also so it all looks great in widescreen and fullscreen now while in a center portal. I have one more minor question, I noticed that the title text in the first 3 slots has a line break or padding on the top, but on slots 4-6 the text doesnt have a line break or padding at the top, anyway to fix that? Right now I use a <br> before the text in the titles 4-6 and it seems to work, just curious if i could perm fix, thanks.
-
well with a lot of messing about and fiddling,i have now managed to get it working at last. (i have no idea how i managed it,and could not explain lol)
just now need to add more content to it.your thoughts and comments welcome.
http://www.taticalknights.co.uk/index.php
-
Does it play nice with a chat box on the front page?
-
hey thanks for the help guiding me to the right place for setting it to a percentage, I did figure out the width for pictures finally also so it all looks great in widescreen and fullscreen now while in a center portal. I have one more minor question, I noticed that the title text in the first 3 slots has a line break or padding on the top, but on slots 4-6 the text doesnt have a line break or padding at the top, anyway to fix that? Right now I use a <br> before the text in the titles 4-6 and it seems to work, just curious if i could perm fix, thanks.
Do you mind posting what changes you did for others to read?
A shot in the dark.....
Try this: When i parsed it i found 1,2,3 uses <h3>. But 4,5,6 uses <h4><h5> and <h6>. Make 4,5, and 6 <h3> as well. See if that fixes it and let me know. Thanx.
-
well with a lot of messing about and fiddling,i have now managed to get it working at last. (i have no idea how i managed it,and could not explain lol)
just now need to add more content to it.your thoughts and comments welcome.
http://www.taticalknights.co.uk/index.php
Your slider has a scroller. Minimize the size in css- slider folder.
-
Does it play nice with a chat box on the front page?
I dont see why not.
-
hey thanks for the help guiding me to the right place for setting it to a percentage, I did figure out the width for pictures finally also so it all looks great in widescreen and fullscreen now while in a center portal. I have one more minor question, I noticed that the title text in the first 3 slots has a line break or padding on the top, but on slots 4-6 the text doesnt have a line break or padding at the top, anyway to fix that? Right now I use a <br> before the text in the titles 4-6 and it seems to work, just curious if i could perm fix, thanks.
Do you mind posting what changes you did for others to read?
A shot in the dark.....
Try this: When i parsed it i found 1,2,3 uses <h3>. But 4,5,6 uses <h4><h5> and <h6>. Make 4,5, and 6 <h3> as well. See if that fixes it and let me know. Thanx.
I dont mind, and by the way, changing the h4,h5,h6 tags to h3 worked perfectly, thanks.
Now the changes I made to slider css to self adjust width when using in a center portal are below, keep in mind Im not a coder but Im not afraid to mess with stuf and try to figure it out, the changes I made work great for me using adkportals center block and will auto adjust width for fulscreen users and widescreen users. First make a backup copy of your slider css incase you miss a edit or leave something out, or just want it back to original.
At the very top of the css sheet find ".lof-slidecontent{"
replace "width:892px;" with width:auto; max-width:892px;
Now find ".lof-main-wapper .lof-main-item img{"
change the "width" to 70%
Now Find ".lof-main-item-desc{"
replace "width:400px;" with width:auto; max-width:400px;
Now find ".lof-navigator-outer{"
change the "width" to 33%.... (sounds weird but 33% seem to work best for me)
Now find ".center" (its at the bottom of page)
replace "width:892px;" with width:auto; max-width:892px;
(optional) if you want the pictures in the scroller to have a wider aspect
Find ".lof-navigator li img{"
change "width" to 80px or 90px
After all that if your using the " index.template.php" edits inside a portal like I am, you want to change all the 900px and replace them with 100%. I honestly dont know if it matters or not but I did it anyway, but it seemed to work fine before I changed them, but you can play with it yourself :)
If you have any doubts if this works or how it looks, view my webpage in my signature, and change your resolution to view the slider in both wide and fullscreen to view variation.
-
Thnk you Coolest, you rock man! ;)
-
How do I go about editing the slider-css?
-
This doesn't work for rc5? I tried installing it to the theme "DSv1" And it did not work it couldn't execute it.
-
This doesn't work for rc5? I tried installing it to the theme "DSv1" And it did not work it couldn't execute it.
Dsv1 is a custom theme different from default. Your best bet is to seek assistance at dzinerstudios.com ;)
-
dang, nah, they'd charge too much... blaah.
-
I want this mod for my site but it does not work with the BlackRain v3 theme that I currently love and use. How can I make this happen?
:)
-
Custom mod installation. Manual Installation of Mods (http://wiki.simplemachines.org/smf/Manual_installation_of_mods)
-
You Sir are Nobel and wise.
Does this play nice with global headers and footers? Was wondering how to get it below the info center
-
Parse the mod edits on the mods page by clicking the version, your version of SMF and then parse.
Instead of placing it in the template where it shows to...put it below template_info_center(); which renders the info centre in the template.
-
That Worked! Thanks
-
Not a problem
-
Thanx lab ;)
-
You're welcome :) Hope you've been doing well?
-
You're welcome :) Hope you've been doing well?
not too bad, thanx. You too brother.
Summer is about over, im now finding time behind the puter. ;)
-
Slider works well! Thank you! Everyone likes it.
But it does get annoying because it shows up not just on the board index but all the pages and even new posts. Is there a way to only get it to show on board index? if not is there a way to get it to show up on the registration page only?
-
Slider works well! Thank you! Everyone likes it.
But it does get annoying because it shows up not just on the board index but all the pages and even new posts. Is there a way to only get it to show on board index? if not is there a way to get it to show up on the registration page only?
See reply#1 for portals.
-
yes thanks.. I seen that but we don't want a front page being it's all about the forum anyways. Frontpage looks cool but thats about it for what our forum is about...
First, Thank you again for sharing this mod.
Second is there a way to make it for guests only? That would be great too!
Thank you so much again for making this mod
-
Try this, i didnt test it tho.
In index.template.php find the slider clode.
//SMF Slider v.1 by: bluedevilcustoms.com
global $modSettings;
if (!empty($modSettings['slider_enabled']) && (!empty($modSettings['slider_title1']) && !empty($modSettings['slider_img1']) || !empty($modSettings['slider_title2']) && !empty($modSettings['slider_img2']) || !empty($modSettings['slider_title3']) && !empty($modSettings['slider_img3']) || !empty($modSettings['slider_title4']) && !empty($modSettings['slider_img4']) || !empty($modSettings['slider_title5']) && !empty($modSettings['slider_img5']) || !empty($modSettings['slider_title6']) && !empty($modSettings['slider_img6'])))
{
echo '<br />
<div class="center">
<div id="lofslidecontent45" class="lof-slidecontent">
<div class="preload"><div>
</div>
</div>
<!-- MAIN CONTENT -->
<div class="lof-main-wapper">
', !empty($modSettings['slider_title1']) && !empty($modSettings['slider_img1']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img1']. '" title="'. $modSettings['slider_title1']. '" alt="'. $modSettings['slider_title1']. '" height="300" width="900"></img></div>' : '', '
', !empty($modSettings['slider_title2']) && !empty($modSettings['slider_img2']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img2']. '" title="'. $modSettings['slider_title2']. '" alt="'. $modSettings['slider_title2']. '" height="300" width="900"></img></div>' : '', '
', !empty($modSettings['slider_title3']) && !empty($modSettings['slider_img3']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img3']. '" title="'. $modSettings['slider_title3']. '" alt="'. $modSettings['slider_title3']. '" height="300" width="900"></img></div>' : '', '
', !empty($modSettings['slider_title4']) && !empty($modSettings['slider_img4']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img4']. '" title="'. $modSettings['slider_title4']. '" alt="'. $modSettings['slider_title4']. '" height="300" width="900"></img></div>' : '', '
', !empty($modSettings['slider_title5']) && !empty($modSettings['slider_img5']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img5']. '" title="'. $modSettings['slider_title5']. '" alt="'. $modSettings['slider_title5']. '" height="300" width="900"></img></div>' : '', '
', !empty($modSettings['slider_title6']) && !empty($modSettings['slider_img6']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img6']. '" title="'. $modSettings['slider_title6']. '" alt="'. $modSettings['slider_title6']. '" height="300" width="900"></img></div>' : '', '
</div>
<!-- END MAIN CONTENT -->
<!-- NAVIGATOR -->
<div class="lof-navigator-outer">
<ul class="lof-navigator">';
// Item One
if (!empty($modSettings['slider_title1']) && !empty($modSettings['slider_img1']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img1'], '" alt="', !empty($modSettings['slider_short_text1']) ? $modSettings['slider_short_text1'] : '*', '" />';
echo '<h3>
', !empty($modSettings['slider_url1']) ? '<a href="'. $modSettings['slider_url1']. '" target="_self">'. $modSettings['slider_title1']. '</a>' : $modSettings['slider_title1'], '
</h3>
', !empty($modSettings['slider_short_text1']) ? '<span>'. $modSettings['slider_short_text1']. '</span>' : '', '
</div>
</li>';
}
// Item Two
if (!empty($modSettings['slider_title2']) && !empty($modSettings['slider_img2']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img2'], '" alt="', !empty($modSettings['slider_short_text2']) ? $modSettings['slider_short_text2'] : '*', '" />';
echo '<h3>
', !empty($modSettings['slider_url2']) ? '<a href="'. $modSettings['slider_url2']. '" target="_self">'. $modSettings['slider_title2']. '</a>' : $modSettings['slider_title2'], '
</h3>
', !empty($modSettings['slider_short_text2']) ? '<span>'. $modSettings['slider_short_text2']. '</span>' : '', '
</div>
</li>';
}
// Item Three
if (!empty($modSettings['slider_title3']) && !empty($modSettings['slider_img3']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img3'], '" alt="', !empty($modSettings['slider_short_text3']) ? $modSettings['slider_short_text3'] : '*', '" />';
echo '<h3>
', !empty($modSettings['slider_url3']) ? '<a href="'. $modSettings['slider_url3']. '" target="_self">'. $modSettings['slider_title3']. '</a>' : $modSettings['slider_title3'], '
</h3>
', !empty($modSettings['slider_short_text3']) ? '<span>'. $modSettings['slider_short_text3']. '</span>' : '', '
</div>
</li>';
}
// Item Four
if (!empty($modSettings['slider_title4']) && !empty($modSettings['slider_img4']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img4'], '" alt="', !empty($modSettings['slider_short_text4']) ? $modSettings['slider_short_text4'] : '*', '" />';
echo '<h4>
', !empty($modSettings['slider_url4']) ? '<a href="'. $modSettings['slider_url4']. '" target="_self">'. $modSettings['slider_title4']. '</a>' : $modSettings['slider_title4'], '
</h4>
', !empty($modSettings['slider_short_text4']) ? '<span>'. $modSettings['slider_short_text4']. '</span>' : '', '
</div>
</li>';
}
// Item Five
if (!empty($modSettings['slider_title5']) && !empty($modSettings['slider_img5']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img5'], '" alt="', !empty($modSettings['slider_short_text5']) ? $modSettings['slider_short_text5'] : '*', '" />';
echo '<h5>
', !empty($modSettings['slider_url5']) ? '<a href="'. $modSettings['slider_url5']. '" target="_self">'. $modSettings['slider_title5']. '</a>' : $modSettings['slider_title5'], '
</h5>
', !empty($modSettings['slider_short_text5']) ? '<span>'. $modSettings['slider_short_text5']. '</span>' : '', '
</div>
</li>';
}
// Item Six
if (!empty($modSettings['slider_title6']) && !empty($modSettings['slider_img6']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img6'], '" alt="', !empty($modSettings['slider_short_text6']) ? $modSettings['slider_short_text6'] : '*', '" />';
echo '<h6>
', !empty($modSettings['slider_url6']) ? '<a href="'. $modSettings['slider_url6']. '" target="_self">'. $modSettings['slider_title6']. '</a>' : $modSettings['slider_title6'], '
</h6>
', !empty($modSettings['slider_short_text6']) ? '<span>'. $modSettings['slider_short_text6']. '</span>' : '', '
</div>
</li>';
}
echo '</ul>
</div>
</div>
</div>
<script type="text/javascript">
var _lofmain = $(\'lofslidecontent45\');
var _lofscmain = _lofmain.getElement(\'.lof-main-wapper\');
var _lofnavigator = _lofmain.getElement(\'.lof-navigator-outer .lof-navigator\');
var object = new LofFlashContent( _lofscmain,
_lofnavigator,
_lofmain.getElement(\'.lof-navigator-outer\'),
{ fxObject:{ transition:Fx.Transitions.Quad.easeInOut, duration:800},
interval:3000,
direction:\'opacity\' } );
object.start( true, _lofmain.getElement(\'.preload\') );
</script>';
}
//End of SMF Slider v.1
And add this just above it.
if ($context['user']['is_guest'])
-
Just tested and it still shows up on user's and guests. Any other ideas?
-
Meh?
-
Mod updated. Changed the slider behaviour as it wont show everywhere else but the boardindex. ;)
-
I wish this were available for 1.x! Could you port it and would it be hard?
Also, what javascript did you used to write this mod?
-
I wish this were available for 1.x! Could you port it and would it be hard?
Also, what javascript did you used to write this mod?
It shouldnt be hard to port to 1.1.x. It just that once 2.0 RC1 came out, i never looked back.
I use google mootools.... http://ajax.googleapis.com/ajax/libs/mootools/1.11/mootools-yui-compressed.js
-
I wish this were available for 1.x! Could you port it and would it be hard?
Also, what javascript did you used to write this mod?
It shouldnt be hard to port to 1.1.x. It just that once 2.0 RC1 came out, i never looked back.
I use google mootools.... http://ajax.googleapis.com/ajax/libs/mootools/1.11/mootools-yui-compressed.js
Thanks BlueDevil, I just never plan on changing to 2.x, well not in a long while.
Also, would you have a sample of this mod actually working (live demo?)
-
Yep, I don't use it in the boardintex.php. I took the entire code bit and put it in a php block using tiny portal.
http://www.chevyavalancheclub.com/index.php
-
Yep, I don't use it in the boardintex.php. I took the entire code bit and put it in a php block using tiny portal.
http://www.chevyavalancheclub.com/index.php
I'm sold, I really like this. Please, someone, port it to 1.x!
-
Thanks BD,
But still no way to make it to where guest only?
-
Moguns, this works...
Find:
//SMF Slider v.1 by: bluedevilcustoms.com
global $modSettings;
Add after:
if ($context['user']['is_logged'])
-
Hi. I like this mod. I'm having one problem with it. It seems to install and when I enter the settings the objects show up where they're supposed to. But it seems to stretch out my page. Just below the slider is a very long patch of blank page before getting to the forums. In that stretch of blank page are 3 or 4 circles that appear to be trying to load something. It's hard to explain but I'm not sure if I'm allowed to link to my forum here.
-
If this mod can fetch topic from forum, it will work like a charm! Thanks again, you did a great job! RIght now i have to enter image, links, description manually . Hope you can update to fetch topic from forum! will save many people!
-
If this mod can fetch topic from forum, it will work like a charm! Thanks again, you did a great job! RIght now i have to enter image, links, description manually . Hope you can update to fetch topic from forum! will save many people!
it is a good idea but the mod stays as is. Hey its free ta know? ;)
-
I know that :) Thanks for the mod
-
As an FYI
The next version of Simple Portal will have header and footer blocks.
This mod would look good in a header block.
Went to install on test forum and:
The package manager currently allows only these file types: zip, tgz, tar.gz.
The file from this topic had the above. From bdc the file was ok.
-
Is there a way so that I can make the main images the link?
-
http://www.rpgfaction.com/gameon/forum/
I have installed the mod but it keeps only charging the images. I really don't know if i have commited some mistake.
Image link: http://www.rpgfaction.com/essencial/slideshow/teste01.png
PS: i have put all 6 images, links, descriptions.
The size is 900x300 right? the image extension, can be .jpg/.png/.gif or there are some problem?
-
http://www.rpgfaction.com/gameon/forum/
I have installed the mod but it keeps only charging the images. I really don't know if i have commited some mistake.
Image link: http://www.rpgfaction.com/essencial/slideshow/teste01.png
PS: i have put all 6 images, links, descriptions.
The size is 900x300 right? the image extension, can be .jpg/.png/.gif or there are some problem?
Its not loading. Youre using a custom theme. Make sure the edits to the index.template.php are made on that custom theme youre using.
Use the parser ;)
-
Even in the default theme goes like this(like it's eternally charging).
www.rpgfaction.com/gameon/forum
It may be a conflict with some other mod? I received a mp about "menu order mod", may be the case it's it?
-
Hola tengo un problema,
With the mod recent installed the column of replys / visits is desconfigured and vey long.
The problem is in the style.css of the mod¿¿
-
nevermind...
-
Is there a way to make this guy vertical like this in a Simpleportal box?
http://davidwalsh.name/mootools-kwicks
-
hello, i'm new here
how to make this happen in SMF 2.02?? :-[
-
hello, i'm new here
how to make this happen in SMF 2.02?? :-[
yeah im wondering about this to :S
-
Is there a way to make this guy vertical like this in a Simpleportal box?
http://davidwalsh.name/mootools-kwicks
hello, i'm new here
how to make this happen in SMF 2.02?? :-[
this is what i have been asking !!!! i need vertical and also work with 2.0.2 instead of switching to other older version
-
2.0.2 pls !!
-
2.0.2 pls !!
Emulate SMF 2.0.1 => How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_install_a_mod_that_doesn%27t_work_in_my_SMF_version)
-
When I install this script other java script stop working. I use Extreme 6 Theme, and when I use this modification menu slider stop work.
Here is code:
// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'];
echo '
<script language="JavaScript" type="text/javascript" src="', $settings['theme_url'], '/mootools.js"></script>
<script language="JavaScript" type="text/javascript" src="', $settings['theme_url'], '/imagemenu.js"></script>
<script language="JavaScript" type="text/javascript" src="', $settings['theme_url'], '/imagemenu2.js"></script>';
echo '
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/slider-css/style.css" />
<script language="javascript" type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/mootools/1.11/mootools-yui-compressed.js"></script>
<script language="javascript" type="text/javascript" src="', $settings['default_theme_url'], '/slider-js/lofslidernews.mt11.js"></script>';
Is there any chance to fix this and to start menu work.
-
Is there any way to get it to pull information from a certain forum or using simpleportal articles so it updates automatically?
-
Hi. I like this mod. I'm having one problem with it. It seems to install and when I enter the settings the objects show up where they're supposed to. But it seems to stretch out my page. Just below the slider is a very long patch of blank page before getting to the forums. In that stretch of blank page are 3 or 4 circles that appear to be trying to load something. It's hard to explain but I'm not sure if I'm allowed to link to my forum here.
That is happening to me too. :(
-
any update for 2.0.4 version
-
any update for 2.0.4 version
works fine in 2.0.4
there is virtually no difference between .02 and .04 just bugfixes
-
Hello Can someone help me with this.
I emulated to 2.0 and installed on my 2.04 Forum.
I installed on the default theme and my custom theme - it said it was successful, no errors.
I enabled the slider, added some items and all I got was 3 blank spaces and it moved my board index down.
So I did the suggestion in post 2, removed the items from my boardindex.template.php and copied them to a top block in simple portal.
Same thing happened, all I have is a constant loading image and nothing shows up.
any advice?
-
Yo Mick.,
Just wanted to thank you for this awesome mod.
-
Mod doesn't work on 2.0.7
-
Hey Mick this still workd fantastic but how would I have it on portal only not the forum??
-
Hey Mick this still workd fantastic but how would I have it on portal only not the forum??
Wow,.... didnt think folks still using this. Been wanting to make a more modern one tho...., anyways,
To use this mod with portals,... (Works best with TinyPortal as it uses the center wide blocks)
Remove this entire bit of code from the index.template.php and simply paste it to a PHP block in your portal of choice.
Fallbacks:
To use with simple portal, either left or right blocks cannot be used. Remember, the slider is quite wide. Create a 'Top" PHP block and wolla!
//SMF Slider v.1 by: bluedevilcustoms.com
global $modSettings;
if (!empty($modSettings['slider_enabled']) && (!empty($modSettings['slider_title1']) && !empty($modSettings['slider_img1']) || !empty($modSettings['slider_title2']) && !empty($modSettings['slider_img2']) || !empty($modSettings['slider_title3']) && !empty($modSettings['slider_img3']) || !empty($modSettings['slider_title4']) && !empty($modSettings['slider_img4']) || !empty($modSettings['slider_title5']) && !empty($modSettings['slider_img5']) || !empty($modSettings['slider_title6']) && !empty($modSettings['slider_img6'])))
{
echo '<br />
<div class="center">
<div id="lofslidecontent45" class="lof-slidecontent">
<div class="preload"><div>
</div>
</div>
<!-- MAIN CONTENT -->
<div class="lof-main-wapper">
', !empty($modSettings['slider_title1']) && !empty($modSettings['slider_img1']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img1']. '" title="'. $modSettings['slider_title1']. '" alt="'. $modSettings['slider_title1']. '" height="300" width="900"></img></div>' : '', '
', !empty($modSettings['slider_title2']) && !empty($modSettings['slider_img2']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img2']. '" title="'. $modSettings['slider_title2']. '" alt="'. $modSettings['slider_title2']. '" height="300" width="900"></img></div>' : '', '
', !empty($modSettings['slider_title3']) && !empty($modSettings['slider_img3']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img3']. '" title="'. $modSettings['slider_title3']. '" alt="'. $modSettings['slider_title3']. '" height="300" width="900"></img></div>' : '', '
', !empty($modSettings['slider_title4']) && !empty($modSettings['slider_img4']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img4']. '" title="'. $modSettings['slider_title4']. '" alt="'. $modSettings['slider_title4']. '" height="300" width="900"></img></div>' : '', '
', !empty($modSettings['slider_title5']) && !empty($modSettings['slider_img5']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img5']. '" title="'. $modSettings['slider_title5']. '" alt="'. $modSettings['slider_title5']. '" height="300" width="900"></img></div>' : '', '
', !empty($modSettings['slider_title6']) && !empty($modSettings['slider_img6']) ? '<div class="lof-main-item"><img src="'. $modSettings['slider_img6']. '" title="'. $modSettings['slider_title6']. '" alt="'. $modSettings['slider_title6']. '" height="300" width="900"></img></div>' : '', '
</div>
<!-- END MAIN CONTENT -->
<!-- NAVIGATOR -->
<div class="lof-navigator-outer">
<ul class="lof-navigator">';
// Item One
if (!empty($modSettings['slider_title1']) && !empty($modSettings['slider_img1']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img1'], '" alt="', !empty($modSettings['slider_short_text1']) ? $modSettings['slider_short_text1'] : '*', '" />';
echo '<h3>
', !empty($modSettings['slider_url1']) ? '<a href="'. $modSettings['slider_url1']. '" target="_self">'. $modSettings['slider_title1']. '</a>' : $modSettings['slider_title1'], '
</h3>
', !empty($modSettings['slider_short_text1']) ? '<span>'. $modSettings['slider_short_text1']. '</span>' : '', '
</div>
</li>';
}
// Item Two
if (!empty($modSettings['slider_title2']) && !empty($modSettings['slider_img2']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img2'], '" alt="', !empty($modSettings['slider_short_text2']) ? $modSettings['slider_short_text2'] : '*', '" />';
echo '<h3>
', !empty($modSettings['slider_url2']) ? '<a href="'. $modSettings['slider_url2']. '" target="_self">'. $modSettings['slider_title2']. '</a>' : $modSettings['slider_title2'], '
</h3>
', !empty($modSettings['slider_short_text2']) ? '<span>'. $modSettings['slider_short_text2']. '</span>' : '', '
</div>
</li>';
}
// Item Three
if (!empty($modSettings['slider_title3']) && !empty($modSettings['slider_img3']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img3'], '" alt="', !empty($modSettings['slider_short_text3']) ? $modSettings['slider_short_text3'] : '*', '" />';
echo '<h3>
', !empty($modSettings['slider_url3']) ? '<a href="'. $modSettings['slider_url3']. '" target="_self">'. $modSettings['slider_title3']. '</a>' : $modSettings['slider_title3'], '
</h3>
', !empty($modSettings['slider_short_text3']) ? '<span>'. $modSettings['slider_short_text3']. '</span>' : '', '
</div>
</li>';
}
// Item Four
if (!empty($modSettings['slider_title4']) && !empty($modSettings['slider_img4']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img4'], '" alt="', !empty($modSettings['slider_short_text4']) ? $modSettings['slider_short_text4'] : '*', '" />';
echo '<h4>
', !empty($modSettings['slider_url4']) ? '<a href="'. $modSettings['slider_url4']. '" target="_self">'. $modSettings['slider_title4']. '</a>' : $modSettings['slider_title4'], '
</h4>
', !empty($modSettings['slider_short_text4']) ? '<span>'. $modSettings['slider_short_text4']. '</span>' : '', '
</div>
</li>';
}
// Item Five
if (!empty($modSettings['slider_title5']) && !empty($modSettings['slider_img5']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img5'], '" alt="', !empty($modSettings['slider_short_text5']) ? $modSettings['slider_short_text5'] : '*', '" />';
echo '<h5>
', !empty($modSettings['slider_url5']) ? '<a href="'. $modSettings['slider_url5']. '" target="_self">'. $modSettings['slider_title5']. '</a>' : $modSettings['slider_title5'], '
</h5>
', !empty($modSettings['slider_short_text5']) ? '<span>'. $modSettings['slider_short_text5']. '</span>' : '', '
</div>
</li>';
}
// Item Six
if (!empty($modSettings['slider_title6']) && !empty($modSettings['slider_img6']))
{
echo '<li>
<div>';
echo '<img src="', $modSettings['slider_img6'], '" alt="', !empty($modSettings['slider_short_text6']) ? $modSettings['slider_short_text6'] : '*', '" />';
echo '<h6>
', !empty($modSettings['slider_url6']) ? '<a href="'. $modSettings['slider_url6']. '" target="_self">'. $modSettings['slider_title6']. '</a>' : $modSettings['slider_title6'], '
</h6>
', !empty($modSettings['slider_short_text6']) ? '<span>'. $modSettings['slider_short_text6']. '</span>' : '', '
</div>
</li>';
}
echo '</ul>
</div>
</div>
</div>
<script type="text/javascript">
var _lofmain = $(\'lofslidecontent45\');
var _lofscmain = _lofmain.getElement(\'.lof-main-wapper\');
var _lofnavigator = _lofmain.getElement(\'.lof-navigator-outer .lof-navigator\');
var object = new LofFlashContent( _lofscmain,
_lofnavigator,
_lofmain.getElement(\'.lof-navigator-outer\'),
{ fxObject:{ transition:Fx.Transitions.Quad.easeInOut, duration:800},
interval:3000,
direction:\'opacity\' } );
object.start( true, _lofmain.getElement(\'.preload\') );
</script>';
}
//End of SMF Slider v.1
-
Ah yes bud that works well but its still showing in the forum??
-
Ah yes bud that works well but its still showing in the forum??
Did you removed that code from the index.template?
-
Yes I did bud
-
Yes I did bud
I told you wrong.... i just parsed it. That code is in the BoardIndex.template.php
-
Fantastic bud works a treat
Thanks again..
-
Is there a current version of this?
-
Is there a current version of this?
no. It's very outdated. Been wanting to redo this with modern coding and compatibility to latest smf version but real life has me busy in other ventures
-
Is there a current version of this?
This always been one of my fave mods. So worked on something modern a bit ago. Just need to add the php calls and package it. My schedule is very tight to have fun with SMF but i'll try to finish it. Check out a rough demo here, https://codepen.io/idesignsmf/pen/BaBQGBj
-
This always been one of my fave mods. So worked on something modern a bit ago. Just need to add the php calls and package it. My schedule is very tight to have fun with SMF but i'll try to finish it. Check out a rough demo here, https://codepen.io/idesignsmf/pen/BaBQGBj
I will be waiting with pleasure, I have used the old version somewhat modified for some of my sites that unfortunately is no longer online now.
Regards!
-
Hey Mick bud have you got a new updated version yet??
-
Hey Mick bud have you got a new updated version yet??
I'm waiting for rc3 to be released.
-
Hi i have a problem with this mod i using SMF 2.0.17 i can install all ok in my site i have only 1 category but when i create another category with a forum other slider its create under the slider but the second slider have no img and show like is reloading all the time and if i create another category with another forum thats happen again another slider but no img and reloading all the time... like 1 slider per category.
-
Hi i have a problem with this mod i using SMF 2.0.17 i can install all ok in my site i have only 1 category but when i create another category with a forum other slider its create under the slider but the second slider have no img and show like is reloading all the time and if i create another category with another forum thats happen again another slider but no img and reloading all the time... like 1 slider per category.
If you uninstall the mod, can you still make other categories? Also what mods you have installed?
-
Hi i have a problem with this mod i using SMF 2.0.17 i can install all ok in my site i have only 1 category but when i create another category with a forum other slider its create under the slider but the second slider have no img and show like is reloading all the time and if i create another category with another forum thats happen again another slider but no img and reloading all the time... like 1 slider per category.
If you uninstall the mod, can you still make other categories? Also what mods you have installed?
if i unistall the mod i can make other categories and forums normal... with the slider i can make categories and forums but another slider is create under the first, i will adjunt img of the problem and the mods i using are this
Log Karma Actions 3.0
AvatarSelect 1.2.1
SMF Content Slider v.1.1
Ohara YouTube Embed 1.2.11
Default Avatar 2.3
i use the theme https://custom.simplemachines.org/themes/index.php?lemma=2836 (https://custom.simplemachines.org/themes/index.php?lemma=2836)
EDIT: the first img adjunt is the forum with one categorie the other 2 pics are the forum with a categorie with a forum if i create a categorie but don't create forum nothings happens with the slider
-
Hmm...that's odd. This mod been dloaded 3k times with no issues like this. Let me try to recreate this
-
Hmm...that's odd. This mod been dloaded 3k times with no issues like this. Let me try to recreate this
:-\ i have bad luck haha if you want i can show u the problem live on my forum
-
Shame but this seems to have stopped working just loads constant. One of my fave mods please update Mick?