[Solved]: Removing link to ecards and i? [Solved]: Removing link to ecards and i?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Removing link to ecards and i?

Started by HDLLC, August 16, 2004, 12:30:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HDLLC

Want to remove the ecard link on the image pages...  

Right now, I have permissions turned off, but the graphic is still there and gives the message of "you don't have permission to...".  Can I just remove the graphic altogether?

And - what about removing the icon with the "i" on it...?  I think I have that turned off somewhere or...?  It shows at the top of the photo with the ecard option, only on the lefthand side (using hardwired theme"...

Thanks in advance!

--Jeff

Joachim Müller

edit themes/hardwired/theme.php, find                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{ECARD_TGT}" title="{ECARD_TITLE}"><img src="themes/hardwired/images/ecard.gif" width="21" height="15" border="0" align="absmiddle" alt="{ECARD_TITLE}"></a>
                </td>
and replace it with                <!--<td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{ECARD_TGT}" title="{ECARD_TITLE}"><img src="themes/hardwired/images/ecard.gif" width="21" height="15" border="0" align="absmiddle" alt="{ECARD_TITLE}"></a>
                </td>-->

Find                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="themes/hardwired/images/info.gif" width="18" height="15" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
                </td>
and replace with                <!--<td align="center" valign="middle" class="navmenu" width="48">
                        <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="themes/hardwired/images/info.gif" width="18" height="15" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
                </td>-->
to get rid of the pic info button. You can't turn it off, you can just enable/disable in coppermine config if the pic info section is to be visible on page load or not. I wouldn't remove it if I were you though, it contains important data for some, e.g. if you need the absolute url for posting a link.

GauGau

HDLLC

Thanks!  This appears to be working nicely!

--Jeff