![]() |
Inline (Ajax) Subscription Management
Inline Subscription Management Version 1.0 What does this do? This little mod allows your members to change their thread subscription options directly from the Forum Display page! Flash-Demo you say? http://www.citconsultants.co.uk/demo...ger/index.html Looks great! How do I install? Installation is very simple. It involves uploading 1 Product XML and making 2 minor template edits. See the install.txt file inside the zip for full step-by-step instructions. Important: Unfortunately, my leased vBulletin licence has now expired, and I won't be renewing it until September which means I will be unable to reply to this thread, or update this mod until then. I'm hopeful that the great vBulletin.org community will step in to answer any questions in my absence though :) See you all in early September! :D |
Known Bugs: None!
|
A lot of sexy releases today Alan! This is one of the things that in fact should just be standard functionality in vBulletin, great work :)
|
on test ... thanks Allan Merci
|
clicked install
Another one to add to the list of template edits when vbulletin sends out the next update :) |
this is pretty cool! waiting for 3.6 before I install.
edit: what did you use to create the flash animation? |
working great . realy thanks .....
|
Thanks to everyone for installing and the kind words :)
Sniper: I use ScreenFlash to create them. It's very easy to use and you can knock up a simple animation in a matter of minutes :) Thanks, Alan. |
Idea, how about making it so people can set up a subscription from the topic list without the need of loading the topic.
Btw installed and working fine :) |
Being able to subscribe to a thread is on the todo list, but I can't think of a good way to do it :)
I need something (icon / button / etc) that is on every thread in forumdisplay for the user to click on to show up the Subscribe dropdown. Unfortunately, the only thing I could think of was the threadicon (status icon - opened, closed, etc) but that's being used by vB to open/close threads, so I just don't know :) Thanks, Alan. |
very nice!
|
Whoah, that's sexy.
|
Okay thats on the cool list.
|
Wow - very nice Alan. I think I will play with this.
|
Glad you all like it :) You'll be seeing more of these little ajax tools that make your lives easier in more of my hacks in the future :)
Thanks, Alan. |
clicked install
we hope if vBulletin team add this on 3.6.0 gold ^_^ |
Quote:
On my hit parade, is an easier way of managing FORUM subscriptions. My thought is to have a one page form which displays every forum and your your subscription level in radio buttons and allows you to edit them all at once, but it could also could implemented directly from the Forum Home page or any other page that displays sub-forums. |
Very nice - on my subscribed list so I remember this one when we get round to upgrading :)
uaeboy - I agree with you on this! Bloody good hack :) |
So how can you subscribe to a thread if you are not already subscribed to it???
|
In the normal way. As mentioned a few posts up, I do plan to add inline subscription to this mod, but I need to think up a good way to do it first :)
Thanks, Alan. |
Fantastic :)
Byt i try to install it on 3.5.4 and doesnt work...i get sql error Database error in vBulletin 3.5.4: Invalid SQL: ### INSERT QUERY GENERATED BY fetch_query_sql() ### INSERT INTO plugin (`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`) VALUES ('1', '5', 'Handle the Ajax calls', 'ajax_complete', 'if ($_POST[\'do\'] == \'update_subs\')\r\n{\r\n\r\n $_POST[\'threadid\'] = convert_urlencoded_unicode($_POST[\'threadid\']);\r\n $_POST[\'changeto\'] = convert_urlencoded_unicode($_POST[\'changeto\']);\r\n \r\n $vbulletin->input->clean_array_gpc(\'p\', array(\r\n \'threadid\' => TYPE_UINT,\r\n \'changeto\' => TYPE_INT\r\n ));\r\n\r\n // -1 = Unsubscribe\r\n // 0 = None\r\n // 1 = Instant\r\n // 2 = Daily\r\n // 3 = Weekly\r\n\r\n $xml = new vB_AJAX_XML_Builder($vbulletin, \'text/xml\');\r\n\r\n if ($vbulletin->GPC[\'changeto\'] != -1)\r\n {\r\n $vbulletin->db->query_write(\"UPDATE \" . TABLE_PREFIX . \"subscribethread\r\n SET emailupdate = \" . $vbulletin->GPC[\'changeto\'] . \"\r\n WHERE threadid = \" . $vbulletin->GPC[\'threadid\'] . \"\r\n AND userid = \" . $vbulletin->userinfo[\'userid\']);\r\n\r\n $xml->add_tag(\'status\', \'updated\');\r\n }\r\n else \r\n {\r\n $vbulletin->db->query_write(\"DELETE FROM \" . TABLE_PREFIX . \"subscribethread\r\n WHERE threadid = \" . $vbulletin->GPC[\'threadid\'] . \"\r\n AND userid = \" . $vbulletin->userinfo[\'userid\'] . \"\r\n LIMIT 1\");\r\n\r\n $xml->add_tag(\'status\', \'deleted\');\r\n }\r\n\r\n $xml->print_xml();\r\n\r\n}', 'cit_inline_subscriptions'); MySQL Error : Unknown column 'executionorder' in 'field list' Error Number : 1054 Date : Wednesday, June 21st 2006 @ 11:38:48 AM Script : admincp/plugin.php Referrer : admincp/plugin.php?do=productadd IP Address : 213.5.51.167 Username : *** Classname : **_database :( |
Hi,
I'm afraid that this hack is for 3.6 Beta 2 or above, not 3.5.4 :) Thanks, Alan. |
LOL yeap i know byt i just try :P
can you conver it for 3.5.4 :) ??? |
If you edit the Product XML and remove all of the executionorder="5" then install it, it may work, but I can't guarentee it as I haven't tested it :)
Thanks, Alan. |
:) i konw that and if it not work??
You cannot port it to 3.5.4?? 3.6 its still in beta :) |
Sorry, but 3.5 is the past, 3.6 is the future :) All of my new hacks will only be supported on 3.6 from now on :)
Thanks, Alan. |
Quote:
Attachment 49872 |
I like the idea of inline subscription, but why would someone subscribe to something they have not read, a option when reading the thread is enough imho.
|
I tend to use a subscription without emails just to flag it in my CP that I wanted to read it or it might be useful sometime without actually reading it. Saves having loads of bookmarks for one forum :)
I like the idea :) |
Quote:
People might have also posted a topic and after thinked about subscribin to it and so on. Someone might have read the preview via mouse over and that also. |
Very awesome hack. Top of my list to add. What draw me to this hack is my interest in allowing users to subscribe to Forums. In that way, whenever a new post OR and new Thread is created, they are notified.
For example, we have an "Ask a Professional" Forum. When a user posts a question in that forum, an email would be sent to any participating healthcare professionals. Before I upgraded to 3.6 beta 3, I created a hack that would automatically send an instant message to everyone in a particular usergroup, ie, healthcare pros. Some members of this group were not interested in participating and thus were being spammed with messages. So I have in mind a hack that would appear above/at every forum that would allow users to subscribe, kinda like RSS but via instant email updates. |
Quote:
|
That would be great. I would be happy to share any 'enhancements' along the way. I'll await your release of this. Thanks! :)
|
Just checking in. I just completed my implementation of vBSEO. Awesomeness!
Anyway, I consider thread/forum subscription management a high priority. Sssooooo..... howz it coming? Progress? :) |
I really enjoyed this hack. I installed it on one of the two live forums I work for. Great job!
|
Superb, like it very much thank you. And I'm quite happy with it as it is, I'd rather have people read the threads before subscribing anyway I think. ;)
There isn't a chance of the AJAX being stored externally is there? It does quite horrible things to XHTML validation when it's run inline which in turn completely nixes any CSS validation at all. Come to that, the comment formatting means the comments don't get stripped but that really is being picky. :p Not a big deal, just curious. Thanks again for your work! |
Awesome mod, works perfectly :)
|
Love This Hack
Very Simple to Install and Very Effective. Thanks Alan @ CIT |
Nice customization, thanks for this.
Just a note in case anyone else runs into this: if you have disabled the "Check Thread Subscription" option (in the "Thread Display Options (showthread)" section of the Vbulletin options) you need to turn that back on before this will work. It had been disabled on our board because a previous Admin had disabled many of the options labelled "This can have an effect on performance" due to server problems with a former webhost. So make sure the "Check Thread Subscription" option is set to "Yes" before installing this. Dexter... |
Does anyone know how to make this work in the recent threads section? i use the vb cmps, so i don't know if that makes a difference...:confused:
thanks. |
All times are GMT. The time now is 06:15 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|