![]() |
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. |
All times are GMT. The time now is 04:48 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:
|