News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Now Playing

Started by Oldiesmann, April 14, 2005, 12:57:06 PM

Previous topic - Next topic

TrueSatan

You do appear to have a mod conflict.

Your error is a variant on the most common error of all those reported on these pages...it tells you that another mod you have installed has already edited the file(s) in question and that you thus need to do a manual installation of this mod. Please read:

http://docs.simplemachines.org/index.php?topic=402.msg531#msg531

http://www.simplemachines.org/community/index.php?topic=34526.0

The following may also prove helpful:

http://modparser.dev.dansoftaustralia.net/

Mirror of the last link:

http://www.smfhacks.com/smf-package-parser.html

Sadil

I know how to manually apply the mod, that's not my problem. :)

What I need to know is, can I leave these as-is and simply add the nowPlaying behind it?

Quotem.smileysEnabled, m.posterName, m.posterEmail,

Replacing the above with:

Quotem.smileysEnabled, m.posterName, m.posterEmail, nowPlaying,

Will that work or kill everything off?
"Hard work never killed anybody, but why take a chance?"

TrueSatan

Try it on a test forum...I suggest that you create a fresh test forum and simply see what effect the addition has.

Sadil

Hm, it was time for my weekly backup anyhow. I'm backing up all my files and the database right now and keeping the forum in maintenance mode. I'll try it directly on the forum and see what happens. :) I'll have the most recent backup possibly should anything go wrong.
"Hard work never killed anybody, but why take a chance?"

PopsicleStickChick

I can't get the custom text to show up either.

I want to change from the cd icon to a litttle mp3player icon.  I uploaded it to the images folder of all themes, but it won't save that settting.

Any thoughts?

Great mod otherwise though...
www.grubesismyleader.com

An Internet forum dedicated to a former board operator at a Dallas sports talk radio station

PopsicleStickChick

I uninstalled the mod and upgraded to 1.1.5.

Now when I try to reinstall, I get this:

8. Execute Modification ./Themes/default/Post.template.php Test failed

It wasn't working anyway before, see previous post.  Any thoughts now?
www.grubesismyleader.com

An Internet forum dedicated to a former board operator at a Dallas sports talk radio station

Oldiesmann

Last time I tried it, the image setting was being saved, but I'll double-check things and will also look into the conflict on the post template in 1.1.5
Michael Eshom
Christian Metal Fans

Oldiesmann

Ok. Updated the mod to work with 1.1.5. The id of the div used to display a preview of your post changed in 1.1.5, so that's why it was failing.

I can't find any reason as to why it wouldn't be saving the image setting. If you change the name in the admin center and save it, it should save - that setting is no different than any of the other Now Playing settings.
Michael Eshom
Christian Metal Fans

MSLOGOS

Installing on smf 1.1.5 Im having parse error on Post.Template.php. So I'm trying to do it manually, but i cant find this on the 1.1.5 post.template.php :

div id="preview_body" class="post">', empty($context['preview_message']) ? '' : $context['preview_message'], '</div>


Instead, i have

<div id="preview_section"', isset($context['preview_message']) ? '' : ' style="display: none;"', '>
<table border="0" width="100%" cellspacing="1" cellpadding="3" class="bordercolor" align="center" style="table-layout: fixed;">
<tr class="titlebg">
<td id="preview_subject">', empty($context['preview_subject']) ? '' : $context['preview_subject'], '</td>
</tr>
<tr>
<td class="post" width="100%" id="preview_body">
', empty($context['preview_message']) ? str_repeat('<br />', 5) : $context['preview_message'], '
</td>
</tr>
</table><br />
</div>';




:(   I love this mod.



ghof

I have the exact same problem as MSLOGOS, please help us, what to replace,what to modify...

MSLOGOS

I Solve it!  I'll post my post.template later :)

thenepalgallery

well, i used this modification in localserver in my smf 1.1.5 version

i can;t even my forum after wards .. thanx god, this hasn;t damaged my database

i have to reinstall the SMF again,
a site of nepal, its places, religion, fetes, festivals

MSLOGOS

Quote from: ghof on August 31, 2008, 06:34:48 PM
I have the exact same problem as MSLOGOS, please help us, what to replace,what to modify...

This is how i fixed it: ( index.template.php)

// If the user wants to see how their message looks - the preview table is where it's at!
echo '
<div id="preview_section"', isset($context['preview_message']) ? '' : ' style="display: none;"', '>
<table border="0" width="100%" cellspacing="1" cellpadding="3" class="bordercolor" align="center" style="table-layout: fixed;">
<tr class="titlebg">
<td id="preview_subject">', empty($context['preview_subject']) ? '' : $context['preview_subject'], '</td>
</tr>
<tr>
<td class="post" width="100%" id="preview_body">
', empty($context['preview_message']) ? str_repeat('<br />', 5) : $context['preview_message'];
// If you're listening to something, you can preview that as well...
if($modSettings['nowplayingEnabled'] && isset($context['preview_nowplaying']) && $context['preview_nowplaying'] != '')
{
// Same as last time - what image are we displaying?
if($modSettings['nowplaying_image'] != '')
$nowplayingstring = '<img src="'. $settings['images_url'] . '/'. $modSettings['nowplaying_image'] . '" alt="" border="0" />';
else
$nowplayingstring = '<img src="'. $settings['images_url'] . '/cddisc.gif" alt="" border="0" />';

// Any text to show?
if(isset($modSettings['nowplaying_text']))
$nowplayingstring .= '&nbsp;' . $modSettings['nowplaying_text'];

    // Tell them what this person was listening to...
echo '<br /><br />', $nowplayingstring, '&nbsp;<b>', $context['preview_nowplaying'], '</b>';
}
echo '
</td>
</tr>
</table><br />
</div>';


Hope it helps

Bluben89

Hi everyone, I'm kind of new to coding, and all of the other jargon that goes along with owning and maintaining a forum.  So bear with me if I sound stupid :)

I was look at the download page for this mod and it showed up that the mod is not compatible with 1.1.6  .  Will it still work on 1.1.6?  And if not, when will there be an update for it?

LC

Saw this on the mod site, would love to see it updated for 1.1.11 and RC3. :)

* LC begs  :D

NanoSector

Quote from: LC on July 19, 2010, 02:44:50 AM
Saw this on the mod site, would love to see it updated for 1.1.11 and RC3. :)

* LC begs  :D
Nah for RC4

Would be freaking awesome to have it working on RC4.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Advertisement: