PDA

View Full Version : eSyndiCat Patch 2.1.02 Released!


Simon Gooffin
03-07-2007, 03:05 PM
Greetings,
I'm glad to inform now you can download 2.1.02 patch for our 2.1 version. You can download it in your downloads area.

Here are the issues that have been resolved in this patch:

Also redundant clicks count field implemented
Also redundant links count fields are recalclated in browse.php without need of check_consistency in manage-database.php

INSTALL
1. [install: CGI compatible] - eSyndiCat Pro 2.1 is PHP-CGI compatible now

ADMIN
#1. [admin: BUG fixed] edit-link.php - category id is now calculated rather than passed through GET
#2. [admin: BUG fixed] browse.php - better path recalculation when moving and copying
#3. [admin: BUG fixed] manage-editors.php - possible XSS preventing
#4. [admin: LookNfeel] footer.php - row highlighting
#5. [admin: BUG fixed] configuration.php - template changing bug (now old compiled templates are cleared)
#6. [admin: BUG fixed] edit-category.php - show edited content after update
#7. [admin: Enhancement] manage-links.php - when sponsored STATE is selected plan column occured

USER
#1. [front: BUG fixed] search.php - bad path calculations bug fixed
#2. [front: BUG fixed] listings.php - editor listings incorrect navigation
#3. [front: BUG fixed] login.php, register.php - in proper redirecting when mod_rewrite is OFF

CORE
#1. [classes: BUG fixed] DirCategory.php - bad path recalculations when category moving and copying
#2. [classes: BUG fixed] DirLink.php - searching in admin panel is now searches in all type of listings not only in active
#3. [Enhancement] DirSmarty.php - compiled templates are stored in seperate folder now rather than in TMP folder
#4. [Enhancement] DirRating.php - rating issues fixed when "rate_period" configuration works now


There are two versions now. In downloads area you can download the latest version eSyndiCat 2.1.02. You should not apply any patches to it as it's already patched and contains all the fixes.

There is also modified files only patch. You can download it here:
http://www.esyndicat.com/downloads/modifications.html

Just upload your 2.1.02 files to installed 2.1.01 version and import sql upgrade script from your admin panel.

That's all. Please do not hesitate to contact us in case you have any questions.

Greg
03-07-2007, 07:14 PM
Stupid question maybe?
But where do the 2 files in the "install" folder go?
config.inc.php.sample and index.php

There is of course no install folder after installation.

Also it would be nice to know what changes were made in the footer and view-link.tpl files.

Thanks

gmax21
03-07-2007, 11:25 PM
Hey guys,

Greg I'm assuming the new install files are ment for the full package, and shouldn't be included, kinda confusing.

On another note, where are the upgrade instructions, I know you just upload the files, then use the sql update, but not everyone does, remember if people were experts they would create there own scripts, or perhaps there just lazy?

I've not applied this patch yet, but I'm hoping the paypal button thing and free listings was fixed?

Thanks for the release

gmax21
03-07-2007, 11:26 PM
As an addition, and what Greg asked, what changes are there to the templates, we're not all using green leaves, hence we need to make the changes to our own templates.

Cheers.

Dave Baker
03-08-2007, 12:42 AM
Changes in GreenLeaves template:
footer.tpl
***find code(line # 168)***

if (this.value = s) {

***replace with***

if (this.value == s) {

search.tpl
***Find code***

{if $links}
{include file="box-header.tpl" caption=$lang.links_found|cat:$total_links style="green"}
<div class="links">
{navigation aTotal=$total_links aTemplate=$url aItemsPerPage=$config.num_index_links aLinksPerPage=$config.num_navig_pages aType=1}
<table cellspacing="0" cellpadding="0">
{foreach from=$links item=link}
{include file="link-display.tpl"}
{/foreach}
</table>
{if $smarty.get.what}
{literal}
<script type="text/javascript">
var pWhat = '{/literal}{$smarty.get.what}{literal}';
$(function(){
if(pWhat!='')
{
pWhat = "("+pWhat+")";
$('a.title').each(
function(){
var th = $(this).html();
var re = new RegExp(pWhat,"gi");
if(re.test(th))
{
th = th.replace(re,'<span class="highlight">$1</span>');
$(this).html(th);
}
});

$('div.description').each(
function(){
var th = $(this).html();
var re = new RegExp(pWhat,"gi");
if(re.test(th))
{
th = th.replace(re,'<span class="highlight">$1</span>');
$(this).html(th);
}

});
}
});
</script>
{/literal}
{/if}
</div>
{include file="box-footer.tpl"}
{elseif not $links && $smarty.get.what}

***Replace with***

{if $links}
{include file="box-header.tpl" caption=$lang.links_found|cat:$total_links style="green"}
<div class="links">
{navigation aTotal=$total_links aTemplate=$url aItemsPerPage=$config.num_index_links aLinksPerPage=$config.num_navig_pages aType=1}
<table cellspacing="0" cellpadding="0">
{foreach from=$links item=link}
{include file="link-display.tpl"}
{/foreach}
</table>
{if $smarty.get.what}
{literal}
<script type="text/javascript">
var pWhat = '{/literal}MLUA{$smarty.get.what|replace:"'":""}{literal}';
$(function(){
if(pWhat!='')
{
pWhat = "("+pWhat+")";
$('a.title').each(
function(){
var th = $(this).html();
var re = new RegExp(pWhat,"gi");
if(re.test(th))
{
th = th.replace(re,'<span class="highlight">$1</span>');
$(this).html(th);
}
});

$('div.description').each(
function(){
var th = $(this).html();
var html = '';
var re = /<\/?\w+[^>]*>/gi;
var tmp = th.split(re);

var re2 = new RegExp(pWhat,"mgi");

for(var i=0; i<tmp.length;i++)
{
var n = tmp[i];
var s = n.replace(re2,'<span class="highlight">$1</span>');
th = th.replace(n,s);
}
$(this).html(th);
});
}
});
</script>
{/literal}
{/if}
</div>
{include file="box-footer.tpl"}
{elseif not $links && $smarty.get.what}

sugest-link3.tpl
***Find code***

{if $smarty.post.plan}
<div class="box" style="border: none;">
<form action="purchase.php" method="post">
<input type="hidden" name="id_link" value="{$link.id}" />
<input type="hidden" name="plan" value="{$smarty.post.plan}" />

***Replace with***

{if $smarty.post.plan AND $plan.cost neq 0}
<div class="box" style="border: none;">
<form action="purchase.php" method="post">
<input type="hidden" name="id_link" value="{$link.id}" />
<input type="hidden" name="plan" value="{$smarty.post.plan|escape:"html"}" />

view-link.tpl
***Find code***

{include file="header.tpl"}
<h1><a href="{$link.url}" id="l{$link.id}" {if $config.new_window}target="_blank"{/if}>{$link.title}</a></h1>

***Replace with***

{include file="header.tpl"}
<h1><a href="{$link.url}" id="l{$link.id}" {if $config.new_window}target="_blank"{/if}>{$link.title|escape:"html"}</a></h1>

gmax21
03-08-2007, 12:59 AM
Dave, your a star.

This will make it much easier for those with other templates.

Can I ask, if you rename a template directory, is this suffice enough to work with Esyndicat, or is the directory name often hardcoded, I used a find and replace software to quickly look and couldn't see a hardcoded directory name, but want to double check. I ask as when I get time, I would like to work on some custom templates.

Thanks once again.

Simon Gooffin
03-08-2007, 04:09 AM
Hi guys,
I'm sorry for the confusion. I have just removed install directory from our patch zip file. Though it still exists in our 2.1.02 full package.

2 gmax21:
We do not hardcode template directory name. Our system works in a flexible way - it takes all the directory names from templates/ directory. So you can simply create another directory with a different name in templates dir and it can be used for tpl files. Besides, you might want to check config.inc.php file.

khunjack
03-08-2007, 08:37 AM
Hi Support,
that is great that there is a patch after a patch to get some time the version 2.1 working.

I'm sure many users are waiting until the version is getting stable.

I really hope that you also will provide an 'real' upgrade program in the near future. Ideally with a couple of lines which tells what needs to be changed in the templates which are running in Version 2.0.x

BTW: Any estimates when there will be a user guide available?

My preferred solution would be:
No more functionality until the 'as is' bugs are fixed.
If the SW is getting stable, create a new version and provide an upgrade prg. from Version 2 /1.2(?)
Documentation !!!!!!!

Good luck

kamy81
03-09-2007, 01:10 AM
Hi,

I have already installed (eSyndiCat Pro v2.1.00) and I have patched with (patch 2.1.01) but now I saw in download area that there are another 2 new version (eSyndiCat Pro v2.1.01) , (eSyndiCat Pro v2.1.02) And Patch (Patch 2.1.02) .

SO please inform me that Should I need to make it (eSyndiCat Pro v2.1.00) - TO - (eSyndiCat Pro v2.1.02) AND HOW

Sai_dallas
03-09-2007, 01:28 AM
Hi,

I have already installed (eSyndiCat Pro v2.1.00) and I have patched with (patch 2.1.01) but now I saw in download area that there are another 2 new version (eSyndiCat Pro v2.1.01) , (eSyndiCat Pro v2.1.02) And Patch (Patch 2.1.02) .

SO please inform me that Should I need to make it (eSyndiCat Pro v2.1.00) - TO - (eSyndiCat Pro v2.1.02) AND HOW

if you have 2.1 then you patch it and made it 2.1.01

You need to apply the new patch that makes 2.1.02

if you are installing on a new site you can directly install 2.1.02 and no patch work is needed.

Thanks

Simon Gooffin
03-09-2007, 12:31 PM
Hi all,
Sai is right..

If you have Pro 2.1 you should apply patch 2.1.01 and later apply 2.1.02. That's all. All the patches could be downloaded from our site.

If you are going to make a new installation you should download a new version and install it. No patches required as 2.1.02 already contains all the bugfixes.

Let me know if you are still confused..

About our future version. Now we pay greater attention to our current bug fixing and our patches can prove that. We fixed many things that were incorrect in our 2.1 version. So after we fix all known bugs we will start working on our new version.

kamy81
03-09-2007, 01:26 PM
I see every patch update only for “GreenLeaves” template but I use “Plain” template.

So how can I do it

Sai_dallas
03-09-2007, 01:36 PM
kamy81
http://www.esyndicat.com/forum/about9371.html

you need to impement the changes as per this post.

.
.
.
General suggestion: not intended for kamy81
(I do post questions that are answered - kind of reminder for me!)
please try to read on the forum before posting the same question again and agen.
-- Try to look at unread posts.

-- This would help all of us
-- Let us help each other by reducing them.

kamy81
03-09-2007, 03:09 PM
Hi Sai_dallas,
You are correct, :good: we should try to find the answer on the forum before posting

http://www.esyndicat.com/forum/post60638-5.html
Thanks for helpful information and this changes for others templates applicable with Patch 2.1.02 . But when I applied patch 2.1.01 that time I saw there was some modification for “GreenLeaves” template but I did not do any changes for my template "Plain" I just download "Plain" template then upload and select this template on installation. I don't change anything of it.

So will I need to make changes for "Plain" template which modification was on Patch 2.1.01 and letter try with this : ( http://www.esyndicat.com/forum/post60638-5.html ) for applicable with Patch 2.1.02
OR
Can I make changes with this: ( http://www.esyndicat.com/forum/post60638-5.html ) after downloading “Plain” Template skipping the modification for template on Patch 2.1.01

Dave Baker
03-09-2007, 04:26 PM
Hello kamy81,
You should make only these http://www.esyndicat.com/forum/post60638-5.html changes with "Plan" template for Pro2.1.02.

gmax21
03-13-2007, 12:33 AM
not all bugs, it seems the ordering of plans is still not right, although I see it no longer asks for paypal is plan is set to 0 for prices.

gmax21
03-13-2007, 12:36 AM
ohh it still also adds listing to the suspended, if free.

Simon Gooffin
03-13-2007, 09:51 AM
hi guys,
please post all the bug reports in appropriate forums.. it will be much easier to track them later