Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2003
Posts: 338
Enthusiast
Enthusiast
Offline
Joined: Jan 2003
Posts: 338
Mod Name / Version: Fill profile is required

Description: If you want write new post or new reply, you have to fill your profile

I tested it on 6.3.2 version, but I should work on 6.4.x

Working Under: UBB.Threads 6.3-6.4

Mod Status: Beta

Any pre-requisites: -

Author(s): Slawek_L

Date: 04/15/04

Credits: -

Files Altered: newpost.php | newreply.php

New Files: no

Database Altered: no

Info/Instructions: Instrutions for two files:
Find:
$user = $userob -> authenticate("U_TextCols,U_TextRows,U_Preview,U_Groups");
Change to:
$user = $userob -> authenticate("U_Name,U_Location,U_EReplies,U_TextCols,U_TextRows,U_Preview,U_Groups");

find:
if (!$user['U_Groups']) {
$user['U_Groups'] = "-4-";
}

add below:
if((!$user['U_Name'])||(!$user['U_Location'])){
$html -> not_right("Fill your profile to write any post",$Cat);
}


--------
Write, and upload files

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.

Sponsored Links
Entire Thread
Subject Posted By Posted
Beta-[6.3-6.4] Fill profile is required Slawek_L 04/16/2004 2:39 AM
Re: Beta-[6.3-6.4] Fill profile is required scroungr 04/16/2004 5:39 AM
Re: Beta-[6.3-6.4] Fill profile is required Gregori 05/17/2004 5:43 PM
Re: Beta-[6.3-6.4] Fill profile is required scroungr 05/17/2004 5:46 PM
Re: Beta-[6.3-6.4] Fill profile is required Gregori 05/17/2004 6:32 PM
Re: Beta-[6.3-6.4] Fill profile is required AKD96 05/17/2004 10:10 PM
Re: Beta-[6.3-6.4] Fill profile is required scroungr 05/17/2004 10:57 PM
Re: Beta-[6.3-6.4] Fill profile is required Gregori 05/17/2004 11:34 PM
Re: Beta-[6.3-6.4] Fill profile is required scroungr 05/17/2004 11:36 PM

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
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)