PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost How do I...?

ReviewPost How do I...? Wondering how to do something in ReviewPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 10th, 2006, 01:51 PM   #1 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Reveiwpost - how to remove 'supersize' link from under thumbnail on /showproduct.php?

Using Reveiwpost - what part of the code do I edit to remove the 'supersize' link from under the thumbnail on /showproduct.php?
criscokid is offline   Reply With Quote
Old January 10th, 2006, 02:04 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
In showproduct.php there are 6 lines like this you would need to remove to remove the supersize links. You can also elect not to save a supersize image in admin options. Take note the line above is one such example your other lines would be like $file2thumb etc.

$file1thumb .= "<br /><a href=\"$largeurl\" target=\"_blank\">supersize</a>";
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 13th, 2006, 01:28 PM   #3 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Deleting $file1thumb .= "<br /><a href=\"$largeurl\" target=\"_blank\">supersize</a>";
works fine but the moment I deleted the 'same' code for thumb2, thumb3, all I get is a blank page when I view showproduct.php in a browser.
criscokid is offline   Reply With Quote
Old January 13th, 2006, 01:47 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
Just make sure your only deleting the links for supersize. A blank page suggests a parse error like you deleted something extra or left something.

This would be an example of what to delete

if ( file_exists($largeimg) ) $file2thumb .= "<br /><a href=\"$largeurl\" target=\"_blank\">{$Globals['pp_lang']['supersize']}</a>";
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 21st, 2006, 05:23 AM   #5 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
This has changed in RP3.3 and now includes
Code:
Content visible to verified customers only.
Is it ok to just delete what's highlighted in red or is there more code that I should delete?
criscokid is offline   Reply With Quote
Old June 21st, 2006, 01:19 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
You would delete the whole conditional clause there
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Reveiwpost - how do I remove username under thumbnail on index.php? criscokid ReviewPost How do I...? 7 January 28th, 2006 12:59 PM
showproduct.php not working criscokid Classifieds Installation & Upgrades 23 March 26th, 2005 05:47 PM
If only one image -> only supersize link Mikan ReviewPost Suggestions 0 March 25th, 2005 06:30 AM
Next Reviews link not showing up in showproduct MRaburn ReviewPost Bug Reports 1 March 10th, 2005 03:54 PM
Problem with showproduct.php and showcat.php jed423 Classifieds Bug Reports 4 November 14th, 2004 10:48 AM


All times are GMT -5. The time now is 12:01 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0