<? DEW-CODE.COM  
Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Thumbs Issue (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Thumbs Issue
#921
toolfarm (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Thumbs Issue 9 Months, 2 Weeks ago Karma: 0  
We've been running Dew Links for a couple of years on our site: http://www.toolfarm.com/tuts/

It was recently upgraded and now the thumbs are showing screenshots of the website instead of a folder of images we previously had them linking to. In the admin area, there isn't even an option to link thumbs anymore.

Is there a setting somewhere I'm missing? Did our programmers (who are no longer working for us) mess something up? Is this no longer a feature in Dew Links?

Thanks!
Michele
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#922
Dewed (Admin)
Admin
Posts: 473
graph
User Offline Click here to see the profile of this user
Dew-Code.com
Re:Thumbs Issue 9 Months, 2 Weeks ago Karma: 7  
Sounds like your programmers added the feature to have static images associated with each entry. Other than the country flag, the image comes from thumshots.org ,

Thumbshots can be disabled by editing /includes/config.php and setting $thumbshot to zero
This will cause the entrie's country flag to be shown as a small icon.

$thumbshot = 0;

To change how the entries look, , such as replace the flag with a specific image for each entry you would need to edit the /include/functions.php file.(make a back up just in case)

Near line #1237 find . . .
Code:

}else{ $htmlsrc .="><td valign=\"top\" width=\"99%\" class=\"" . $cell_color . "\">"; $htmlsrc .= "<img border=\"1\" src=\"./images/flags/".$sites_array["country"] . "\""; $htmlsrc .= " hspace=\"5\" alt=\""; $short_entry = eregi_replace(".gif", "", $sites_array["country"]); $short_entry = eregi_replace("_", " ", $short_entry); $htmlsrc .= $short_entry . "\" title=\"" . $short_entry . "\" />"; }
for example, to use image /SITE_PICS/1.jpg , /SITE_PICS/2.jpg etc for each site, replace with..
Code:

}else{ $htmlsrc .="><td valign=\"top\" width=\"99%\" class=\"" . $cell_color . "\">"; $htmlsrc .="<a target=\"blank\" href=./out.php?ID=" . $sites_array[site_id] . ">"; $htmlsrc .= "<img border=\"1\" src=\"./images/SITE_PICS/".$sites_array[site_id]. ".jpg\""; $htmlsrc .= " hspace=\"5\" alt=\"". stripslashes($sites_array["site_name"])."\" /></a>"; }
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#925
toolfarm (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Thumbs Issue 9 Months, 2 Weeks ago Karma: 0  
Thanks for the info. That seemed easy to set up but it appears that all of the image links that were there before are now gone. Maybe I'll just live without them. Thanks again.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Outsource your projects to thousands of programmers at
ScriptLance.com
Newsflash

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008