Results 1 to 3 of 3
-
31st Aug 2011, 08:23 AM #1OPMember
php issue - any help? :P
Hi guys,
Im not a php expert myself, if any one has any idea how to get this fixed id appreciate it.
PHP Code:<?php
$widget_comment_configuration = array(
"auto_approve" => true, // Automatically approve comments as they are posted?
"do_captcha" => true, // Do we display a simple captcha question to help prevent spam?
"display_avatars" => false, // Do we display gravatars next to comment
// overwrite default uri, useful for ?dynamic=pages.
// note: users will be redirected here after posting a comment.
"uri" => "profile.php?id="<?php echo urlencode($dnn['id']); ?>"",
);
include("run_script.php");
?>
so basically all that needs fixing is :
PHP Code:"uri" => "profile.php?id="<?php echo urlencode($dnn['id']); ?>"",
Cheers,
Myself.vps9Ryan Reviewed by vps9Ryan on . php issue - any help? :P Hi guys, Im not a php expert myself, if any one has any idea how to get this fixed id appreciate it. <?php $widget_comment_configuration = array( "auto_approve" => true, // Automatically approve comments as they are posted? "do_captcha" => true, // Do we display a simple captcha question to help prevent spam? Rating: 5
-
31st Aug 2011, 08:30 AM #2Respected Developer
u dont need to use <?php tags inside array
this should fix ur issue
PHP Code:<?php
$widget_comment_configuration = array(
"auto_approve" => true, // Automatically approve comments as they are posted?
"do_captcha" => true, // Do we display a simple captcha question to help prevent spam?
"display_avatars" => false, // Do we display gravatars next to comment
// overwrite default uri, useful for ?dynamic=pages.
// note: users will be redirected here after posting a comment.
"uri" => "profile.php?id=" . urlencode($dnn['id'])
);
include("run_script.php");
?>Bots Development | Web Development | Wordpress Customization | PSD Conversion
Life has many twists and turns in it, you have to take what you are given and use it for the best.
-
31st Aug 2011, 08:33 AM #3OPMember
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
DNS issue with my VPS?
By Micah Sin in forum Hosting DiscussionReplies: 4Last Post: 4th May 2012, 01:42 PM -
[Selling] Some one take my VPS[[SERIOUS ISSUE]
By toothmaniac in forum Completed TransactionsReplies: 37Last Post: 7th Feb 2011, 01:18 PM -
Issue.
By zakuza in forum Feedback and SuggestionsReplies: 6Last Post: 31st Jan 2010, 05:58 AM -
Got up a new issue! Did'nt got it, please help!
By pics_villa in forum Legal IssuesReplies: 1Last Post: 22nd Oct 2009, 05:58 AM
themaManager - edit and manage...
Version 4.18 released. Open older version (or...