e-card bbcode e-card bbcode
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

e-card bbcode

Started by glenc, January 17, 2006, 03:24:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

glenc

there is [url], [email] etc... how about [iqc] [aim] [msn] this holds true for the description field in the upload screen. When navigating the files theses links show up below the files and in the bottom left corner of the ecard.
QuoteFind a common need and do it uncommonly well.

bozUNtu

OPEN

displayimage.php

FIND

    // Create the absolute URL for display in info
    //$info[$lang_picinfo['URL']] = '<a href="' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '" >' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') . basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '</a>';
    // with subdomains the variable is $_SERVER["SERVER_NAME"] does not return the right value instead of using a new config variable I reused $CONFIG["ecards_more_pic_target"] no trailing slash in the configure


AFTER ADD

    $info['E-Card Link']='<input class="textinput" type=text name=text size="70" value="[url='.$CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/'). "ecard.php" ."?pid=$CURRENT_PIC_DATA[pid]".']E-CARD[/url]">';

for phpBB..