Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 07-25-2008, 11:25 AM
sixlaneve's Avatar
Casual Pligger
 
Join Date: Dec 2006
Location: Rome
Posts: 81
Thanks: 7
Thanked 6 Times in 5 Posts
Send a message via ICQ to sixlaneve Send a message via AIM to sixlaneve
Quote:
Originally Posted by joehunk View Post
There is a drawback on using this bec it won't reduce the size of the image when submit. A hack on image_upload to implement the same approach as your current code will be a good start. Use GD and then when submits thumbnail is generated and uploaded to the site. I am working on this right now and will upate once done. I am using image_upload and lytebox to show images in pop up. See it in action in my mini-pligg site below. Thx to cents for having this module.
putting the two mods togheter will bring pligg to a massive step forward! I can't wait to see it!
Reply With Quote
  #32 (permalink)  
Old 07-28-2008, 03:48 AM
sixlaneve's Avatar
Casual Pligger
 
Join Date: Dec 2006
Location: Rome
Posts: 81
Thanks: 7
Thanked 6 Times in 5 Posts
Send a message via ICQ to sixlaneve Send a message via AIM to sixlaneve
Quote:
Originally Posted by rubber2002 View Post
Its working now for me but taking loads of time. any tip to speed up the image fetching process?
for me it does not work... I get a syntax error, T_VARIABLE unexpected with the function on libs.php
Reply With Quote
  #33 (permalink)  
Old 07-28-2008, 04:42 AM
New Pligger
 
Join Date: Feb 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by sixlaneve View Post
for me it does not work... I get a syntax error, T_VARIABLE unexpected with the function on libs.php
uses this file to see if it works now

libs/link.php
Attached Files
File Type: php link.php (49.7 KB, 43 views)
Reply With Quote
  #34 (permalink)  
Old 07-30-2008, 10:27 AM
sixlaneve's Avatar
Casual Pligger
 
Join Date: Dec 2006
Location: Rome
Posts: 81
Thanks: 7
Thanked 6 Times in 5 Posts
Send a message via ICQ to sixlaneve Send a message via AIM to sixlaneve
it works, thank you!

now it's submit.php to give me the same error!
Reply With Quote
  #35 (permalink)  
Old 07-30-2008, 12:04 PM
micxuy's Avatar
Casual Pligger
 
Join Date: May 2007
Posts: 89
Thanks: 2
Thanked 3 Times in 3 Posts
One of the disavantage of this mod is slow. Because it is using getimagesize in order to show only the images which are bigger then X, so if the website has many images, and you dont have the good server, will lead to time out
__________________
www.drivensource.net

Driven Source is a community driven resource for all webmasters. Find cool scripts, read tutorials, dicuss news or submit
Reply With Quote
  #36 (permalink)  
Old 07-30-2008, 03:48 PM
New Pligger
 
Join Date: Feb 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by sixlaneve View Post
it works, thank you!

now it's submit.php to give me the same error!
its is my file
Attached Files
File Type: php submit.php (18.3 KB, 38 views)
Reply With Quote
  #37 (permalink)  
Old 08-24-2008, 12:52 AM
New Pligger
 
Join Date: Jun 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by micxuy View Post
One of the disavantage of this mod is slow. Because it is using getimagesize in order to show only the images which are bigger then X, so if the website has many images, and you dont have the good server, will lead to time out
Hi, you seem to know what you are talking about. I installed the script on my Pligg site V9.9.5 and it is fetching the images but the image is not being showed with the story. I believe there is a simple fix for it but I wouldn't know. Can you or anyone here help me please? Thank you!
Reply With Quote
  #38 (permalink)  
Old 08-25-2008, 05:03 AM
New Pligger
 
Join Date: Jun 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Need help with the get image script

Quote:
Originally Posted by nenesio View Post
its is my file
Hi,
thank you for taking the time to post your script here. I installed it on my site and the image fetching is working, the problem is that the image that i am choosing is not appearing with the story. There may be some script missing for the index file, or something wrong since I am using v9.9.5. Could you please help me ?
Reply With Quote
  #39 (permalink)  
Old 09-01-2008, 09:17 PM
grimusm's Avatar
Casual Pligger
Pligg Version: 9.7
Pligg Template: custom
 
Join Date: Aug 2007
Posts: 52
Thanks: 7
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by vinny View Post
Hi,
thank you for taking the time to post your script here. I installed it on my site and the image fetching is working, the problem is that the image that i am choosing is not appearing with the story. There may be some script missing for the index file, or something wrong since I am using v9.9.5. Could you please help me ?
Also having the same problem. Have installed the mod, and it is finding images correctly. Submission goes smoothly.

However i can't see anything in the script on how to display the image gets displayed in the link/story.

Also looking at the db, link_field1 is empty after the submission. It looks like the image is not being saved to the db.

Any help?
Reply With Quote
  #40 (permalink)  
Old 09-06-2008, 12:22 AM
New Pligger
Pligg Version: 9.8
Pligg Template: template
 
Join Date: Jan 2008
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
so cool but slow process (after submit link)
-------------------------------------------
pls visit mysite : sig.vn
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
RSS importer doesn't import images from feeds lostdeviant General Help 2 05-07-2008 09:29 AM
The Real Cause Of High Load For My Server Using PLigg 9.9 and Was 9.8.2 argh2xxx Bug Report 18 01-10-2008 04:33 PM
How to use images in sneak/spy like digg's spy kbeeveer46 Modification Tutorials 18 08-10-2007 11:17 AM
'max_user_connections' suddenly exceeded mightyb Bug Report 10 06-13-2007 04:40 PM
Images with Lightbox in Desc w/ popup Thumb kanedaguy Modification Tutorials 0 02-02-2007 01:51 AM


Search Engine Friendly URLs by vBSEO 3.2.0