3.2 & 3.3 Extensions Database 3.2 / 3.3Youtube Videos Gallery

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

Darkside2016
Users
Users
Posts: 17
Joined: 24 Mar 2016, 20:48
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by Darkside2016 »

Search user's videos is not searching a video
Search user's videos must be Show all videos from user

in video view
the serach thing was not working and brings me every time the error that the user not exist or has no access

in /conroler/youtubegallery.php search for this line

Code: Select all

				'U_USER_VIDEOS' 	=> $this->helper->route('dmzx_youtubegallery_controller', array('mode' => 'user_videos' , 'user_id' => $this->user->data['user_id'])),

and replace with this one

Code: Select all

				'U_USER_VIDEOS' 	=> $this->helper->route('dmzx_youtubegallery_controller', array('mode' => 'user_videos' , 'user_id' => $row['user_id'] , 'username' => $row['username'])),
after this changes, on the search site they will shown all videos from the user they posted them

now i need some help

on the search site where it is " Search user’s videos " i will show the username after that.

Code: Select all

<h2>{L_USER_VIDEOS} <?php echo $_GET["username"]; ?></h2>
this line does not work

who can help on this ?

User avatar

Darkside2016
Users
Users
Posts: 17
Joined: 24 Mar 2016, 20:48
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by Darkside2016 »

I got it to work ......

what i have done ?
goto phpbb_root_path/config and open parameters.yml

search for this line

Code: Select all

    core.disable_super_globals: true
and change to

Code: Select all

    core.disable_super_globals: false
this is importend to enable $_GET, $_POST and $_REQUEST ..... in templates......

then in ACP goto security and allow PHP in Templates

in the language files i have made some modifications

Code: Select all

	'USER_VIDEOS_EXPLAIN'			=> 'Show all',

	'USER_VIDEOS'			=> 'All videos from User ',

in youtubegallery.php i have made some modifications to show all videos from the user who have posted and show the username
i made some cosmetic in the template files
i will explain them in some pictures

Image

here you can see where i can show all videos from this user

Image

in this picture abve you can see the username who has posted this videos

Image

and the same for your own username

when i am finish with translating this in german i will made a packe for downloding with all modification what i have

here now the updatet YouTube Video Gallery
this files contains the whole gallery with all modifications what i have made and also including the german lang file
youtubegallery_1_0_0_modified.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

clight77
Donator
Donator
Posts: 502
Joined: 24 Sep 2015, 16:23
    Windows 10 Chrome

Re: Youtube Videos Gallery

Post by clight77 »

Can't figure out how to allow Global Mods so they can delete in gallery :(
Right now as far as I can see only Admin can delete...

User avatar

Darkside2016
Users
Users
Posts: 17
Joined: 24 Mar 2016, 20:48
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by Darkside2016 »

clight77 wrote: 14 Apr 2016, 16:39 Can't figure out how to allow Global Mods so they can delete in gallery :(
Right now as far as I can see only Admin can delete...
at this moment there is no option to set group permission

User avatar

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

Re: Youtube Videos Gallery

Post by dmzx »

Darkside2016 wrote: 14 Apr 2016, 20:29
clight77 wrote: 14 Apr 2016, 16:39 Can't figure out how to allow Global Mods so they can delete in gallery :(
Right now as far as I can see only Admin can delete...
at this moment there is no option to set group permission
Busy with update 1.0.1 and will be solved :wink:

User avatar

Darkside2016
Users
Users
Posts: 17
Joined: 24 Mar 2016, 20:48
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by Darkside2016 »

dmzx wrote: 14 Apr 2016, 20:31
Darkside2016 wrote: 14 Apr 2016, 20:29
clight77 wrote: 14 Apr 2016, 16:39 Can't figure out how to allow Global Mods so they can delete in gallery :(
Right now as far as I can see only Admin can delete...
at this moment there is no option to set group permission
Busy with update 1.0.1 and will be solved :wink:
will you use the modifycation what i have made ?

User avatar

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

Re: Youtube Videos Gallery

Post by dmzx »

Will check on that.

User avatar

sgtevmckay
Users
Users
Posts: 46
Joined: 03 Feb 2016, 10:23
    Windows 10 Chrome

Re: Youtube Videos Gallery

Post by sgtevmckay »

dmzx wrote: 14 Apr 2016, 20:49Will check on that.

Ooh OOH! <Kid in a Candy Shop>

Consideration for my Brainstorm stuff too :ugeek:
:mml: Youtube Videos Gallery :mml:

:thankyou:

User avatar

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

Re: Youtube Videos Gallery

Post by dmzx »

sgtevmckay wrote: 14 Apr 2016, 21:07
dmzx wrote: 14 Apr 2016, 20:49Will check on that.

Ooh OOH! <Kid in a Candy Shop>

Consideration for my Brainstorm stuff too :ugeek:
:mml: Youtube Videos Gallery :mml:

:thankyou:
Will check on this in next release :wink:

For now see first post for update.

User avatar

Darkside2016
Users
Users
Posts: 17
Joined: 24 Mar 2016, 20:48
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by Darkside2016 »

dmzx wrote: 14 Apr 2016, 23:21
sgtevmckay wrote: 14 Apr 2016, 21:07
dmzx wrote: 14 Apr 2016, 20:49Will check on that.

Ooh OOH! <Kid in a Candy Shop>

Consideration for my Brainstorm stuff too :ugeek:
:mml: Youtube Videos Gallery :mml:

:thankyou:
Will check on this in next release :wink:

For now see first post for update.
nice job .... thx

User avatar

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

Re: Youtube Videos Gallery

Post by dmzx »

Small update on download :thumbup:

User avatar

Darkside2016
Users
Users
Posts: 17
Joined: 24 Mar 2016, 20:48
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by Darkside2016 »

It was to easy .....

the wrong user_id was permitted .... so i can see my own videos, but another user see them not
Screen 4.png
This is user KillmeSoft and has no Videos. Ther is missing the username from this user
Screen 5.png
the same is here. you can see KillmeSoft and when i klick on " Show all " the user_id from KillmeSoft will be permited
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

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

Re: Youtube Videos Gallery

Post by dmzx »

Darkside2016 wrote: 14 Apr 2016, 23:59 it was to easy .....

the wrong user_id was permitted .... so i can see my own videos, but another user see them not
Screen 4.png
This is user KillmeSoft and has no Videos. Ther is missing the username from this user
Screen 5.png
the same is here. you can see KillmeSoft and when i klick on " Show all " the user_id from KillmeSoft will be permited
dmzx wrote: 14 Apr 2016, 23:51 Small update on download :thumbup:
Download again

User avatar

Darkside2016
Users
Users
Posts: 17
Joined: 24 Mar 2016, 20:48
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by Darkside2016 »

dmzx wrote: 15 Apr 2016, 00:01
Darkside2016 wrote: 14 Apr 2016, 23:59 it was to easy .....

the wrong user_id was permitted .... so i can see my own videos, but another user see them not
Screen 4.png
This is user KillmeSoft and has no Videos. Ther is missing the username from this user
Screen 5.png
the same is here. you can see KillmeSoft and when i klick on " Show all " the user_id from KillmeSoft will be permited
dmzx wrote: 14 Apr 2016, 23:51 Small update on download :thumbup:
Download again
KillmeSoft has no videos uploadet and the username does not show from this user

do you speak german ? so we could talk in TS over this

User avatar

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

Re: Youtube Videos Gallery

Post by dmzx »

No do not speak German but did you download the file again?
I did a small update on the download.

Post Reply Previous topicNext topic