Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 06-23-2007, 10:42 AM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 183
Thanks: 24
Thanked 65 Times in 26 Posts
hi not2serious,

thanks... the image module shouldn't have changed anything relating to thickbox. if you can post your site's url or PM me with it, I can take a quick look to see if I can figure it out.

Best,
Cent
__________________
All of my modules are developed for free to help support the Pligg community. If you use or feel my modules were helpful to your site and want to thank me, please support the Pligg development team by donating.

Modules: Welcome Private Message (v0.1), Welcome Email (v0.1), Thickbox Module (v0.3), Image Upload (v1.0) & MP3 Upload Module (v0.9)
Reply With Quote
  #12 (permalink)  
Old 07-02-2007, 07:26 PM
not2serious's Avatar
Pligg Donor
Pligg Version: v0.96 w/modifications
Pligg Template: Yget w/modifications
 
Join Date: Apr 2007
Location: East Coast, USA
Posts: 226
Thanks: 16
Thanked 16 Times in 15 Posts
The site is: Critique My Art / Top Art & News

In fact, the original images, including the super size one, is in the data base. The big one is on the Upcoming page, near the bottom.

Thanks, for taking a look. I will await your analysis.
__________________
My Pligg Site: Critique My Art
My Arts Directory: Links 2 Arts
Reply With Quote
  #13 (permalink)  
Old 07-04-2007, 08:52 AM
New Pligger
 
Join Date: Jul 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
How can i change the link from the tumbnail to go to the story ? ... It now directs me to thumbnail link, but i need to change this and when someone clicks it to be directed to the story page or to the "out" link ...

Last edited by floryn; 07-04-2007 at 09:43 AM.. Reason: other question
Reply With Quote
  #14 (permalink)  
Old 07-04-2007, 09:55 AM
not2serious's Avatar
Pligg Donor
Pligg Version: v0.96 w/modifications
Pligg Template: Yget w/modifications
 
Join Date: Apr 2007
Location: East Coast, USA
Posts: 226
Thanks: 16
Thanked 16 Times in 15 Posts
Floryn,

Look for the following code in the link_summary.tbl and move it to where you want the image to appear. You may have to play around a bit. I was able to get it to the right with float-right, but left is the default.

Quote:
{php}
// START: Image Upload Module
check_actions('image_upload_preview');
// END: Image Upload Module
Remember to always back-up before making changes and post a link to you site in the forums.
__________________
My Pligg Site: Critique My Art
My Arts Directory: Links 2 Arts
Reply With Quote
  #15 (permalink)  
Old 07-04-2007, 10:26 AM
not2serious's Avatar
Pligg Donor
Pligg Version: v0.96 w/modifications
Pligg Template: Yget w/modifications
 
Join Date: Apr 2007
Location: East Coast, USA
Posts: 226
Thanks: 16
Thanked 16 Times in 15 Posts
Cent,

Thank you for the suggestion, I was able to located the forum thread, and got the problem corrected.

Anyone else needing the solution, locate it in: http://forums.pligg.com/downloads.php?do=file&id=34
__________________
My Pligg Site: Critique My Art
My Arts Directory: Links 2 Arts
Reply With Quote
  #16 (permalink)  
Old 07-04-2007, 01:00 PM
Constant Pligger
 
Join Date: Feb 2007
Posts: 236
Thanks: 20
Thanked 29 Times in 15 Posts
Did anyone use the smarty variables by setting "use smarty variables" to true?

Code:
module_imageupload_thumbnail_src - URL to thumbnail
module_imageupload_image_filename - filename of image
module_imageupload_image_caption - caption of image (custom, story title or 'Photo')
can't seem to get this to show up when I place {$module_imageupload_thumbnail_src} in link_summary.tpl
Reply With Quote
  #17 (permalink)  
Old 07-04-2007, 03:04 PM
New Pligger
 
Join Date: Jul 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
here is my solution if you want to add the thumbnail on the left, and the story on the right side:

edit: main.css from your templates/yget/css directory and add:
.imgleft { float: left; clear : left; margin: 0px 10px 0px 0px; }

edit link_summary.tpl

look for:
{else}
{if $user_logged_in eq $link_submitter}
<span id="ls_user_edit_links-{$link_shakebox_index}"><br /><a href="{$story_edit_url}">{#PLIGG_Visual_LS_Admin_E dit#}</a></span>
{/if}
{/if}
</span>

</div>


And add after it:

<div width="100" class="imgleft">
{php}
// START: Image Upload Module
check_actions('image_upload_preview');
// END: Image Upload Module
{/php}
</div>


This will make your thumbnail appear on the left site and the story next to it on the right side.

---------------------------------------------------------------------------------------------------------------------------

I just need now to find out how to change the link on the thumbnail to story link... so if anyone can help me....
Reply With Quote
  #18 (permalink)  
Old 07-05-2007, 08:57 AM
New Pligger
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Okey, i believe this plugin is great, but there some problems, which i would like to be solved. I do not get this thing (attached) any ideas?

Thickbox latest version installed
Attached Thumbnails
mod-image-upload-module-v1-0-now-available-capture_118.jpg  
Reply With Quote
  #19 (permalink)  
Old 07-05-2007, 09:03 AM
New Pligger
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by floryn View Post
here is my solution if you want to add the thumbnail on the left, and the story on the right side:

edit: main.css from your templates/yget/css directory and add:
.imgleft { float: left; clear : left; margin: 0px 10px 0px 0px; }

edit link_summary.tpl

look for:
{else}
{if $user_logged_in eq $link_submitter}
<span id="ls_user_edit_links-{$link_shakebox_index}"><br /><a href="{$story_edit_url}">{#PLIGG_Visual_LS_Admin_E dit#}</a></span>
{/if}
{/if}
</span>

</div>


And add after it:

<div width="100" class="imgleft">
{php}
// START: Image Upload Module
check_actions('image_upload_preview');
// END: Image Upload Module
{/php}
</div>


This will make your thumbnail appear on the left site and the story next to it on the right side.

---------------------------------------------------------------------------------------------------------------------------

I just need now to find out how to change the link on the thumbnail to story link... so if anyone can help me....
Also, can you be as clear as possible with the first bit of your post, where to put:

Code:
.imgleft { float: left; clear : left; margin: 0px 10px 0px 0px; } 
Many thanks in advance
Reply With Quote
  #20 (permalink)  
Old 07-05-2007, 09:16 AM
New Pligger
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Managed to solve problem with thickbox. Now please anyone tell me how to implement these pictures nicely in the front page?
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