vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Post of the Day (https://vborg.vbsupport.ru/showthread.php?t=53170)

Dan 05-20-2003 07:16 PM

Interesting hack... may install it sooner or later... but I know what zajako is saying :D

[high]* Dan clicks install[/high]

bigwest 05-20-2003 09:00 PM

I am having trouble with #6 in the instructions.

Every time I add the code I get fatal errors in my admin screen.

bigwest 05-20-2003 09:17 PM

OK... I think I have it fixed.

Is there a way I could let Super mods and mods also pick POTD?

lordofgun 05-20-2003 11:05 PM

What did you do to fix it, bigwest? I'm having the same problem.

In answering your question, I think you can just add if

($bbuserinfo['usergroupid'] == 6 OR $bbuserinfo[usergroupid] == 5) to add usergroups to be able to pick POTD.

lordofgun 05-20-2003 11:16 PM

Quote:

Today at 06:00 PM bigwest said this in Post #12
I am having trouble with #6 in the instructions.

Every time I add the code I get fatal errors in my admin screen.

I'm having the same problem in 2.2.6.

Can anyone help? Thanks in advance! Incredible hack!

filburt1 05-20-2003 11:22 PM

No offense but I'm not psychic: what are the errors? :)

lordofgun 05-20-2003 11:28 PM

LOL...no offense taken.

Parse error: parse error, unexpected '(', expecting ',' or ';' in /home/keith/billszone.com/fanzone/admin/functions.php on line 67

Fatal error: Call to undefined function: getuserinfo() in /home/keith/billszone.com/fanzone/admin/sessions.php on line 324

EDIT: Keep in mind I'm on 2.2.6. Thanks again. ;)

lordofgun 05-21-2003 12:08 AM

NM...figured it out. I just placed what you said after the next semi-colon.

lordofgun 05-21-2003 12:31 AM

Just a quick qestion...is this really server intensive? My index page seems to be loading a lot slower.

bigwest 05-21-2003 01:14 AM

Quote:

Today at 02:08 AM lordofgun said this in Post #18
NM...figured it out. I just placed what you said after the next semi-colon.
Yea... that is what I did as well.


All times are GMT. The time now is 07:53 PM.

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.02728 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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