STW Thumbnails with phpLD (php Link Directory)

30 posts / 0 new
Last post
redli0n82 (not verified)

Using the free basic code will the screenshots be linked to the various webpages? I get screenshots but they are not clickable. Not a major deal but would be nice.

puravida's picture
puravida
Jedi Warrior
Offline
Joined: 09/01/2007
Visit puravida's Website

Hello,

By default, we simply provide the images; not the links. If you want to link the images, you will need to use whatever method that you would normally use to link an image (just like any other type of image).

Thank you,

Brandon

caveman
Offline
Joined: 12/02/2010
Visit caveman's Website

Sorry are you saying we have to do all that mod to get the free service working? Seems like a lot of coding which may break future PHPld updates.

I have installed the code on the detail and link pages but just get an 'over limit' image.

EDIT: An hour later and it seems to be working now Smile I also removed the [ ] from around the numbers - might be worth pointing that out to others as it isn't clear if you need them or not.

Thanks

puravida's picture
puravida
Jedi Warrior
Offline
Joined: 09/01/2007
Visit puravida's Website

Hi caveman,

Thanks for giving STW a try.. Smile

Yes, having to "mod" phpLD in this way means that future upgrades may require updating this code again. There is no way around that unless phpLD integrates our service but they have been reluctant to do so, whereas their bigger competitors have already integrated us fully. In the case of phpLD, it seems like they want to try to sell more of their own software (and upcoming service) than to work with our service.

That's really not in their best interests, because phpLD is a great link directory software but not such a good CMS software. People want both and there are other software that are doing it better. So partnering up with companies like us would have been the only way for phpLD to survive long-term. I guess they don't realize that they are in a losing battle with their competitors and their market share will dwindle quickly over the next couple of years, based on current observations and feedback.

Glad you figured out to remove the brackets [ ] and got it working. Thanks for the note.

finance (not verified)

Hi All,

I am having trouble with Thumb Nails on my site financedirectory.ie, all the coding is in place to generate thumbs, but still no joy, anyone got any ideas? or can they help.

Eamonn...

puravida's picture
puravida
Jedi Warrior
Offline
Joined: 09/01/2007
Visit puravida's Website

Maybe you should try clearing your cache. As of right now, there is NO code on your site referencing ShrinkTheWeb.

ethical (not verified)

Hi Brandon,

using phpld 4.1

I added this to detail.tpl

<img src="http://images.shrinktheweb.com/xino.php?stwembed=1&stwaccesskeyid=MYACCESSKEY&stwsize=sm&stwurl={if $smarty.const.ENABLE_DISPLAYURL and $DISPLAYURL ne ''}{$DISPLAYURL|escape}{else}{$URL|escape}{/if}" alt="{$TITLE|escape}" border="1">

but all i get is problem detected. (locally on my computer i see the error invalid domain) but i dont see that when i publish it.

any ideas?
Thanks
John

puravida's picture
puravida
Jedi Warrior
Offline
Joined: 09/01/2007
Visit puravida's Website

Hi John,

I just realized that the sample links are a good bit out of date, so please take a look at the updated samples. I also modified your post with the way the request SHOULD look.

However, that is not what is causing the problem in your case. The problem with your site requests is that the URL is not being added to the end of the request. Did you follow all of the modifications (not just detail.tpl?) so that the $DISPLAYURL variable will be output correctly? Please take another close look and let me know. It may also be that phpLD 4.1 has been changed in this area, requiring an update to these instructions.

ethical (not verified)

Brandon,

thanks! but I guess i am a little unclear, what else do i have to edit? I am not doing any affiliate link sort of thing which seemed to be what the other info talked about? Also I dont want thums on my links page, just the detail page?

also looks like links.tpl is called link.tpl now.

Thanks

John

puravida's picture
puravida
Jedi Warrior
Offline
Joined: 09/01/2007
Visit puravida's Website

Yeah, it could just be that the field/variable name has changed in the later versions. I don't think that any of our test phpLD installations are running v4.1 yet.

Our offices are currently closed due to incliment weather, being unable to go anywhere in Atlanta, GA at the moment. In fact, I have been trapped outside the state for days and cannot even get back home right now. Once things clear up and operations return to normal, we will take a closer look at version 4.1 integration and update this thread.

ShrinkTheWeb® (About STW) is another innovation by Neosys Consulting
Contact Us | PagePix Benefits | Learn More | STW Forums | Our Partners | Privacy Policy | Terms of Use

Announcing Javvy, the best crypto exchange and wallet solution (coming soon!)

©2018 ShrinkTheWeb. All rights reserved. ShrinkTheWeb is a registered trademark of ShrinkTheWeb.