Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Latest Addons
AD Gallery 58
SyntaxHighlighte... 51
Newsletters v4.03 112
Facebook Like Box 127
Newsletters v4.02 58
Metro 164
Facebook Connect 171
Shoutbox Panel 128
Redactor for PHP... 106
MI Floating Side... 109
Facebook Login/R... 154
Avatar Studio v2.03 179
Relationship Sta... 98
Sexual Orientati... 116
Fisherman 143
Popular Addons
iTheme2 5804
Arise 5791
User Control v1.23 4621
Event Calendar 4051
Photowidget panel 3888
Radio-Theme red2... 3357
Highslide Gallery 3315
CSS/JavaScript D... 3231
Facebook Connect... 2986
Dynamic Menu 2893
Slideshow Lightb... 2721
L-AMANT 2659
Enigma 2636
2Dark 2606
Black 2579
View Thread
Official Home of PHP-Fusion » General Addon and Modification Support » Ideas for Modifications and Requests
Who is here? 1 guest(s)
 Print Thread
Welcome Panel
jford2282
Hello, is it possible to display the welcome panel for so many seconds then have it go away?
 
www.buffalo66.uphero.com
Ankur
I don't think so... This Javascript will Hide the Welcome panel text if you have given some id in the div of welcome introduction... But not the Tab showing Welcome, i.e having class as capmain

add_to_head("<script type='text/javascript'>

function hide()
{
document.getElementById('welcome').style.display = 'none';
}

window.setTimeout(hide,2000);
</script>");

ankurthakur.co.cc/images/freelancer.png
 
http://ankurthakur.in/
Craig
what's wrong with using...

Just copy the js name it something else and change the time.

Download source  Code
<div id='close-message'>blah</div>



 
http://www.fusiontube.co.uk/
jford2282
Alright thanks Ankur, i'll take a look into that
 
www.buffalo66.uphero.com
Ankur
But how will we Close the Title...? I mean the Capmain where title of Panel is displayed ?
ankurthakur.co.cc/images/freelancer.png
 
http://ankurthakur.in/
jford2282
Fangree_Craig wrote:
what's wrong with using...

Just copy the js name it something else and change the time.

Download source  Code
<div id='close-message'>blah</div>




This looks like it will just close just the message thats in the welcome panel or if the message closes then the welcome panel will close with it?
 
www.buffalo66.uphero.com
MarcusG
Download source  Code
echo "<div id='close-message'>";
opentable("Welcome");
echo "blah";
closetable();
echo "</div>";



Ex Senior Dev.
 
http://phpfusion.marcusg.de
Craig
Upload and overwrite welcome_message_panel.php with this one....
Download source  Code

<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2010 Nick Jones
| http://www.php-fu...
+--------------------------------------------------------+
| Filename: welcome_message_panel.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licen... Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
echo "<div id='close-message'>\n";
opentable($locale['global_035']);
echo stripslashes($settings['siteintro'])."\n";
closetable();
echo"</div>\n";
?>



 
http://www.fusiontube.co.uk/
jford2282
MarcusG wrote:
Download source  Code
echo "<div id='close-message'>";
opentable("Welcome");
echo "blah";
closetable();
echo "</div>";





so many different responses!

this seems pretty reasonable and easy i'll give this a shot as well


And thanks again for all your help. Always get the help i need from the Staff team and Admins.
 
www.buffalo66.uphero.com
Ankur
Oh Yeah !

I forgot that there also exist some kinda Welcome Panel :P LOL me !

Yeah ! It must work ! ;)

----------------------------------

Edited :

Also, you can set the time in milliseconds ! Default is 2000 = 2 Seconds !
window.setTimeout(hide,2000);


----------------------------------

Edited :

No No ! You can use Fangree's Code if you are using the default welcome panel !
ankurthakur.co.cc/images/freelancer.png
 
http://ankurthakur.in/
Craig
The one in my post is for the Welcome message panel like you asked.
 
http://www.fusiontube.co.uk/
jford2282
Fangree_Craig wrote:
The one in my post is for the Welcome message panel like you asked.


Trying it out now
 
www.buffalo66.uphero.com
Craig
Let me know if you need any improvements, I a am always up for a new challange and if it means I learn how to write something new then all the better.

Does that mean I will need to learn how to code that JavaScript Stuff or what do you call it Ajaz?
 
http://www.fusiontube.co.uk/
jford2282
jford2282 wrote:
Fangree_Craig wrote:
The one in my post is for the Welcome message panel like you asked.


Trying it out now



I tried that Fangree and it didn't seem to work, the welcome panel still sits on the page.
 
www.buffalo66.uphero.com
Craig
Let's try this bad boy. ;)

Download source  Code
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2010 Nick Jones
| http://www.php-fu...
+--------------------------------------------------------+
| Filename: welcome_message_panel.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at http://www.gnu.or...agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
add_to_head("<script type='text/javascript' src='".INCLUDES."admin-msg.js'></script>");

echo "<div id='close-message'>\n";
opentable($locale['global_035']);
echo stripslashes($settings['siteintro'])."\n";
closetable();
echo"</div>\n";
?>



 
http://www.fusiontube.co.uk/
jford2282
Worked Perfect, Thanks alot...check it out at www.pcknowledge.info, sry for the slowness..it's a free host what can u expect!!
 
www.buffalo66.uphero.com
Craig
Yeh nice man.

BTW you really need a new host, I can never get on your site when I try and when I eventually get on I go to releoad and I must wait another 10 days for it to load. lol
 
http://www.fusiontube.co.uk/
jford2282
Fangree_Craig wrote:
Yeh nice man.

BTW you really need a new host, I can never get on your site when I try and when I eventually get on I go to releoad and I must wait another 10 days for it to load. lol


Lol sry about that, i have tried other free hosts and seems they are all the same for speed, once i get situated and comfortable spending the money and approved by the wife Wink it will be on a better hosting service cause i am actually getting annoyed with it as well.

If anyone has a free host site where the speed is nice, please let me know..For now i just have to keep testing and making the site how i want it with this free host. Unlimited space was the reason why i took this host btw.. www.squareserve.com
 
www.buffalo66.uphero.com
Craig
Here you go man...

http://www.php-fu...rowstart=0
 
http://www.fusiontube.co.uk/
jford2282
Fangree_Craig wrote:
Here you go man...

http://www.php-fu...rowstart=0


Thanks, i see one that i'm gonna try out.
 
www.buffalo66.uphero.com
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Birthday panel Panels and Infusions 1 21-05-2013 21:12
Link panel to another subdomain Content Administration 3 19-05-2013 08:50
Stop Forum Spam Panel Official releases [Panels] 14 12-05-2013 19:51
edit login side panel. Content Administration 3 10-05-2013 18:45
Theme Control Panel Content Administration 2 08-05-2013 13:19
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel byVenue