vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=306589

Ranker - Advanced Poll Widget - Increase User Engagement/Traffic - EASY INSTALL!
by profanitytalker
04 Jan 2014 00:54

1 Attachment(s)
Hey vB.org

This is my first hack and I hope this increases your site activity/engagement/traffic. All your suggestions will be taken into account and will be 100% supported, so don't hesitate to post here. EASY INSTALL! :) Feedbacks HIGHLY APPRECIATED.

What is Ranker?
Ranker is a popular platform used by millions of people, that utilizes the wisdoms of crowds to deliver the best opinions possible about any topic where a list is the best answer. Anyone can participate simply by voting or reranking lists, and the more who do, the better the ranking gets. Our ranking algorithms have been honed by years of testing and study, and we have protections against gaming the system. Ranker has been featured on popular media like Forbes Magazine


What is the Ranker Widget:
The ranker widget is an embeddable list that livens up your forum content with a fun, votable list.

See the Ranker Widget in action:
http://personalitycafe.com/general-c...-emotions.html
http://community.ranker.com/babes-pa...red-heads.html

Popular Brands Using the Widget:
Forbes
Canadian Broadcasting Corporation
NextWeb
Movies.com
Complex.com
Spoilertv.com
SBNation
and more!


How the Ranker Poll Differs from vBulletin Poll
  • More engaging than a typical poll (Ability for users to add items after being published)
  • Offers more data points
  • Up and Down Voting.
  • Images next to the items
  • More customizations and options
  • Reach additional users from Ranker.

How Ranker helps your Forum/Site
Rankerís free widget is a fun way to add a unique poll to your site.

Increase user engagement
  • Websites that use the widget report see 15-50% user engagement on each poll and a time-on-page increase of 70%.
Easy to install
  • It's as easy to install as a YouTube embed!
More comments more return visits
  • These polls inspire passionate discussion and return visits to see if the rankings change, and sites that post polls as blog posts see 125% more comments than a typical post.
Rich data on your users
  • If you make regular lists for your users to vote on, we can provide you with rich data on your users' preferences.
More exposure for your site

Installation

Enable for your users
  1. Download the xml file attached to this post
  2. Go to your Admincp -> Plugins & Products -> Manage Products -> Add/Import Product
  3. To modify the Widget Width and # Items to display, go to Admincp -> Settings -> Options -> Ranker Widget Embedding

Creating a List and Embedding
  1. Go to Ranker.com
  2. Create an account
  3. Create a List
  4. After creating a list, click on the More Options -> Embed This List -> Click Get Started -> Once done customizing, click Done.
  5. While making a new post/thread, paste the Embed Code into the editor.
  6. Refresh the page after posting. Congrats! You now know how to embed a list.
  7. Here's a visual onhow to embed a Ranker List on your forum.

Embedding List to Forum Block (Like http://personalitycafe.com/forum/)
  1. Go to your Admincp -> Forums & Moderators -> Forum Blocks Manager -> Add Block -> Choose Custom HTML/PHP
  2. Title Your Block
  3. Under Content Type Choose "HTML"
  4. Paste the Ranker Widget Code into the "Content" form.
  5. Save

profanitytalker 04 Jan 2014 04:58

Embedding A List


Step 1: Go on the list page.

http://community.ranker.com/jasper/s...edlist/ss1.png




Step 2: Click on More Options
http://community.ranker.com/jasper/s...edlist/ss2.png


Step 3: Click on Embed This List


http://community.ranker.com/jasper/s...edlist/ss3.png


Step 4: Click Get Started
http://community.ranker.com/jasper/s...edlist/ss4.png


Step 5: Once done customizing, click Done.



http://community.ranker.com/jasper/s...edlist/ss5.png


Step 6: Copy the embed code.


http://community.ranker.com/jasper/s...edlist/ss7.png

Step 7: While making a new post/thread, paste the Embed Code into the editor.
http://community.ranker.com/jasper/s...edlist/ss8.png


Step 8 (Final): Refresh the page after posting. Congrats! You now know how to embed a list.
http://community.ranker.com/jasper/s...edlist/ss9.png

BirdOPrey5 05 Jan 2014 14:06

By default HTML in posts is disabled in VB4/VB3 and so pasting HTML code into a post won't work.

Enabling HTML can only be done (be default) on a per-forum basis so it is extremely dangerous to enable HTML is any forum untrusted users can post in. If you do enable HTML in a forum then please make sure only you or very trusted Admins have permission to post in said forums.

Edit- See explanation in next post.

profanitytalker 06 Jan 2014 01:18

Quote:

Originally Posted by BirdOPrey5 (Post 2472366)
By default HTML in posts is disabled in VB4/VB3 and so pasting HTML code into a post won't work.

Enabling HTML can only be done (be default) on a per-forum basis so it is extremely dangerous to enable HTML is any forum untrusted users can post in. If you do enable HTML in a forum then please make sure only you or very trusted Admins have permission to post in said forums.

Hmmm? This mod/plugin doesn't require you to enable HTML on the forum. It automatically converts the Ranker embed code into a tag.

T2x 06 Jan 2014 19:35

The mod apparently looks for ranker embed codes when posts are made and pulls out a few variables then generates a bb code tag which vbulletin automatically sanitizes.

When parsing the post for bbcode, if the user has image posting permissions it will generate this code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I can also see they are preventing xss injection in the href attribute by validating that the url conforms to this regex:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Alan_SP 06 Jan 2014 20:21

It would be great if you could make something like this (c&p from my request here: http://ozzmodz.com/showthread.php/53...m-with-threads)

Quote:

Originally Posted by Alan_SP (Post 950)
There was "mod" (now I see it's deleted) that mentioned integration with
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This site enables creating different lists, and users can vote in those lists, reranking them, adding items and many other things. Also, and this is reason why it could be useful, this mods allow that we easily create HTML 5 widget from each list.

If we could have list on first post (that's why I'm looking for good mod to do that), or even better, have widget to the right (or left), like sidebar in vB4 (but we can't actually use sidebar, as each thread should be connected to different Ranker.com's list), it would be great.

Anyway, my first option is to use mod that enables first post visible on every page. Even better, if we could have sidebar version.

Mod should connect widget code with each thread ID, show widget right (or left) of thread content and thus enable users to vote in a widget and to write in a thread.

This is how I envision it:

We could enable this mod only in certain forums. Only certain usergroups would be able to enter widget code, as it is HTML (preferably that we could use HTML 5 code in that), for security reasons.

After that, mod would show "normal" thread, with widget to the side, users would vote in a widget, write in a thread and we all be happy to the rest of our lives. :D

I hope you would make it into mod, I think this has great potentials.

My further explanation in different thread:

Quote:

Originally Posted by Alan_SP (Post 977)
Here you can see Ranker.com's widgets: http://www.ranker.com/widget/info.htm?ref=more

They are very vertical oriented, as you can see.

Imagine that thread is linked with certain list (term used on Ranker.com), i.e. we can see that Ranker.com widget of this certain list only when viewing this thread.

This widget is placed like sidebar in vB4, but only in threads, independently from sidebars. To link list (widget) and thread, we put widget code in form and it than changes postbit in such way that thread is narrowed making place for widget. Thread otherwise acts like normal thread, but displays widget left or right from thread.

And we can choose in which forums and which usergroups can enter widget code.

More or less, that's it in a nutshell.

It would make great integration and lists would be easily seen on every page of the thread all the time.

profanitytalker 06 Jan 2014 22:36

Quote:

Originally Posted by T2x (Post 2472660)
The mod apparently looks for ranker embed codes when posts are made and pulls out a few variables then generates a bb code tag which vbulletin automatically sanitizes.

When parsing the post for bbcode, if the user has image posting permissions it will generate this code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I can also see they are preventing xss injection in the href attribute by validating that the url conforms to this regex:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I appreciate verifying the plugin. Cheers to ya! :):up: We made sure that the plugin is safe to install. I think Birdsofprey was referencing the last post I made (no plugin) where I suggested to enable HTML on the board - which is a big no no.

profanitytalker 06 Jan 2014 22:56

Quote:

Originally Posted by Alan_SP (Post 2472665)
It would be great if you could make something like this (c&p from my request here: http://ozzmodz.com/showthread.php/53...m-with-threads)



My further explanation in different thread:



It would make great integration and lists would be easily seen on every page of the thread all the time.

Ooo. This is interesting. We'll play around and see what we can come up with. So basically a sidebar module within the thread that shows the widget correct?

davidatlas 07 Jan 2014 17:30

Hi. I went ahead and installed this on my board. My members love it. Do you know if we can add our own ads to these polls? That would be an interesting concept.

profanitytalker 07 Jan 2014 22:54

Quote:

Originally Posted by davidatlas (Post 2472826)
Hi. I went ahead and installed this on my board. My members love it. Do you know if we can add our own ads to these polls? That would be an interesting concept.

Hi David,

Thanks for trying out the plugin. I think revenue sharing is on the roadmap for the polls. Not sure though. I'll confirm with the developers.

davidatlas 08 Jan 2014 18:07

Thanks. If this is in the roadmap, it's going to help increase my forums revenue since my members have already been actively using it sitewide.

Alan_SP 08 Jan 2014 18:54

Quote:

Originally Posted by profanitytalker (Post 2472687)
Ooo. This is interesting. We'll play around and see what we can come up with. So basically a sidebar module within the thread that shows the widget correct?

Well, not sidebar module for use with built in sidebar, but something that looks like sidebar module. These threads with Ranker widget just would use different template, showing narrower thread content and thus making place for widget which is "static" as users scroll through thread.

I hope I make myself clear?

profanitytalker 09 Jan 2014 13:13

Quote:

Originally Posted by davidatlas (Post 2473031)
Thanks. If this is in the roadmap, it's going to help increase my forums revenue since my members have already been actively using it sitewide.

Still confirming David. I'm also going to ask the priority level on that. :)

Quote:

Originally Posted by Alan_SP (Post 2473046)
Well, not sidebar module for use with built in sidebar, but something that looks like sidebar module. These threads with Ranker widget just would use different template, showing narrower thread content and thus making place for widget which is "static" as users scroll through thread.

I hope I make myself clear?

I think I understand. Can you check this example out?
http://community.ranker.com/entertai...-get-into.html

Is that what you were looking for?

Alan_SP 09 Jan 2014 19:35

Quote:

Originally Posted by profanitytalker (Post 2473231)

No, not like this. Here's list on the right of contents of the first post, and only there.

I want it outside thread contents completely, like sidebar is, but I don't want to use sidebar, I only want to have lists there. And then lists would be visible everywhere, no matter what post people would be looking at.

I'm not good at making picture mockups, but I found something similar here: http://www.vbulletin.org/forum/attac...7&d=1260720141

You have a thread, which is narrower, making place at the right (or left) for lists. List is visible everywhere in this thread, in "fixed" position as we scroll through thread. I saw some sites with ads (or other elements) placed like that, you scroll through some text, but have something fixed left or right, which is easy to make with HTML tables.

But it needs to be linked with certain thread, that each thread has it's own list.

BirdOPrey5 09 Jan 2014 22:27

Quote:

Originally Posted by profanitytalker (Post 2472507)
Hmmm? This mod/plugin doesn't require you to enable HTML on the forum. It automatically converts the Ranker embed code into a tag.

Excellent. :)


All times are GMT. The time now is 02:50.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.