1
peacearena
Re: Anti-Spam Operation
  • 2005/7/20 23:10

  • peacearena

  • Just popping in

  • Posts: 9

  • Since: 2005/1/5 2


Below is a plugin for Wordpress. Can this be adapted for Xoops?



/*
Plugin Name: Email Obfuscator
Plugin URI:http://blackbird.casaparrina.it/programmazione/progetti/25
Description: Obfuscate email address in post body
Version: 1.0
Author: Michele Ferretti
Author URI:http://blackbird.casaparrina.it
*/


if (function_exists('add_filter')) {

function __obfuscate_email_action($email){

$email_outpunt = "";

for( $i=0 ; $i<strlen($email) ; $i++ ){
$email_outpunt .= "&#". ord(substr($email, $i, 1)) .";";
}
return $email_outpunt;
}

function __obfuscate_email($content) {
$content = preg_replace("/([\\w\\d\\.\\_]+@[\\w\\d\\.\\_]+)/e", "__obfuscate_email_action('\$1')", $content);
return $content;
}

add_filter('the_content', '__obfuscate_email');
}



2
peacearena
Re: php script in a block? not working
  • 2005/6/7 5:04

  • peacearena

  • Just popping in

  • Posts: 9

  • Since: 2005/1/5 2


"html include" What is that? My book on html doesn't have that.



3
peacearena
Re: Weblog comment form not prepopulating title field.
  • 2005/2/25 5:51

  • peacearena

  • Just popping in

  • Posts: 9

  • Since: 2005/1/5 2


hobbles wrote:
Quote:

Between those two lines you already have add the following:


I did that and got "parse error, unexpected $" line 36

So what did I do wrong?



4
peacearena
Re: block only on first page of module
  • 2005/2/24 0:31

  • peacearena

  • Just popping in

  • Posts: 9

  • Since: 2005/1/5 2


Did you ever find a way to do this? I would like to have a custom block show only on a particular inside page of one module (Forum, in this case). Is it possible?



5
peacearena
Custom Topic pages
  • 2005/2/23 21:47

  • peacearena

  • Just popping in

  • Posts: 9

  • Since: 2005/1/5 2


I would like to make all the entries in a topic display in a different presentation, maybe a different theme, but especially different blocks on the right side. This would show all the news entries in that topic, with an intro just for that page, and blocks assigned just to it.

Right now, if you just click the topic, it shows the filtered news, but you still have all the stuff otherwise assigned to the News module. I need to filter the News entries by topic, but lose the other News stuff.

Can someone suggest how this could best be accomplished --either using the core modules and a little hacking, or with a third-party module without a lot of features I don't need.

I've tried looking at the Modules Repository, but most of them aren't explained very well and don't have demos. I would prefer to stick to the Core, if possible. But if a addon module is necessary, even if I could narrow my search, that would be helpful. Thanks in advance.



6
peacearena
Re: Need help moving MT site to Xoops
  • 2005/1/6 3:18

  • peacearena

  • Just popping in

  • Posts: 9

  • Since: 2005/1/5 2


I'm sure it's worth a fee, but unfortunately neither I nor the non-profit I'm helping out can afford to pay much for the service. Should anyone get generous, the mt-import.php file that comes with b2Evolution might be a good place to start. It is itself based on the WordPress conversion script.



7
peacearena
Need help moving MT site to Xoops
  • 2005/1/5 22:29

  • peacearena

  • Just popping in

  • Posts: 9

  • Since: 2005/1/5 2


Hi. I've spent two weeks looking at various CMS programs and XOOPS is my first choice to use for a site now built with MovableType. But how to transfer it? After seaching the forums and FAQ, I can find no script or even tips on how to go about doing this (hopefully I didn't miss something obvious). Since B2Evolutions imported the MySQL tables in a snap, I may have to use it, but I'd rather have Xoops.

I'm just not knowledgable enough about this stuff to do this on my own without risking disaster on a site with over a year's worth of work on it.

If anyone can provide some assistance, I would be grateful.




TopTop



Login

Who's Online

157 user(s) are online (93 user(s) are browsing Support Forums)


Members: 0


Guests: 157


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits