php forum
php mysql forum
php mysql smarty
 
Topic Options
#318506 - 02/18/10 09:14 AM Disable Watch List option
Mike_Tabat Offline
Lurker

Registered: 08/04/03
Posts: 7
I am using UBB Threads 7.5.4.2 running on Linux. I have an issue with my ISP that limits outgoing email. So, I want to disable the Watch List features by "hiding" it from the users. Can I hide this option from users so that it is not displayed? I think the DB can stay the same, just don't offer users an option to change their watch list settings.

What files and specific changes would I need to make?

Thanks,
Mike

Top
#318512 - 02/19/10 12:14 PM Re: Disable Watch List option [Re: Mike_Tabat]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 182
Loc: Lutz,FL,USA
Depends on how much you want to change.
You will need to edit the template files.
You could delete the options to email in the form and leave it as none with nothing else to select. Hide the option completely deleting the column.
Edit the language file to say it has been disabled.
Bla Bla.
But anyway here are the files needed to edit.
Forum/templates
/editdisplay.tpl( for default My Preferences)
/edittopics.tpl (for watched topics)
/editusers.tpl (for watched users)
/editforums.tpl (for watched forums)

Did not have a lot of time to look closer. But they are just small template files when you look at them it will be obvious what options to delete or comment out.
Of course members already getting emails will not be changed that would be a database change to clean them out.

If you need more detail when I have time I will type it in.

BTW,while you are looking at the files there are other email options to consider like the private message email. You could disable that also.





Edited by Ruben Rocha (02/22/10 12:09 PM)
Edit Reason: corrected typo error.

Top
#318513 - 02/22/10 10:45 AM Re: Disable Watch List option [Re: Ruben Rocha]
Mike_Tabat Offline
Lurker

Registered: 08/04/03
Posts: 7
Thanks, I will see what I can do with those files.

The PM mail should be OK as it is only sent to a small set of users. I will use a discussion list style of email to broadcast to all users if needed.

Mike

Top
#318514 - 02/22/10 02:48 PM Re: Disable Watch List option [Re: Mike_Tabat]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 182
Loc: Lutz,FL,USA
Okay don't get fixated on it is a php file.
It just is a form with some table formating
If you cut and paste it into a html editor it may be missing the form tags but it is very close.

Top
#318515 - 02/23/10 03:44 PM Re: Disable Watch List option [Re: Ruben Rocha]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
It's also on the Full Reply screen, so you'd have to do a smidge more digging...

i'd recommend making a feature request over at UBBCentral and see if Rick could get something in v8 to completely disable the watched list.

Then again, v8 will have a mail queue...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318516 - 02/24/10 12:25 PM Re: Disable Watch List option [Re: Gizmo]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 182
Loc: Lutz,FL,USA
Originally Posted By: Gizmo
It's also on the Full Reply screen, so you'd have to do a smidge more digging...

i'd recommend making a feature request over at UBBCentral and see if Rick could get something in v8 to completely disable the watched list.

Then again, v8 will have a mail queue...


Giz that option is just for adding a watched item only not to email. Option is "Add this Thread to my Watched Topics."
But you are correct there are other items to consider. Such as the Email Post button when viewing a topic.
But Mike stated he is only concerned with email notification of watched items.


Edited by Ruben Rocha (02/24/10 12:28 PM)

Top
#318517 - 02/24/10 01:29 PM Re: Disable Watch List option [Re: Ruben Rocha]
Mike_Tabat Offline
Lurker

Registered: 08/04/03
Posts: 7
I can handle single emails sent out to individuals, just not all members at the same time.

Ideally, each forum subscription or watch list would send email to it's own email discussion list (ie one email, one address). Distribution of email to users would be managed by the discussion list (ie mailman). The biggest problem here is how to automate the subscribe/unsubscribe to each forum discussion list. I think it's possible, but would require sending a command to the mailman admin http://list.mydomain.com/admin.cgi. This would be separate from the UBBT database.

Either that or manage the subscriptions manually.

Top
#318518 - 02/24/10 01:54 PM Re: Disable Watch List option [Re: Mike_Tabat]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 182
Loc: Lutz,FL,USA
I had the same issue with classic at that time.
Even though threads is very different.
From memory:
What I did was register several users using a specific distribution email address for each.
Then logged on as each user and subscribed to the pertinent forums.
Then banned the user so stray emails would not be sent to them from the board and so they would not show up as users in the user list.

No file hacks were needed.

Then I added a list(island) to subscribe to on the main page.
Then in the list manager I added a footer to explain how to unsubscribe to the list.And a note not to reply to the email.
I also had to set security measures in the mail list for only subscribed members to limit spam. Meaning the main board email address was allowed to post.

It worked very well at the time.

Top
#318519 - 02/24/10 02:01 PM Re: Disable Watch List option [Re: Ruben Rocha]
Mike_Tabat Offline
Lurker

Registered: 08/04/03
Posts: 7
Ruben,

This is exactly what I had in mind. But I will still have to hack the Watch List so that the feature is disabled.

Mike

Top
#318520 - 02/24/10 02:09 PM Re: Disable Watch List option [Re: Mike_Tabat]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 182
Loc: Lutz,FL,USA
Currently yes.
If it will still work today.
Lots of security measures have been placed since then.
I see you posted at ubbcentral with this feature request.
You might want to enhance that post for what you are asking for.
Gizmo stated there will be a email queue for version 8.
And it will allow you to throttle the outgoing mail for limitation caps but will not do what you are asking for now. Meaning send to a distribution list. You would still need to go through similar steps.

BTW, I was the one that pushed for that feature but I never thought about still using distribution lists.

Top
#318521 - 02/24/10 02:23 PM Re: Disable Watch List option [Re: Ruben Rocha]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 182
Loc: Lutz,FL,USA
You know the more I think about this, It is a great suggestion.
Several people have asked how to directly import a post from a discussion mail list to a forum. Which does not work currently.
But at least this will give a start to that feature outgoing only.

Top
#318525 - 03/09/10 01:27 PM Re: Disable Watch List option [Re: Ruben Rocha]
Mike_Tabat Offline
Lurker

Registered: 08/04/03
Posts: 7
I have these mods up and running at the following site if anyone wants to take a look.

The option to modify user's watchlist has been removed.

The watchlist option has been replaced by subscription to email discussion lists.

http://grapevineforum.com

Thanks,
Mike

Top



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks