hi AUSFIFA,
you can just change your code to this,
in place of directly call XenForo_Model,you can use something like this
$db = XenForo_Application::get('db');
$cUser = $db->fetchRow("SELECT * FROM xf_user WHERE `username` = '$sUsername' LIMIT 1");
1. first of all you create a file named xenforo_connect.php
<?php
class appXenForo {
//Singleton Storage
private static $bInitialized = false;
/**
* Initialise XenForo Functions
*/
function __construct() {
}
/*
* Initialise the XenForom Controllers:
*/
public static...
i want to redirect my page to same contact page so i used misc/contact in place of index but no changes has done...still it is redirecting to index page ???? please help me