SimpleTickers

Started by Vladimir Samoilov, June 12, 2012, 10:05:15 AM

Previous topic - Next topic

Vladimir Samoilov

Ссылка на мод



Simple Tickers 1.6
mamavrn.ru

Date calculating script was kindly provided by Michail Filatov ( svb28.ru )

This Modification allows members to create own Tickers. Tickers display a graphical countdown on website. They can be for any event such as Pregnancy, Weddings and Birthdays.

For example:



After installation use menu button "Tickers" for access tickers page yourdomain.com/index.php?action=simpletickers

You can upload your own png files to use it as backgrounds and sliders. Upload your backgrounds to "PathToSMF/SimpleTickers/scenies". Upload your sliders to "PathToSMF/SimpleTickers/sliders".
You can upload your own fonts also. You have to upload 2 files to "PathToSMF/SimpleTickers/fonts": ttf file (font) and png file (example of font). Both files must have the same names, for example "arial.ttf" and "arial.png".


Languages:

     - English
     - Russian


Change Log

v1.6
Now you can choose backgrounds, sliders and tickers settings on different pages
Two events support
Added font size settings
Font names translated into English

v1.5
Works on utf-8 and cp-1251
Permissions 644 are set for SimpleTickers/img.php
Caching period for images is 24 hours
The button "Ticker" is active

v1.4
Added short urls
Caching of tickers

v1.3
Fixed bag in URL generate with using $boardurl variable
Added russian readme file
Deleted several hard coded language strings in the Subs-SimpleTickers.php file
Fixed some bags in English version
Rewrited SimpleTickers.template.php file without "short_open_tag"

v1.2
Added tables for show backgrounds and sliders collections
Added new pictueres for backgrounds and sliders

v1.1
Deleted .htaccess redirect file
Added license

v1.0
First Release

This mod is licensed under Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)

phpshiva

this doesent show any ticker just a cross in smf2.0.2

Vladimir Samoilov

Hi!
Try to set file permission to 644 for SimpleTickers/img.php

Sudhakar Arjunan

Nice mod.

Many people will find it useful.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

BobGiles

Quote from: mamavrn on June 22, 2012, 09:18:58 AM
Hi!
Try to set file permission to 644 for SimpleTickers/img.php

I am using SMF 2.0.2 and have set the file permissions as above. I get a box saying "The scene, the slider or the font was not found" If I leave it at 666, I get nothing at all.

Any help would be appreciated.

Bobehnbdw

Vladimir Samoilov

#5
Check if you have folders SimpleTickers/sliders, SimpleTickers/scenies and SimpleTickers/fonts on your server.

Give me url of your forum, please. I will try to help you.

BobGiles

#6
Thanks for the speedy reply!

The url is: http://www.corfu-forum.com/forum [nofollow]

I have the folders SimpleTickers/sliders, SimpleTickers/scenies and SimpleTickers/fonts on my server.

I have also enabled 'Tickers'

Bob

Vladimir Samoilov

Which database do you use? MySQL or PostgreSQL?

I think problem is in the database because test script works perfectly
http://www.corfu-forum.com/forum/SimpleTickers/img.php

Try to uncheck "Short url" in mod settings. It must help.

BobGiles

Quote from: mamavrn on June 26, 2012, 02:53:52 PM
Which database do you use? MySQL or PostgreSQL?

I think problem is in the database because test script works perfectly
http://www.corfu-forum.com/forum/SimpleTickers/img.php [nofollow]

Try to uncheck "Short url" in mod settings. It must help.

I am using MySQL

I have unchecked "Short url"

I have changed permissions to 644 and all seems OK

Thank you!

Bob

Vladimir Samoilov

#9
You are welcome. :)
But I don't know why it doesn't work when parameters of ticker stored in your database (when checked "short url").

If you want to use "Short url" show me errors from log file. I will try to solve the problem.
If it doesn't matter you can leave it this way.

You may upload your own images for tikers and sliders now.

Thank you for using my mod. :)


XHIBIT911

Can somebody post a demo link ?


BobGiles

Mamavrn,

Thanks for the speedy support! Short urls is not an issue and so I shall leave things as they are.

I have a suggestion that may or may not be possible to implement!

Firstly would it be possible to add hours and years to the countdown? If this is possible, would it then be possible to have an option not to display a slider or ticker? In this way, the mod would provide a countdown facility which I don't think is available elsewhere.

Bob

Vladimir Samoilov

BobGiles,

did you install mod version 1.5? I tried to install permission for img.php to 644 automatically inside mod in this version. Does it work or not?

Quote from: BobGiles on June 28, 2012, 11:48:24 AM
Mamavrn,

Thanks for the speedy support! Short urls is not an issue and so I shall leave things as they are.

I have a suggestion that may or may not be possible to implement!

Firstly would it be possible to add hours and years to the countdown? If this is possible, would it then be possible to have an option not to display a slider or ticker? In this way, the mod would provide a countdown facility which I don't think is available elsewhere.

Bob

What do you mean? Could you drow graphical example please?

BobGiles

Quote from: mamavrn on June 29, 2012, 02:37:06 AM

did you install mod version 1.5? I tried to install permission for img.php to 644 automatically inside mod in this version. Does it work or not?

I installed version 1.5. img.php has the permissions set to 644. It still does not like short urls. This is not a problem for me.

Quote from: BobGiles on June 28, 2012, 11:48:24 AM
Mamavrn,

Thanks for the speedy support! Short urls is not an issue and so I shall leave things as they are.

I have a suggestion that may or may not be possible to implement!

Firstly would it be possible to add hours and years to the countdown? If this is possible, would it then be possible to have an option not to display a slider or ticker? In this way, the mod would provide a countdown facility which I don't think is available elsewhere.

Quote from: mamavrn on June 29, 2012, 02:37:06 AM

What do you mean? Could you drow graphical example please?

I will try and explain! Firstly I should have said, could hours and minutes be added!

I think it would be useful for users to be able to merely include a line of text without sliders or scenies followed by the time. For example:

<Event in text.> followed by time.
Eg My flight to Greece leaves in: 1 year 2 months 3 weeks 1 day 3 Hours and 7minutes

This is a silly example but gives the idea.

The reason that I have suggested an option for no sliders or scenies is that my forum is travel related and people like to include this sort of information on the posts. A page filled with graphical tag lines becomes very cluttered.

Please don't take my suggestion as a criticism! I think the mod is great as it is. I just thought that something that is good might get even better!  ;)

Bob

Vladimir Samoilov

I got it. I will try to do it in next version of the mod. Thank you for good idea.

BobGiles

Quote from: mamavrn on June 30, 2012, 03:43:41 PM
I got it. I will try to do it in next version of the mod. Thank you for good idea.

Great news! I'll look out for it!

Bob

lifeguard81

Strange,

In chrome it works fine, but internet explorer say, the scene, or slider or font was not found :S
Try permissions to 777 and 755 but nothing works.

What can i do?
www.doenwenu.nl
Excuse me for my english. i am from holland :)

Vladimir Samoilov

#18
I fixed it in version 1.5. Please, download this version again.

Kimmie

Just tried to parse this on the mod page and it won't parse. All I get is

Code
install.php
This file should not be able to execute standalone. You may have to run the following queries manually.

hooks.php

Advertisement: