• Welcome to Simple Machines Community Forum. Please login or sign up.
December 01, 2021, 02:22:11 PM

News:

Check out the SMF Function DB!


EmailFlash

Started by snork13, February 03, 2006, 12:37:27 AM

Previous topic - Next topic

snork13

Link to Mod

I just packaged up this "tip and trick"  for use on the default 1.1RC2 theme, and thought I would share.

example below:


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

and from here:

http://www.simplemachines.org/community/index.php?topic=9017.0
Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

damacguy

Works like a charm!

You might want to look at adding an option to the Personal Messages section of the Profile giving users an option of using this or the popup message (or both).

Thanks for a nifty mod.

TwinsX2Dad

Maybe it is the hour. Maybe I am blind. Maybe I am simply stupid. But I am using TP Helios Multi and tried to extract the code from the default index.template.php and three times I caused a parse error.

What should I be adding to it, knowing I also have SMF Arcade hacked into that file?

K_4_kelly

i love to install this mod, but unfortunately, it failed and show the message below, could anyone can tell me how to solve it?

thanks!

1. Execute Modification ./Themes/default/index.template.php Test failed

K_4_kelly


snork13

you could look at the modification.xml file, and make the code change by hand!
Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

K_4_kelly

hi, thanks for your reply,

could you please tell me the code that need to change?

thanks thanks

K_4_kelly

thanks

i've managed to edit it by referring to the above two links.

thanks

Vinspire


trenchteam


S1L1C0N

Im not very good at decyphering the .xml file to do this by hand, can someone do the typical find/replace post in here to make it easier for us n00bs?

Thanks guys!

SusanTN

Quote from: S1L1C0N on September 05, 2006, 12:48:31 AM
Im not very good at decyphering the .xml file to do this by hand, can someone do the typical find/replace post in here to make it easier for us n00bs?

Thanks guys!

Why do it by hand? Can you not use the package manager?

S1L1C0N


URPG

Yeah, only works for default theme, would like it in all themes... can't you add something to the package installing it into all themes? Then you would just have to replace the small mail icon graphic in each theme folder...

marinelife

get these errors in my log


http://www.masohio.com/index.php?action=packages;sa=install2;package=EmailFlash10.zip 
2: fopen(D:\web\masohio\Themes\default/images/Thumbs.db) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
File: D:\web\masohio\Sources\Subs-Package.php
Line: 1930

http://www.masohio.com/index.php?action=packages;sa=install2;package=EmailFlash10.zip 
2: fwrite(): supplied argument is not a valid stream resource
File: D:\web\masohio\Sources\Subs-Package.php
Line: 1931

http://www.masohio.com/index.php?action=packages;sa=install2;package=EmailFlash10.zip 
2: fclose(): supplied argument is not a valid stream resource
File: D:\web\masohio\Sources\Subs-Package.php
Line: 1932

It seems to work but I got these as soon as I installed it


URPG

*still waiting patiently for a 'multiple themes' version*

Vinspire

Quote from: URPG on November 01, 2006, 05:22:13 AM
*still waiting patiently for a 'multiple themes' version*

I don't think there will be any version that will work in all the themes / multiple themes by just installing it through the package.

The solution to ur problem is look into the .xml file attached in the .zip file and make a manual installation on the theme that you want to install this mod.

URPG

How does the line of code look that produces the "My message" text and where is it found? Guess i just got to copy+paste your code in there?

Vinspire

Quote from: URPG on November 02, 2006, 06:21:18 AM
How does the line of code look that produces the "My message" text and where is it found? Guess i just got to copy+paste your code in there?

Can you paste the codes you are talking about ? You are trying to get this to work with other theme right ?

URPG

I'd like to know in what file I would have to post what code so I can make it work. I guess I have to edit it in behind the code that generates the "My Messages" link and copy the pictures into each theme folder. But i would need to copy what, where into which file :)

Advertisement: