DragonByte Tech | vBulletin Mods & Addons - Powered by vBulletin





User Tag List

Thanks Thanks:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5

Thread: Lite version missing ipcheck files


Forum: DragonByte Security Lite Support

Questions & Answers for DragonByte Security.
Click here to buy!

  1. #1
    Junior Member
    Level 5 (3,117 Loyalty Points)

    User InfoThanks / Tagging InfoGifts / Achievements / AwardsActivity Stats
    Join Date
    Sep 2012
    Posts
    17
    Rep Power
    0

    Default Lite version missing ipcheck files

    So we are trialing the new version of vbsecurity and it seems like you have replaced the built in ipsearch functionality of vbulletin with your own but then failed to include the doips.php

    Heres the code that I looked at to see why we were getting the error and the lite pkg does not include a doips.php

    Code:
    if (!file_exists(DIR . '/dbtech/vbsecurity/actions/admin/' . $action . '.php'))
    {
    	if (!file_exists(DIR . '/dbtech/vbsecurity_pro/actions/admin/' . $action . '.php'))
    	{
    		// Throw error from invalid action
    		print_cp_message($vbphrase['dbtech_vbsecurity_invalid_action']);
    	}
    	else
    	{
    		// Include the selected file
    		include_once(DIR . '/dbtech/vbsecurity_pro/actions/admin/' . $action . '.php');	
    	}
    }
    else
    {
    	// Include the selected file
    	include_once(DIR . '/dbtech/vbsecurity/actions/admin/' . $action . '.php');	
    }

    Summary:
    Missing doips.php
    0 1 0
     
    Lite version missing ipcheck files Send PM  

  2. #2
    Founder
    Level 0 (0 Loyalty Points)
    Belazor's Avatar
    User InfoThanks / Tagging InfoGifts / Achievements / AwardsActivity Stats
    Join Date
    Dec 2009
    Location
    Glasgow, United Kingdom
    Age
    30
    Posts
    27,743
    Blog Entries
    13
    Rep Power
    10

    Default

    Quote Originally Posted by Bossland View Post
    the included vbsecurity.php only checks for the exsitance of the pro directory which ofcourse does not exist cause this is the lite version.

    Code:
    if (!file_exists(DIR . '/dbtech/vbsecurity/actions/admin/' . $action . '.php'))
    {
    	if (!file_exists(DIR . '/dbtech/vbsecurity_pro/actions/admin/' . $action . '.php'))
    	{
    		// Throw error from invalid action
    		print_cp_message($vbphrase['dbtech_vbsecurity_invalid_action']);
    	}
    	else
    	{
    		// Include the selected file
    		include_once(DIR . '/dbtech/vbsecurity_pro/actions/admin/' . $action . '.php');	
    	}
    }
    else
    {
    	// Include the selected file
    	include_once(DIR . '/dbtech/vbsecurity/actions/admin/' . $action . '.php');	
    }
    Here you can see that this if/else statement is incorrect as it checks for _pro and if it doesnt exist it still trys to include it.
    Sorry, but this is an incorrect assessment. As you can see by the first statement, it checks to see if the file exists in the Lite directory. If not, it checks for it in the Pro directory. If not, it throws an error saying the action cannot be found.

    If the first if check ("does this file NOT exist in the Lite dir?") fails, the Lite file is included.
    If the second if check ("does this file NOT exist in the Pro dir?") does NOT fail, the Pro file is included.

    Does that make more sense?

    I'll correct the incorrect doips.php override in v2.0, this is intended to be a Pro-only feature.
    Fillip Hannisdal
    Founder & Programming Director
    DragonByte Technologies http://www.DragonByte-Tech.com


    Please do not Private Message me with support requests or product questions. PMs are only for exchanging sensitive information (like FTP / AdminCP logins).
    Please do not Private Message me with business related queries (refunds, complaints, feedback, etc). Decado is the person to PM for those issues.
    Please do not Private Message Decado with support requests or forum errors.

    When I say "Hotfix Released" it means you should re-download the product and re-upload the files.
    Like our products? Want to be notified on social media networks when we release updates or new products? Click the buttons below to Like us on Facebook, Follow us on Twitter and Follow us on Google+!
    0 0 0
     
    Lite version missing ipcheck files Send PM  

  3. #3
    Junior Member
    Level 5 (3,117 Loyalty Points)

    User InfoThanks / Tagging InfoGifts / Achievements / AwardsActivity Stats
    Join Date
    Sep 2012
    Posts
    17
    Rep Power
    0

    Default

    Quote Originally Posted by Belazor View Post
    Sorry, but this is an incorrect assessment. As you can see by the first statement, it checks to see if the file exists in the Lite directory. If not, it checks for it in the Pro directory. If not, it throws an error saying the action cannot be found.

    If the first if check ("does this file NOT exist in the Lite dir?") fails, the Lite file is included.
    If the second if check ("does this file NOT exist in the Pro dir?") does NOT fail, the Pro file is included.

    Does that make more sense?

    I'll correct the incorrect doips.php override in v2.0, this is intended to be a Pro-only feature.

    Is there an eta on this as now my admins cannot search by ips.
    0 0 0
     
    Lite version missing ipcheck files Send PM  

  4. #4
    Founder
    Level 0 (0 Loyalty Points)
    Belazor's Avatar
    User InfoThanks / Tagging InfoGifts / Achievements / AwardsActivity Stats
    Join Date
    Dec 2009
    Location
    Glasgow, United Kingdom
    Age
    30
    Posts
    27,743
    Blog Entries
    13
    Rep Power
    10

    Default

    v2.0 will be released tonight, approx. 8 hours from the time of writing this post. Sorry for the inconvenience
    Fillip Hannisdal
    Founder & Programming Director
    DragonByte Technologies http://www.DragonByte-Tech.com


    Please do not Private Message me with support requests or product questions. PMs are only for exchanging sensitive information (like FTP / AdminCP logins).
    Please do not Private Message me with business related queries (refunds, complaints, feedback, etc). Decado is the person to PM for those issues.
    Please do not Private Message Decado with support requests or forum errors.

    When I say "Hotfix Released" it means you should re-download the product and re-upload the files.
    Like our products? Want to be notified on social media networks when we release updates or new products? Click the buttons below to Like us on Facebook, Follow us on Twitter and Follow us on Google+!
    0 0 0
     
    Lite version missing ipcheck files Send PM  

  5. #5
    Founder
    Level 0 (0 Loyalty Points)
    Belazor's Avatar
    User InfoThanks / Tagging InfoGifts / Achievements / AwardsActivity Stats
    Join Date
    Dec 2009
    Location
    Glasgow, United Kingdom
    Age
    30
    Posts
    27,743
    Blog Entries
    13
    Rep Power
    10

    Default

    Hello @Bossland,

    This ticket has now been closed with the status Fixed.

    We hope your issue or question has been addressed to your satisfaction. If not, please feel free to re-open it by clicking this link.

    If you have any further issues or questions, please feel free to start a new support ticket via the button at the top of every page.

    Thank you!
    Fillip Hannisdal
    Founder & Programming Director
    DragonByte Technologies http://www.DragonByte-Tech.com


    Please do not Private Message me with support requests or product questions. PMs are only for exchanging sensitive information (like FTP / AdminCP logins).
    Please do not Private Message me with business related queries (refunds, complaints, feedback, etc). Decado is the person to PM for those issues.
    Please do not Private Message Decado with support requests or forum errors.

    When I say "Hotfix Released" it means you should re-download the product and re-upload the files.
    Like our products? Want to be notified on social media networks when we release updates or new products? Click the buttons below to Like us on Facebook, Follow us on Twitter and Follow us on Google+!
    0 0 0
     
    Lite version missing ipcheck files Send PM  

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [vB 4.2.x] Files removed from version 1.3.0 to 1.3.1
    By bzcomputers in forum Username Change
    Replies: 3
    Last Post: 9th December 2014, 21:17
  2. [vB 4.2.x] Lite version missing admincp settings
    By Joshua Lukes in forum Advanced Registration Lite Support
    Replies: 4
    Last Post: 29th May 2014, 17:39
  3. Missing Files
    By XGC Paravain in forum vBSuper PM's Lite Support
    Replies: 12
    Last Post: 23rd August 2013, 11:14
  4. [vB 4.2.x] Missing Files
    By XGC Paravain in forum vBActivity & Awards Lite Support
    Replies: 4
    Last Post: 20th August 2013, 00:30

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.