Previous Thread
Next Thread
Print Thread
Rate Thread
Finished-[6.5] Splash screen 1.0
#282173 11/21/2004 9:36 AM
Joined: May 2001
Posts: 550
Anno Offline OP
Code Monkey
OP Offline
Code Monkey
Joined: May 2001
Posts: 550
Mod Name / Version: Splash screen 1.0

Description: This mod displays a "splash screen" before a post can be made in order to remind the user of the board rules or whatever you wish your users to be reminded of.

Example:
[]http://img35.exs.cx/img35/9493/Clipboard3.th.gif[/]

Working Under: Written under UBB.Threads 6.5 but probably works also under earlier versions.

Mod Status: Finished

Any pre-requisites: none

Author(s): Anno

Date: 11/21/04

Credits:

Files Altered: newreply.php
newpost.php

New Files: splash.php
a default splash screen file
a file for each forum you want to display a forum spcific splash screen

Database Altered: no

Info/Instructions: Instruction and files are in the attachment.

The default.html file contains the text that is displayed if no special file exists for the particular forum.

If you want to not display the splash screen in a particular forum, you can exclude it by including
$NoSplash['forum4'] = "yes";
in splash.php where "forum4" is the keyword of the excluded forum.

Specify the Title of the splash page by modifying the $pagetitle variable in splash.php.

The conditions for the display of the splash screen are done by modifying the splash.php file.

You can specify
- the minimum amount of post the user has to have
- the minimum time since registration
- the maximum time that has passed from the last post in the same forum(if set to ~1 hour this basically prevents showing the splash screen sveral times in a row if the user makes several posts in a forum)

Some examples:
Example 1:
You want to display the splash screen only to complete newbies until they have 10 posts regardles of have long they have been registered for, and you want the screen display every time they make a post, regardless of when they made the last post,then you would choose theses settings:

$PostsReq['forum1']=10;
$DaysReq['forum1']=0;
$LastReq['forum1']=0;

Example 2:
You want to display the splash screen to everybody, always, regardless of the number of posts or how long they have been registered for, but you want to display it only once per "posting session"(=only if the last post in the same forum was more than 1 hour back):

$PostsReq['forum2']=1000000;
$DaysReq['forum2']=1000000;
$LastReq['forum2']=1;

Example 3:
You want to display the splash screen to newbies for the first 30 days since registration, regardles of the number of posts. You want to display it only once per per "posting session"(=only if the last post in the same forum was more than 1 hour back):

$PostsReq['forum3']=0;
$DaysReq['forum3']=30;
$LastReq['forum3']=1;

If you want the mods or admins or both to be excluded from being shown the splash screen, uncomment the 2 conditions in the splash.php, lines 59 and 60:
// && ($user['U_Status'] != "Administrator")
// && ($user['U_Status'] != "Moderator")

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.

Attached Files
123255-splash.zip (0 Bytes, 283 downloads)
Sponsored Links
Re: Finished-[6.5] Splash screen 1.0
domain123 #282174 11/21/2004 12:25 PM
Joined: Aug 2002
Posts: 1,191
dimopoulos Offline
Kahuna
Offline
Kahuna
Joined: Aug 2002
Posts: 1,191
Nice one! Thanks!!


Nikos
Re: Finished-[6.5] Splash screen 1.0
Hal_dup2 #282175 11/24/2004 7:31 AM
Joined: May 2001
Posts: 550
Anno Offline OP
Code Monkey
OP Offline
Code Monkey
Joined: May 2001
Posts: 550
I am overwhelmed by the demand for this mod, 0 downloads, LOL.

Re: Finished-[6.5] Splash screen 1.0
domain123 #282176 11/24/2004 11:32 AM
Joined: May 1999
Posts: 1,715
Gardener Offline
Addict
Offline
Addict
Joined: May 1999
Posts: 1,715
It's certainly something I'd like to use, but I don't run 6.5 (yet).

Re: Finished-[6.5] Splash screen 1.0
c0bra #282177 11/24/2004 11:38 AM
Joined: May 2001
Posts: 550
Anno Offline OP
Code Monkey
OP Offline
Code Monkey
Joined: May 2001
Posts: 550
As I said, I am pretty sure it will run under 6.4 also.

Sponsored Links
Re: Finished-[6.5] Splash screen 1.0
domain123 #282178 11/24/2004 1:48 PM
Joined: Nov 2000
Posts: 210
Pappy Offline
Member
Offline
Member
Joined: Nov 2000
Posts: 210
the only problem I could see with this mod is that it might drive new users nuts enough that they may not wish to come back lol

Re: Finished-[6.5] Splash screen 1.0
MercAqua #282179 11/24/2004 3:24 PM
Joined: May 2001
Posts: 550
Anno Offline OP
Code Monkey
OP Offline
Code Monkey
Joined: May 2001
Posts: 550
I really depends on the settings. If done right(see the instructions) they will see it once per forum day.

And, it is mainly ment for busy sites of course.

Re: Finished-[6.5] Splash screen 1.0
domain123 #282180 11/27/2004 9:12 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Nice, I can see how it would especially be needed for sites aimed at younger users


- Allen wavey
- What Drives You?
Re: Finished-[6.5] Splash screen 1.0
SurfMinister #282181 11/27/2004 9:40 PM
Joined: Nov 2002
Posts: 554
ChAoS_dup1 Offline
Code Monkey
Offline
Code Monkey
Joined: Nov 2002
Posts: 554
My thought was to make a special group for frequent "spammers" It would flash an image of a sign or banner that would say "Is this post absolutely necessary?"

Last edited by ChAoS; 11/27/2004 9:41 PM.
Re: Finished-[6.5] Splash screen 1.0
barbiro #282182 02/12/2006 9:36 AM
Joined: Nov 2001
Posts: 134
MattUK Offline
Journeyman
Offline
Journeyman
Joined: Nov 2001
Posts: 134
What would be nice is the ablily to have this displayed just once until you reset a flag. Much like the mod that allows us to force users to click accept on rules for the site.

Great for letting people know about something important before they use the site.

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,529
Posts293,721
Members13,834
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 143
Topics Created 0
Posts Made 1
Users Online 2
Birthdays 17
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,795
Greg Hard 4,625
Top Posters(30 Days)
isaac 3
Top Likes Received
isaac 33
Gizmo 8
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 3
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20200217.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.049s Queries: 36 (0.021s) Memory: 3.3139 MB (Peak: 3.5030 MB) Data Comp: Zlib Server Time: 2020-02-17 22:23:39 UTC
Valid HTML 5 and Valid CSS