Jump to content

[Plugin] Admin Tools (More Options For Staff)


Blesta Addons
Message added by Michael,

Important Notice:

We have received reports that this developer is not responding to support requests. Some extensions may not be compatible with newer versions of Blesta.

Recommended Posts

uninstall the old one .

and install the new version .

 

in your screen shoot , the plugin manager is not showing the plugin logo , the authors name .... is like the files is missing .

 

also redirecting you to 404 page is due to the restrinction ip section , have you enable it before upgrading ?

 

 

but any way try uploading the old files , the uninstall the plugin , remove and upload the new files , install .

 

i have tried upgrade from the old version and is worked .

Link to comment
Share on other sites

uninstall the old one .

and install the new version .

 

in your screen shoot , the plugin manager is not showing the plugin logo , the authors name .... is like the files is missing .

 

also redirecting you to 404 page is due to the restrinction ip section , have you enable it before upgrading ?

 

 

but any way try uploading the old files , the uninstall the plugin , remove and upload the new files , install .

 

i have tried upgrade from the old version and is worked .

 

I've not touched any settings for the new one :) only upgraded files and replaced the old. yeah that vanished when I clicked upgrade. I've uninstalled the old one and will try the new one but if not back to old one :D. But yeah it's just me but I think it might be due to my admin area being in a different location. You might be using admin.

Link to comment
Share on other sites

give me 1 min to test something .

 

i have checked my code , and i found i use the Configure::get("Route.admin") instead of admin , so if you have any other admin location it should work for you .

 

when you install ity can you access any admin page ?

 

open admin_utils_plugin.php and commaent the line 104 .

$this->UtilSecurity->ipRestrictions(); 

to

//$this->UtilSecurity->ipRestrictions();

can you now acess admin pages ? and the plugin pages ?

Link to comment
Share on other sites

give me 1 min to test something .

 

i have checked my code , and i found i use the Configure::get("Route.admin") instead of admin , so if you have any other admin location it should work for you .

 

when you install ity can you access any admin page ?

 

open admin_utils_plugin.php and commaent the line 104 .

$this->UtilSecurity->ipRestrictions(); 

to

//$this->UtilSecurity->ipRestrictions();

can you now acess admin pages ? and the plugin pages ?

 

Doesn't work mate. But it is the plugin causing the issue. But the plugin works fine: [Removed]

Link to comment
Share on other sites

is a very strange issue ... the plugin is working , but the plugin manager is not working !!!

anyone can test and send feedback . i have tested in 2 installation withoyt any issue .

try to comment all the function inside the plugin

//$this->UtilSecurity->ipRestrictions();

//$this->UtilSecurity->UninstallPlugins();

//$this->UtilSecurity->StopSpam();

//$this->UtilSecurity->BlockDuplicate();

try change the browsers and test ?

have you any modified core file ? or a custom htaccess rules ?

Link to comment
Share on other sites

is a very strange issue ... the plugin is working , but the plugin manager is not working !!!

anyone can test and send feedback . i have tested in 2 installation withoyt any issue .

try to comment all the function inside the plugin

//$this->UtilSecurity->ipRestrictions();

//$this->UtilSecurity->UninstallPlugins();

//$this->UtilSecurity->StopSpam();

//$this->UtilSecurity->BlockDuplicate();

try change the browsers and test ?

have you any modified core file ? or a custom htaccess rules ?

 

Amazing :) well done haha commenting all them out fixes the plugin area :) Thank you so I can't use them?

 

post-38-0-08885500-1414449039_thumb.png

 

Edit: Just enabled one by one and found out it's the uninstall plugins feature.

 

So this works for me and I don't like the uninstalled plugins removed anyway :) but it might effect others.

		 // Call Block IPS for Admin Side
		 $this->UtilSecurity->ipRestrictions();
		
		// Block access for uninstalled plugins
		// $this->UtilSecurity->UninstallPlugins();
		
		// Stop Spam users
		 $this->UtilSecurity->StopSpam();		
		
		// Block registration for duplicated email
		$this->UtilSecurity->BlockDuplicate();	
Link to comment
Share on other sites

i will add new task to TODO list .

log ip/referral/useragent ..ect for dennied access to admin area if iprestriction is enabled .

email admin if failure attemp to access admin area .

add API key for StopForumSpam to add entries in StopForumSpam database .

add option to enable support ticket widget in client area .

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

updated to 2.0.0

+ fix bug in plugins disable/uninstall popup modal .

+ added support to add edit delete CMS pages . no chaneg needed in the cms portal .

for CMS portal , add a new page , the URI is the path to that page in the url adress .

exemple , new page with uri "about-us" canbe accessed with the url

http://yourdomain.com/blestaurl/about-us
enjoy the plugin .
Link to comment
Share on other sites

I imagine a real "cms":

- multi-linguage (easy to do in "staff area" simply adding a select box ;) , but hard to do in frontend because Blesta hasn't yet a language switch)

- generating menu/sub menu in frontend (this is the piece that missing)

- sorting and publish/unpublish with "one click" pages (easy to do too)

- "page content" or "plugin/system page"

 

I've done something like your, extending cms plugin, but i stopped because i need to change blesta core in frontend because: i dislike make invasive changes in blesta code; i like make upgrade without problems.

 

When Blesta team will find time to compete the language switch in frontend and a way to extend frontend core via plugin, we can play with that.

 

I hope that you understand my poor english

Link to comment
Share on other sites

Great Thank You!

 

Just tested "CMS add page", and working fine.

 

It's will be fine next version support these bellow custom, by page:

 

<title>XXXXXXX</title>

<meta name="Description" content="XXXXXXXXXXX">
<meta name="Geography" content="XXXXXXXX">
<meta name="country" content="XXXXXXXX">
<meta name="language" content="XXXXXXXXXXX">
<meta name="publisher" content="XXXXXXXXXXXXX">
<meta name="application-name" content="XXXXXXXXX">
<meta name="identifier-url" content="XXXXXXXXXX">


<meta property="og:title" content="XXXXXX" />
<meta property="og:description" content="XXXXXXXXX" />
<meta property="og:image" content="XXXXXXX" />
<meta property="og:url" content="XXXXXXXXX" />

Link to comment
Share on other sites

Great Thank You!

 

Just tested "CMS add page", and working fine.

 

It's will be fine next version support these bellow custom, by page:

 

<title>XXXXXXX</title>

<meta name="Description" content="XXXXXXXXXXX">

<meta name="Geography" content="XXXXXXXX">

<meta name="country" content="XXXXXXXX">

<meta name="language" content="XXXXXXXXXXX">

<meta name="publisher" content="XXXXXXXXXXXXX">

<meta name="application-name" content="XXXXXXXXX">

<meta name="identifier-url" content="XXXXXXXXXX">

<meta property="og:title" content="XXXXXX" />

<meta property="og:description" content="XXXXXXXXX" />

<meta property="og:image" content="XXXXXXX" />

<meta property="og:url" content="XXXXXXXXX" />

are you looking in my papers ;) i have this in my TODO list .

is easy to add it if we hack the CMS portal , but as i'm not a funny core hacking , i need to search a alternative way , i have a great idea to work with it (NOT tested yet and maybe will not working , and maybe will work ;) ) , when i get more free time i will play arround it .

 

I imagine a real "cms":

- multi-linguage (easy to do in "staff area" simply adding a select box ;) , but hard to do in frontend because Blesta hasn't yet a language switch)

- generating menu/sub menu in frontend (this is the piece that missing)

- sorting and publish/unpublish with "one click" pages (easy to do too)

- "page content" or "plugin/system page"

 

I've done something like your, extending cms plugin, but i stopped because i need to change blesta core in frontend because: i dislike make invasive changes in blesta code; i like make upgrade without problems.

 

When Blesta team will find time to compete the language switch in frontend and a way to extend frontend core via plugin, we can play with that.

 

I hope that you understand my poor english

really what you need is not possible with my plugin , and also i need the same features . what i have for this only 1 way .

CREATE A SEPARATE PLUGIN "CMS ADVANCED" AND CHANGE THE ROUTE.PHP FILE TO CHANGE THE DEFAULT CMS WITH NEW CMS PATH .

 

- generating menu/sub menu in frontend (this is the piece that missing)

only this feature is not related with CMS, is related with blesta navigation links , and i have aleady sent a request/complaints about the database shema for the links in navigation here http://www.blesta.com/forums/index.php?/topic/3619-primary-key-in-plugin-actions/ .

blesta should help us with making our request to the core , only and only with this we can do more and more plugins/contribution for blesta .

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...