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)
-   -   Easter Hack (https://vborg.vbsupport.ru/showthread.php?t=51776)

zajako 04-18-2003 08:05 PM

thanks thanks :]

Logik 04-18-2003 08:19 PM

No problem. Keep up the good work!

NuclioN 04-18-2003 10:58 PM

Funny hack :) I've put the $eggshow in the postbit as well. Does this mean by the default settings that these eggs can show up...in all of the topic/reply's?

Another question i have is the url to the egg.gif. Is the default correct if you have forum/images/easter/egg.gif ? Because if this is not right the members will search untill they die.

NuclioN 04-18-2003 11:33 PM

After starting the egghunt (testing it for easter) our members began to digg the whole forum for the eggs in postings and footers...but they're finding nothing. I've set the eggodds to 50 but nope..no egg. :(

zajako 04-19-2003 01:03 AM

Thats cause you can't put it in post bits.

Postbits use a function and functions only carry globals recalled.

To fix this in admin/functions.php
find:
function buildpostbit(

shortly under that you see a line that says
//users
global blah blah blah

just add $eggshow before the ; on that line

But this will show an egg in every post not just one.

If you want it to choose a random post ignore all that ijust said above then instead of having the coding in the global put it in the postbit function under the globals

If you do that be sure to set the random lower.

sonic3d 04-19-2003 01:43 AM

it doesn't work for me. i dunno what else to say

l8er
sonic

zajako 04-19-2003 02:24 AM

where did you put $eggshow
?

what did you set the odds to.

sonic3d 04-19-2003 02:27 AM

i put $eggshow in both the header and footer templates. i put my odds to both 100, 50, 1 and i went to all the pages at least 20 times.

l8er
sonic

zajako 04-19-2003 02:48 AM

odd, aim me at zajako3, i can try to work with you on it.

sonic3d 04-19-2003 02:52 AM

ok but i dont see u as online

aim: Ayman86

l8er
sonic


All times are GMT. The time now is 08:20 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.04536 seconds
  • Memory Usage 1,722KB
  • 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
  • (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