vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - Lucky Thread (https://vborg.vbsupport.ru/showthread.php?t=194820)

RTMdotORG 06-11-2009 06:06 PM

1 Attachment(s)
Working On Trying To Fix This For The Author...
As Was Said That The Same Error Was In 3.7...
The Best I Could Do So Far Was Make It Active For ALL Usergroups...
Here is The XML....

DobieGillis? 06-11-2009 06:17 PM

Quote:

Originally Posted by RTMdotORG (Post 1827765)
Working On Trying To Fix This For The Author...
As Was Said That The Same Error Was In 3.7...
The Best I Could Do So Far Was Make It Active For ALL Usergroups...
Here is The XML....

nice!

DobieGillis? 06-11-2009 06:21 PM

got it installed, just can't find a link to it. Is it a manual edit?

RTMdotORG 06-11-2009 06:45 PM

1 Attachment(s)
Ok, this looks like the only way to get this to work....

download and install the plugin provided....
the default usergroups.. are 2,5,6,7...
if you want different usergroups, you're going to have to edit the product....

go to edit templates>>>navbar>>
Find:
Code:

vbphrase[faq]</a></td>
Add After:
Code:

<td class="vbmenu_control"><a href="misc.php?do=lucky">$vbphrase[lucky]</a></td>
Open the Product
Find:
Code:

<defaultvalue>2,5,6,7</defaultvalue>
Change the usergroup id to your liking...

DO NOT CHANGE ANY SETTINGS FOR THIS MOD IN THE VBULLETIN OPTIONS, OR IT WILL RESET USERGROUPS...

DobieGillis? 06-11-2009 06:48 PM

Quote:

Originally Posted by RTMdotORG (Post 1827796)
Ok, this looks like the only way to get this to work....

download and install the plugin provided....
the default usergroups.. are 2,5,6,7...
if you want different usergroups, you're going to have to edit the product....

go to edit templates>>>navbar>>
Find:
Code:

vbphrase[faq]</a></td>
Add After:
Code:

<td class="vbmenu_control"><a href="misc.php?do=lucky">$vbphrase[lucky]</a></td>
Open the Product
Find:
Code:

<defaultvalue>2,5,6,7</defaultvalue>
Change the usergroup id to your liking...

DO NOT CHANGE ANY SETTINGS FOR THIS MOD IN THE VBULLETIN OPTIONS, OR IT WILL RESET USERGROUPS...


thanks mate!

Jamieinnh 06-11-2009 06:54 PM

Thanks for a great Mod and Thanks for the ones that help fix it to work with all the user groups!

Jamie

edytwinky 06-12-2009 08:46 AM

Still couldn't get this sucker to work. Crap

edytwinky 06-12-2009 08:04 PM

If I could get any help on this, it'd be greatly appreciated. I'm running vb 3.8.2.

Is there some LUCKY button that is supposed to pop up?

I'd like for this to work with usergroups: 6, 28, 29 and 32

I'd like for it to not use the forum ids: 9, 10, 12, 16, 17, 18, 22, 25, 29, 30, 32, 34, 37, 39, 43, 46, 55

RTMdotORG 06-12-2009 09:58 PM

1 Attachment(s)
Quote:

Originally Posted by edytwinky (Post 1828541)
If I could get any help on this, it'd be greatly appreciated. I'm running vb 3.8.2.

Is there some LUCKY button that is supposed to pop up?

I'd like for this to work with usergroups: 6, 28, 29 and 32

I'd like for it to not use the forum ids: 9, 10, 12, 16, 17, 18, 22, 25, 29, 30, 32, 34, 37, 39, 43, 46, 55

try this....

go to edit templates>>>navbar>>
Find:

Code:

vbphrase[faq]</a></td>
Add After:

Code:

<td class="vbmenu_control"><a href="misc.php?do=lucky">$vbphrase[lucky]</a></td>
and upload this xml, BUT DONT SUBMIT ANY SETTINGS IN THE VBULLETIN OPTIONS..THE XML I PROVIDED SHOULD WORK THE WAY YOU WANT IT TO :D

edytwinky 06-12-2009 10:31 PM

Thanks. I tried it and received this error:

PHP Code:

Database error in vBulletin 3.8.2:

Invalid SQL:
SELECT threadiddatelinevisible FROM xxxcthread WHERE NOT ISNULL(threadid) AND visible '1' AND thread.forumid NOT IN (0,17,18,29,30ORDER BY RAND() LIMIT 1;

MySQL Error   Unknown column 'thread.forumid' in 'where clause'
Error Number  1054
Request Date  
FridayJune 12th 2009 07:30:03 PM
Error Date    
FridayJune 12th 2009 07:30:03 PM
Script        
http://forums.xxx.com/misc.php?do=lucky
Referrer      http://forums.xxx.com/index.php
IP Address    68.102.23.100
Username      
xxx
Classname     
vB_Database
MySQL Version 
5.0.77-community 



All times are GMT. The time now is 07:38 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01160 seconds
  • Memory Usage 1,756KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete