Jump to content

looking for friendly help on TPwhois joomlacomponent


maara

Recommended Posts

Hey guys,

 

Im using whmcs with jwhmcs joomla integration and templateplazza joomla template. Template which include TPWhois domain search, whois module developed year ago ba J!factory as a joomla integration of whois by EP-dev.com. I like graphic of that joomla component module as it fit rest of site design but trying to make it send and open whmcs domain checker on press of button. Default module have field to enter domain name and tickboxes for tld selection then there is a button which activate whois search function of this module. I need after presss of button it simply opens whmcs domain availability checker and pass domain name and selected tld´s to it so page open with results already. I think this tweak have to be very easy to do but as non programmer Im lost as I dont know how exactly do it.

 

DO I find here some friendly fellas who can help me with that ?

 

This is not any sort of advertising nor paid developer search post - I just looking for somebody friendly enough who will help me with that for free !!! Hope I dont break any forum rules this time Bear .... Im not seeking developers, this is not ad... this is only solely help post regarding integration with TPwhois...

 

Here is link to file:http://www.templateplazza.com/tpwhois/

 

Thank u in advance if somebody will help me on that

Link to comment
Share on other sites

Here is a script which pass input informations ( domain name and tld user selected) to j!whois component to gain results. I need change code to do following - open whmcs domain checker and perform multiple domain check and show results. I think it cant be that hard to do what I need ...or is it ?

 

<?php



// TP Whois Module 1.0

// @copyright http://www.templateplazza.com

// @license http://www.gnu.org/copyleft/gpl.html GNU/GPL



defined( '_JEXEC' ) or die( 'Restricted access' );



$tpwhois_domain 	= $params->get( 'tpwhois_domain', 'com,net,org,us,biz,info,tv,ws,cc' );

$tpwhois_domain_default_selected 	= $params->get( 'tpwhois_domain_default_selected', 'com,net' );

$tpwhois_multiple_domain 	= (int) $params->get( 'tpwhois_multiple_domain', 0 );



$Itemid = JRequest::getInt( 'Itemid' );



$selectitemid 	= $params->get( 'selectitemid', '1' );

$inputitemid 	= $params->get( 'inputitemid', '99999' );

switch ($selectitemid) {

case '2':

	$db = & JFactory::getDBO();

	$db->setQuery("SELECT id FROM #__menu WHERE link='index.php?option=com_virtuemart_tp_extended_search' AND type='component'");

	$theItemid = $db->loadResult();

	if(empty($theItemid)) {

		$theItemid = $inputitemid;

	}

	break;

case '3':

	$theItemid = $inputitemid;

	break;

default:

	$theItemid = $Itemid;

	break;

}



if($tpwhois_multiple_domain) {

?>



<div align="center">Please enter the full domains that you want to check, one per line.</div>

<div align="center">

<form name="whois_search" method="post" action="index.php">

<table>

	<tbody>

	<tr>

		<td>http://www.</td><td><textarea rows="10" cols="40" name="domain"></textarea></td>

	</tr>

	</tbody>

</table>

<input name="task" value="WhoisSearch" type="hidden" />

<input name="skip_additional" value="1" type="hidden" />

<input name="option" value="com_tpwhois" type="hidden" />

<input name="Itemid" value="<?php echo $theItemid; ?>" type="hidden"/>

<input id="Submit" value="Check Availability" type="submit" /> 

</form>

</div>



<?

} else {

?>



<div align="center">

<form name="whois_search" method="post" action="index.php">

<table>

	<tbody>

	<tr><td align="left" valign="top"><span class="tphttp">http://www.</span></td>

		<td><input name="domain" value="" class="tpwhoisinput" type="text" /><br />

<?

$domainLists = explode(",", $tpwhois_domain);

$domainSelected = explode(",", $tpwhois_domain_default_selected);



if(count($domainLists)) {

$n = 0;

foreach($domainLists as $domainList) {

	?>

			<input name="ext<?php echo $n; ?>" id="ext<?php echo $n; ?>" value="<?php echo $domainList; ?>" type="checkbox"<?php if(in_array($domainList, $domainSelected)) { echo ' checked="checked"'; } ?> />.<?php echo $domainList; ?>

	<?

	$n++;

}

}

?>



			<input name="option" value="com_tpwhois" type="hidden" />

			<input name="task" value="WhoisSearch" type="hidden" />

			<input name="Itemid" value="<?php echo $theItemid; ?>" type="hidden" />

			</td>

		<td align="left" valign="top">

			<input type="image" src="modules/mod_tpwhois/tpwhois/buttonwhois.gif" id="Submit" value="Check Availability"/>

		</td>

	</tr>

	</tbody>

</table>

</form>

</div>



<?

}

?>

Link to comment
Share on other sites

I found following code here in forums so Im trying to put it in my component code bu seems Im douing something wrong - can u point me exactly where to place following code or what to change to make it work ?

 

<form action="yyyy://xxx.yourdomain.com/whmcs/domainchecker.php" method="post">

<input type="hidden" name="direct" value="true">

Check Availability: <input type="text" name="domain" size="20"> <select name="ext">

<option value=".com">.com

<option value=".net">.net

<option value=".org">.org

<option value=".info">.info

<option value=".name">.name

<option value=".co.uk">.co.uk

</select>

<input type="submit" value="Go">

</form>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated