Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Mod Name / Version ForumIndexLoginBox 1.0
Description Adds a login box to the forum index for users not logged in.
Working under UBB.threads 6.0.1
Any pre-requisites None
Author(s) Gardener
Credits The person who made this for an older version of UBB.threads
Demo See attached screenshot
Files Altered ubbthreads.tmpl
Database Altered No
New Files None
Any other info Almost the same effect can be achieved by just putting the login box in the ubbt_unregisterednav.tmpl template which will put the login box on all pages when the user isn't logged in.
Attachments
51962-ForumIndexLoginBox-1_0.zip (0 Bytes, 47 downloads)

Sponsored Links
Joined: Jun 2002
Posts: 38
User
User
Offline
Joined: Jun 2002
Posts: 38
This doesn't seem to work for me. Using 6.0.2.
When I try to log in using the new box, I get a message saying: All of the required fields are not filled in.

Obviously I'm putting both my username and password in!

Any ideas?

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Yes, this only works for 6.0.1 since the login form has changed in 6.0.2.

Fortunately this was one of the hacks I managed to upgrade yesterday before my server went down again today.

You can find the hack updated for 6.0.2 in this thread.

Joined: Jun 2002
Posts: 38
User
User
Offline
Joined: Jun 2002
Posts: 38
Fantastic... Cheers.

Joined: Jul 2001
Posts: 23
Newbie
Newbie
Offline
Joined: Jul 2001
Posts: 23
Can I use this hack on version 6.0.2 ?


The Webmistress
Sponsored Links
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
No, it doesn't work properly on 6.0.2 since the login process was changed in that version. You will find an upgraded version here that you can use instead.

Joined: Oct 2002
Posts: 18
KLB Offline
Newbie
Newbie
Offline
Joined: Oct 2002
Posts: 18
Will this work with version 6.1? If not - is there a download for that version?

Thanks.

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
I have no idea, but it might. The only change I can remember that needs to be done is to add the cookie prefix to the language require. Change this:
Code
<br />require "languages/$w3t_language/login.php";  //UBBTREMARK<br />


To this:
Code
<br />require "languages/${$config['cookieprefix']."w3t_language"}/login.php"; //UBBTREMARK<br />


Hope that helps.


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
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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,833
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)