PDA

View Full Version : Miscellaneous Hacks - TOF (Top or Flop) System


TheCatcher
01-01-2009, 10:00 PM
About this hack:
This addon allows to vote for a posting (Top or Flop). This will be visually displayed.
Please see the Pictures..

I am glad if her ideas have what to this Addon is absent; she writes to me. Mistake etc. of course also.

There is no Addon? Or you need a function? Write to me...


How to install?
import product...
Upload images
That's it.

How to config?
Go to your admin cp, then:
vBulletin Options -> TOF Settings


Changelog:
v1.5
- EN / DE language
- Minor bug fixes
v1.6
- The settings were reworked.
Global settings of TOF under (vBulletin Options-> TOF Settings)
For certain forums under (Forums & Moderators -> Forum Manager -> Edit Forum -> completely below)
- If delete a Thread or delete a User or delete a Posting, so the matching Votings deleted
- vBulletin Star-Voting can be deactivated
- Minor bug fixes
- completely 3.7. x and 3.8 compatibile


Other:
Design-Mods of TimberFloorAu (https://vborg.vbsupport.ru/member.php?u=252664) find here: Link1 (https://vborg.vbsupport.ru/showpost.php?p=1705654&postcount=35)- thanks




Suggestions: If you have a suggestion about this modification, please get in touch
Donations: If you want to donate please click "Support Developer"

glorify
01-02-2009, 05:46 PM
Looks promising. Like to see the images/ratings look like the ones in this (https://vborg.vbsupport.ru/showthread.php?t=150751&highlight=digg) mod. I'll keep watch :)

ogameclub
01-02-2009, 06:05 PM
Suggest images:

TimberFloorAu
01-02-2009, 06:13 PM
will this work on 3.7.4

TheCatcher
01-02-2009, 06:17 PM
will this work on 3.7.4
Yes this Addon is works under vB 3.7x

TimberFloorAu
01-02-2009, 06:20 PM
will give it a whirl, thanks

TimberFloorAu
01-02-2009, 06:21 PM
I am presuming this is a Hot or Not type thing ?

Could you explain how we invoke the english version , en_language file included, but where and how do we initiate it?

Spank
01-02-2009, 06:35 PM
Does this or can this replace the star ratings?

chesterano
01-02-2009, 06:42 PM
THX very goog mod ~install~

TimberFloorAu
01-02-2009, 06:45 PM
ANy suggestions as to implementing the English bit please

removing until coder can explain english version, as its causing DB errors for non registered users.

Thanks

M4GN3T
01-03-2009, 11:55 AM
What can be topped or flopped? Threads? Posts? Users?

TheCatcher
01-03-2009, 12:03 PM
What can be topped or flopped? Threads? Posts? Users?
The description is flawed (to be fixed). Sorry. It may be the contributions of the users will be assessed.

TimberFloorAu
01-05-2009, 07:12 PM
Anyone got this working yet, and an english version going ?
Perhaps even a link to their site for us to "demo" it.

TheCatcher
01-06-2009, 01:17 PM
Does this or can this replace the star ratings?
I will consider there something for the next version


ANy suggestions as to implementing the English bit please

removing until coder can explain english version, as its causing DB errors for non registered users.

Thanks

The DB error fixed! Thx

Now the product is completely available in in English

TimberFloorAu
01-07-2009, 12:31 AM
I will consider there something for the next version




The DB error fixed! Thx

Now the product is completely available in in English

Will give it one more try thanks. I noted last time we integrated it, all sub forums threw db errors.

Will try now

Ste

TimberFloorAu
01-07-2009, 12:46 AM
Works like a dream.

Just need to sort the font colour for it, and the graphics now :)

rob01
01-07-2009, 12:55 AM
so is another type of thread rating?

TheCatcher
01-07-2009, 01:02 AM
Works like a dream.

Just need to sort the font colour for it, and the graphics now :)
I am pleased to read!
As for the graphics are concerned, I am unfortunately not a graphic artist

Then klick plz "Mark as installed"

Brandon Sheley
01-07-2009, 01:30 AM
nice mod, may add this for our new wordpress styles (http://forum.vbulletinsetup.com/f192/) section

TimberFloorAu
01-07-2009, 01:45 AM
Only issue I have is, the actual vote up / vote down appears on chief first post on all forums.

Even tho i have specified the actual forums, for it to work in.

Any suggestions ?

TheCatcher
01-07-2009, 01:59 AM
have you "Should TOF in all Forums displayed?" off?

TimberFloorAu
01-07-2009, 02:31 AM
have you "Should TOF in all Forums displayed?" off?

WIll check. LOL

Im bad ! Sorry, thanks mate

TimberFloorAu
01-07-2009, 02:43 AM
Can we set a timelimit between voting up a thread, ie at the moment you vote. Thats it ( would seem )

Could we say put in a delay between re-votong the same thread of say 3600 seconds. As threads progress, the necessity to re-vote in our case is paramount.

Appreciate help, incidentally have changed my graphics for the + and -

Will include them.

Also gonna change the thread feedback graphic.

Ste

TimberFloorAu
01-07-2009, 07:32 PM
Love this mod, but it is creating some confusion.

I get it that If the thread has 18 positive votes, and a person gives a negative vote the vote score = 17

So can we change the system as such. Obvious from the graphics I have produced in thread view.

Ste

The second graphic with thumb up and thumb down is what I want to achieve. But does involve changes to code, can you help please.

TimberFloorAu
01-07-2009, 10:35 PM
This is a nifty way of rating a thread too.

http://www.dailymail.co.uk/news/worldnews/article-1106443/Caught-camera-Elderly-armed-man-races-police-seconds-gunned-down.html

Scroll down to comments.

TimberFloorAu
01-07-2009, 11:10 PM
Added new Vote Images for thread.

Does mean slight code changes to xml tho.

Images below.
My XML ( hope this doesnt offend Coder :) )


****Reuploaded Product with changed padding ****

TheCatcher
01-07-2009, 11:27 PM
Hey, nice. Looks good! Thank you!

Edit

With the next Udate I take up this post on top in the Mod description with, thus everybody it can see. If you have nothing against it.

TimberFloorAu
01-08-2009, 12:15 AM
Hey, nice. Looks good! Thank you!

Edit

With the next Udate I take up this post on top in the Mod description with, thus everybody it can see. If you have nothing against it.

Sure mate :)

More than welcome this is a good MOD !

Possibly make it clearer where to upload images to, as filepath is forum/stylename/misc/

Just need to sit the VOTE COUNT down a little bit, I presume this is by changing padding :)


Edited line 60 ( english product version )

<div style="color:#000;font-size:15px;font: segoe ui;background:url($stylevar[imgdir_misc]/bg_tof.gif) no-repeat;width:52px;height:75px;float:left;text-align:center;padding-top:15px;"><strong id="tod_count_$post[postid]">$post[tofvalue]</strong></div>

Changed padding-top:15px;

Sits perfect now.

TimberFloorAu
01-08-2009, 12:56 AM
PSD included if anyone wants to addapt, and for coder to re-use and distribute

alehawk
01-08-2009, 04:40 PM
Hi, I installed this mod and it works. I see the tof inside the post, I vote, but when I go to forumdisplay I cant see the possitive or negative vote, only inside the post.
How can that be fixed?
Tnx

alehawk
01-08-2009, 04:50 PM
I got it working now but what I see is that there will be always a green positive rate also then there are no votes (no rating) or 0 votes, how can I chang it so if there are 0 votes the positive or negative picture and vote count isnt displayed?
tnx!

TheCatcher
01-08-2009, 08:50 PM
Does this or can this replace the star ratings?
Yes, with current version

Sure mate :)
Now, then look sometimes completely on top under "Other:" :-)

TimberFloorAu
01-08-2009, 09:10 PM
Hi, I installed this mod and it works. I see the tof inside the post, I vote, but when I go to forumdisplay I cant see the possitive or negative vote, only inside the post.
How can that be fixed?
Tnx

In forum display you are viewing the forums, which could contain 100's and 1000's of threads.

Each of which could have a TOF graphic, so it would be impossible to display them in forumview.

Within threadview tho, you can at a glance see all threads and the graphic associated with the TOF mod, and the active feedback scores for each thread, as voted for by your members.

Its actually a very tight method.

However, with some ingenuity, you could possibly have this displayed as a "Forum View Feedback" mod also, please propse this to the Coder.

TimberFloorAu
01-08-2009, 09:10 PM
Now, then look sometimes completely on top under "Other:" :-)

Thankyou, much appreciated :)

TimberFloorAu
01-08-2009, 10:20 PM
I have upgraded my 1.6 version xml

Please find product attached ( coder please check this is ok ) just template changes

TimberFloorAu
01-08-2009, 10:41 PM
I have the 1.5 product installed.

I have it set that people can vote on each post, but in so doing this, the collaborative vote count, disappears from thread view.

Any suggestions as to how we can implement this.

So.

In thread view, in say forum > Apples.

No graphic is displayed now, showing how many votes the thread has received.

Because I have it so, all posts within the thread can be voted on.

So , can we tweek it so that the cumulative vote count within the thread, from individual posts within that thread, invoke the vote count in threadview?

Ste

TheCatcher
01-08-2009, 10:46 PM
Jo is OK :-) nice! Maybe you should also suspend over again the graphics, if somebody does not pursue carefully the contributions!

I edit my product post

TimberFloorAu
01-09-2009, 02:07 AM
Could this be done.

In Threadview a CUMULATIVE total is displayed either + or -
In postview, every reply has option for feedback.
The thread starter vote icon, updates with the total of every single vote within that thread.

So if reply 2 gets 3 +'ve
reply 4 gets 9 +'ve

Then the threadstarters vote displays +24

Thus: each time, someone votes on a REPLY, the original thread-starter count increases by 2. The reply increases by 1
If someone gives a negative, it reduces the REPLY they gave a negative by 1, but not the entire thread.

Could this be achieved. ?

If so, this is very much heading for a Mod of the Month in my humble opinion.
Also need to (in New product ) offer specific forum usage, rather than global on or global off.

TimberFloorAu
01-09-2009, 05:27 AM
*******************************
Slight Issue that could be caused by this mod.

Have tested this in forums without the mod in action and others with it in action. It only occurs for forums with this mod enabled.

When re-editing a post, and clicking save... nothing happens. The ajax loader for the post keeps spinning.

However a page refresh, or ctrl+f5 solves the problem, however it must be glitch between this and perhaps another mod, or just this mod. Could someone else try this and report back.

I am 3.8.0

***FIXED*** required the VBSEO patch for vb 3.8.0

Sorted

redlabour
01-09-2009, 06:32 AM
Any change to get Reputationpoints counted for votings?

alehawk
01-13-2009, 01:08 PM
In forumdysplay.php I see is that there will be always a green positive rate also then there are no votes (no rating) or 0 votes, how can I change it so if there are 0 votes the positive or negative picture and vote count isnt displayed?
tnx!

Iceburg22
01-20-2009, 03:16 AM
nice, thanks

pressed install and nominated for MOTM

rob01
01-20-2009, 05:53 AM
you will add a Forum View Feedback stuff?

t.uzuner
01-24-2009, 10:46 PM
hi friend;
thats greats mod NOTM. But i want replace rate images where ise height and wight options?

t.uzuner
01-24-2009, 11:15 PM
hi repeat;
i chanced x_tof_postbit themes
thanks a lot

jetnet
03-16-2009, 12:09 PM
For some reason, I can not find where to set "Enable For all Forums". I really need to only have it turned on a few forums, but not all of them. (I can not find ANY of the TOF settings, except for when I edit a forum, its at the bottom. Where is the main admin screen?)

marcut
03-31-2009, 12:37 AM
Is there a way to add more than one point? Because the way I'm using it I need it that way.

bold
08-20-2009, 05:07 AM
When I do the 'sort option' how can I get it to sort all of them except the first post?

manzak
04-27-2010, 10:23 PM
I add very super. Thank you I am satisfied.

haytham
05-01-2010, 09:25 AM
Nice. Will install now and see. Thanks.

haytham
05-01-2010, 09:43 AM
Installed and nominated. I like it very much. Good work.

mavigul
09-30-2010, 06:00 AM
can you design this mod for vb4

TheCatcher
09-30-2010, 06:38 AM
vB4 is garbage

Veer
09-30-2010, 12:21 PM
:d lol

ehsanix
12-08-2010, 12:30 AM
vb4 pls

FreshFroot
12-09-2010, 09:09 AM
vB4 is garbage

I agree with you.. it's a total MESS

:d lol

I guess that means you agree with him? :p

vb4 pls

Did you not read his msg. vB4 is crap and there is no way he will port it.

I advise you degrade to vB 3.8.7

marshal_ramdev
12-10-2010, 03:30 PM
thanks ..

SBlueman
12-11-2010, 11:49 PM
Could there be an option to show a gray icon when no top of flop has been selected by members?

bartek24m
08-19-2013, 06:21 PM
useful option to see who and how to vote, along with statistics on profiles ;)

crumblepie
10-02-2014, 02:42 PM
Just what I was looking for! You are the best, thank you!

Those who want to see an English demo - have a look here (http://dirvine.com/forumdisplay.php?f=127).