![]() |
thanks thanks :]
|
No problem. Keep up the good work!
|
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. |
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. :(
|
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. |
it doesn't work for me. i dunno what else to say
l8er sonic |
where did you put $eggshow
? what did you set the odds to. |
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 |
odd, aim me at zajako3, i can try to work with you on it.
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|