Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

BBC Rating mod

Aloittaja perro88, marraskuu 04, 2007, 11:16:42 AP

« edellinen - seuraava »

perro88

I was thinking if someone can make a mod that create a bbc who works like this
[rating]Rate this:[/rating]
then it would post a star rating (1-10) and for example a drop down(with the 10 options) and a rate buttom.
I don´t know if this is possible but would be a big, big help on my forum :D, of course probably I´ll just allow for admins.



Sakae

Quite simple, if you familiarized with installing php/ajax scripts.

Install CUSTOM BBC mod (search at Mods and Packages board), and create "rating" bbc code to display some stars (search www.hotscripts.com)

BUT I was thinking and writing (faster writing than thinking), and conclude that it wouldn't work 100%, as [rating] bbc code would show only one set of stars, not a new one for every new [rating] bbc code. I hope you understand what I'm saying.
http://www.tigrelog.com.br
l: simple p: machines

perro88

Lainaus käyttäjältä: softcore - marraskuu 24, 2007, 09:58:37 IP
Quite simple, if you familiarized with installing php/ajax scripts.

Install CUSTOM BBC mod (search at Mods and Packages board), and create "rating" bbc code to display some stars (search www.hotscripts.com)

BUT I was thinking and writing (faster writing than thinking), and conclude that it wouldn't work 100%, as [rating] bbc code would show only one set of stars, not a new one for every new [rating] bbc code. I hope you understand what I'm saying.
thanks for the reply. Well I don´t know BBC. I thinked that with it and some tables(to keep ratings etc) the mode could be done but seems that I was wrong :p. for example the bbc should post a little form and the star rate(of course should create a key for every bbc used and add it to the db table, well because of this might be useful to just allow staff to use the bbc ). then after posting the form, anyone could vote on it and see the rating.

karlbenson

You can't use forms inside posts. eg <form>
It will prevent quick reply/quick editing/quick moderation from working.

The alternative is to just use a dropdown and use javascript onselect event.

perro88

Lainaus käyttäjältä: karlbenson - marraskuu 25, 2007, 01:27:10 IP
You can't use forms inside posts. eg <form>
It will prevent quick reply/quick editing/quick moderation from working.

The alternative is to just use a dropdown and use javascript onselect event.
thanks for the explanation

Advertisement: