RC2 - Two Installs..Same Bugs..

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-27-2009, 01:58 PM
Casual Pligger
Pligg Version: 1.0
Pligg Template: Wistie
 
Join Date: Nov 2008
Location: Palmer, PA
Posts: 64
First off, Kudos to the Pligg team, RC2 is near Perfection! It is such a beautiful CMS, with the exception of more than a few bugs =(

Here is goes..

First install was an upgrade from 9.9.5, the second was a fresh install. Both for the same domain. I tested with unnecessary modules disabled before configuration, also tested with modules enabled. In Firefox and IE.

MOST IMPORTANTLY;

Something in Pligg RC2 is preventing from certain javascripts from working.
Javascripts that won't function went clicked on, nothing happens:
  • Voting
    Save (although it registers in the db, nothing happens when you click on it. If you refresh the page it says remove)
    Bury
    Possible Group Share ( when a story is submitted to a group, it redirects to that group's main page, but no stories are posted)(Settings: 1 vote to post)

I also tested this with 2 templates: wistie and GarrX9G, it doesn't doesn't work for neither.

I found this solution for the Voting function, but does not correct the other javascript functions..

http://forums.pligg.com/yget/15566-s...ie-voting.html


I also cannot make this javascript code work in link_summary.tpl, which I tested with a new install of 9.9.5, with GarrX9G template and it works along with the other javascript functions, which confirms that its not my server or a template problem, but a Pligg RC2 core files problem:

{if $pagename neq "story"}<a href="javascript://" onclick="show_hide_user_links(document.getElementB yId('ls_contents-{$link_shakebox_index}'));">Show Story</a><br />
<span id="ls_contents-{$link_shakebox_index}" style="display:none">
{else}
<span id="ls_contents-{$link_shakebox_index}">

{/if}

Please note: the forum puts that space between the B and Y in document.getElementById. There's no space on mine.




OTHER BUGS;

Doesn't work with SEO 2 Method -
  • Sort group by - links - page doesn't exist
    Advanced Search link - page doesn't exist
    RSS button disappears

Misc -
  • HTML Tags Allowed doesn't work
    In Published News page - in the sidebar it shows published news instead of unpublished news
    In Unpublished News page - in the sidebar sort news is only for published news


Dispite these bugs, again I want to thank you so much for this beautiful version. You've out done yourselves this time.

Kind Regards,
Jonnie
Reply With Quote
  #2 (permalink)  
Old 03-02-2009, 03:10 PM
Casual Pligger
Pligg Version: 1.0
Pligg Template: Wistie
 
Join Date: Nov 2008
Location: Palmer, PA
Posts: 64
Quote:
Possible Group Share ( when a story is submitted to a group, it redirects to that group's main page, but no stories are posted)(Settings: 1 vote to post)
FIXED:
I used this solution located at this thread, http://forums.pligg.com/general-help...-problems.html

open the group.php in libs folder

and find text as

function group_shared($requestID)

then u see the below line
$link->id=$dblink->link_id;

so u just modifed as
$link->id=$dblink->share_link_id;

so now u see the group share link stories in groups
Reply With Quote
  #3 (permalink)  
Old 03-02-2009, 08:50 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Galleria
 
Join Date: Jun 2006
Posts: 3,835
JonniE_M
Thanks for reporting your findings, and solutions. I wish more people would follow your lead.


Download the full Pligg Module Pack





Reply With Quote
  #4 (permalink)  
Old 03-02-2009, 10:37 PM
Casual Pligger
Pligg Version: 1.0
Pligg Template: Wistie
 
Join Date: Nov 2008
Location: Palmer, PA
Posts: 64
Thank you Chuck, That really means a lot to me!
Reply With Quote
  #5 (permalink)  
Old 03-03-2009, 09:11 AM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 3,803
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
Official Fix from SVN revision 424:
Green means new line, red equals a removed line.

/libs/group.php

$link = new Link;
$group_shared_display = "";
//$group_shared_display .= "SELECT link_id FROM " . table_links . " WHERE link_group_id=$requestID";
//$links = $db->get_col("SELECT link_id FROM " . table_links . " WHERE link_share_id = $requestID");
$rows = $db->get_var("SELECT COUNT(share_link_id) FROM " . table_group_shared . " WHERE share_group_id = $requestID");
$links = $db->get_results("SELECT * FROM " . table_group_shared . " WHERE share_group_id = $requestID");
$links = $db->get_results("SELECT b.* FROM " . table_group_shared . " a
LEFT JOIN " . table_links . " b ON link_id=share_link_id
WHERE share_group_id = $requestID");
if ($links) {
foreach($links as $dblink) {
$link->id=$dblink->link_id;


/libs/link.php

global $db, $main_smarty, $rows,$current_user;
$current_userid = $current_user->user_id;
if (!isset($this->group_membered) && $current_userid)
$this->group_membered = $db->get_results("SELECT group_id,group_name FROM " . table_groups . " WHERE group_creator = $current_userid and group_status = 'Enable'");
// $this->group_membered = $db->get_results("SELECT group_id,group_name FROM " . table_groups . " WHERE group_creator = $current_userid and group_status = 'Enable'");
$this->group_membered = $db->get_results("SELECT DISTINCT group_id,group_name FROM " . table_groups . " LEFT JOIN ".table_group_member." ON member_group_id=group_id AND member_user_id = $current_userid WHERE group_status = 'Enable' AND member_status='active'");
$output = '';
if ($this->group_membered)

Now Available: Facebook Connect Module !
Reply With Quote
  #6 (permalink)  
Old 03-04-2009, 04:48 PM
Casual Pligger
Pligg Version: 1.0
Pligg Template: Wistie
 
Join Date: Nov 2008
Location: Palmer, PA
Posts: 64
I came across this problem, but I don't know if it's a bug or not. Maybe you can duplicate the problem..

Whether I put my Location Installed as http://mysite.com or http://www.mysite.com....any redirects to http://mysite.com will automatically log into my admin account. Which creates a security issue for me.


As a temporary fix, I set the Location Installed to http://www.mysite.com and create a rewrite rule in my htaccess file as follows,

RewriteCond %{HTTP_HOST} !^www\.mysite\.com$ [NC]
RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]

This redirects http://mysite.com to http://www.mysite.com so that it doesn't create that login issue.
Reply With Quote
Reply

Tags
javascript, seo problem, show, voting

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bugs fixed in v1.0? tbones Questions and Comments 5 12-08-2007 10:24 PM
Plusieurs bugs, rss, url method... edupin Questions and Comments 19 05-11-2007 10:19 AM
Where to post 210 bugs kbeeveer46 Questions and Comments 3 09-07-2006 10:35 PM


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