Hello guys im newbie to make forums.
I want to make rotate banner with refresh me page.
Can anywone help me?
http://custom.simplemachines.org/mods/index.php?mod=2847
also i wrote about it
http://www.topnichez.com/index.php/topic,16708.0.html
let us know if you are confused with the codes
Lainaus käyttäjältä: Old Fossil - elokuu 03, 2013, 01:12:18 IP
http://custom.simplemachines.org/mods/index.php?mod=2847
I take a message for that... Is corrupted... :/
Lainaus käyttäjältä: johnpaul2k2 - elokuu 03, 2013, 02:22:58 IP
also i wrote about it
http://www.topnichez.com/index.php/topic,16708.0.html
let us know if you are confused with the codes
Yes but what file paste it? index.templete.php? and where?
Can you explain what you mean by corrupted?
The mod works on 2.0.4.
Please read the Mod Emulate link im my signature.
Ok i install succefull...
But it dont work... Maybe i do something wrong.
After installation, i active that from "Modification Settings" and below it have a text box. It says : "Please, separate images with a coma (,)."
Ι write in the text box: images/banner/Greek_Nakama_1.png,images/banner/Greek_Nakama_2.png,images/banner/Greek_Nakama_13.png but not working...
Have you tried an external link such as photobucket?
Alternatively
LainaaI don't see any changes... why is that?
You didn't enable the mod.
you didn't put the images correctly (example: forum.com/image1.jpg, forum.com/image2.png, forum.com/image3.gif).
You didn't adapt the mod to your actual theme.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi329.photobucket.com%2Falbums%2Fl369%2FMhtsos_2008%2FChiomegarho3AF0sigmaftau3AF0taulambdaomicron_zpsfca27bbd.png&hash=b4f5c1f4fb06d935b06880f333a0c047ce3fb144)
Also look that... I try now to use external links.
Do you use the Core theme on the forum?
then the Core theme instructions can be ignored.
I have added the instructions so the index template file on your Music theme can be manually edited.
Find:
<div id="top_section">
<h1 class="forumtitle">
<a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>
</h1>';
Replace With:
<div id="top_section">';
// We activate this and put the images...
if(!empty($modSettings['enable_logo_rotator']) && !empty($modSettings['logo_img']))
{
$image_random = explode(',',$modSettings['logo_img']);
$randomize = rand(0,count($image_random) -1);
$logo_final = $image_random[$randomize];
//now, show me the magic!
echo' <h1 class="forumtitle">
<a href="', $scripturl, '"><img src="'.$logo_final.'" alt="' . $context['forum_name'] . '" /></a>
</h1>';
} else {
// no magic? oh, ok...
echo' <h1 class="forumtitle">
<a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>
</h1>';
}
I search for :
<div id="top_section">
<h1 class="forumtitle">
<a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>
</h1>';
But dont exist...
i Sent you the index.template.php
Maybe you just need to include a space after the comma... ;)
LainaaΙ write in the text box: images/banner/Greek_Nakama_1.png,images/banner/Greek_Nakama_2.png,images/banner/Greek_Nakama_13.png but not working...
Try images/banner/Greek_Nakama_1.png,images/banner/Greek_Nakama_2.png, images/banner/Greek_Nakama_13.png, ....