Results 1 to 9 of 9
  1. #1
    Constant Pligger aaronpais's Avatar
    Joined
    Apr 2007
    Posts
    168
    Thanks
    Received:0
    Given: 0

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

    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

  2. #2
    Constant Pligger tbones's Avatar
    Joined
    Apr 2007
    Posts
    1,042
    Thanks
    Received:1
    Given: 0
    At least it works with YouTube (Cron & rss importer) :-/

  3. #3
    Constant Pligger aaronpais's Avatar
    Joined
    Apr 2007
    Posts
    168
    Thanks
    Received:0
    Given: 0
    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

  4. #4
    Constant Pligger aaronpais's Avatar
    Joined
    Apr 2007
    Posts
    168
    Thanks
    Received:0
    Given: 0
    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

  5. #5
    Casual Pligger godrox's Avatar
    Joined
    Oct 2007
    Posts
    34
    Thanks
    Received:0
    Given: 0
    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?

  6. #6
    Casual Pligger godrox's Avatar
    Joined
    Oct 2007
    Posts
    34
    Thanks
    Received:0
    Given: 0
    I'm still looking for an answer here. Is there one?

  7. #7
    New Pligger deals311's Avatar
    Joined
    Sep 2007
    Posts
    11
    Thanks
    Received:0
    Given: 0

    Here is a fix

    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, "");

  8. #8
    Casual Pligger godrox's Avatar
    Joined
    Oct 2007
    Posts
    34
    Thanks
    Received:0
    Given: 0
    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?

  9. #9
    New Pligger crunk's Avatar
    Joined
    Nov 2007
    Posts
    1
    Thanks
    Received:0
    Given: 0

    Anyone have a solution for this? :smirk:

Similar Threads

  1. Link Summary in View vs Saved
    By dpiworx in forum Questions & Comments
    Replies: 6
    Last Post: 01-20-2011, 05:13 PM
  2. summary of story in complete story-view
    By gatekeeper in forum Questions & Comments
    Replies: 1
    Last Post: 04-18-2008, 01:31 PM
  3. [SOLVED]  string appears in Link summary View
    By 911 in forum Questions & Comments
    Replies: 11
    Last Post: 07-22-2007, 06:19 AM
  4. v9.5: Upcoming view - Video-ID is displayed
    By tbones in forum Questions & Comments
    Replies: 5
    Last Post: 07-08-2007, 05:58 AM
  5. View thumbnail of images and video clips
    By azayne in forum Questions & Comments
    Replies: 18
    Last Post: 07-05-2007, 03:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg