View Full Version : Lucky Thread
Atakan KOC
20 Dec 2007, 15:50
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.
Mark as Installed (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=165704) - Nominate for MOTM (http://www.vbulletin.org/forum/vborg_miscactions.php?do=nominate&threadid=165704&type=1)
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
Mark as Installed (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=165704) - Nominate for MOTM (http://www.vbulletin.org/forum/vborg_miscactions.php?do=nominate&threadid=165704&type=1)
Manuel Template Change
Open navbar template
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
add below
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Atakan KOC
20 Dec 2007, 15:51
v1.2 - 20 December 2007
- vBulletin 3.7
- Project name change "Lucky Button => Lucky Thread"
- Small Phrase change
katilkuzu
20 Dec 2007, 15:51
hmm reserved... i ll try
kaptanblack
20 Dec 2007, 16:13
Thanks
Many thanks for the release!
yahoooh
20 Dec 2007, 18:58
can be depend in usergroup?
semauae
20 Dec 2007, 18:59
thnx
I want to choose the luky thread from the new threads only
can I ?
hornstar1337
21 Dec 2007, 03:49
Just wondering, will this try and send a normal member into a staff only section (but give them the no permission error) OR will it only send them to forums they have permission to view in the first place.
blastup
21 Dec 2007, 07:38
i like this idea.. is there a way it can be turn to include just the thread id..just a group of threads that it will display random from .. it would be to much of a hassle to then to exclude all of the categories. let me know asap thanks
Mazinger
21 Dec 2007, 11:31
Does this work on 3.6.8?
Does this work on 3.6.8?
Check this out: http://www.vbulletin.org/forum/showthread.php?t=160816
Thanks Atakan
Traxdata
30 Dec 2007, 20:11
does not work for me on 3.7.b3.
product installed, navbar changed - no problems at all. but when i click on lucky thread in my navbar then all is see are my smilies. changed location for lucky thread in navbar - still the same. my other members can confirm it.
in acp i disallowed some forums and afterwards all usergroups were unselected. tried to select _ without luck. when i click on save i see unselected usergroups again. very strange.
product disabled.
does not work for me on 3.7.b3.
product installed, navbar changed - no problems at all. but when i click on lucky thread in my navbar then all is see are my smilies. changed location for lucky thread in navbar - still the same. my other members can confirm it.
in acp i disallowed some forums and afterwards all usergroups were unselected. tried to select _ without luck. when i click on save i see unselected usergroups again. very strange.
product disabled.
Same issue. Worked right once, then stuck on smilies
i got same problem too. If it works properly that would be great hack ;)
this needs to be fixed or scrapped.
vanpelt
09 Mar 2008, 06:30
It works for me. I've called it 'Lucky Dip". Thanks for the mod.
mgurain
21 May 2008, 07:25
Just wondering, will this try and send a normal member into a staff only section (but give them the no permission error) OR will it only send them to forums they have permission to view in the first place.
same,,
This is not working for me on 3.7.1
I imported the xml, did manual template edits. For one thing, nothing shows up in navbar. Second, the vboptions > luck thread area does not save my settings. I check the admin, mod, super mod and member usergroup. Click save. It refreshes, then nothing is checked.
Also, the plugin is enabled/active. On top of that, if I manually add the link on forumhome side column, it shows up. However, clicking the link takes me to the smiley list page instead. VBSEO conflict?
aykolandforum
02 Jun 2008, 12:48
thanks..
I can confirm vbseo is not causing this as the link still redirects to smiley list page when vbseo is disabled.
Anyone else have this problem?
Opserty
04 Jun 2008, 16:56
Try this...
AdminCP > Plugins & Products > Plugin Manager
From the list look for:
Lucky admin_options_processing [Edit] [Delete]
Click [Edit].
Change the PHP Code (the bit in the big box) to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
It should work, I hope.
Try this...
AdminCP > Plugins & Products > Plugin Manager
From the list look for:
Click [Edit].
Change the PHP Code (the bit in the big box) to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
It should work, I hope.
Thank you. Unfortunately it still redirects to the smiley list.
Opserty
05 Jun 2008, 13:18
Make sure you re-save the settings for the modification in vBulletin Options. It works for me on 3.7.1
<defaultvalue>2,5,6,7</defaultvalue> that gives permission to some usergroup
what i done is i put all the usergroups number and save it and than import is as a product.
try to install attachment if it doesnt work i cant say anything else ;D
anyway it works for me properly
Opserty
06 Jun 2008, 10:04
binevi did you try the instructions I provided? If you did, did they work? (Your method won't allow you to change settings for this product in future).
Ninth Dimension
06 Jun 2008, 13:17
There is an error in the code in one of the plugins.
Edit the 'misc_start' code within the plugin manager and replace with this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
If you want to know what I've changed, you'll see a new " . TABLE_PREFIX . " contained within this section of code
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I hope this helps someone :)
binevi did you try the instructions I provided? If you did, did they work? (Your method won't allow you to change settings for this product in future).
There wasnt any explaination when i installed this product. thats why i find it by my self. I tried your method it works ;)
formunda
07 Jun 2008, 10:53
Thanks Atakan :)
ErrorLog
25 Jul 2008, 11:49
Eyvallah Atakan KOÇ !!
İnstalled =}
PoetJA-1975
05 Aug 2008, 09:31
Try this...
AdminCP > Plugins & Products > Plugin Manager
From the list look for:
Click [Edit].
Change the PHP Code (the bit in the big box) to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
It should work, I hope.
Thanx = Now works wonderfully on 3.7.2 PL1
Thanx ATAKAN :)
Jacquii.
yingzhou
19 Aug 2008, 15:01
interesting!!!
I don't know what happened but I'm still getting redirected to the smiley page. It was working fine until today when I noticed it happening.
I applied osperty's method, did not work.
When I originally uploaded the template, I first changed all reference of the word "lucky" to "stumble" instead as we Christians do not believe in "luck".
Anyway, template is called "stumble" in the template list as it was and should be.
The code in the plugin is this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
The template called "stumble" has this
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Would appreciate help on this. Thanks.
Would appreciate any help on this.
vithorius
18 Oct 2008, 23:45
This is an interesting Mod, but I see that there is not much support from the coder, right...?!? :confused: :(
I would like to install it, but it would have to have some way to disable some of my sub-forums... (I really would not like to have Classifieds on the "Lucky Thread")
Uninstalled since it does not work.
vBulletin® v3.6.12, Copyright ©2000-2009, Jelsoft Enterprises Ltd.