![]() |
Ask the 8ball
this is another one of those scriptlets i had collected that i modified to provide a bit of fun for my users but its giving me a bit of a problem, its completely functional, just the response to the question is being parsed to the top of the page rather than under the question
add a template called 8ball and insert the following PHP Code:
and then run it ie http://yoursite.com/forums/8ball.php you can see a working demo here |
augh, need to register :\
can you post a screenshot? |
sorry about that forgot i added in the user check to the 8ball system
here are the screen shots http://www.gamer-networks.com/forums/images/8ball-q.jpg http://www.gamer-networks.com/forums/images/8ball-a.jpg |
That answer doesn't look too hopeful :S
|
Quote:
|
Kool Hack but i get these errors on your forum???
Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site2/fst/var/www/html/forums/8ball.php:1) in /home/virtual/site2/fst/var/www/html/forums/admin/functions.php on line 1647 Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site2/fst/var/www/html/forums/8ball.php:1) in /home/virtual/site2/fst/var/www/html/forums/admin/functions.php on line 1647 Also the answer appears in the top corner?? |
Does that javascript work on ie5 and ns4 and opera & mozilla ?
|
Quote:
the header info you get on my forums is in the process of being hacked right now to support multiple cookies, just refresh it and it goes away. if anyone has an idea of how to get the answer to appear under the question i could really use it Xi the js should work on anything higher than ie 4 and ns 4, if the browser cnt use it , it should ignored, the js only provides the idiot correct of someone submitting a blank question d |
Quote:
|
Quote:
PHP Code:
PHP Code:
|
I like this hack alot and i have added more than a couple hundred different sayings to this 8 Ball. If someone else can create this hack to work with my 8 ball that i made with photoshop and insert the message inside the ball that would be awesome. That would be cool if there was a fading effect when you clicked the buttons after typing in your question and the page doesnt refresh to see you answer. Right when you click the button the 8 ball will fade to the answer. Is anyone with me on this one and willing to help?
|
You can look at my version here.
|
Can you please post your version. That would be great. It looks great. Thanks.
|
Îê. Everything in the txt file.
THANKS Dymo for the nice forum addon! |
This part is kindof confusing in your text file:
Step 2: Replace in 8ball.php the last section to: As is this part: include("./footer.php"); //may be in your case it should be deleted Can you please explain it a little better to this newbie? :) Quote:
|
If your forum is just VB page
Replace Dymo PHP Code:
PHP Code:
|
Ya but can the answer go somewhere else besides below the footer. I hate that part.
|
Quote:
PHP Code:
|
Ya thats what i have but the answer is below the footer on my site.
|
All times are GMT. The time now is 05:02 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:
|