SimplePortal

Customization => Blocks and Modifications => Block Requests => Topic started by: Inti31 on May 18, 2012, 01:25:36 PM

Title: Quotes-Collection - need help for building a block
Post by: Inti31 on May 18, 2012, 01:25:36 PM
I've done it - I created my first mod called "Quotes" for 202 which is for collecting quotes - hard work  - because I am noob and the template I used for was hard for me to modify.

This mod allows member to create a quote where he has to enter the name, date of birth/death, his profession and of course - the quote - also he has to enter a pic - it works with english and german language.

See: http://inti31.cwsurf.de/smf/index.php?action=quotes (just a testforum, maybe online or not...)

Looks like that
(http://s19.postimage.org/c6d3g9aen/Quote_Collection.jpg) (http://postimage.org/image/c6d3g9aen/) (http://s19.postimage.org/8b9pdor8v/Quote_Collection1.jpg) (http://postimage.org/image/8b9pdor8v/)

So what I need/ would like to have is a block which shows just one (random) quote for the top or bottom block - or 2 (random) quotes for the header or footer

I hope it is allowd to attach my mod here for people are willing to help out in this matter - maybe this one is also useful for other people

thanks in advance
Inti31




Title: Re: Quotes-Collection - need help for building a block
Post by: Old Fossil on May 18, 2012, 04:26:46 PM
I wanted quotes for my forum.

I installed the pagan verse mod and adapted it to the way I wanted.
Title: Re: Quotes-Collection - need help for building a block
Post by: Inti31 on May 18, 2012, 07:53:18 PM
I installed the pagan verse mod and adapted it to the way I wanted.
Means you are able to enter own verses and save them as or in a textfile somewhere?
Have you done it all manaually or did you create an "own" mod with all your changes?
if so - yo are willing to share it?
I want - like I did  - a special page for members where they can save their verses - I just asked for help if it is possible to get a randomized solution which shows in a pretty looking frame one vers in a block - or just the author and the qote itself
The data in my solution is stored in table{db_prefix}quotes. The pic is stored in /attachments start with qu_<hashvalue>.extension like jpg, png,...
Title: Re: Quotes-Collection - need help for building a block
Post by: Old Fossil on May 18, 2012, 07:58:52 PM
There are two template files which you as admin have to edit.

The mod does explain which files.

I have a topic on my forum where members can add quotes from which I pick the best ones.
Title: Re: Quotes-Collection - need help for building a block
Post by: Divecall on June 05, 2012, 07:05:42 PM
Great work Inti31 and nice Idea, Old Fossil.

Some weeks ago, i have the idea to make the things more easy. And a good resource for more quotes. unfortunately, i have not enough PHP-Coding skills...

My idea was to make a small icon next to the "report to moderator"-Link. And if some member, found a good quote/phrases/sentences/whatever in a regular post from other member, he can mark this words, press the button and than the admin will see this in a list.

In this list he can choose the best quotes or enter quotes themself.

i add some pictures, maybe u understand better what i mean...

Maybe somebody can do a mod for this - or we can collect some money and lets do a pro his job !?
Title: Re: Quotes-Collection - need help for building a block
Post by: Divecall on October 12, 2013, 06:01:21 PM
Exist a Block now for Inti`s Request?

Its a great Mod, thank you!
SimplePortal 2.3.8 © 2008-2024, SimplePortal