Jump to content


Welcome to DevFuse Forums


Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
 
Guest Message by DevFuse

(View All Products)Featured Products

  • Donations


    Help fund your forum with donations, setup goals and track member donations. Offer rewards for members donating.
  • Timeslips


    Have your members submit their race times and share with others.
  • Videos


    Allows your members to submit their own videos for community viewing. Support is included for all the major video sites.
  • Forms


    Build your own forms for your members without coding experience. Support included for pm, email and topics.
  • Collections


    Build a community database of items for your members. Full features custom fields included.

Photo

Videos System v2.3.1 Update


  • Please log in to reply
51 replies to this topic

#21 Michael

Michael

    Management

  • Management
  • 3,544 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 26 September 2012 - 02:25 AM

This was the thread we had the discussion about: http://www.devfuse.c...em-global-hook/


Does other php code work in the same place? Maybe try wrapping in php tags.

<?php
         require_once( IPSLib::getAppDir( 'videos' ) . "/sources/functions.php" );              
                $this->registry->setClass('video_functions', new classVideos( $this->registry ) );
         print $this->registry->getClass('video_functions')->global_block();
?>


#22 Chris M.

Chris M.

    Elite Member

  • Customers
  • 147 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 26 September 2012 - 12:42 PM

nvm that for now, im gonna use portal, instea of ip.content.

#23 Chris M.

Chris M.

    Elite Member

  • Customers
  • 147 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 26 September 2012 - 11:29 PM

oh also could you make it so when you delete a video the image you also uploaded with it, deletes too?

#24 Michael

Michael

    Management

  • Management
  • 3,544 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 30 September 2012 - 09:18 PM

oh also could you make it so when you delete a video the image you also uploaded with it, deletes too?


Thanks for reporting, that should of already been the case. Added a bug report and will include a cleanup tool for already orphaned thumbnails.

#25 Chris M.

Chris M.

    Elite Member

  • Customers
  • 147 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 01 October 2012 - 11:28 AM

how do you add it for the portal addon? im confused there.

#26 Michael

Michael

    Management

  • Management
  • 3,544 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 03 October 2012 - 02:29 AM

how do you add it for the portal addon? im confused there.


Check the "Extras" folder, instructions are included for Unreal and my Portal.

#27 Chris M.

Chris M.

    Elite Member

  • Customers
  • 147 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 03 October 2012 - 11:13 AM

Check the "Extras" folder, instructions are included for Unreal and my Portal.


I mean the global one not the sidebar.

#28 Michael

Michael

    Management

  • Management
  • 3,544 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 05 October 2012 - 01:43 AM

I mean the global one not the sidebar.


Sorry re-read a few times but not sure I understand. You want to add the global hook to where?

#29 Chris M.

Chris M.

    Elite Member

  • Customers
  • 147 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 05 October 2012 - 02:31 AM

the portal add-on

#30 Michael

Michael

    Management

  • Management
  • 3,544 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 07 October 2012 - 04:14 AM

the portal add-on


You can add the Videos Global Box to the Portal Addon if you check the Extras/Add Portal Block.html. That's what your trying to do? If not, you'll need to be a little bit clearer.

#31 Chris M.

Chris M.

    Elite Member

  • Customers
  • 147 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 07 October 2012 - 06:49 AM

thats only for the sidebar block though, as ive checked. I mean like how I asked for it to be on the portal app.

Edited by Chris M., 07 October 2012 - 06:49 AM.


#32 Michael

Michael

    Management

  • Management
  • 3,544 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 10 October 2012 - 01:55 AM

Sorry Chris, I'm a complete idiot, Kept on reading that but was thinking about something completely different. Below is the code for either.

Global Hook
<?php
				 require_once( IPSLib::getAppDir( 'videos' ) . "/sources/functions.php" );					    
							    $this->registry->setClass('video_functions', new classVideos( $this->registry ) );
				 print $this->registry->getClass('video_functions')->global_block();
?>

Sidebar Type Hook
<?php
				 require_once( IPSLib::getAppDir( 'videos' ) . "/sources/functions.php" );					    
							    $this->registry->setClass('video_functions', new classVideos( $this->registry ) );
				 print $this->registry->getClass('video_functions')->video_block();
?>

Go in Admin CP > Other Apps dropdown > Portal > Manage Blocks > Add Block. In the Block Code, just add one of the above.

#33 Chris M.

Chris M.

    Elite Member

  • Customers
  • 147 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 03 November 2012 - 05:29 PM

so hows the update coming along?

#34 Michael

Michael

    Management

  • Management
  • 3,544 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 03 November 2012 - 06:38 PM

so hows the update coming along?


Slowly but I have made progress. There will be further delays if IPB 3.4 is released.soon.

#35 Chris M.

Chris M.

    Elite Member

  • Customers
  • 147 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 04 November 2012 - 03:40 AM

>_> then obviously it will have more delays, so take ur time, while I thorougy check the previous version for bugs and suggestions.

#36 Chris M.

Chris M.

    Elite Member

  • Customers
  • 147 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 05 November 2012 - 04:13 AM

-Edit: Moved here-

Edited by Chris M., 06 November 2012 - 12:42 AM.


#37 Michael

Michael

    Management

  • Management
  • 3,544 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 06 November 2012 - 01:10 AM

>_> then obviously it will have more delays, so take ur time, while I thorougy check the previous version for bugs and suggestions.


Yes more then likely. I like to get the IPB updates out ASAP, there everything will be put on hold while I'm doing this.

#38 Chris M.

Chris M.

    Elite Member

  • Customers
  • 147 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 22 December 2012 - 01:02 AM

how goes the update?



#39 Michael

Michael

    Management

  • Management
  • 3,544 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 27 December 2012 - 12:54 AM

how goes the update?

 

Steady but no dates yet.



#40 Chris M.

Chris M.

    Elite Member

  • Customers
  • 147 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 28 December 2012 - 09:42 PM

Would it be possible to add this idea?

You see how the forums are able too use this:

1oMSv.png

 

The result if yes would lead them to seeing the "video titles" but when they click in the video they wont be able access the video.

So they are able to see the video title and everything:

510a877ce6414415944177d.png

 

But when they click any one of them thy get this page:

c138b739f1274bf696c8be9.png






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users