Script URL:
Version of script: 1.7
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Search this forum
Write your message below:
Hi! I was wondering if there is a way to shorten the URL in the commentbox. If it´s too long it goes into 2 lines now. So what i want to do is to "cloak" the URL into something like Click Here or something default. Thanks.
Cloak / Shorten the URL displayed
Hello Calderon,
In gbook.php file, find line 1114:and change it to
You can change the Click here text to whatever you like.
Greetings,
Henrie
In gbook.php file, find line 1114:
Code: Select all
$url = '<a href="'.$url.'" class="gbook_submitted" '.$settings['target'].' rel="nofollow">'.$url.'</a>';
Code: Select all
$url = '<a href="'.$url.'" class="gbook_submitted" '.$settings['target'].' rel="nofollow">Click here</a>';
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.