Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Pages: 1 ... 3 4 [5]

Author Topic: Mods for sNews v1.4 here !!  (Read 36057 times)

Vitor M. Costa

  • Newbie
  • *
  • Karma: 0
  • Posts: 40
    • http://designcriativo.com/
Mods for sNews v1.4 here !!
« Reply #60 on: February 13, 2006, 10:54:53 pm »

hum... that's pretty good :) i love it.
Logged

bryn

  • Hero Member
  • *****
  • Karma: 2
  • Posts: 934
    • http://www.cssugly.com
Mods for sNews v1.4 here !!
« Reply #61 on: February 13, 2006, 11:36:31 pm »

beauty is in the eye of the beholder..I guess ;D
Logged
Over 1,000 posts of joy, sNews is not only brilliant, but fun too! thanks guys :D

iatbm

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 251
    • Public domain photos
Mods for sNews v1.4 here !!
« Reply #62 on: February 15, 2006, 03:04:12 pm »

how about a mod to make article directory with free submission and approval section :)

albert

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 405
    • http://www.oswt.co.uk/
Mods for sNews v1.4 here !!
« Reply #63 on: February 15, 2006, 06:30:05 pm »

Hi All

here is an email script that should work to show your email address on your sNews web site.
testing the code so this is beta:

demo xhtml to test the code.
Code: [Select]
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


Test










// -*- php -*-

function HideEmail($user, $host, $subject = '') {
    $MailLink = '' . $user . '@' . $host . '';
   
    $MailLetters = '';
    for ($i = 0; $i < strlen($MailLink); $i ++)
    {
    $l = substr($MailLink, $i, 1);
    if (strpos($MailLetters, $l) === false)
    {
        $p = rand(0, strlen($MailLetters));
        $MailLetters = substr($MailLetters, 0, $p) .
          $l . substr($MailLetters, $p, strlen($MailLetters));
    }
    }
   
    $MailLettersEnc = str_replace("\", "\\", $MailLetters);
    $MailLettersEnc = str_replace(""", "\"", $MailLettersEnc);

    $MailIndexes = '';
    for ($i = 0; $i < strlen($MailLink); $i ++)
    {
    $index = strpos($MailLetters, substr($MailLink, $i, 1));
    $index += 48;
    $MailIndexes .= chr($index);
    }
    $MailIndexes = str_replace("\", "\\", $MailIndexes);
    $MailIndexes = str_replace(""", "\"", $MailIndexes);
   
?>}

function HideEmailWithName($name, $user, $host) {
    print $name . " <";
    HideEmail($user, $host);
    print ">";
}


echo HideEmailWithName("Email Me", "username_here", "hostname_here.com");

?>








If any one has the web address to check the page if a spam bot can read it let us know.
had the link but lost it :)

Albert


Logged
Albert
http://snews.awddesign.co.uk/snews/ site: v1.3
http://snews.awddesign.co.uk/           site: v1.2 http://www.awddesign.co.uk/
“Putting together the largest collection of sNews 1.5 designs. Coming very soon :)

bryn

  • Hero Member
  • *****
  • Karma: 2
  • Posts: 934
    • http://www.cssugly.com
Mods for sNews v1.4 here !!
« Reply #64 on: February 16, 2006, 08:05:23 pm »

go Albert..I'll test this at the weekend mate..thanks ;D
Logged
Over 1,000 posts of joy, sNews is not only brilliant, but fun too! thanks guys :D

stam

  • Newbie
  • *
  • Karma: 0
  • Posts: 9
    • http://stamatiskritikos.com
Mods for sNews v1.4 here !!
« Reply #65 on: February 19, 2006, 11:35:22 am »

About pdf generation... I'm not sure if you guys mentioned it before... I think this script is promising to work with and I guess it doesn't need php5
http://www.fpdf.org/
Hopefully, someone can come up with a mod  ;D
Logged

blackhandr

  • Newbie
  • *
  • Karma: 0
  • Posts: 5
    • http://www.renegades.ro
Mods for sNews v1.4 here !!
« Reply #66 on: March 01, 2006, 02:48:08 pm »

it works yeeeah :)
Logged
custom signature .. amazing, hoh?

bramsyuur

  • Hero Member
  • *****
  • Karma: 23
  • Posts: 873
    • http://snews.vietbee.net
Mods for sNews v1.4 here !!
« Reply #67 on: March 01, 2006, 03:25:51 pm »

It works? What do you mean? ???
Quote from: blackhandr
it works yeeeah :)
Logged
La comunidad sNews en tu idioma!
Comunidad sNews en Español

bryn

  • Hero Member
  • *****
  • Karma: 2
  • Posts: 934
    • http://www.cssugly.com
Mods for sNews v1.4 here !!
« Reply #68 on: March 03, 2006, 01:02:17 am »

I suppose he means Albert's email code..if it does then excellent ;)
Logged
Over 1,000 posts of joy, sNews is not only brilliant, but fun too! thanks guys :D

albert

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 405
    • http://www.oswt.co.uk/
Mods for sNews v1.4 here !!
« Reply #69 on: March 21, 2006, 04:37:50 pm »

Hi

yeeeah ....
that must be a good thing :)

how about adding a vcard to snews,  think the code is in php will look at it this week as an addon.

Albert
Logged
Albert
http://snews.awddesign.co.uk/snews/ site: v1.3
http://snews.awddesign.co.uk/           site: v1.2 http://www.awddesign.co.uk/
“Putting together the largest collection of sNews 1.5 designs. Coming very soon :)

Luka

  • Administrator
  • ULTIMATE member
  • ******
  • Karma: 36
  • Posts: 1717
    • http://www.snewscms.com
Mods for sNews v1.4 here !!
« Reply #70 on: April 03, 2006, 05:38:28 pm »

Quote from: albert

plus it has ceo :)


Could you explain what you mean by 'ceo' for us who don't know?
Logged

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • “I'm a self-made man and worships my creator.”
    • p-ahlqvist.com
Mods for sNews v1.4 here !!
« Reply #71 on: April 03, 2006, 05:42:02 pm »

This works great...I've tried it out now, and I'm happy to announce that it is real nice.

I have but one suggestion, tho... Could you make it save one original copy in an additional folder within the img ?? Say I upload fish.jpg and it resizes to those 100px I've set, could one copy of the original size be saved at the same time in another folder ???

Patric.

EDIT --> talking 'bout Stretch's image resizing code, hehehe...just in case that was not clear ;)
Logged
"It's only dead fish that goes with the flow... "
Updated

bionicman

  • Jr. Member
  • **
  • Karma: 0
  • Posts: 51
Mods for sNews v1.4 here !!
« Reply #72 on: April 07, 2006, 01:19:13 pm »

wow guys, you are on CMS's way :D
Logged

albert

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 405
    • http://www.oswt.co.uk/
Mods for sNews v1.4 here !!
« Reply #73 on: April 14, 2006, 03:18:37 pm »

Hi Patric.

this is for Patric.
http://wabbit.arnoldcistai.net

Now you wanted an easy Gallery system and this is it :)
you got to check this out

Albert

Quote from: Patric

Patric.

Logged
Albert
http://snews.awddesign.co.uk/snews/ site: v1.3
http://snews.awddesign.co.uk/           site: v1.2 http://www.awddesign.co.uk/
“Putting together the largest collection of sNews 1.5 designs. Coming very soon :)

Jason Kingery

  • Sr. Member
  • ****
  • Karma: 1
  • Posts: 298
    • http://denial-design.com
Mods for sNews v1.4 here !!
« Reply #74 on: April 21, 2006, 02:12:29 pm »

Quote from: albert
Hi Patric.

this is for Patric.
http://wabbit.arnoldcistai.net

Now you wanted an easy Gallery system and this is it :)
you got to check this out

Albert


Patric.


Thats a sweet gallery, If only it had thumbnailing. Just one of those things, if I was going to thumbnail my pics, then I would just hand code my gallery. Maybe thats just me :)
Pages: 1 ... 3 4 [5]