News:

Wondering if this will always be free?  See why free is better.

Main Menu

i need random quote for smf 2.0.1

Started by wole8029, April 16, 2012, 02:59:24 PM

Previous topic - Next topic

wole8029

hello guys, first am sorry posting this here, but i couldnt create a new topic in  modification board... please i have smf 2.0.1 and i wanted random quotes at the right above the menu, but  dont know how to get it done , i have searched for a mod similar to wordpress's datafeeder random ads but the closest was random ads mod which is not for smf 2.0.1, pleas how can i use the mod for my smf version or which is a better mod that can fufil this feature...


thanks... in anticipation...i trust you guys...

kat

Duly moved to the right board. :)

I wonder if this http://custom.simplemachines.org/mods/index.php?mod=3307 could be modified, to do what you want...?

wole8029

thanks SA, but i needed one for smf 2.0.1, how to i make it work and also can i remove those pagan verses and instead use own quotes...

thanks for helping me move it and for assistance..

Shambles

Quote from: wole8029 on April 17, 2012, 02:29:08 AM
... and also can i remove those pagan verses and instead use own quotes...
The verses are stored in Paganverse.english.php (a file included in the download package) and can be edited to suit. The titles seem to be set up in install.xml which also can be edited :)

As for installing it, it looks like it might install straight away given that the installer has the following:

<install for="2.0 RC4, 2.0 RC5, 2.0-2.0.99">

Good luck


TheListener

I would advise caution.

I have just looked at this for similar reasons as the OP.

Despite checking the mod failed to appear so I would make a post in the mods topic first.

wole8029

okay thanks i installed it on 2.0.1...am about to see if i can remove their quotes anf fix mine, but before i do that i have this little problem on my footer, it shows a grew line below, how do i get rid of the grey line, here is the forum. http://fudgemental.com/fudged .and here is my present code.
. echo '
  <div id="footer_section"><div class="frame">
    <div class="floatleft">
<a href="http://Fudgemental.com/" target="_blank" title="&copy;Fudgemental.com/FudgePuckee, 2012. All Rights Reserved. Fudgemental, LLC.">&copy;Fudgemental.com/FudgePuckee, 2012. All Rights Reserved. Fudgemental, LLC.</a>
    </div>
    <div class="floatright">
    <ul class="reset">
    <li class="copyright">', theme_copyright(), '</li>
    <li>Ambassador by, <a href="http://www.jpr62.com/theme/" target="_blank" class="new_win" title=""><span>Crip</span></a></li>
    <li><a id="button_xhtml" href="http://validator.w3.org/check?uri=referer" target="_blank" class="new_win" title="', $txt['valid_xhtml'], '"><span>', $txt['xhtml'], '</span></a></li>
    ', !empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type=rss" class="new_win"><span>' . $txt['rss'] . '</span></a></li>' : '', '
    <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class="new_win"><span>', $txt['wap2'], '</span></a></li>
   </ul>';

  // Show the load time?
  if ($context['show_load_time'])
   echo '
   <p>', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</p>';

  echo '
  </div></div></div></div>', !empty($settings['forum_width']) ? '
</div>' : '';
}

function template_html_below()

TheListener

Quotewould make a post in the mods topic

wole8029

thanks here hero, please how about help with removing the grey shade at my footer, by correcting my code above...pls see my forum to see how t looks now... and pls whats the link to mod page...

TheListener

The link you want is in K@s reply.

As for the other request that is outta my league sorry.

Advertisement: