Jump to content

Blesta Addons

Alpha Developers
  • Posts

    4,868
  • Joined

  • Last visited

  • Days Won

    390

Posts posted by Blesta Addons

  1. 10 hours ago, activa said:

    For my piont of view menus in v3 is great and better than v4 , in practice mode not in design . Once we are in tools for exemple we have all sublink in the navbar and it easy to click directly .in v4 we need to click 2 times.

    +1 for this . the actual menus is very practice than the new one, unless they have the hover in the desktop version

     

  2. 9 hours ago, evolvewh said:

    Right now, there is a tab for Nameservers and a tab for Settings. If someone wants to update their nameservers through the client area, they are naturally going to go to the nameservers tab, make the changes and click update. Everything appears to be ok, however, if 'Lock' is set, nothing will happen. I can add the language but it would be nice if there was more clarity for the user to let them know that 'Lock' needs to be disabled in order to make changes to nameservers.

    One moment , LOCK is a action set by the reseller , the customer can't make a domain in lock status .

  3. 57 minutes ago, Paul said:

    Some people would complain that their name is 1 or 2 characters and couldn't register. Any minimum character limits would have to be configurable.

    any fields in the profile should be in the configurable options.

    we have clients registering without zip code and without address, and some modules like registrar domain wont activate the domain if there is no zip code or address, if the domain was purchased at midnight in the morning we found about 90 email only for failed creation service !!!

     

  4. as the title , the "key" settings is limited to varchar(32)  .

    is possible to make it more like 64 ? the limit here is related with any other aspect of blesta ?

    why we need more ?

    is some case we need to store some setting that is unique and sometimes is long , like

    paypal_universal_payments_custom_field_1 , the limitation make the setting only for the first 32 char  'paypal_universal_payments_custom' .

    https://requests.blesta.com/topic/make-key-in-settings-accept-more-than-32-varchar

    best regards

     

  5. My second theory was correct , i have a modified Paypal gateway and my paypal did't has the fallowing code :

                default:
                    // Log request received, even though not necessarily processed
                    $verified = ($response === "VERIFIED");
                    $this->log($this->ifSet($_SERVER['REQUEST_URI']), serialize($post['payment_status']), "output", $verified);
                    
                    if ($verified) {
                        return;
                    }

     

  6. 3 hours ago, Licensecart said:

    Have you added the IPN Url on PayPal for backup? 

    he say the callback is working, only the result is always error .

    from the screen , the Paypal gateway send a completed payment status, and also a verified status for the post-back confirmation .

    but i don"t know why blesta mark the it as failed !!!

    the only reason that will mark VERIFIED status as error is if the "business" & "receiver_email" are not the same in the input and output . this data was cleared by you, so you can check them .

    another test to do is replacing

                case "completed":

    by

    			case "completed":
    			case "verified":

    ...........

     

    From my side , i never get 3 intries in a paypal log , only 2 , the impout and the output , the last log never i see it in my gateway logs, and i support the problem is come from it.

     

  7. Seo Tools & Sitemap Generator For Blesta

    this plugin is the unique all in one seo tools for blesta, is add seo tags and custom tags to your website without touch or hack any core file . all you need is configuring the plugin for the first time , and sleep .

    with this plugin you can:

    1 - Set different meta tags as you want , and insert the most important meta tags to your blesta .

    2 - Generate a fully compatible sitemap and ping the search engine about the new sitemap , the plugin has a cronjob to do this task every day for you.

    3 - create a fully compatible robot.txt to disallow crawling for no necessary directories .

    4 - option to edit robot.txt and .htaccess from admin side, without entering in ftp mode .

    5 - log all the spiders that crawling your website, and check wish spiders are crawling your blesta site .

    6 - log all incoming keyword search, and see what users are searching for in search engine.

    7 - add google analytics code in your blesta without changing the template files.

    8 - add social tags for Facebook and twitter in your blesta pages.

    9 - set permission who can manage the plugin .

    10 - Email report about every sitemap generated with summary sections and urls archived .

    and so many other awesome features that you should discover it your self .

    Robots & Meta Configuration

    Set the meta tags you want, and set Facebook Open Graph, Twitter Card, Google Analytics, and select the page you want to exclude this tags .

    Sitemap Generation Configuration

    Generate Sitemap , Set to compress sitemap with gz, set ping search engines, and set to make urls with https .

    robots.txt & .htaccess file

    edit and save robot.txt and .htaccess

    Spiders Logs

    check spiders activities and option to delete 1 item or empty the full logs .

    Incoming Search Keywords

    check incoming search keyword to your website , and option to delete 1 item or empty the full logs .

     

    That not all ,  if you have a custom plugin that generate pages and want to include that page in the site map is very easy , all you need to do is create a simple file inside the model directory called "your_plugin_sitemap.php" , the Seo tools will detect it and add your url to the site map .  a sample code should be like :

    <?php
    class YourPluginSitemap extends SeoToolsModel 
    {
    	/**
    	 * Initialize
    	 */
    	public function __construct() 
    	{
    		parent::__construct();
    	}
    	
    	/**
    	 * Base Urls
    	 *
    	 */
    	public function generateSiteMap($sitemap = null)
    	{
    		if (!$sitemap) {
    			return;
    		}
    		
    		// Load your Model to fetch pages from database
    		Loader::loadModels($this, ["YourPlugin.YourPluginModel"]);		
    		// create base urls map
    		$sitemap->page('your_plugin', 'My Own Plugin');
    		// Get links from your databse
    		$links = $this->YourPluginModel->getLinks();
    			
    		foreach($links as $link) {
    			// Add url to sitemap
    			$sitemap->url(
    				$link->url, // page link , that can be a fullurl to page
    				'now', // last modification time , optional
    				'weekly', // How frequently the page is likely to change , this is optional
    				.6 // The priority of this URL relative to other URLs on your site, optional
    			);			
    		}
    		unset($links);
    	}
    }

    another simple code for static custom urls

    <?php
    class YourPluginSitemap extends SeoToolsModel
    {
        /**
         * Initialize
         */
        public function __construct()
        {
            parent::__construct();
        }
        
        /**
         * Base Urls
         *
         */
        public function generateSiteMap($sitemap = null)
        {
            if (!$sitemap) {
                return;
            }
            
    		// create base urls map
    		$links = $this->myLinks();
    		$sitemap->page('my_links', 'Custom urls');
    		foreach($links as $link) {
    			$sitemap->url(
    				$link['loc'], 
    				$link['lastmod'], 
    				$link['changefreq'], 
    				$link['priority']
    			);
    		}
    		unset($links);       
        }
    	
    	private myLinks() {
    		return [
    			[
    				'loc' => "my_custom_page.html", // page without a clint route 
    				'lastmod' =>  date('c'),
    				'changefreq' => "weekly",
    				'priority' => .5
    			],
    			[
    				'loc' => Configure::get("Route.client") . DS . "simple_page.php", // php page with  blesta client route
    				'lastmod' =>  date('c'),
    				'changefreq' => "monthly",
    				'priority' => .5
    			],
    			[
    				'loc' => Configure::get("Route.client") . DS . "second_custom_page.html", // html page with blesta client route
    				'lastmod' =>  date('c'),
    				'changefreq' => "monthly",
    				'priority' => .5
    			],
    		];		
    	}
    } 

    if you want to create your own sitemap file, we can help you .

    at the moment, the sitemap generated include :

    1 - the base url , login/reset password page .

    2 - CMS page , if installed

    3 - Support departments that are public visibility  , if installed

    4 - Knowledge Base Categories, articles with multiple languages if available , if installed

    5 - Download Manager categories and files if they are public visibility, if installed

    6 - Order Forms that are public visibility , if installed

    Compatibility

    the plugin is fully compatible with blesta v3, v4 .

     

    Order

    this  plugin requiere a the Pro (Silver) subscription .

    Order Link

     

    Best Regards

     

  8. when we want to edit a email group , we get the fallowing error

    Quote

    An action by that name already exists.

    the edit action es like this

    						$this->EmailGroups->edit(
    							$group_id,
    							[
    								'action' => $email['action'],
    								'type' => $email['type'],
    								'notice_type' => $email['notice_type'],
    								'plugin_dir' => $email['plugin_dir'],
    								'tags' => $email['tags']
    							]
    						);

    from EmailGroups edit function , it always check if "action" is unique, this correct if we want to add new emailgroup, by in edit mode it should check if the "action" belong to the group_id that we should edit it . and when we send the edit command without 'action' it return error of action is required .

    the rules should be revised to allow edit group_id with new values.

     

  9. i have checked some blesta code source files and i have arrived to make the email template set "to" in "notice_type" . now the in the staff group edit i can see the email template in "Email Subscription Notices" , but in staff My Information settings notices , the email is not shown , even is is ticked in the group permission who the staff is belong to .

    i have missed another step  to add ?

    EDIT : i have found the problem .

    in admin myinfo notices , blesta is only return the core template no emails for plugins in ($this->EmailGroups->getAllByNoticeType() ) .

    normally how we will give the staff the ability to select wish notices they want to subscribe for it if blesta is only returning no plugins emails ?

    also i don't why exist this limitation ?

    why not to add another options for Plugins Email Subscription Notices & Plugins Email BCC Notices ?

  10.  

    20 hours ago, Kurogane said:

    Hi,

    When you made a change give this error

    
    Feature deprecated. Please refer to KB link

    source

    
    http://docs.whmcs.com/ResellerClub#Feature_Deprecated._Please_refer_to_KB_link

    Sorry i can't another source point to this issue. 

    I'm not using blesta 3.6.2 so i don't know if already fix this issue

    use my fix it will work and is tested .

×
×
  • Create New...