Would like video to display in full story view, not summary view

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-16-2007, 10:57 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 168
I would like the video to display only in the full story and not in the summary. How can I do this?

I am using the Embed Video module...

Thx
Reply With Quote
  #2 (permalink)  
Old 06-16-2007, 11:09 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,042
At least it works with YouTube (v9.5: Upcoming view - Video-ID is displayed) :-/
Reply With Quote
  #3 (permalink)  
Old 06-16-2007, 11:15 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 168
I am thinking of using an extra field to store the youtube video ID, so for example link_field12 would contain the value '<youtube>dgwbHzOec9I</youtube>'. Then I would just display it in the link_summary.tpl in the full story

do I need to still enable the Embed videos module for this scenario?

Thx
Reply With Quote
  #4 (permalink)  
Old 06-16-2007, 02:23 PM
Constant Pligger
 
Join Date: Apr 2007
Posts: 168
OK, I'd rather not use an extra field for this.

To accomplish my objective, I simply need to remove the <youtube> tags and the content between them before, adding it to link_summary in the DB in submit-step-3

Can anyone suggest what needs to be added to submit_step_3.tpl to accomplish this?

Thx

Last edited by aaronpais; 06-16-2007 at 03:34 PM.
Reply With Quote
  #5 (permalink)  
Old 10-28-2007, 11:35 PM
Casual Pligger
Pligg Version: 9.9.0
Pligg Template: YGet
 
Join Date: Oct 2007
Location: Minnesota
Posts: 34
I also want embedded videos to display in the story view, but not in the category listing or even the home page. How can I have the embed tags automatically stripped from the summary? Or is there a better method for this already?
Reply With Quote
  #6 (permalink)  
Old 11-12-2007, 12:41 AM
Casual Pligger
Pligg Version: 9.9.0
Pligg Template: YGet
 
Join Date: Oct 2007
Location: Minnesota
Posts: 34
I'm still looking for an answer here. Is there one?
Reply With Quote
  #7 (permalink)  
Old 11-12-2007, 07:35 PM
New Pligger
 
Join Date: Sep 2007
Posts: 11
I had a similar problem with RSS Importer. I wanted tags in the description but they overflowed the summary.

Search for files with this: Story_Content_Tags_To_Allow

Find code that looks like this:
$linkres->link_summary = strip_tags($linkres->content, Story_Content_Tags_To_Allow);


Change it to something like this. It will remove ALL tags from the summary. Sorry more that that would take a major template change.:
$linkres->link_summary = strip_tags($linkres->content, "");
Reply With Quote
  #8 (permalink)  
Old 11-12-2007, 09:42 PM
Casual Pligger
Pligg Version: 9.9.0
Pligg Template: YGet
 
Join Date: Oct 2007
Location: Minnesota
Posts: 34
Quote:
Originally Posted by deals311 View Post
I had a similar problem with RSS Importer. I wanted tags in the description but they overflowed the summary.

Search for files with this: Story_Content_Tags_To_Allow

Find code that looks like this:
$linkres->link_summary = strip_tags($linkres->content, Story_Content_Tags_To_Allow);


Change it to something like this. It will remove ALL tags from the summary. Sorry more that that would take a major template change.:
$linkres->link_summary = strip_tags($linkres->content, "");
Do I search for that in the template or source Pligg files?
Reply With Quote
  #9 (permalink)  
Old 11-13-2007, 04:21 AM
New Pligger
Pligg Version: beta 9
Pligg Template: yget
 
Join Date: Nov 2007
Posts: 1
Anyone have a solution for this?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
full story (not summary) on index page revolver Questions and Comments 2 06-24-2007 11:03 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development