User2016 Posted March 6, 2017 Posted March 6, 2017 16 minutes ago, HeadStand said: En este momento las plantillas son accesibles solamente sobre el tema en sí, y no en las páginas del listado. Es algo que he tenido la intención de hacerlo, pero no han tenido la oportunidad todavía. Será un par de semanas hasta que pueda conseguir que en allí. No ha perdido. Simplemente no funciona de esa manera. Los campos no se almacenan realmente con el puesto, sino que están almacenados en el tema. Los hago muestran después de la entrada, pero no son parte de ese contenido. En teoría, si combina un tema, tan sólo pudiera caer esa información en la plantilla con el contenido de la entrada, pero cuando se edita el mensaje, sería una larga bloque de texto. No hay campos individuales. Please, if you get this to work mention my user. The vbulletin MOD is very complete, it may be useful to add options to your IPB mod.
Adam_S Posted March 9, 2017 Posted March 9, 2017 On 01/03/2017 at 4:33 AM, HeadStand said: I can't reproduce this issue. If I go to the create screen with a calendar selected, the set dropdown is not disabled. If a default set is defined, it is properly selected. I have tested this with 2 calendars, each with one set configured (a different one for each calendar). I have tried with a default set defined and not defined. I have tried with a set required and not required. All tests are successful. Do you have any JavaScript errors in your console? I have the following error: Error in event handler for (unknown): TypeError: Cannot read property 'command' of undefined at chrome-extension://fhplmmllnpjjlncfjpbbpjadoeijkogc/js/hooks/content.min.js:1:228 If i follow that link, this text is exposed function init(){getPage_url();setInterval(function(){getPage_url()},1E3)}function getPage_url(){var a=document.location.href;curHref!=a&&(curHref=a,chrome.extension.sendRequest({akce:"Page_URL",url:a},function(a){"Get_Links"==a.command?getAll_URLs(a.tip,a.answer,a.tabId):"Get_VK_Audio"==a.command?getVK_Audio_URLs(a.tip,a.answer,a.tabId):"Get_VK_Video"==a.command?getVK_Video_URLs(a.tip,a.answer,a.tabId):"Get_DM_Video"==a.command&&getDM_Video_URLs(a.tip,a.answer,a.tabId)}))} function getDM_Video_URLs(a,f,g){a=document.location.href;aURLs.length=0;var d=document.head.getElementsByTagName("meta");if(d)for(var c=0;c<d.length;c++){var b=d[c];if("twitter:player"==b.getAttribute("name"))var e=/([^\/]+)$/.exec(b.getAttribute("value"))[1]}e&&chrome.extension.sendRequest({akce:"Get_DM_Video",answer:f,tabId:g,url:a,videoId:e},function(b){})} function parse_str(a){a=a.split("&");for(var f=[],g=0;g<a.length;g++){var d=a[g].split("=");f[unescape(d[0])]=unescape(d[1]).replace(/[+]/g," ")}return f} function getVK_Video_URLs(a,f,g){function d(b,a,d,g,e,f){c.push({url:b,title:a,ext:g,format:d,quality:e,downloadName:a,type:"video",groupId:0,orderField:0})}var c=[];a=document.location.href;var b=document.getElementById("video_player");if(!b)return!1;var e=document.getElementById("mv_min_title").textContent,b=b.getAttribute("flashvars");null!=b&&(b=parse_str(b),"0"==b.hd?(""==b.no_flv&&(-1!=b.host.search(/(vkadre.ru)/i)?d("http://"+b.host+"/assets/videos/"+b.vtag+""+b.vkid+".vk.flv",e,"Low","flv", "240p",a):d("http://cs"+b.host+".vk.com/u"+b.uid+"/videos/"+b.vtag+".flv",e,"Low","flv","240p",a)),"0"==b.no_flv&&(-1!=b.host.search(/(vkadre.ru)/i)?d("http://"+b.host+"/assets/videos/"+b.vtag+""+b.vkid+".vk.flv",e,"Low","flv","240p",a):-1!=b.host.search(/(psv4.vk.me)/i)?d(b.url240,e,"Low","flv","240p",root_url):d("http://cs"+b.host+".vk.com/u"+b.uid+"/videos/"+b.vtag+".flv",e,"Low","flv","240p",a)),"1"==b.no_flv&&d("http://cs"+b.host+".vk.com/u"+b.uid+"/videos/"+b.vtag+".240.mp4",e,"SD","mp4","240p", a)):"1"==b.hd?(d("http://cs"+b.host+".vk.com/u"+b.uid+"/videos/"+b.vtag+".360.mp4",e,"High","mp4","360p",a),d("http://cs"+b.host+".vk.com/u"+b.uid+"/videos/"+b.vtag+".240.mp4",e,"SD","mp4","240p",a)):"2"==b.hd?(d("http://cs"+b.host+".vk.com/u"+b.uid+"/videos/"+b.vtag+".480.mp4",e,"High","mp4","480p",a),d("http://cs"+b.host+".vk.com/u"+b.uid+"/videos/"+b.vtag+".360.mp4",e,"High","mp4","360p",a),d("http://cs"+b.host+".vk.com/u"+b.uid+"/videos/"+b.vtag+".240.mp4",e,"SD","mp4","240p",a)):"3"==b.hd&&(d("http://cs"+ b.host+".vk.com/u"+b.uid+"/videos/"+b.vtag+".720.mp4",e,"HD","mp4","720p",a),d("http://cs"+b.host+".vk.com/u"+b.uid+"/videos/"+b.vtag+".480.mp4",e,"High","mp4","480p",a),d("http://cs"+b.host+".vk.com/u"+b.uid+"/videos/"+b.vtag+".360.mp4",e,"High","mp4","360p",a),d("http://cs"+b.host+".vk.com/u"+b.uid+"/videos/"+b.vtag+".240.mp4",e,"SD","mp4","240p",a)));chrome.extension.sendRequest({akce:"Get_VK_Video",answer:f,tabId:g,url:a,link:c},function(b){})} function getVK_Audio_URLs(a,f,g){a=document.location.href;aURLs.length=0;for(var d=document.querySelectorAll(".audio"),c=0;c<d.length;c++){var b=d[c],e="",k="",l="",h=null,m=b.getElementsByTagName("input");m&&(h=m[0]);if(h&&h.id&&-1!=h.id.indexOf("audio_info")){e=h.value;if(!e)continue;e=e.split(",");if(!e)continue;e=e[0];l=h.id.substr(10,h.id.length)}if(!(4>e.length)){if(h=b.getElementsByClassName("title_wrap")[0])k=h.textContent;b.getElementsByClassName("duration");aURLs.push({url:e,title:k,value:l, type:"audio"})}}chrome.extension.sendRequest({akce:"Get_VK_Audio",answer:f,tabId:g,url:a,link:aURLs},function(b){})} function getAll_URLs(a,f,g){var d=document.location.href;aURLs.length=0;if(-1!=a.indexOf("all")||-1!=a.indexOf("link")){for(var c=Array(document.links.length),b=0;b<document.links.length;b++)c.push(document.links[b]);addLinksToArray(c,d)}if(-1!=a.indexOf("all")||-1!=a.indexOf("image")){c=Array(document.images.length);for(b=0;b<document.images.length;b++)c.push(document.images[b]);addImagesToArray(c,d,"image")}if(-1!=a.indexOf("all")||-1!=a.indexOf("embed")){c=Array(document.embeds.length);for(b=0;b< document.embeds.length;b++)c.push(document.embeds[b]);addEmbedsToArray(c,d)}if(-1!=a.indexOf("all")||-1!=a.indexOf("video")){var e=[];if(c=document.getElementsByTagName("video")){for(b=0;b<c.length;b++)e.push(c[b]);addImagesToArray(e,d,"video")}}if(-1!=a.indexOf("all")||-1!=a.indexOf("audio"))if(e=[],c=document.getElementsByTagName("audio")){for(b=0;b<c.length;b++)audio.push(c[b]);addImagesToArray(e,d,"audio")}if(-1!=a.indexOf("input")&&(c=document.getElementsByTagName("input"))){e=[];for(b=0;b<c.length;b++)e.push(c[b]); addInputsToArray(e,d)}if(-1!=a.indexOf("all")||-1!=a.indexOf("object"))if(c=document.getElementsByTagName("param")){a=[];for(b=0;b<c.length;b++)a.push(c[b]);addParamsToArray(a,d)}chrome.extension.sendRequest({akce:"Get_Links",answer:f,tabId:g,url:d,link:aURLs},function(b){})} function addLinksToArray(a,f){a&&a.length&&a.forEach(function(a){var d=getURL(a.href,f);if(""!=d){var c="";a.hasAttribute("title")&&(c=trimMore(a.getAttribute("title")));!c&&a.hasAttribute("alt")&&(c=trimMore(a.getAttribute("alt")));c||(c=trimMore(a.innerText));var b="";a.hasAttribute("class")&&(b=trimMore(a.getAttribute("class")));aURLs.push({url:d,title:c,"class":b,id:a.id?a.id:"",value:"",type:"link"})}})} function addImagesToArray(a,f,g){a&&a.length&&a.forEach(function(a){var c="";a.src&&(c=a.src);a.hasAttribute("data-thumb")&&(c=trimMore(a.getAttribute("data-thumb")),-1==c.indexOf("http")&&(c="http:"+c));c=getURL(c,f);if(""!=c){var b="";a.hasAttribute("alt")?b=trimMore(a.getAttribute("alt")):a.hasAttribute("title")&&(b=trimMore(a.getAttribute("title")));a.hasAttribute("class")&&trimMore(a.getAttribute("class"));aURLs.push({url:c,title:b,"class":a["class"]?a["class"]:"",id:a.id?a.id:"",value:a.value? a.value:"",type:g})}})}function addInputsToArray(a,f){a&&a.length&&a.forEach(function(a){var d=getURL(a.src,f),c="";a.hasAttribute("alt")?c=trimMore(a.getAttribute("alt")):a.hasAttribute("title")&&(c=trimMore(a.getAttribute("title")));var b="";a.hasAttribute("class")&&(b=trimMore(a.getAttribute("class")));a.hasAttribute("value")&&trimMore(a.getAttribute("value"));aURLs.push({url:d,title:c,"class":b,id:a.id?a.id:"",value:a.value?a.value:"",type:"input"})})} function addEmbedsToArray(a,f){a&&a.length&&a.forEach(function(a){var d=getURL(a.src,f),c="";a.hasAttribute("alt")?c=trimMore(a.getAttribute("alt")):a.hasAttribute("title")&&(c=trimMore(a.getAttribute("title")));var b="";a.hasAttribute("class")&&(b=trimMore(a.getAttribute("class")));var e="";a.hasAttribute("flashvars")&&(e=trimMore(a.getAttribute("flashvars")));aURLs.push({url:d,title:c,"class":b,id:a.id?a.id:"",value:e,type:"embed"})})} function addParamsToArray(a,f){a&&a.length&&a.forEach(function(a){var d="",c="",b="",e="";a.hasAttribute("name")&&(e=trimMore(a.getAttribute("name")));a.hasAttribute("value")&&(b=trimMore(a.getAttribute("value")));if(a=a.parentNode)d=a.getAttribute("data"),a.id&&(c=a.id);aURLs.push({url:d,title:e,"class":"",id:c,value:b,type:"object"})})}function trimMore(a){return null==a?"":a.replace(/^[\s_]+|[\s_]+$/gi,"").replace(/(_){2,}/g,"_")} function getURL(a,f){if(-1!=a.toLowerCase().indexOf("javascript:")||-1!=a.toLowerCase().indexOf("javascript :"))a="";if(-1!=a.toLowerCase().indexOf("mailto:")||-1!=a.toLowerCase().indexOf("mailto :"))a="";-1!=a.indexOf("data:image")&&(a="");return a}var aURLs=[],curHref=null;window.addEventListener("load",function(a){init()},!1); Thats the only error on the page
HeadStand Posted March 9, 2017 Author Posted March 9, 2017 I don't know what that is, but it isn't mine... Looks like it's something related to videos? Either way, it isn't mine.
TDBF Posted March 9, 2017 Posted March 9, 2017 3 minutes ago, HeadStand said: I don't know what that is, but it isn't mine... Looks like it's something related to videos? Either way, it isn't mine. http://pastebin.com/XMTtBVdX The script seems to be this one here, I have no who wrote it. Seems to be for Video's?
Adam_S Posted March 15, 2017 Posted March 15, 2017 Hi @HeadStand, Will send you a private message so we can work on this issue together and find out whats going on. But you can see the bug in action by visiting my website at https://ozclubbers.com.au/calendar/ and trying to create a new event. As you've highligted, there appears to be no javascript errors relating to your app, so i'm guessing there's a bug somewhere with the app somehow? Hoping we can work to get it fixed so the app works on my site.
HeadStand Posted March 15, 2017 Author Posted March 15, 2017 A new version has been uploaded to the Marketplace. Changes include: JavaScript timing issue caused the set to be disabled on some forms. Fixed. Required dropdowns now have an empty option to force users to make a selection.
Adam_S Posted March 15, 2017 Posted March 15, 2017 Just now, HeadStand said: A new version has been uploaded to the Marketplace. Changes include: JavaScript timing issue caused the set to be disabled on some forms. Fixed. Required dropdowns now have an empty option to force users to make a selection. Thanks @HeadStand!
PrettyPixels Posted March 19, 2017 Posted March 19, 2017 On 7/24/2016 at 9:16 AM, HeadStand said: It's on my to-do list for this mod. I am hoping to make several enhancements to this over the next couple of weeks, that's one of them. Location specifically would be tough, though. It's not really a searchable field, just the way the content is stored. Just curious if searchable fields was ever added? Otherwise, is there any way to sort entries based on a custom field?
HeadStand Posted March 19, 2017 Author Posted March 19, 2017 1 hour ago, PrettyPixels said: Just curious if searchable fields was ever added? Otherwise, is there any way to sort entries based on a custom field? Not yet. Sorry.
B507 Admin Posted March 22, 2017 Posted March 22, 2017 (edited) I have a series of form fields that use the Editor feature, and unfortunately, when you go to view it all of the styled text pastes as html. I have attached a picture of it below. Any idea how to fix this without bringing about security concerns? Edited March 22, 2017 by B507 Admin
David.. Posted April 30, 2017 Posted April 30, 2017 (edited) @HeadStand Is there somewhere where I can test the app to see if it fits our needs before purchasing? Thank you! @HeadStand Just incase you forgot to read. Edited May 1, 2017 by David.. RevengeFNF 1
James101 Posted May 2, 2017 Posted May 2, 2017 (edited) @HeadStand Hey, I purchased the application and it is mind blowing. Thank you for the share. I would like to know if its possible to not have the normal/default text box in some areas of the board and just have this template system in place? Thank you. Edited May 2, 2017 by priyesh.mehta94@gmail.com
Metor Posted May 5, 2017 Posted May 5, 2017 does this have all functionality of the pages module? when it comes to custom fields? and will you update for 4.2 ?
Metor Posted May 6, 2017 Posted May 6, 2017 (edited) @HeadStand Is there a way to add custom field in the thread index view? I'm using topic thumbnails in gallery mode for the thread index view. FYI sorry if already asked or if the info is already somewhere Edited May 8, 2017 by Monstris
Metor Posted May 11, 2017 Posted May 11, 2017 On 5/6/2017 at 9:47 PM, Monstris said: @HeadStand Is there a way to add custom field in the thread index view? I'm using topic thumbnails in gallery mode for the thread index view. FYI sorry if already asked or if the info is already somewhere Any news on this feature @HeadStand or if you can give me code that I can implement myself would be great.
HeadStand Posted May 11, 2017 Author Posted May 11, 2017 On 5/5/2017 at 3:13 PM, Monstris said: does this have all functionality of the pages module? when it comes to custom fields? and will you update for 4.2 ? Can you please clarify what specific functionality you are looking for? I'm not sure what you're looking for when you say "all functionality of the pages module". These are 2 very different things. If you ask me something specific, I'll be happy to answer. On 5/6/2017 at 3:47 PM, Monstris said: @HeadStand Is there a way to add custom field in the thread index view? I'm using topic thumbnails in gallery mode for the thread index view. FYI sorry if already asked or if the info is already somewhere What is "topic thumbnails in gallery mode"? Is that a 3rd party mod or is that a setting? On 3/22/2017 at 3:10 PM, B507 Admin said: I have a series of form fields that use the Editor feature, and unfortunately, when you go to view it all of the styled text pastes as html. I have attached a picture of it below. Any idea how to fix this without bringing about security concerns? You can fix this by adding "|raw" to the field value in the template. For example {$fieldValue|raw} I'll mark this as a bug though, as the app should definitely be handling this on its own. Metor 1
HeadStand Posted May 19, 2017 Author Posted May 19, 2017 2 hours ago, TylerJM said: Can this be used in bulk email? No.
Maniutek Posted June 26, 2017 Posted June 26, 2017 (edited) Hello! I can not create a new field, I have this error: UPDATE `ibf_templates_fields` templates_fields SET `field_pf_allow_attachments`=1,`field_key`='12121_12',`field_searchable`=0,`field_type`='Text',`field_content`='[]',`field_multiple`=false,`field_not_null`=true,`field_max_input`=0,`field_input_format`='' WHERE field_id=68 IPS\Db\Exception: Unknown column 'field_pf_allow_attachments' in 'field list' (1054) #0 /xxx/xxx/xxx/xxx/public_html/system/Db/Db.php(990): IPS\_Db->preparedQuery('/*IPS\\Node\\_Mod...', Array) #1 /xxx/xxx/xxx/xxx/public_html/system/Patterns/ActiveRecord.php(492): IPS\_Db->update('`ibf_templates_...', '`field_pf_allow...', 'WHERE field_id=...') #2 /xxx/xxx/xxx/xxx/public_html/system/Node/Model.php(2183): IPS\Patterns\_ActiveRecord->save() #3 [internal function]: IPS\Node\_Model->save() #4 /xxx/xxx/xxx/xxx/public_html/init.php(447) : eval()'d code(217): call_user_func_array('parent::save', Array) #5 /xxx/xxx/xxx/xxx/public_html/system/Node/Model.php(2955): IPS\Node\advancedtagsprefixes_hook_nodeModel->save() #6 [internal function]: IPS\Node\_Model->saveForm(Array) #7 /xxx/xxx/xxx/xxx/public_html/init.php(447) : eval()'d code(145): call_user_func_array('parent::saveFor...', Array) #8 /xxx/xxx/xxx/xxx/public_html/system/Node/Controller.php(391): IPS\Node\advancedtagsprefixes_hook_nodeModel->saveForm(Array) #9 /xxx/xxx/xxx/xxx/public_html/system/Dispatcher/Controller.php(85): IPS\Node\_Controller->form() #10 /xxx/xxx/xxx/xxx/public_html/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute() #11 /xxx/xxx/xxx/xxx/public_html/applications/templates/modules/admin/templates/fields.php(30): IPS\Node\_Controller->execute() #12 /xxx/xxx/xxx/xxx/public_html/system/Dispatcher/Dispatcher.php(142): IPS\templates\modules\admin\templates\_fields->execute() #13 /xxx/xxx/xxx/xxx/public_html/admincsone/index.php(13): IPS\_Dispatcher->run() #14 {main} Edited June 26, 2017 by Maniutek
HeadStand Posted June 26, 2017 Author Posted June 26, 2017 30 minutes ago, Maniutek said: Hello! I can not create a new field, I have this error: UPDATE `ibf_templates_fields` templates_fields SET `field_pf_allow_attachments`=1,`field_key`='12121_12',`field_searchable`=0,`field_type`='Text',`field_content`='[]',`field_multiple`=false,`field_not_null`=true,`field_max_input`=0,`field_input_format`='' WHERE field_id=68 IPS\Db\Exception: Unknown column 'field_pf_allow_attachments' in 'field list' (1054) #0 /xxx/xxx/xxx/xxx/public_html/system/Db/Db.php(990): IPS\_Db->preparedQuery('/*IPS\\Node\\_Mod...', Array) #1 /xxx/xxx/xxx/xxx/public_html/system/Patterns/ActiveRecord.php(492): IPS\_Db->update('`ibf_templates_...', '`field_pf_allow...', 'WHERE field_id=...') #2 /xxx/xxx/xxx/xxx/public_html/system/Node/Model.php(2183): IPS\Patterns\_ActiveRecord->save() #3 [internal function]: IPS\Node\_Model->save() #4 /xxx/xxx/xxx/xxx/public_html/init.php(447) : eval()'d code(217): call_user_func_array('parent::save', Array) #5 /xxx/xxx/xxx/xxx/public_html/system/Node/Model.php(2955): IPS\Node\advancedtagsprefixes_hook_nodeModel->save() #6 [internal function]: IPS\Node\_Model->saveForm(Array) #7 /xxx/xxx/xxx/xxx/public_html/init.php(447) : eval()'d code(145): call_user_func_array('parent::saveFor...', Array) #8 /xxx/xxx/xxx/xxx/public_html/system/Node/Controller.php(391): IPS\Node\advancedtagsprefixes_hook_nodeModel->saveForm(Array) #9 /xxx/xxx/xxx/xxx/public_html/system/Dispatcher/Controller.php(85): IPS\Node\_Controller->form() #10 /xxx/xxx/xxx/xxx/public_html/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute() #11 /xxx/xxx/xxx/xxx/public_html/applications/templates/modules/admin/templates/fields.php(30): IPS\Node\_Controller->execute() #12 /xxx/xxx/xxx/xxx/public_html/system/Dispatcher/Dispatcher.php(142): IPS\templates\modules\admin\templates\_fields->execute() #13 /xxx/xxx/xxx/xxx/public_html/admincsone/index.php(13): IPS\_Dispatcher->run() #14 {main} What version of IPS are you running?
Maniutek Posted June 26, 2017 Posted June 26, 2017 28 minutes ago, HeadStand said: What version of IPS are you running? Invision Community version 4.2.0 Beta 6a
HeadStand Posted June 26, 2017 Author Posted June 26, 2017 Just now, Maniutek said: Invision Community version 4.2.0 Beta 6a I have not yet updated this product for 4.2 support. 4.2 is not even officially released yet.
Recommended Posts