Lucky Thread

Scaper123

New Member
Lucky Thread

This hack redirects the user to a various thread when they click "Lucky" button on the navbar. This is like Google's lucky button. Let's see what is your lucky subject.

install

Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-lucky.xml' from your computer then press 'Import'

Modifications Info

Plugin : 3
Phrases : 1
Template : 1
Setting : 0


Versions:
v1.0 - 22 Octaber 2007
-First release

v1.1 - 28 Octaber 2007
- Query error fixed
- Setting Added
- Usergroup permisson added
- Disallow forum ID added
- Forum permisson added
- On/Off added

v1.2 - 20 December 2007
- vBulletin 3.7
- Project name change "Lucky Button => Lucky Thread"
- Small Phrase change

v2.0 - 12 Octaber 2008
- vBulletin 3.8

Download Now
 
Invalid SQL:
SELECT threadid, dateline, visible FROM cp_vb_thread WHERE NOT ISNULL(threadid) AND visible = '1' AND thread.forumid NOT IN (0,33,34,30) ORDER BY RAND() LIMIT 1;

MySQL Error : Unknown column 'thread.forumid' in 'where clause'
Error Number : 1054


What's wrong with it?
 
thread.forumid
could it be the situation, that query don't add prefix to table here.
we have 'thread.forumid' instead of 'vbprefix_thread.forumid'. or I'm completely wrong?

UPD:

so you got en error here. take this fixed one!
works perfect!

v2.0.1 - 10 February 2009
- vBulletin 3.8
- Fixed bug with table prefix.
 
actually i just recently in the past ten mins fixed this....
install this one....that one and the one on vb.org doesnt save your usergroup settings, making it not function...here is the fix i did....
 
Back
Top