XOOPS Web Application System :: Forum https://xoops.org/ Powered by You! :: XOOPS Community Bulletin Board Thu, 28 Mar 2024 09:48:03 +0000 https://backend.userland.com/rss/ NewBB 5.1.0 Support Forums webmaster@xoops.org webmaster@xoops.org en XOOPS Web Application System :: Forum https://xoops.org/modules/newbb/assets/images/logoModule.png https://xoops.org/ 92 52 Re: Product review [by Mamba] https://xoops.org/modules/newbb/viewtopic.php?post_id=354671 Code Sharing and Library::Product review<br> You would need to clone the module, and then you could install it twice. <br><br>I don't think that it is possible right now to clone extGallery with SmartClone, but the goal is to have all XOOPS-supported modules cloneable in near future. Sun, 28 Jul 2013 05:59:26 +0000 https://xoops.org/modules/newbb/viewtopic.php?post_id=354671 Multiselect checkboxes [by bumciach] https://xoops.org/modules/newbb/viewtopic.php?post_id=350211 Code Sharing and Library::Multiselect checkboxes<br> In my projects I prefer use lists of checkboxes above select multiple. So, I extends XoopsFormCheckBox class to render this approach:<a href="http://www.1stwebdesigns.com/blog/development/multiple-select-with-checkboxes-and-jquery" target="_blank" rel="external noopener nofollow">http://www.1stwebdesigns.com/blog/development/multiple-select-with-checkboxes-and-jquery</a><br><br><br>But I was looking for additional improvements to the very long (filtering, autocomplete, etc.) list of options lately.<br>I have found some interesting jquery widgets.<br>http://loudev.com/<br>http://quasipartikel.at/multiselect/<br>http://harvesthq.github.com/chosen/<br><br>Pros:<br>- at first glance you can see what options are selected (there is no need to scroll through a long list to find out that two or three options have been selected)<br>- replacement for the standard &lt;select&gt; with multiple attribute on browser side (no need for major changes in the modules code)<br><br>Cons:<br>- sometimes there is no possibility to enable javascript (or script errors because of eg. updating/changeing browser in future - developer must take an action). So you are left with a standard &lt;select&gt; which is worse than a even simple checkbox list mentioned at the beginning. <br><br>Are you using any other solution? Wed, 05 Dec 2012 14:34:08 +0000 https://xoops.org/modules/newbb/viewtopic.php?post_id=350211 dojo integration in xoops [by mschmid] https://xoops.org/modules/newbb/viewtopic.php?post_id=348095 Code Sharing and Library::dojo integration in xoops<br> Hi Gurus<br><br>I do wanna integrate the Dojo Framework into xoops (http://dojotoolkit.org/). <br>The xoops System loads for most of the actions the full webpage. As we know, the xoops page designe is done with the theme.html. I have the dojo script load defined in the theme. Also the dojo design is in the theme. I do not wanna reload always the page again. Just inside the new dojo design framework some content from xoops (like iframe). <br>- Do you know what is the best practice for such a setup?<br>- is it possible to just call xoops api for user login without reloading html (as example)<br>- Did some one do this already?<br><br>Any hint would help<br>Markus Fri, 27 Jul 2012 14:30:42 +0000 https://xoops.org/modules/newbb/viewtopic.php?post_id=348095 Re: Reusing of Code/Feature between modules [by redheadedrod] https://xoops.org/modules/newbb/viewtopic.php?post_id=347079 Code Sharing and Library::Reusing of Code/Feature between modules<br> This is on my list but I have some Core related projects I am working on hoping they make it into 2.6 first. If Trabis comes back soon I am hoping he and Bitcero can work together to make a new XMF or related Module framework. <br><br>For me to work on this at the moment this is about 4 or 5 on my list. <br><br>However when I work on xRoster I will be doing so with the intent on making it one of the first projects to make use of THIS system. When I work on xRoster it will be experimenting with a variety of things that will hopefully make it into a totally new Profile module.<br><br>Rodney Mon, 18 Jun 2012 23:09:53 +0000 https://xoops.org/modules/newbb/viewtopic.php?post_id=347079 Re: List of button bars for social networks [by timgno] https://xoops.org/modules/newbb/viewtopic.php?post_id=346360 Code Sharing and Library::List of button bars for social networks<br> I upgraded to xoops 2.5.5 is great!<br><br>I also added the <strong>barsocial</strong> in <a href="http://modules.txmodxoops.org/modules/codelink/" rel="noopener external" title=""><span style="text-decoration: underline;">codelink</span></a> and will insert this into all modules progressively.<br><br>I also added two more facebook buttons <img class="imgsmile" src="https://xoops.org/uploads/smil3dbd4d6422f04.gif" alt="" /><br><br>The code is simple to create, you can do it all by following the <a href="http://www.txmodxoops.org/Tutorials/Hack/un-box-per-lista-pulsanti-social-network-op1id56pg0.html" rel="noopener external" title=""><span style="text-decoration: underline;">tutorial</span></a> Fri, 11 May 2012 22:32:53 +0000 https://xoops.org/modules/newbb/viewtopic.php?post_id=346360 XoopsFormSelect with styled and disabled options [by bumciach] https://xoops.org/modules/newbb/viewtopic.php?post_id=344286 Code Sharing and Library::XoopsFormSelect with styled and disabled options<br> I expanded the class XoopsFormSelect for my needs, but may also be useful to someone.<br>I needed to color a few items in the select list. Of course you can use javascript. In this case it was convenient for me to modify the methods of the class (only addOption, addOptionArray not). In Xoops 2.2.x was also able to option disabled, so I added it too.<br><br><div class="xoopsCode"><code><span style="color: #000000"> <span style="color: #0000BB"></span><span style="color: #007700">class&nbsp;</span><span style="color: #0000BB">pfXoopsFormSelect&nbsp;</span><span style="color: #007700">extends&nbsp;</span><span style="color: #0000BB">XoopsFormSelect <br /></span><span style="color: #007700">{ <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">/** <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Options <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@var&nbsp;array <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@access&nbsp;private <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/ <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">var&nbsp;</span><span style="color: #0000BB">$_options&nbsp;</span><span style="color: #007700">=&nbsp;array(); <br /> <br /> <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">/** <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Constructor <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;string&nbsp;$caption&nbsp;Caption <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;string&nbsp;$name&nbsp;"name"&nbsp;attribute <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;mixed&nbsp;$value&nbsp;Pre-selected&nbsp;value&nbsp;(or&nbsp;array&nbsp;of&nbsp;them). <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;int&nbsp;$size&nbsp;Number&nbsp;or&nbsp;rows.&nbsp;"1"&nbsp;makes&nbsp;a&nbsp;drop-down-list <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;bool&nbsp;$multiple&nbsp;Allow&nbsp;multiple&nbsp;selections? <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/ <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">pfXoopsFormSelect</span><span style="color: #007700">(</span><span style="color: #0000BB">$caption</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$name</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$value&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$size&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$multiple&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">) <br />&nbsp;&nbsp;&nbsp;&nbsp;{ <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setCaption</span><span style="color: #007700">(</span><span style="color: #0000BB">$caption</span><span style="color: #007700">); <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setName</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">); <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">_multiple&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$multiple</span><span style="color: #007700">; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$this</span><span ... Mon, 20 Feb 2012 13:25:01 +0000 https://xoops.org/modules/newbb/viewtopic.php?post_id=344286 Re: jQueryUI autocomplete local data source problem [by kerkyra] https://xoops.org/modules/newbb/viewtopic.php?post_id=336380 Code Sharing and Library::jQueryUI autocomplete local data source problem<br> if it works for you its all good :) Tue, 15 Feb 2011 15:57:30 +0000 https://xoops.org/modules/newbb/viewtopic.php?post_id=336380 Re: EXPORT TO PDF [by Mamba] https://xoops.org/modules/newbb/viewtopic.php?post_id=335840 Code Sharing and Library::EXPORT TO PDF<br> Take a look and News and Publisher Tue, 25 Jan 2011 06:25:56 +0000 https://xoops.org/modules/newbb/viewtopic.php?post_id=335840 Re: Thumbnail creation after/during upload [by Peekay] https://xoops.org/modules/newbb/viewtopic.php?post_id=333580 Code Sharing and Library::Thumbnail creation after/during upload<br> As derya pointed out in the code snippet comments<br>Quote:<div class="xoopsQuote"><blockquote>Should be better to use imagecopyresampled instead of imagecopyresized if your temp img is created with imagecreatetruecolor, because it keeps truecolor.</blockquote></div><br>This makes a BIG difference to the thumbnail quality if they are any larger than an avatar. Sat, 13 Nov 2010 23:53:45 +0000 https://xoops.org/modules/newbb/viewtopic.php?post_id=333580 Re: Major Versions of Xoops. [by redheadedrod] https://xoops.org/modules/newbb/viewtopic.php?post_id=332070 Code Sharing and Library::Major Versions of Xoops.<br> I am trying to research some things right now but my intention at this point in time is to create a module that will pull from the api documentation and hopefully create this for me. <br><br>I need the API documentation in XML format however to accomplish this. <br><br>I am looking at things to support in such a module... <br><br>The module will be a sort of &quot;versions comparison&quot; module designed to work with multiple programs but will be programmed with the xoops API in mind. <br><br>Will load the XML versions of the API documentation into the module. <br><br>Then the intention is to build a table. This table will have the name of the function or class, a brief description of it and then each version will have a column for comments. <br><br>The description will be the latest version available. <br><br>The comments will be single letters or symbols in the column for the version number. At this point I can see comments for:<br>current function/class<br>depreciated <br>removed<br>new function/class<br>moved<br><br>Anything else I should be looking for?<br>The moved, removed and new comments would be from that version compared to the version before it. <br><br>If someone is more interested in a particular function or class and they click on it then the API record for each version will be listed with any pertinent information. For instance if a function or class is depreciated it should show the new one to use in its place. <br><br>I am having trouble finding something that will convert CHM files into XML files so I am guessing I will have to use doxygen to make XML files from the original code. I could convert to HTML but want to use the XML capabilities of PHP to do most of the work for me.<br><br>Work Smarter not harder as we say around here.. ;)<br><br><br>Rodney Tue, 07 Sep 2010 05:00:59 +0000 https://xoops.org/modules/newbb/viewtopic.php?post_id=332070