3.2.x Extensions Database 3.2 / 3.3Quotes Collection

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

Sprinklestar
Users
Users
Posts: 32
Joined: 27 Jan 2016, 08:03
    Windows 10 Firefox

Re: Quotes Collection

Post by Sprinklestar »

If you set permissions as cant delete own quote and the other 2 on yes it bugs
see screenshot below
Ashampoo_Snap_2016.04.22_09h49m09s_010_.png
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.

User avatar

Sprinklestar
Users
Users
Posts: 32
Joined: 27 Jan 2016, 08:03
    Windows 10 Firefox

Re: Quotes Collection

Post by Sprinklestar »

Open ext/dmzx/quotescollection/event/listener.php

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;
	}
replace

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;
	}
for those who dont like hardcoded images like me

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>',
replace

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>',

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Firefox

Re: Quotes Collection

Post by dmzx »

Sprinklestar wrote: 22 Apr 2016, 13:12 open ext/dmzx/quotescollection/event/listener.php

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;
	}
replace

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;
	}
for those who dont like hardcoded images like me

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>',
replace

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>',
will change in next release

User avatar

Sprinklestar
Users
Users
Posts: 32
Joined: 27 Jan 2016, 08:03
    Windows 10 Firefox

Re: Quotes Collection

Post by Sprinklestar »

Dutch language files
dmquotesnl.zip
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Sprinklestar
Users
Users
Posts: 32
Joined: 27 Jan 2016, 08:03
    Windows 10 Firefox

Re: Quotes Collection

Post by Sprinklestar »

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

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Firefox

Re: Quotes Collection

Post by dmzx »

Sprinklestar 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
Will check it

User avatar

uruguayito
Donator
Donator
Posts: 120
Joined: 02 Jul 2015, 19:40
    Windows 8.1 Chrome

Re: Quotes Collection

Post by uruguayito »

Nice ext...

How can I put this ext before nivo slider Nivo Slider ???
Sorry for my bad English. :oops:
I'm a latin american man.
Spanish is my language.

User avatar

Sprinklestar
Users
Users
Posts: 32
Joined: 27 Jan 2016, 08:03
    Windows 8 Firefox

Re: Quotes Collection

Post by Sprinklestar »

Create a custom event and place it above the nivo slider event

User avatar

uruguayito
Donator
Donator
Posts: 120
Joined: 02 Jul 2015, 19:40
    Android Chrome

Re: Quotes Collection

Post by uruguayito »

I haven't any idea to do this :oops: :oops:

[ Post made via Samsung Galaxy S4 ] Image

User avatar

uruguayito
Donator
Donator
Posts: 120
Joined: 02 Jul 2015, 19:40
    Windows 8.1 Chrome

Re: Quotes Collection

Post by uruguayito »

Can anybody help me?

**********


I set permissions correctly but users can not use the quotes ...some problem?

User avatar

Sprinklestar
Users
Users
Posts: 32
Joined: 27 Jan 2016, 08:03
    Windows 10 Firefox

Re: Quotes Collection

Post by Sprinklestar »

Quotes Collection

did you even took the time to read through the topic

User avatar

uruguayito
Donator
Donator
Posts: 120
Joined: 02 Jul 2015, 19:40
    Windows 8.1 Chrome

Re: Quotes Collection

Post by uruguayito »

dmzx wrote: 25 Apr 2016, 13:39
can you help me with this pls???

uruguayito wrote: 04 May 2016, 21:41 Nice ext...

How can I put this ext before nivo slider Nivo Slider ???

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Firefox

Re: Quotes Collection

Post by dmzx »

Will update this extension soon.

User avatar

zardos
Users
Users
Posts: 175
Joined: 26 Feb 2016, 23:20
    Windows 10 Firefox

Re: Quotes Collection

Post by zardos »

Please do dmzx, i love this extension :thumbup:
Image

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Firefox

Re: Quotes Collection

Post by dmzx »

First post updated

Post Reply Previous topicNext topic