Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-16-2006, 11:29 PM
Yankidank's Avatar
Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 1,819
Thanks: 110
Thanked 182 Times in 128 Posts
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
sIFR for Pligg

We had a couple of requests to use sIFR with some Pligg templates, something that I hadn't heard of until recently. Let me first explain what sIFR is...

Quote:
sIFR (or Scalable Inman Flash Replacement) is a technology that allows you to replace text elements on screen with Flash equivalents. Put simply, sIFR allows website headings, pull-quotes and other elements to be styled in whatever font the designer chooses - be that Foundry Monoline, Gill Sans, Impact, Frutiger or any other font - without the user having it installed on their machine. sIFR requires JavaScript to be enabled and the Flash plugin installed in the reading browser. If either condition is not met, the reader's browser will automatically display traditional CSS based styling - the user won't know the difference.
Example sites using sIFR

sIFR pretty much makes your site different from the others by letting you use more exciting fonts without risking the text not displaying if the users don't have java or flash installed. I thought that this might be a good idea, since SOOOO many Pligg sites look exactly the same because people are having trouble adapting to Smarty. So I took it upon myself to write a guide for how to add Smarty to your Pligg template, which can be found in the wiki here. Right now there are some issues with transparency, but that might just be my own clumsiness when trying this out for the first time. You can alter the background color, so as long as you don't have an image in the background you should be fine.

Currently you can see a demo of this here. Changing fonts is a snap, I'll try to post more font files later to make it even easier for you. The next version of Pligg (beta 8) will probably come standard with sIFR for the Mollio template.

The standard font that this comes with is Daniel. Here's what it will look like:

Attached Files
File Type: rar PliggsIFR.rar (30.4 KB, 64 views)
__________________
Need a Pligg Host?
Get 3 free months
when you buy a year of hosting.
Use the coupon PLIGG at either...
MidPhase hosting starting at $7.95/month.
ANhosting hosting starting as low as $4.95/month.
Reply With Quote
  #2 (permalink)  
Old 04-17-2006, 02:41 AM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
wow thats pretty nice
Reply With Quote
  #3 (permalink)  
Old 04-17-2006, 03:42 AM
Yankidank's Avatar
Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 1,819
Thanks: 110
Thanked 182 Times in 128 Posts
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
Here are 6 new fonts that I have created sifr.swf files for to make it easier on those who don't have a copy of Macromedia Flash. Just rename the file you want to test out to sifr.swf and upload to your template's root directory to use it. Don't forget to make backups before renaming. Of course, you have to install sIFR before uploading these because these are useless without it. Once again, this will be standard with Beta 8. If you're too intimidated about trying to install this just wait for the next big release.

Fonts included in this zip:
  • Palatino Linotype
  • Times New Roman
  • X360
  • Century Gothic
  • Georgia
  • Arial
I have also noticed that having sIFR enabled near the top of the page ("Published News") is messing with the drop down menu up top. Since sIFR is flash-based it is on the top layer and the menu is partially hidden over that area. This can easily be fixed though by just removing sIFR formatting for that area.
Attached Files
File Type: zip sIFRFonts.zip (69.1 KB, 55 views)
__________________
Need a Pligg Host?
Get 3 free months
when you buy a year of hosting.
Use the coupon PLIGG at either...
MidPhase hosting starting at $7.95/month.
ANhosting hosting starting as low as $4.95/month.

Last edited by Yankidank; 04-17-2006 at 06:38 PM..
Reply With Quote
  #4 (permalink)  
Old 04-17-2006, 04:16 AM
New Pligger
 
Join Date: Mar 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
it looks really good, thx , but i think i need to add the molio template first ?
Reply With Quote
  #5 (permalink)  
Old 04-26-2006, 09:04 PM
New Pligger
 
Join Date: Apr 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
First time poster - long time lurker.

Thanks for posting this wiki and the sIFR link - I haven't heard of this either. The Molio template is great but I (like many I guess) am struggling to customize it.

Will sIFR allow me alter the red vote box on the left and the red right hand sidebar tabs on the molio template? Or is this something I must use smarty to do? I've been trying to figure this out on my own - how the CSS style sheet, the image files (pretty simple of course), and the .tpl (smarty) files relate to each other - without much luck.

Any hints for customizing these items (the red vote button/box and the right hand sidebars?)

Anyhoo . . . thanks for all your work - everyone involved in Pligg - it is much appreciated. I;m looking forward to seeing what you guys come up with next.

n.

oops. this will only change fonts - my bad - and thanks for the upload.

Last edited by nick78; 04-26-2006 at 09:42 PM..
Reply With Quote
  #6 (permalink)  
Old 05-02-2006, 06:14 PM
New Pligger
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

Hey Yankidank...

your post inspired me...

I know this isnt actually a post about pligg but I hope no one minds...

After reading this I decided to make the same thing for wordpress. I dunno why I hadnt thought of it before but somehow I hadnt.

anyway... check it out: sIFR for Wordpress
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Search Engine Friendly URLs by vBSEO 3.2.0