The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]()
Umm I don't know who that someone else is, point me to the thread and I'll go see
![]() I never knew the email address would be in different variables ... to me it makes no sense. What really baffles me is how the host can insist on something like this that doesn't appear to be easily accomplished on one of the biggest forum softwares out there. I mean I know (ok assume since I can't "know") that 98% of all vBulletin users don't have this retarded one click opt out. I haven't found a mod anywhere that does this. But, I have seen other places that automatically opt you out by clicking a link sent in an email, but I have no real idea how. I assumed it was a javascript and all it did was delete the address from a mailing list. Either that or it was a completely bogus opt out ![]() ![]() It wouldn't be hard to pull off (I know hostmonster will check I've raised too much hell over this for them not to once I tell them it's done), just disallow registered users to subscribe to anything, then run a couple queries to deselect some options and viola! the wool has been pulled over their eyes ![]() |
#12
|
|||
|
|||
![]()
I was talking about this: www.vbulletin.org/forum/showthread.php?t=285357 . It looks like he found the same mod you did.
I would say it isn't so much that it's difficult to implemt as it is that the system just wasn't designed for it. A lot of the code (I think) is pretty much the same as it's been for many years. And the software also wasn't really designed for modifying (without file edits). The plugin system helps a lot but you're still at the mercy of the hook placement within the code (in other words there are a lot of things you just cannot change using a plugin). I've heard that long ago all mods were done by file edits, so I suppose we're spoiled. ![]() Anyway, I know there's some urgency on your end, so I'll think about what we can do to get you going, but it will probably be later this afternoon at the earliest (unless someone else reads this thread and comes up with a better idea). --------------- Added [DATE]1341932122[/DATE] at [TIME]1341932122[/TIME] --------------- ...but I guess I'm kind of defending vbulletin when your point was really that your host is being unreasonable. I think you're right, like you said, if many other people had that requirement it would be done already. |
#13
|
|||
|
|||
![]()
Ah I saw his replies and told him I can not give him the changes I made without the author's ok.
I've been thinking, could a plugin be created to prevent a usergroup from being able to check the options for emails? I know you can turn them off by default via the acp, but then the user can just turn them on. I figure with the changes to the user groups I made last Aug when we switched hosts to hostmonters, if the registered usergroup is not allowed to change those settings I won't have this issue anymore. I'm not in a life or death hurry, my users know it's the hosts fault ![]() ![]() I think a plugin that moves them to a different usergroup would be easiest right? --------------- Added [DATE]1341938412[/DATE] at [TIME]1341938412[/TIME] --------------- If we can update this to work on 4.1.x it will satisfy my retarded host. https://vborg.vbsupport.ru/showthread.php?t=224315 --------------- Added [DATE]1341938804[/DATE] at [TIME]1341938804[/TIME] --------------- The main difference between the old mod I linked and the one I installed is that the old one doesn't require the user to log in. But since I just spent 1.5 hours with my crappy hosts "support" I can't see how it works. |
#14
|
|||
|
|||
![]() Quote:
Anyway, we can convert that mod - it's even marked reusable. |
#15
|
|||
|
|||
![]()
OK, I just ported the mod you mentioend above to vb4.2.0, and I'm attaching it here so you can try it. Let me know if you need anything changed. If it works I'll post it in the mod section.
|
#16
|
|||
|
|||
![]()
Afternoon
![]() It looks like it works just fine on my test site (4.1.12) but I don't think it will conform with their guidelines. I don't see the difference between having it send an unsubscribe email that they have to wait on, then click again, and having to log in to click a button. Since I'm still blocked from sending emails I can't test it on the live site, and I still don't have an email client configured for my localhost so I never got the unsubscribe email ![]() --------------- Added [DATE]1341962024[/DATE] at [TIME]1341962024[/TIME] --------------- Basically it needs to do all of the work once the user clicks the link/button. It can not send an email, or go to a confirmation page (unless there's no other links/buttons to click). I'm seriously starting to hate hostmonster. --------------- Added [DATE]1341962673[/DATE] at [TIME]1341962673[/TIME] --------------- Yep just as I thought, they don't like that one either. I so wish I could crawl through the screen and light their damn lawyers on fire and toast some marshmellows while listening to Black Sabbath ![]() |
#17
|
|||
|
|||
![]()
OK, well, I can make the "double opt-out" (as it's apparently called when you have to click the email link) optional. I can make it so that you just enter an email address and it's unsubscribed. BTW, you shouldn't have to log in at all for this to work - but I probably should have mentioned that you need to uninstall the other mod first, I think they use the same hooks and values for "do", so if you saw a log in message it may be because they're interfering with each other.
--------------- Added [DATE]1341963004[/DATE] at [TIME]1341963004[/TIME] --------------- Quote:
What don't they like about it? Just having to click the email link? So if I can get it to be a screen where you enter an email and press "unsubscribe", and you don't have to log in to do it, that should be OK? |
#18
|
|||
|
|||
![]()
Yes I uninstalled the other one first
![]() They don't like the 3 step process. Step 1 being clicking on the link in the email. Step 2 entering the email address and clicking a button/link. Step 3 being receiving another email with another link/button to click. They want at most 2 steps. Click on link from email and goto an unsubscribe page, enter email on the page and click a link/button and be done. --------------- Added [DATE]1341965571[/DATE] at [TIME]1341965571[/TIME] --------------- So no "double opt outs" or "double confirmation" pages. --------------- Added [DATE]1341966737[/DATE] at [TIME]1341966737[/TIME] --------------- Holy cow I'm some sort of stupid. I may have found a ready made answer here at vbulletin.org ![]() https://vborg.vbsupport.ru/showthread.php?t=266142 Depending on what Fillip says to my questions of course ![]() --------------- Added [DATE]1341967265[/DATE] at [TIME]1341967265[/TIME] --------------- I am eternally grateful for all of the time and patience you have devoted towards my problem, and I would be even more grateful if you continued on this quest in case the dbtech mod won't satisfy my host. I think you should expand the settings that your ported version of this mod changes. These are what I had done in the other mod that my host says won't work for them. Code:
$db->query("UPDATE " . TABLE_PREFIX . "user SET options= options - 256 WHERE (options & 256) AND userid=" . $vbulletin->userinfo['userid']); $db->query("UPDATE " . TABLE_PREFIX . "user SET options= options - 2097152 WHERE (options & 2097152) AND userid=" . $vbulletin->userinfo['userid']); $db->query("UPDATE " . TABLE_PREFIX . "user SET options= options - 32 WHERE (options & 32) AND userid=" . $vbulletin->userinfo['userid']); $db->query("UPDATE " . TABLE_PREFIX . "user SET options= options - 2048 WHERE (options & 2048) AND userid=" . $vbulletin->userinfo['userid']); $db->query("UPDATE " . TABLE_PREFIX . "user SET autosubscribe = -1 WHERE autosubscribe = 0 OR 1 OR 2 OR 3 AND userid=" . $vbulletin->userinfo['userid']); Of course you don't have to, but I think it would be a popular addition in my nooby opinion ![]() --------------- Added [DATE]1341969797[/DATE] at [TIME]1341969797[/TIME] --------------- Quote:
![]() |
#19
|
|||
|
|||
![]()
I've started to work on this, but I haven't gotten very far - I almost forgot to check this thread to see if you made any progress. Anyway, do you still need this? I only glanced at the dbtech mod, but it looks like it does a lot, so there may still be some use for a mod that simply makes it easy for members to unsubscribe by setting the options.
Do you happen to know if setting each of those user options to No and deleting all subscriptions covers everything? I was actually thinking of maintaining a list of addresses and checking it in the mail send function as a way of ensuring that no email was sent to someone who opted out (assuming they wanted to opt out of all emails from the site). Edit: you also mentioned moving the user to another group, do you still think that would be a useful option? I thought I'd just start with setting the admin email option to no, then go from there. |
#20
|
||||
|
||||
![]()
Couldn't you use the misc.php?do=$userid as the link posted and then in a pluging get the userid (remember i know nothing of JS
![]() PHP Code:
PHP Code:
![]() If you do happen to sort this code out as a one link click (vb3 & vb4 hopefully) i'd like to see it ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|