Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #141 (permalink)  
Old 01-26-2008, 08:29 AM
Pligg Donor
 
Join Date: Sep 2007
Posts: 184
Thanks: 7
Thanked 37 Times in 26 Posts
Quote:
Originally Posted by cmstheme View Post
It seems that the uploaded image doesn't show on summaries/frontpage, it'll only displayed on story details. Is it working as designed?
What version of the image upload are you refering to and what version of pligg are you using?
Reply With Quote
  #142 (permalink)  
Old 01-27-2008, 11:55 AM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 914
Thanks: 169
Thanked 17 Times in 17 Posts
Is there anyway we can jst make the thumbnail picture NOT click able? See I can get the image to the images folder so I'm think lets just remove the link fro m the image for now. Any ideals on how I could do that?

Si in general the pic will be there but it won't be a live link, simply just a picture
Reply With Quote
  #143 (permalink)  
Old 01-28-2008, 06:48 AM
New Pligger
Pligg Version: 9.9.0
Pligg Template: sme
 
Join Date: Jan 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
on my 9.9 I still have error

Warning: Missing argument 2 for check_actions(), called in E:\www\class.template.php(745) : eval()'d code on line 406 and defined in E:\www\modules\modules_libs.php on line 87

on listings page
Reply With Quote
  #144 (permalink)  
Old 01-28-2008, 06:53 PM
New Pligger
Pligg Version: 1.5
Pligg Template: no
 
Join Date: Nov 2007
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
anyone can tell me which template this module author is talking about.
I can not find following lines in the default template- yget

<form action="submit.php" method="post" name="thisform" id="thisform">
Reply With Quote
  #145 (permalink)  
Old 01-31-2008, 07:54 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Thanks: 3
Thanked 1 Time in 1 Post
How about showing images in the rss feed ?

Anyone ?
Reply With Quote
  #146 (permalink)  
Old 01-31-2008, 10:38 AM
Casual Pligger
 
Join Date: Oct 2007
Posts: 81
Thanks: 16
Thanked 8 Times in 4 Posts
Quote:
Originally Posted by Peter View Post
How about showing images in the rss feed ?
I have the same question.
__________________
- Aneem
Reply With Quote
  #147 (permalink)  
Old 02-01-2008, 08:29 AM
New Pligger
Pligg Version: 9.8.2.
Pligg Template: none
 
Join Date: Nov 2007
Posts: 21
Thanks: 2
Thanked 0 Times in 0 Posts
Do someone know how I get the image into the summery view of the storys`?

It only shows up in the full description...

thanks and greets!

dogmog
Reply With Quote
  #148 (permalink)  
Old 02-07-2008, 12:10 PM
New Pligger
Pligg Version: 9.1
Pligg Template: TBD
 
Join Date: Nov 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
How to redirect so when clicked on image it goes to story url

How do I modify it so that when you click on the image it redirects you to the story url . Currently I am being redirected to the place where the image is store. Earlier cent mentioned that we needed to modify image_upload_settings.php and .....main.php I am guessing the first mods need to be done here


// Thickbox
define('module_imageupload_thickbox_pre1', '<a href="'.my_pligg_base.'/'.module_imageupload_imagedir); # Thickbox Pre 1 string
define('module_imageupload_thickbox_pre2', '" title="'); # Thickbox Pre 2 string
define('module_imageupload_thickbox_pre3', '" class="thickbox">'); # Thickbox Pre 3 string
define('module_imageupload_thickbox_post', '</a>'); # Thickbox Post string


// No Thickbox
define('module_imageupload_directlink_pre1', '<a href="'.my_pligg_base.'/'.module_imageupload_imagedir); # Directlink Pre 1 string
define('module_imageupload_directlink_pre2', '" title="'); # Directlink Pre 2 string
define('module_imageupload_directlink_pre3', '">'); # Directlink Pre 3 string
define('module_imageupload_directlink_post', '</a>'); # Directlink Post string

but im not quite sure what to change . I would appreciate all help!
Thanks.
Mario
Reply With Quote
  #149 (permalink)  
Old 02-10-2008, 01:35 AM
Designer
Pligg Version: 9.9.
 
Join Date: Mar 2007
Posts: 159
Thanks: 1
Thanked 15 Times in 11 Posts
Send a message via MSN to skins4webs
Anyone Know how to make sidebar module published news, image Thumbnail appear for each story in the sidebar (9.8.2)
__________________
http://www.illestlyrics.com, hip-hop site
http://www.qkin.com, Web development site
Reply With Quote
  #150 (permalink)  
Old 02-17-2008, 02:17 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Thanks: 3
Thanked 1 Time in 1 Post
Hi, I have a server change and get this:

We had php engine running a CGI on the old server. We have now upgraded PHP to its latest stable version and it is running as PHP SUEXEC now. The difference is the php scripts run under the ownership "nobody" on old server whereas here it runs with the same username as that of your account. Please note that this provides a highly stable, reliable and secure environment.

You can fix your scripts by just a few modifications. Just add a umask(0); or chmod( $uploaded_file , 0644 ); to your script just after the line for uploading the file.

My problem is that the image uploaded gets 600 write permissions, so when clicking the thumbnail it just say loading and nothing comes up.

I have to manually change the image permissions to 644 so it wirks as expected.

Can someone please help me telling me where to add the code to fix this.

Thanks.
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
Image Upload Module -- Call for feature requests cent Modification Tutorials 12 11-15-2008 12:13 PM
About the image upload module rockxie Module Support 3 08-05-2008 05:41 PM
Image Upload 0.4 Module ziadchatila Module Support 3 08-05-2008 04:40 PM
[MOD] Image Upload Module (v0.93) -- Please test cent Modification Tutorials 48 05-16-2008 08:08 PM
[MOD] File Upload Module -- seeking requests for features cent Modification Tutorials 3 08-11-2007 04:39 AM


Search Engine Friendly URLs by vBSEO 3.2.0