Pligg Toolbar just like Digg Toolbar?

Register an Account
Reply
 
Thread Tools Display Modes
  #21 (permalink)  
Old 05-11-2009, 12:44 PM
New Pligger
Pligg Version: 1.0.0
 
Join Date: May 2008
Location: iran
Posts: 24
Send a message via Yahoo to kariminejad
got this error on upcoming page & stories
[{"error":"No popular stores....."}]

but all is ok on published page and published stories
Reply With Quote
  #22 (permalink)  
Old 05-11-2009, 01:29 PM
goopensource's Avatar
Casual Pligger/Coder
Pligg Version: SVN
Pligg Template: wistie
 
Join Date: Apr 2009
Location: Earth
Posts: 58
@kariminejad

Its because the toolbar.php needs the URL. you can contact me offline. i can help you in solving the issue
Reply With Quote
  #23 (permalink)  
Old 05-11-2009, 04:00 PM
goopensource's Avatar
Casual Pligger/Coder
Pligg Version: SVN
Pligg Template: wistie
 
Join Date: Apr 2009
Location: Earth
Posts: 58
@kariminejad and others,

few fixes has been made on toolbar.php
1. To support upcoming stories (earlier, it shows only for published stories)
2. SQL query fix to prevent SQL Injection using mysql_real_escape_string

you can download from the attached.


PS: If you find this Pligg Web Toolbar to be useful, please send your donations to PayPal Email ID donate@goopensource.net or click button to donate.
Attached Files
File Type: php toolbar.php (4.2 KB, 242 views)
Reply With Quote
  #24 (permalink)  
Old 05-11-2009, 04:25 PM
Donor
Pligg Version: 1.0
Pligg Template: wistie
 
Join Date: May 2009
Posts: 15
Use the version 1.0 for Pligg and I still emerging template Wistie [{"error":"No popular stores....."}] with and without SEO enabled.
Reply With Quote
  #25 (permalink)  
Old 05-11-2009, 04:45 PM
goopensource's Avatar
Casual Pligger/Coder
Pligg Version: SVN
Pligg Template: wistie
 
Join Date: Apr 2009
Location: Earth
Posts: 58
Quote:
Originally Posted by antonio3407 View Post
Use the version 1.0 for Pligg and I still emerging template Wistie [{"error":"No popular stores....."}] with and without SEO enabled.
Hi antonio,

I have tested with Pligg 1.0.0 RC2 version without SEO enabled and wistie template. It works for me

Have you uploaded the right file? have you done the modification in the wistie template link_summary.tpl file?
whats your pligg site URL? contact me. i can help you.
Reply With Quote
  #26 (permalink)  
Old 05-12-2009, 12:18 PM
New Pligger
Pligg Version: 1.0.0
 
Join Date: May 2008
Location: iran
Posts: 24
Send a message via Yahoo to kariminejad
@goopensource
thank you , after modify toolbar.php, it's work correctly now
Reply With Quote
  #27 (permalink)  
Old 05-12-2009, 12:57 PM
goopensource's Avatar
Casual Pligger/Coder
Pligg Version: SVN
Pligg Template: wistie
 
Join Date: Apr 2009
Location: Earth
Posts: 58
Hi all,

I have successfully able to use the Pligg 1.0.0 RC4 integrate with toolbar.php for SEO enabled.

SEO URL will be like Pligg Web Toolbar - GoOpenSource.net - Website design, Themes / Templates...

Steps to achieve that
1. In .htaccess file, search for line
Code:
RewriteRule ^search/(.+)/?$ search.php?search=$1
and add the below line after above line. ~ it should be in line no. 67
Code:
RewriteRule ^toolbar/(.+)/?$ toolbar.php?id=$1
2. link_summary.tpl template change Line No. 47
replace
Code:
<a href="{$url}">{$title_short}</a>
with
Code:
<a href="/toolbar/{$link_id}">{$title_short}</a>
If you have installed in a subfolder, like i have My Site - Your Source for Social News and Networking, then use
Code:
<a href="/pligg/toolbar/{$link_id}">{$title_short}</a>
3. use the SEO enabled toolbar.php which is attached here.

4. Take the images from the zip file which is already upload in this thread.

5. Report bugs if found. if you need help, contact me offline. if you have made some improvement, please share. if you find it useful, please send your donations to PayPal Email ID donate@goopensource.net or click
Attached Files
File Type: php toolbar.php (4.1 KB, 197 views)
Reply With Quote
  #28 (permalink)  
Old 05-12-2009, 01:03 PM
goopensource's Avatar
Casual Pligger/Coder
Pligg Version: SVN
Pligg Template: wistie
 
Join Date: Apr 2009
Location: Earth
Posts: 58
Quote:
Originally Posted by kariminejad View Post
@goopensource
thank you , after modify toolbar.php, it's work correctly now
Its nice to see your website with pligg web toolbar
Reply With Quote
  #29 (permalink)  
Old 05-12-2009, 03:25 PM
Donor
Pligg Version: 1.0
Pligg Template: wistie
 
Join Date: May 2009
Posts: 15
Quote:
Originally Posted by antonio3407 View Post
Use the version 1.0 for Pligg and I still emerging template Wistie [{"error":"No popular stores....."}] with and without SEO enabled.
Yes, I've uploaded the file, I modified the file and does not work.
my site is http://wordpressing.es
Reply With Quote
  #30 (permalink)  
Old 05-12-2009, 04:17 PM
goopensource's Avatar
Casual Pligger/Coder
Pligg Version: SVN
Pligg Template: wistie
 
Join Date: Apr 2009
Location: Earth
Posts: 58
Quote:
Originally Posted by antonio3407 View Post
Yes, I've uploaded the file, I modified the file and does not work.
my site is http://wordpressing.es
what are you saying?

i can see the toolbar working. http://www.wordpressing.es/toolbar/252

you have not modified the file correctly. the link_summary.tpl is not correct if its SEO enabled.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pligg integration with SMF Forum autoinc Questions and Comments 66 08-27-2010 04:04 AM
New version of Pligg Simple Digg Videos Hack With Thickbox thuggster Questions and Comments 77 02-24-2009 03:53 AM
SuperGu Attempting to Copyright Pligg Code, Sends C&D Yankidank Questions and Comments 30 04-29-2007 11:33 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