Ad widget plugins
I did purchase this widget from the previous wpclassipress owner but never got it work with my site as the new classipress got all new template structure. So I decided to share this plugins here and hope that some one can get it work with the new version of wpclassipress themes.
This plugins should create a widget where anyone can embed their ads to their blog/website to self promote their listing on classipress.
you can get the files from here :
http://www.megasale.my/widget.zip
*bear in mind that this widget will cost you a bandwidth.
Instruction :
Extract the zip and copy the directory "widget" into your root directory.
Open the file .htaccess (on your wpclassipress root) and add this ad the end of the file:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^widget/(.*).png$ widget/index.php?id=$1 [L]
Go in the theme directory and search for:
<?php cp_location(get_the_content()); ?>
</p>
After that add this:
[img]<?php echo get_option('home'); ?>/widget/<?php echo $post->ID ?>.png[/img]
<div style="margin-top: -30px; float: right;">Put a widget on your site:
<textarea cols="27" rows="8" style="font-size: 11px; width: 240px; height: 104px;">
[img]<?php echo get_option('home'); ?>/widget/<?php echo $post->ID ?>.png[/img]" />
</textarea>
and don't forget to change the widget.png to your own image.
that all.
If anyone could fixed this widget to work with latest wpclassipress do pm me or reply here, I will update this post.
Thank you.