3.2.x Extensions Database 3.2 / 3.3 ⇒ Quotes Collection
-
Sprinklestar
- Users

- Posts: 32
- Joined: 27 Jan 2016, 08:03
Re: Quotes Collection
If you set permissions as cant delete own quote and the other 2 on yes it bugs
see screenshot below
you cant see neither add quotes
see screenshot below
you cant see neither add quotes
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
-
Sprinklestar
- Users

- Posts: 32
- Joined: 27 Jan 2016, 08:03
Re: Quotes Collection
Open ext/dmzx/quotescollection/event/listener.php
find
replace
for those who dont like hardcoded images like me
open /domains/sitehelp.eu/public_html/ext/dmzx/quotescollection/controller/main.php
find
replace
find
Code: Select all
public function add_permission($event)
{
$permissions = $event['permissions'];
$permissions['u_dm_qc_add'] = array('lang' => 'ACL_U_DM_QC_ADD', 'cat' => 'misc');
$permissions['u_dm_qc_view'] = array('lang' => 'ACL_U_DM_QC_DELETE', 'cat' => 'misc');
$permissions['u_dm_qc_delete'] = array('lang' => 'ACL_U_DM_QC_VIEW', 'cat' => 'misc');
$event['permissions'] = $permissions;
}Code: Select all
public function add_permission($event)
{
$permissions = $event['permissions'];
$permissions['u_dm_qc_add'] = array('lang' => 'ACL_U_DM_QC_ADD', 'cat' => 'misc');
$permissions['u_dm_qc_view'] = array('lang' => 'ACL_U_DM_QC_VIEW', 'cat' => 'misc');
$permissions['u_dm_qc_delete'] = array('lang' => 'ACL_U_DM_QC_DELETE', 'cat' => 'misc');
$event['permissions'] = $permissions;
}open /domains/sitehelp.eu/public_html/ext/dmzx/quotescollection/controller/main.php
find
Code: Select all
'DELETE' => '<a href=" ' . $this->helper->route('dmzx_quotescollection_controller', array('mode' => 'delete', 'id' => $row['id'])) . '"><img src="' . $board_url . 'ext/dmzx/quotescollection/styles/all/theme/images/icon_delete.gif" title="' . $this->user->lang['DM_QC_DELETE'] . '"></a>',Code: Select all
'DELETE' => '<a href=" ' . $this->helper->route('dmzx_quotescollection_controller', array('mode' => 'delete', 'id' => $row['id'])) . '">' . $this->user->lang['DM_QC_DELETE'] . '</a>',-
dmzx
- Founder

- Posts: 6466
- Joined: 13 Jan 2014, 21:45
Re: Quotes Collection
will change in next releaseSprinklestar wrote: 22 Apr 2016, 13:12 open ext/dmzx/quotescollection/event/listener.php
find
replaceCode: Select all
public function add_permission($event) { $permissions = $event['permissions']; $permissions['u_dm_qc_add'] = array('lang' => 'ACL_U_DM_QC_ADD', 'cat' => 'misc'); $permissions['u_dm_qc_view'] = array('lang' => 'ACL_U_DM_QC_DELETE', 'cat' => 'misc'); $permissions['u_dm_qc_delete'] = array('lang' => 'ACL_U_DM_QC_VIEW', 'cat' => 'misc'); $event['permissions'] = $permissions; }
for those who dont like hardcoded images like meCode: Select all
public function add_permission($event) { $permissions = $event['permissions']; $permissions['u_dm_qc_add'] = array('lang' => 'ACL_U_DM_QC_ADD', 'cat' => 'misc'); $permissions['u_dm_qc_view'] = array('lang' => 'ACL_U_DM_QC_VIEW', 'cat' => 'misc'); $permissions['u_dm_qc_delete'] = array('lang' => 'ACL_U_DM_QC_DELETE', 'cat' => 'misc'); $event['permissions'] = $permissions; }
open /domains/sitehelp.eu/public_html/ext/dmzx/quotescollection/controller/main.php
findreplaceCode: Select all
'DELETE' => '<a href=" ' . $this->helper->route('dmzx_quotescollection_controller', array('mode' => 'delete', 'id' => $row['id'])) . '"><img src="' . $board_url . 'ext/dmzx/quotescollection/styles/all/theme/images/icon_delete.gif" title="' . $this->user->lang['DM_QC_DELETE'] . '"></a>',Code: Select all
'DELETE' => '<a href=" ' . $this->helper->route('dmzx_quotescollection_controller', array('mode' => 'delete', 'id' => $row['id'])) . '">' . $this->user->lang['DM_QC_DELETE'] . '</a>',
-
Sprinklestar
- Users

- Posts: 32
- Joined: 27 Jan 2016, 08:03
Re: Quotes Collection
Dutch language files
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
-
Sprinklestar
- Users

- Posts: 32
- Joined: 27 Jan 2016, 08:03
Re: Quotes Collection
If you set permissions as example for registered users to cant see cant deleete can add in the group permission, its not working
if i test this and go with a registered user to index i still can see them, also the view all still works, delete part is blocked own you can also still see
if i test this and go with a registered user to index i still can see them, also the view all still works, delete part is blocked own you can also still see
-
dmzx
- Founder

- Posts: 6466
- Joined: 13 Jan 2014, 21:45
Re: Quotes Collection
Will check itSprinklestar wrote: 23 Apr 2016, 16:40 if you set permissions as example for registered users to cant see cant deleete can add in the group permission, its not working
if i test this and go with a registered user to index i still can see them, also the view all still works, delete part is blocked own you can also still see
-
uruguayito
- Donator

- Posts: 120
- Joined: 02 Jul 2015, 19:40
Re: Quotes Collection
Sorry for my bad English.
I'm a latin american man.
Spanish is my language.
I'm a latin american man.
Spanish is my language.
-
Sprinklestar
- Users

- Posts: 32
- Joined: 27 Jan 2016, 08:03
Re: Quotes Collection
Create a custom event and place it above the nivo slider event
-
uruguayito
- Donator

- Posts: 120
- Joined: 02 Jul 2015, 19:40
Re: Quotes Collection
I haven't any idea to do this

[ Post made via Samsung Galaxy S4 ]
[ Post made via Samsung Galaxy S4 ]

-
uruguayito
- Donator

- Posts: 120
- Joined: 02 Jul 2015, 19:40
Re: Quotes Collection
Can anybody help me?
**********
I set permissions correctly but users can not use the quotes ...some problem?
**********
I set permissions correctly but users can not use the quotes ...some problem?
-
uruguayito
- Donator

- Posts: 120
- Joined: 02 Jul 2015, 19:40
Re: Quotes Collection
can you help me with this pls???
uruguayito wrote: 04 May 2016, 21:41 Nice ext...
How can I put this ext before nivo sliderNivo Slider ???
-
dmzx
- Founder

- Posts: 6466
- Joined: 13 Jan 2014, 21:45
Re: Quotes Collection
Will update this extension soon.

