PDA

View Full Version : Remote Adverts plugin release!



PGGO
August 15, 2012, 11:26 PM
I'm wondering then Flynax is planning to release ‘Remote Adverts plugin’ for 4.1.x version?
I believe this plugin is useful for our community, since it was downloaded 200 times in the past.

Mike
August 16, 2012, 09:30 AM
Yes we will improve it and adapt for the 4.1 version, i think in 2-3 weeks we will release updated plugin.

If you have any thoughts what to improve let us know.
I'm thinking about code generators to the dealers and ability to admin, enable/disable it to a plan as addition benefit for additional fee ?

Chris Brown
August 16, 2012, 10:33 AM
Or even have the possibility of remote search where users on othersites can search using the quick form fields

I would definatly use that

PGGO
August 16, 2012, 07:21 PM
Mike,

Would you consider to add listing Details View function, so users can see listing details without leaving the third party website.
You already did this for me in the past with “Remote Listings” plugin. However, it was for version 3.x.
So you may use that plugin as a source for this functionality.

Plugin has the following features:
- Display listings from specific user account rather than whole website;
- Preview listing details.

Leandro Figueiredo
December 17, 2012, 11:46 AM
Suggestion

I suggest the inclusion a search field this plugin.

Here's an example.
Bottom of page: http://g1.globo.com/

Mike
December 17, 2012, 12:00 PM
Your suggestion is clear Leandro, but we will not include it to the plugin, it's different thing and can be done with small changes to the code and little html coding like below and maybe css styling

1.




<form action="http://auto.demoflynax.com/autos/search-results.html" method="get">
<input name="query" />
<input type="submit" value="Go"/>
</form>



2. on flynax website side to includes/controllers/listing_type.inc.php add following line at begging of file

if( $_GET['query'] )
{
$_POST['f'][text_search'] = $_GET['query'];
}

Ionut Barabasa
December 18, 2012, 12:29 PM
Hello

I saw that the plugin is associated with the short form of the listing. How to associate it with the featured form? If many fields in short form the remote ads will look very ugly

Have a good day

Chris Brown
December 18, 2012, 12:36 PM
Hello

I saw that the plugin is associated with the short form of the listing. How to associate it with the featured form? If many fields in short form the remote ads will look very ugly

Have a good day

I want to do the same, I will have a look when I finish work and post the answer if ivfind it unless flynax team beats me to it :)

Chris Brown
December 18, 2012, 05:46 PM
Think i found it,

Go into server, go to plugins/js.blocks/rlRemoteAdverts.class.php

Find

if ( !$GLOBALS['config']['cache'] )
{
$fields = $GLOBALS['rlListings'] -> getFormFields( $category_id, 'short_forms', $listings[0]['Listing_type'] );
}


Change to

if ( !$GLOBALS['config']['cache'] )
{
$fields = $GLOBALS['rlListings'] -> getFormFields( $category_id, 'featured_form', $listings[0]['Listing_type'] );
}


Find

if ( $GLOBALS['config']['cache'] )
{
$fields = $GLOBALS['rlListings'] -> getFormFields( $value['Category_ID'], 'short_forms', $value['Listing_type'] );
}


Change to

if ( $GLOBALS['config']['cache'] )
{
$fields = $GLOBALS['rlListings'] -> getFormFields( $value['Category_ID'], 'featured_form', $value['Listing_type'] );
}


Hope that helps

Leandro Figueiredo
December 19, 2012, 07:40 PM
Hi Mike F.,

Questions

An specific subcategory cannot be displayed?
I can display the ads horizontally modifying only the .css?

Thanks

Mike
January 4, 2013, 06:58 AM
Dear Leandro,

To display items horizontally you have to add direction=horizontally into the url of the script manually to the box code.

Subcategory issues have been solved.

Leandro Figueiredo
January 7, 2013, 07:58 PM
Dear Mike,

Can you give me an example?

Chris Brown
January 7, 2013, 10:46 PM
Dear Mike,

Can you give me an example?

This thread may help with some of the parameters

http://www.flynax.com/forum/showthread.php?18-Remote-Adverts-plugin-instruction&highlight=remote+adverts