• Welcome to Simple Machines Community Forum. Please login or sign up.
December 01, 2021, 12:52:25 PM

News:

SMF 2.0.18 has been released! Please update. Read more.


Notify Default On

Started by LDeeJay, August 06, 2008, 11:19:51 PM

Previous topic - Next topic

LDeeJay

Link to Mod

Set "Turn notification on when you post or reply to a topic." default to on.

As soon as the user registers, this option is set in the user profile. It can be turned off again by the user or by default after uninstalling.
Ultimate Game Solutions - 'cause there's a solution for everything

Armin2008

Nice modification. Very handy.


Bobn

Hello,

Getting errors on a 1.6 install,, any help?

LDeeJay

I just did a test on 1.1.6 without errors. What's the message?
Ultimate Game Solutions - 'cause there's a solution for everything

Bobn

September 28, 2008, 08:06:32 PM #5 Last Edit: September 28, 2008, 08:15:12 PM by Bobn
1. Execute Modification modification.xml Modification parse error
2. Execute Modification - Modification parse error


http://www.mysite.com/forum/index.php?action=packages;sa=install;package=NotifyON.zip 
8: Undefined index: package_readme
File: /home/mysite.com/httpdocs/forum/Sources/Packages.php
Line: 294

LDeeJay

Is 1.1.6 your first installation or did you use previous versions of SMF as well and is this an upgrade? Look like it's the installer that goes wrong, not my script. What if you do a manual installation?
Ultimate Game Solutions - 'cause there's a solution for everything

Bobn

Quote from: LDeeJay on September 28, 2008, 08:30:50 PM
Is 1.1.6 your first installation or did you use previous versions of SMF as well and is this an upgrade? Look like it's the installer that goes wrong, not my script. What if you do a manual installation?

Hi,

its a conversion from phpbb. I didnt see the manual install instructions??

LDeeJay

On this page you can select your version on the right and click submit. The page that follows will show you what to change. (It's a slight adjustment of Register.php). If not, let me know, I'll post them here.
Ultimate Game Solutions - 'cause there's a solution for everything


djrem

Isnt this already available in the Theme options as standard?

LDeeJay

I'm not sure. Does it depend on which theme you use? It wasn't available in mine..  (using the bloc theme). Which option would you use then?
Ultimate Game Solutions - 'cause there's a solution for everything

Sabre™

Quote from: djrem on September 29, 2008, 08:59:07 AM
Isnt this already available in the Theme options as standard?

hmmm  I havent seen this option available in any of the themes Ive used.
Would be interested to see which theme you speak of buddy, always willing to learn more. :)

Thank you LDeeJay.
I was thinking earlier about setting a few options to default, and you have now given me a brilliant angle to look at.

Good work buddy :)

Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


afe

Hello, I've installed http://custom.simplemachines.org/mods/index.php?mod=1318
and I've tested it out many times for hours, and it still doesn't work.

Please help and thank you. 

LDeeJay

What version of SMF do you use? Do you have access to the database? Can you register as a new user and see what's added to the smf_themes table?
Ultimate Game Solutions - 'cause there's a solution for everything

afe

1.1.7 and I am in the database, the smf_themes table in phpMyAdmin but I don't know what I'm supposed to look for.

Thanks, please help. :)

afe

Wait, it works! Yay! I think the reason for why it wasn't working was because I changed the default theme to a different theme (without installing the package, just replaced the files), but now it works!

Just one thing - how do I edit what the user gets. Right now it says
"A reply has been posted to a topic you are watching by Administrator.

View the reply at: http://www.forums.mywebsiteblahblah.com/index.php?topic=4.new;topicseen#new

Unsubscribe to this topic by clicking here: http://www.forums.mywebsiteblahblah.com/index.php?action=notify;topic=4.0

More replies may be posted, but you won't receive any more notifications until you read the topic.

Regards,
The My Website Team."

Let's say I want it to put in what the post actually was. So if I said "testing hello, blah blah cool", it would say something like 'Admin posted "testing hello, bla..." on this site click here to view blah blah'

And also, how do I remove the unsubscribe link?

Thanks. :)

LDeeJay

First, did you do a manual install or auto?

Then, when you check register.php, can you see

$request = db_query("
INSERT INTO smf_themes
(ID_MEMBER, variable, value)
VALUES (" . $memberID . ", 'auto_notify', 1)", __FILE__, __LINE__);


When you register as a new user, you should check smf_members to see the memberID your new member got.
Then look at the smf_themes table and check if there's a record for that memberID, with variable auto_notify and value 1.

If not, send me your register.php and I'll have a look.
Ultimate Game Solutions - 'cause there's a solution for everything

afe

Yeah, it has a value of 1.

afe

It works fine perfectly with the default theme, but I've installed another theme and now it doesn't work. The theme that I've installed is http://custom.simplemachines.org/themes/index.php?lemma=1248

Advertisement: