-
Posts
4,868 -
Joined
-
Last visited
-
Days Won
390
Everything posted by Blesta Addons
-
[Plugin] Css Javascript Toolbox (Magic Box)
Blesta Addons replied to Blesta Addons's topic in The Marketplace
Here is some tips to use : Hide TAX ID field in client side : see this post Change Font for header in client side : see this post Hide the invoice delivery methode in client side : see this post Dissalow client from changing thier data in client profil: see this post Add Language Selector to clients/Visitors: see this post Add google analytics to client side Add Custom js simple Pages : all client pages Markup to set in : head tag JS To Add : // <![CDATA[ var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-00000000-1']); _gaq.push(['_setAllowLinker', true]); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); // ]]> this code is just a sample, don't forget to put your tracking code and save . Add navbar header to login Page for client : Add Custom html advanced Controllers : client_login Markup to set in : after the body tag HTML To Add : <div class="header"> <div class="container"> <div class="logo"> <a href="/blesta/client/"> <img src="/blesta/app/views/client/bootstrap/images/logo.png" alt="Blesta" /> </a> </div> </div> </div> <div class="title"> <div class="container"> <h3>Log In Area</h3> </div> </div> <div class="nav-content"> <div class="nav"> <nav class="navbar navbar-default" role="navigation"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle Navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <div class="container"> <ul class="nav navbar-nav"> <li class="active"> <a href="/blesta/client/"><i class=""></i>Dashboard</a></li> <li><a href="/blesta/client/accounts/"><i class=""></i> Payment Accounts</a></li> <li><a href="/blesta/client/contacts/"><i class=""></i> Contacts</a></li> <li><a href="/blesta/client/plugin/announcements/client_main/"><i class=""></i> Announcements</a></li> <li><a href="/blesta/client/plugin/download_manager/client_main/"><i class=""></i> Downloads</a></li> <li><a href="/blesta/client/plugin/knowledgebase/client_main/"><i class=""></i> Knowledge Base</a></li> <li><a href="/blesta/client/plugin/support_manager/client_main/"><i class=""></i> Support</a></li> </ul> </div> </div><!-- /.navbar-collapse --> </nav> </div> </div> change the link as you want and save .- 49 replies
-
- javascript
- magic box
- (and 5 more)
-
Hello The community . LAST UPDATE : 9-2-2015 , Version 1.6.0 IF YOU WANT TO THANK ME WITH A LITTE DONATION , you can do it with PAYPAL DONATION from here we bring free and exclusive content , this time is Css Javascript Toolbox plugin . the Magic BOX . The Css Javascript Toolbox plugin Easily add custom CSS, JavaScript, HTML and PHP code To Heeder , Body , Footer in any page you need . 1.6.0 -fix language difinition error in updating file. -fix include multiple files in on controller. -fix preselect page/controller in edit page. 1.5.1 -cleanup code . -offcial release . the plugin can : Show css/js/html/php in all blesta pages (client/admin) Show css/js/html/php in all client side pages . Show css/js/html/php in all admin side pages . Show css/js/html/php in Some specific pages . TODO LIST : - add plugins pages to the list inn the second post you can see exemple of usage . screenshoot : admin area admin rendered page with custom css / js the add function page HOW IT WORk : select what content you need to add , then : for css add just the style without <style> tags like .head { padding: 0px 10px; height: 16px; background: url('../images/arrow06.gif') no-repeat scroll 0% 0% transparent; } .logo { padding: 0px 10px; height: 16px; margin: 0px 0px 0px 20px; background: url('../images/arrow06.gif') no-repeat scroll 0% 0% transparent; } for javascript , add just the function without <script> tags : alert('TEST ALERT'); for html , add html as you want . for php add the complete code with php tags . (do not use echo command) . This Plugin is tested in our test server , no bugs at the moment . as always the installtion steps is : 1 - download the file https://github.com/Blesta-Addons/Css_Javascript_Toolbox 2 - upload the css_javascript_toolbox folder inside plugin directory . 3 - goto plugins , and install css javascript toolbox . 4 - enjoy the free content . The Plugins / Modules take from us a lot of time , so any donation are welcome . Any Suggestion/Bug Please report it here .
- 49 replies
-
- javascript
- magic box
- (and 5 more)
-
what is the output of grep ^extension /usr/local/lib/php.ini check if the file "pdo_mysql.so" exist in /usr/local/lib/php/extensions/no-debug-non-zts-20121212/
-
add the php 5.5 fix patch
-
New Events For Service Suspension And Termination/cancelation
Blesta Addons replied to Jonathan's topic in Feature Requests
please add your vote to this thread http://www.blesta.com/forums/index.php?/topic/2979-more-events/ -
Hello @PauloV . your methode is the same as i have arrived to it , and i'm searching for some Automated things , we lose a lot of times just editing and deleting/creating invoices , rennewing services outside blesta . i believe with some new events we can achive this with a plugin . but at least no more event we can't imagine a new plugin for our tasks . my last in-deep function , i found a workarround , but i have not begin test coding , but i will give you my idea . for those client i will add new group , then i will create a plugin that has a cronjob , and searchinf the opening invoices and then delete the relation webteen invoices line and the service_id . with that , the system will not call the renew command if the invocie is paid . i need to more reflect in this before i begin .
-
very good
-
Function Getclienttabs($Package)'s Returned Array Elements
Blesta Addons replied to ModulesBakery's topic in Feature Requests
@ModulesBakery , i have reported your tread as BUG . i have found a solution . for those who want patch thier system , open app/controllers/client_services.php change at line 943 // Get tabs $client_tabs = $module->getClientTabs($package); with // Get tabs if (!empty($service->date_suspended)) $client_tabs = array() ; else $client_tabs = $module->getClientTabs($package); EDIT : and to prevent client from access to tabs with direct url change the line 123 $tab_view = $module->{$method}($package, $service, $this->get, $this->post, $this->files); to if (empty($service->date_suspended)) $tab_view = $module->{$method}($package, $service, $this->get, $this->post, $this->files); i can sleep now -
from this thread , i beleieve this is a bug and not a feature request . http://www.blesta.com/forums/index.php?/topic/3433-function-getclienttabspackages-returned-array-elements/ simply : the client can manage suspended services . that should not happen in any case , only admins can manage the suspended services . the fix is simple, render the getClientTabs if the service is active . EDIT : i have posted a fix for this in this post ,for those won't wait until the blesta staff add thier own fix
-
Function Getclienttabs($Package)'s Returned Array Elements
Blesta Addons replied to ModulesBakery's topic in Feature Requests
uffff , ican't sleep today , i have almost finished all to migrat to v3 . with this behavior i can't imagine my new system . SUSPENSION = client can't do anything in service . @tyson/@cody/@paul , what is the difference between active and suspended services ? from what i see , is just the red notice in the top of tabs . -
Function Getclienttabs($Package)'s Returned Array Elements
Blesta Addons replied to ModulesBakery's topic in Feature Requests
Normally , if the service is suspended , there no tab view renerated . let me test it now . EDIT : Ohh Nooo .... this for me is a big bug . why ? if the servie is suspended , that mean the client has no access to this service , and the idea the coder/developper should add a condition to check if the service is suspended or not is too bad and ugly . normally , if the client has the option to change/access the services tabs , why is suspended ? the client can start the vps if is stopped due to the suspended action (this is just a samaple) . if the service is suspended ,the manage button should the manage fucntion should return no data for clients . as if we just remove the manage button , the inteligent client can access the manage via the direct url . client/services/manage/1988/tabxxxxx/ V2.5 was this feature , and no tabs are returned at all . -
Hello All ; we have a case in our system that we need to discus with the community to see what they can add as a idea for it . we have some client that pay late with cash or bank deposit , this clients has some services that should be renewed before they complete the payment . so if we renew thier service now , they complete the payement after x days/weeks , the invoice should be marked as paid , then the renew function will be called and the domain/service will be renewed for extra X (mount/year) . what we can do that this case will not cause a probleme for doublicating renewal . our internal solution was , delete the lines from invoices and re-create them , wit that the line should not related to any service . but with this methode we have a lot to do and some time we forget some invoice from editing , we have soufred in v2.5 , but as v3 has more flexibility code , i search a automated thing . what do you think ?
-
in my opinion if we check required + read only . if the field is read only & required and is empty (no value) , the input should be editable , that mean that the user can fill the field in registration or in the client area ( a notice that the data can't be changed after by the client himself) , if the field is filled then the input should be disabled . that sceanarion is the best approuch .
-
from client panel is should call getClientAddFields and not getAdminAddFields .
-
[Plugin] Getkudos (Reviews From Social Media)
Blesta Addons replied to Blesta Addons's topic in The Marketplace
Plugin updated to 1.2.0 , now is supporting v3.3.X and above . enjoy the free plugin . -
make them as restricted package .
-
[Plugin] Cookiecuttr Plugin (Eu Cookie Law)
Blesta Addons replied to Blesta Addons's topic in The Marketplace
The plugin Has been update to v2.0.0 , compatible with v3.3.X . + added option to select between two css style, screenshoot has ben added to the first post . enjoy the free content -
i think the OP ask a imported for cpanel/whm account .
-
{"replacer":".content_section","content":"\n\t\t\n\t\t\t\t<div class=\"inner\">\n\t\t\t\t\t<div class=\"links_row\">\n\t\t\t\t\t\t<ul>\n<li class=\"first\"><a href=\"\/blesta\/admin\/billing\/services\/active\/\" class=\"ajax\">Active <span>(2744)<\/span><\/a><\/li>\n<li class=\"\"><a href=\"\/blesta\/admin\/billing\/services\/pending\/\" class=\"ajax\">Pending <span>(0)<\/span><\/a><\/li>\n<li class=\"highlight\"><a href=\"\/blesta\/admin\/billing\/services\/suspended\/\" class=\"ajax\">Suspended <span>(847)<\/span><\/a><\/li>\n<li class=\"\"><a href=\"\/blesta\/admin\/billing\/services\/canceled\/\" class=\"ajax\">Canceled <span>(4895)<\/span><\/a><\/li>\n<li class=\"highlight\"><a href=\"\/blesta\/admin\/billing\/services\/scheduled_cancellation\/\" class=\"ajax\">Scheduled <span>(0)<\/span><\/a><\/li>\n<li class=\"current\"><a href=\"\/blesta\/admin\/billing\/services\/in_review\/\" class=\"ajax\">In Review <span>(0)<\/span><\/a><\/li>\n<\/ul>\n\n\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n<div class=\"common_box_content\">\t\t<div class=\"empty_section\">\n\t\t\t<div class=\"empty_box\">\n\t\t\t\tThere are no services with this status.\t\t\t<\/div>\n\t\t<\/div>\n\t\t\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n<script type=\"text\/javascript\">\n\t$(document).ready(function() {\n\t\t$(\".service_info a,.service_info input\", this).click(function(e) {\n\t\t\te.stopPropagation();\n\t\t});\n\t\t$(\".service_info\").click(function() {\n\t\t\t$(this).blestaUpdateRow(\"\/blesta\/admin\/billing\/serviceinfo\/\/\" + $(this).next(\"tr\").attr(\"id\").split(\"_\")[1], \".subtable\");\n\t\t});\n\t\t\n\t\t\/\/ Handle confirmation\n\t\t$('#admin_billing_services a.manage[rel]').blestaModalConfirm({base_url: '\/blesta\/admin\/', close: 'Close'});\n\t\t$('#admin_billing_services a.manage.submit[rel]').blestaModalConfirm({base_url: '\/blesta\/admin\/', close: 'Close', submit: true});\n\t});\n<\/script>","message":null} the output is the response json for in_review : for me is not a bug , this response should be rendred in the service page and not directly in the browser . is the OP has made any change to the files also the server side spec of th OP is like the same as i have in my test server .
-
the output is not a server error , this the output of the tab in_review, normally this methode should be called via ajax inside the admin services tab , and is not used to work in a direct link . so the output is normal .
-
Possible To Pass In External Constant File To Templates?
Blesta Addons replied to gutterboy's topic in General
if you want to pass a extra vars to the template files is not possible ... but you can change the template files directly ... this thread can give you some how the template work http://www.blesta.com/forums/index.php?/topic/2992-call-function-from-template-file/?hl=template#entry21493 http://www.blesta.com/forums/index.php?/topic/3210-displaying-custom-field-information/?hl=template -
[Plugin] Cookiecuttr Plugin (Eu Cookie Law)
Blesta Addons replied to Blesta Addons's topic in The Marketplace
on v3.2 is working and tested . is not working in v3.3.X -
[Plugin] Cookiecuttr Plugin (Eu Cookie Law)
Blesta Addons replied to Blesta Addons's topic in The Marketplace
This plugin will not work with blesta 3.3 , next week i will update all plugins to be compatible with blesta 3.3