This problem has not been solved.Ludwig wrote:But, that all templates are listed, including those who are not active I don't personally like.
Powered By Links
Re: Powered By Links
Somehow the discussion has stopped. Does it mean that it would be okay to introduce this feature in 1.6.6
Re: Powered By Links
Hmm, I'm not sure if I like this feature (that way) at all , so I'll not vote on that topic and leave the decision to the others...
Re: Powered By Links
Personally, I would prefer to not introduce new features into the 1.6 branch anymore, even if they are pretty much self-contained. If you like, move the item from the 1.7 roadmap (there's a button to do that).svasti wrote:Somehow the discussion has stopped. Does it mean that it would be okay to introduce this feature in 1.6.6
Christoph M. Becker – Plugins for CMSimple_XH
Re: Powered By Links
well, nor am I... my question would be, do you think such kind of feature is desirable? And if yes, what should it do? Or do you rather think, what we have now is sufficient?Holger wrote:Hmm, I'm not sure if I like this feature (that way) at all
I haven't put it on the road map. My question is rather, if this feature is still relevant.cmb wrote:Personally, I would prefer to not introduce new features into the 1.6 branch anymore, even if they are pretty much self-contained. If you like, move the item from the 1.7 roadmap (there's a button to do that).
Maybe better to have an add-on to cover this functionality?
Re: Powered By Links
IMO an addon would be pretty useless. Actually, something like this should have been there from the early beginnings of CMSimple. Consider the awful lot of websites with "Powered by CMSimple" links, which are actually powered by CMSimpleSE, CMSimple_XH and what else -- the links are in the template, and nearly nobody cares to fix the links when they use another variant. I guess there are also some CMSimple 4.x websites which use templates with "Powered by CMSimple_XH" links. And of course there are websites with "Powered by CMSimple_XH" which actually link to cmsimple.org. All this nonsense could have been prevented... now it seems that it might come too late, but who knows which forks and variants will be there in the future.svasti wrote:My question is rather, if this feature is still relevant.
Maybe better to have an add-on to cover this functionality?
Listing the installed plugins and templates seems to be a nice addition (I had already given some arguments in the OP).
Anyhow, the feature would be useless if template designers won't use it, but it seems the at least some of them would.
Christoph M. Becker – Plugins for CMSimple_XH
Re: Powered By Links
CMSimple 4.5 cms.php:cmb wrote:I guess there are also some CMSimple 4.x websites which use templates with "Powered by CMSimple_XH" links.
Code: Select all
$poweredLinkCheck = '
<div style="width: 314px; background: #fc0; color: #000; font-size: 14px; font-family: arial, sans-serif; border: 3px solid #000; padding: 6px 20px; position: fixed;">
<p><img src="userfiles/images/flags/en.gif"> <b>Wrong CMS Link detected in template!</b></p>
<p>Please <b>remove</b> following strings from your template (template.htm):</p>
<p>-xh _XH XH xh</p>
<p>Please <b>replace</b> following strings in your template (template.htm):</p>
<p>cmsimple.name => cmsimple.org<br>cmsimple.eu => cmsimple.org</p>
<p>Without or with a correct CMS link (cmsimple.org), this message will disappear.</p>
<p><img src="userfiles/images/flags/de.gif"> <b>Falscher CMS Link im Template erkannt!</b></p>
<p>Bitte <b>entfernen</b> Sie folgende Zeichenketten aus Ihrem Template (template.htm):</p>
<p>-xh _XH XH xh</p>
<p>Bitte <b>ersetzen</b> Sie folgende Zeichenketten aus Ihrem Template (template.htm):</p>
<p>cmsimple.name => cmsimple.org<br>cmsimple.eu => cmsimple.org</p>
<p>Ohne oder mit einem korrekten CMS Link (zu cmsimple.org) wird diese Meldung nicht mehr erscheinen.</p>
</div>
';
if(preg_match('/CMSimple_XH|cmsimple-xh|CMSimple XH| XH|cmsimple.name|cmsimple.eu/i',file_get_contents($pth['file']['template'])))
{
echo($poweredLinkCheck);
}
Re: Powered By Links
Hehe,
DOCTYPE XHtml... got blacklisted too with the first try : http://cmsimple.org/forum/viewtopic.php?f=8&t=503#p1358
DOCTYPE XHtml... got blacklisted too with the first try : http://cmsimple.org/forum/viewtopic.php?f=8&t=503#p1358
Re: Powered By Links
Yes, indeed. However, there are still bugs (i.e. undesired behavior) in the regexp -- unfortunately, I don't know where to report those.Holger wrote:DOCTYPE XHtml... got blacklisted too with the first try
Christoph M. Becker – Plugins for CMSimple_XH
Re: Powered By Links
Funny is that a Powered-by-Links function would even be something for Gert ... if we could agree on a common function name.