[SOLVED] Live not working in 9.8 yget

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 10-17-2007, 08:39 AM
New Pligger
 
Join Date: Jul 2007
Posts: 1
pls help me live is mot working in yget v9.8
what should i do
Reply With Quote
  #2 (permalink)  
Old 10-17-2007, 02:56 PM
dollars5's Avatar
Pligg Donor
 
Join Date: Dec 2006
Location: India
Posts: 1,960
No link to site, Pligg version, database and server details provided - so no help.
Reply With Quote
  #3 (permalink)  
Old 10-28-2007, 12:23 AM
td2pligg's Avatar
Casual Pligger
Pligg Version: 9.8.1
Pligg Template: yget
 
Join Date: Oct 2007
Location: Detroit
Posts: 35
Same problem, Prayable.com, 9.8.1, PHP and Mysql Database
Reply With Quote
  #4 (permalink)  
Old 10-28-2007, 01:20 AM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Quote:
Originally Posted by td2pligg View Post
Same problem, Prayable.com, 9.8.1, PHP and Mysql Database
It looks like the embedded youtube video in your sidebar is corrupting the javascript needed to run live.

I would suggest removing it temporarily and trying it again. IF it is the culprit, I would suggest hiding the youtube from displaying on the live area by using a {if $pagename eq "live"} type of statement.
Reply With Quote
  #5 (permalink)  
Old 10-28-2007, 01:31 AM
td2pligg's Avatar
Casual Pligger
Pligg Version: 9.8.1
Pligg Template: yget
 
Join Date: Oct 2007
Location: Detroit
Posts: 35
Removed the video and rss code and still no live.
Here is the code

{config_load file="/libs/lang.conf"}

{if $user_authenticated ne true} {* show only if NOT logged in *}
{assign var=sidebar_module value="about_box"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
{/if}

{checkActionsTpl location="tpl_sidebar_top"}

{if $user_authenticated ne true} {assign var=sidebar_module value="login"}{include file=$the_template_sidebar_modules."/wrapper2.tpl"} {/if}

{assign var=sidebar_module value="sidebar_stories_u"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}

{assign var=sidebar_module value="sidebar_stories"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}

{assign var=sidebar_module value="categories"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}

{assign var=sidebar_module value="sidebar_comments"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}

{if $Enable_Tags eq 'true'} {assign var=sidebar_module value="tags"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}{/if}


Here is with Video... how should I do it??

{config_load file="/libs/lang.conf"}

<object width="258" height="215" border="1px"><param name="movie" value="http://www.youtube.com/v/YlwKE1jXImc&rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/YlwKE1jXImc&rel=1" type="application/x-shockwave-flash" wmode="transparent" width="258" height="215"></embed></object> <br>

{if $user_authenticated ne true} {* show only if NOT logged in *}
{assign var=sidebar_module value="about_box"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
{/if}

{checkActionsTpl location="tpl_sidebar_top"}

{if $user_authenticated ne true} {assign var=sidebar_module value="login"}{include file=$the_template_sidebar_modules."/wrapper2.tpl"} {/if}

{assign var=sidebar_module value="sidebar_stories_u"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}

{assign var=sidebar_module value="sidebar_stories"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}

{assign var=sidebar_module value="categories"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}

{assign var=sidebar_module value="sidebar_comments"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}

{if $Enable_Tags eq 'true'} {assign var=sidebar_module value="tags"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}

<script language="JavaScript" src="http://commons.ucalgary.ca/feed2js/feed2js.php?src=http%3A%2F%2Fwww.rbc.org%2FourDail yBread.rss&amp;chan=y&amp;num=1&amp;desc=1&amp;tar g=y" type="text/javascript"></script>

<noscript>
<a href="http://commons.ucalgary.ca/feed2js/feed2js.php?src=http%3A%2F%2Fwww.rbc.org%2FourDail yBread.rss&amp;chan=y&amp;num=1&amp;desc=1&amp;tar g=y&amp;html=y">View RSS feed</a>
</noscript><br>{/if}
Reply With Quote
  #6 (permalink)  
Old 10-28-2007, 01:32 AM
td2pligg's Avatar
Casual Pligger
Pligg Version: 9.8.1
Pligg Template: yget
 
Join Date: Oct 2007
Location: Detroit
Posts: 35
Also I would like to add the video and the rss feed into the template look so i could hide them...

Any ideas??
Reply With Quote
  #7 (permalink)  
Old 10-28-2007, 02:02 AM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Can you list all the modules you have installed?
Reply With Quote
  #8 (permalink)  
Old 10-28-2007, 07:25 AM
td2pligg's Avatar
Casual Pligger
Pligg Version: 9.8.1
Pligg Template: yget
 
Join Date: Oct 2007
Location: Detroit
Posts: 35
Javascript Effects Pack v0.1 - disable
desc: scriptaculous, editinplace, prototype
Admin Modify Language v0.1 - disable
desc: Allows the god users to modify the lang.conf file
requires: scriptaculous version 0.1 - pass
Embed Videos v0.51 - disable
desc: Embed various video sites into Pligg through simple tags.
Image Upload v0.4 - disable
desc: Allows an image (JPG, GIF, PNG, WBMP) to be attached to submission. Requires Extra Fields to be enabled in Admin.
Page Statistics v0.2 - disable
desc: Page Statistics gives a detailed information on pageviews of each stories in your Pligg site
Admin Totals v0.1 - disable
desc: Makes sure the "totals" table is up-to-date.
Admin Modify Formulas v0.1 - disable
desc: Allows GOD user to modify the formulas.
requires: scriptaculous version 0.1 - pass
Send Welcome Email v0.2 - disable
desc: Sends welcome to email to a user who just registered.
Send Announcement v0.2 - disable
desc: Send Announcement allows you to send an email to all the users of your Pligg site.
Version Check v0.2 - disable
desc: Checks to see if you are running the latest version of Pligg.
Ajax Contact Form v0.1 - disable
desc: Add a contact form for your users to contact you
Lightbox v0.1 - disable
desc: Lightbox is a script used to overlay private messages on the current page
Profile Extra Fields v0.2 - disable
desc: Allows modules to add extra fields to the users profile.
Private Messaging v0.1 - disable
desc: Allow users to send private messages to each other.
requires: lightbox version 0.1 - pass
Send Welcome Private Message v0.1 - disable
desc: Sends a private message to welcome a user who just registered.
requires: lightbox version 0.1 - pass
requires: messaging version 0.1 - pass
Nifty Corners v0.1 - disable
desc: give your vote boxes rounded corners with Nifty Corners. Note: Install only if using the Mollio-beat template
phpBB2 v0.1 - disable
Digg.com User Feeds v0.1 - disable
desc: Adds an additional field to users' profiles and then adds rss feeds for those users digg submit and vote feeds to a specified category.
requires: users_extra_fields version 0.2 - pass
Google Adsense Revenue Sharing v0.1 - enable -- remove
desc: Allows you to share your adsense revenue
requires: users_extra_fields version 0.1 - pass
Thickbox v0.1 - disable
desc: Thickbox is a script used to overlay content on the current page. For documentation on Thickbox, visit: ThickBox 3.1
RSS Importer v0.5 - disable
desc: Import RSS Feeds
Submit Pro v0.1 - disable
desc: Adds WYSIWYG functionality to your story submissions
Reply With Quote
  #9 (permalink)  
Old 10-28-2007, 10:08 AM
td2pligg's Avatar
Casual Pligger
Pligg Version: 9.8.1
Pligg Template: yget
 
Join Date: Oct 2007
Location: Detroit
Posts: 35
<SOLVED> Heh I figured it out "Nifty Corners" says only to install if your using the Mollio-beat template.

I noticed because it was highlighted blue in this forum and was just black text in my site. I completely missed it.
Reply With Quote
  #10 (permalink)  
Old 10-29-2007, 11:28 AM
moonring's Avatar
New Pligger
Pligg Version: 9.9
Pligg Template: yget
 
Join Date: Jun 2007
Location: In Front of PC
Posts: 20
I've noticed it & there is a simple solution thus you can use niftycorner with yget...

open /modules/niftycube/templates/niftycube_load.tpl

[Replace]

PHP Code:
<script type="text/javascript">
    
window.onload=function(){ldelim}
        {if 
$niftycube_do_votebox eq TRUE}Nifty("li.vote-published","normal");{/if}
    {
rdelim}
</script> 
[With]

PHP Code:
<script type="text/javascript">
    
window.onload=function(){ldelim}
        {if 
$Enable_Live eq TRUE AND $pagename eq 'live'}start();{/if}
        {if 
$niftycube_do_votebox eq TRUE}Nifty("li.vote-published","normal");{/if}
    {
rdelim}
</script> 
The problem was, nifty override the onload start() function, so in live we forcefully call it again ...

Last edited by moonring; 10-29-2007 at 11:32 AM.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RSS not working ruptan Questions and Comments 8 02-04-2009 08:27 AM
[SOLVED] Private Messaging Not Working rubber2002 Questions and Comments 5 06-22-2008 10:12 PM
[SOLVED] Next/Previous buttons not working ...pls help mickscool Questions and Comments 19 11-29-2007 08:44 PM
Private messaging mod not working with yget on v9.6 PurpleCow Questions and Comments 2 06-18-2007 05:03 AM
[Fixed] Pligg [Build 693] - Video Embeding not working right in Yget template mollyfud Questions and Comments 2 02-13-2007 03:52 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