The settings of the url and the secret url in the virtuemart.cfg.php in the administrator/components/com_virtuemart/ to be reset to that of the server so that the images and the url or links in the admin and the site work properly
This option is implemented by checking whether the comment text has a @ and if so, we just indent it and hide the reply link from the user so that this comment cannot be commented. /home/webmaster/public_html/mod/thewire/views/default/object/thewire.php 1. check for the @ in the text [code] $haystack= $vars['entity']->description; $needle = "@"; if($haystack[0] == $needle) $shallIndent = TRUE; else $shallIndent = FALSE; [/code] 2. use the indentation for the div which is a comment or a reply to a post made earlier. [code] if($shallIndent) { ?> <!-- style="margin-left:50px"--> <div class="thewire-singlepage" style="margin-left:50px"> <?php } else { ?> <div class="thewire-singlepage"> ...
Comments
Post a Comment