View Full Version : New look when the forum is OFF
BoYagoob
04-27-2006, 10:00 PM
Hello,
This is a very small modification and in the same time it is my first hack.
What it does: when you turn your forum off, the letters for what ever you write in the field for the reason of closing the forum will be moved (like typing).
Time to install: ~ 1 sec.
Demo: Click here (http://www.qataru.net/vb354/index.php).
How to install: in the field for the reason of closing the forum, just place the content with the following: (of course you can change the content reason). :)
<span id="typing">
Sorry, the board is unavailable at the moment while we are testing some functionality.
<br>
We will be back soon...
<br>
</span>
<script type="text/javascript">
interval = 100; // Interval in milliseconds to wait between characters
if(document.getElementById) {
t = document.getElementById("typing");
if(t.innerHTML) {
typingBuffer = ""; // buffer prevents some browsers stripping spaces
it = 0;
mytext = t.innerHTML;
t.innerHTML = "";
typeit();
}
}
function typeit() {
// mytext = mytext.replace(/<([^<])*>/, ""); // Strip HTML from text
if(it < mytext.length) {
typingBuffer += mytext.charAt(it);
t.innerHTML = typingBuffer;
it++;
setTimeout("typeit()", interval);
}
}
</script>
great!Actualy this is not a hack more or less.Looks like vb tip :)
Boofo
04-28-2006, 04:13 AM
Does this have any server draw?
And please post a text file. ;)
BoYagoob
04-28-2006, 04:31 AM
Thanks for installing and your replies :)
- Yes, it is not exactly a hack, it likes a vb tip as ZIKI-SET said.
- As you can see from the demo, I think it will not draw a lot from the server. Also, in the same time, the forum is closed, so no more load.
- a txt file was added.
Many thanks :)
Atakan KOC
04-28-2006, 05:56 AM
Nice. Thanks. install click ;)
great!Actualy this is not a hack more or less.Looks like vb tip :)
Indeed. To fit into this Forum, (as per the box at the top) it must use a hook.
Doesn't appear to use a hook to me..
Boofo
04-28-2006, 06:48 AM
Indeed. To fit into this Forum, (as per the box at the top) it must use a hook.
Doesn't appear to use a hook to me..
Why would you need a hook for this when all you have to do is replace the text with it?
You could use global_start, I would think.
EDIT: Ahhh, ok, I get what you meant. Sorry about that. ;)
Wrong forum.
Snake
04-28-2006, 12:50 PM
That's pretty cool! :)
Barakat
04-28-2006, 02:46 PM
Coooool . installed
klaush
04-28-2006, 03:14 PM
:-) Thanks! Fantastic idea! *installed*
BoYagoob
04-28-2006, 07:11 PM
You are more than welcome my friends :)
Kind regards ..
Boofo
04-28-2006, 07:33 PM
You are more than welcome my friends :)
Kind regards ..
I finally have a friend. I'm not sure how to handle this. :confused:
hehe ;)
BoYagoob
04-28-2006, 08:07 PM
I finally have a friend. I'm not sure how to handle this. :confused:
hehe ;)
LooooL .. :banana:
But writting "friends" is better than writting "enemies", isn't it? :D
hehehe :banana:
Boofo
04-28-2006, 09:11 PM
LooooL .. :banana:
But writting "friends" is better than writting "enemies", isn't it? :D
hehehe :banana:
But not nearly as engaging. ;)
Why would you need a hook for this when all you have to do is replace the text with it?
You could use global_start, I would think.
EDIT: Ahhh, ok, I get what you meant. Sorry about that. ;)
Wrong forum.
No problemo Sir.
(I saw a car with licence plate "BOOF". I thought of you. :) )
Boofo
04-29-2006, 07:02 AM
No problemo Sir.
(I saw a car with licence plate "BOOF". I thought of you. :) )
LOL I'll bet you were trying to get a look at the driver to see what I looked like, huh? ;)
The avatar made me really surprised when you turned out to be a hot blonde.
Surprised...and a tad disturbed. :P
Boofo
04-29-2006, 07:13 AM
The avatar made me really surprised when you turned out to be a hot blonde.
Surprised...and a tad disturbed. :P
You think you're disturbed, how do you think I feel wearing a dress? ;).
Holidazed
04-29-2006, 04:15 PM
This looks interesting. I would much rather see a style of my choosing show up when the forums are closed or a redirect to a url of my choosing when the forums are closed. That would be more useful to me.
Jaymee
05-26-2006, 05:41 PM
LOVE it! Installed
bada_bing
05-26-2006, 05:55 PM
Does not work in FF
Tralala
05-26-2006, 06:03 PM
Cool Thanks.
Tralala
05-26-2006, 06:05 PM
Does not work in FF
Works for me in Firefox (for Mac) as well as Camino...
Do you at least see the text (just without the typing effect?)
Great Tip, however:
This isn't a template modification... People that post outstanding tutorials don't get credit for installs (which is a shame).... Why should this?
BoYagoob
05-27-2006, 03:37 AM
Great Tip, however:
This isn't a template modification... People that post outstanding tutorials don't get credit for installs (which is a shame).... Why should this?
This is not a tutorial. "+_-
So, where do you think I should post it?
If you liked it, just click install. https://vborg.vbsupport.ru/external/2009/02/1.gif
This is not a tutorial. "+_-
So, where do you think I should post it?
If you liked it, just click install. https://vborg.vbsupport.ru/external/2009/02/1.gif
It's more of a "tutorial" than anything, it's a "how to". It doesn't belong in this area, it does not modify a template in any way.
No, I didn't install it, I was being "nice" by saying it was a great tip, I'm really not big on the typing... :p (it's called "be nice and tell them the bad news..." )
BoYagoob
05-27-2006, 04:11 AM
I know, but still you didn't mention any section where I can post my tip. :(
So, I posted it here ..
You're welcome:
https://vborg.vbsupport.ru/forumdisplay.php?f=110
I'm not trying to be rude but this does NOT qualify as a template modification. Period.
I've had staff bugging me for things that were very minute, and yet this is far from a template mod and is still here, go figure... (didn't Kall mention this fact? ) :p
peterska2
05-27-2006, 11:02 AM
Moved to Modification Hjints and Tips
(didn't Kall mention this fact? ) :p
Yeah, but that was before I was staff, and had this big stick, and Kerry-Anne to do it anyway.
:)
peterska2
05-27-2006, 11:14 AM
It can actually be done as a template mod, if done slightly differently, but as it stands this is the best forum for it.
Yeah, but that was before I was staff, and had this big stick, and Kerry-Anne to do it anyway.
:)
Sounds good. :) Thanks Kerry-Anne.
BoYagoob
05-27-2006, 12:53 PM
:(
Thanks for every thing ....
peterska2
05-27-2006, 10:53 PM
The template modifications forum is soley for items that require modifications to one or more template. As this is extra code to input into an existing textbox in the ACP, and does not require any template modifications, it does not qualify as a template modification but is rather a tip on how to do aomething a bit different with your site, hence it's location in the Hints and Tips forum.
BoYagoob
05-28-2006, 02:01 AM
No problem sir, and I am sorry for my mistake.
Boofo
06-03-2006, 12:33 PM
You mean "Ma'am", right? ;)
BoYagoob
06-03-2006, 12:44 PM
Who? & Where?
Boofo
06-03-2006, 12:52 PM
peterska2 is a "Ma'am", not a sir. ;)
BoYagoob
06-03-2006, 03:12 PM
Ops !
I am sorry .. hehehehehehe .....
I didn't know that she is a women .. :knockedout: :banana: :p
Many thanks Ma'am peterska2 :)
and also, thanks for you Mr.Boofo ;)
Boofo
06-03-2006, 03:15 PM
Ops !
I am sorry .. hehehehehehe .....
I didn't know that she is a women .. :knockedout: :banana: :p
Many thanks Ma'am peterska2 :)
and also, thanks for you Mr.Boofo ;)
No problem, sir. This was the dead give-a-way:
Real name: Kerry-Anne
;)
BoYagoob
06-03-2006, 03:18 PM
Nice to know that .. :)
Thanks a lot Boofo ;)
peterska2
06-03-2006, 03:27 PM
* peterska2 sneaks in to see why her name keeps being mentioned
ah, just debating my gender again, fair enough :p
* peterska2 sneaks back out again
Boofo
06-03-2006, 03:34 PM
That's just what we are debating in public about you. There is a whole other debate going on privately. ;)
peterska2
06-03-2006, 03:39 PM
That's ok then. I can live with that.
BoYagoob
06-03-2006, 03:50 PM
hehehehehe ...
Boofo don't talk about others in public hehehehe ..
we are sorry Ma'am peterska2 .. :)
Nathan2006
06-03-2006, 11:28 PM
Thank you BoYagoob
This make it looks really cool :D
BoYagoob
06-04-2006, 09:14 AM
You are more than welcome sir :)
Intocable
09-01-2006, 03:08 PM
Hello,
This is a very small modification and in the same time it is my first hack.
What it does: when you turn your forum off, the letters for what ever you write in the field for the reason of closing the forum will be moved (like typing).
Time to install: ~ 1 sec.
Demo: Click here (http://www.qataru.net/vb354/index.php).
How to install: in the field for the reason of closing the forum, just place the content with the following: (of course you can change the content reason). :)
<span id="typing">
Sorry, the board is unavailable at the moment while we are testing some functionality.
<br>
We will be back soon...
<br>
</span>
<script type="text/javascript">
interval = 100; // Interval in milliseconds to wait between characters
if(document.getElementById) {
t = document.getElementById("typing");
if(t.innerHTML) {
typingBuffer = ""; // buffer prevents some browsers stripping spaces
it = 0;
mytext = t.innerHTML;
t.innerHTML = "";
typeit();
}
}
function typeit() {
// mytext = mytext.replace(/<([^<])*>/, ""); // Strip HTML from text
if(it < mytext.length) {
typingBuffer += mytext.charAt(it);
t.innerHTML = typingBuffer;
it++;
setTimeout("typeit()", interval);
}
}
</script>
Loving it bro. Thank you so much ;)
rezapci
09-09-2006, 06:35 PM
thanks so much :) so useful :D
Thanks Abu Yagoob.
I've added it but I'd like to change the direction so it enters from left to right. My forum is in Arabic.
Morpherex
10-02-2006, 12:51 AM
I get a great big 404...
A picture would be much better.
edgecutioner
10-13-2007, 11:27 AM
yo nice little trick there. thanks... lemme guess, you are from Qatar University right?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.