php forum
php mysql forum
php mysql smarty
 
Page 7 of 9 < 1 2 3 4 5 6 7 8 9 >
Topic Options
#140871 - 04/30/01 06:54 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
stk Offline
Junior Member

Registered: 04/03/01
Posts: 4
Hi all,

I fixed the legendary not registred user bug. The bug was caused by the fact that the hack tries to get the user number for the names, but what would happen if you try to get the user number for a unregistred user: Error. So I have made a check if the user exists ans only if there is a registred user I'll get the number and the link to the user profile, otherwhise I only would write the name. This bugfix also solves the problem with older threads for not longer existing user.

Here comes the code:
Code:
code:



Regards,

stk

Top
#140872 - 05/04/01 09:12 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
ZeRtEr Offline
Member

Registered: 03/17/01
Posts: 35
Loc: Sydney | Formula1 Freak
Ok I installed the Hack on ubb 6.0 and it all works fine...

But I cant get into my Control Panel now..

It gives me this error..

Quote:
quote:
_________________________

Top
#140873 - 05/05/01 02:03 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Krmge Offline
Junior Member

Registered: 04/23/01
Posts: 14
thanks for this hack

Top
#140874 - 05/08/01 08:25 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
qasic Offline
Developer

Registered: 01/01/01
Posts: 1930
Loc: Surrey, BC, Canada
Version 2.03 released on my website. Incorporates stk's code for people who are not registered smile

qasic
_________________________

Top
#140875 - 05/15/01 11:56 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
teenslant Offline
Junior Member

Registered: 05/14/01
Posts: 2
I am having a problem with the hack. It just displays : username. I added require "$vars_config VariablesPath}/vars_wordlets_mods.cgi"; un ultimatebb.cgi but it doesn't help. what now?

Top
#140876 - 05/16/01 06:03 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
teenslant Offline
Junior Member

Registered: 05/14/01
Posts: 2
anyone? Please help an idiot.

Top
#140877 - 05/16/01 06:06 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
qasic Offline
Developer

Registered: 01/01/01
Posts: 1930
Loc: Surrey, BC, Canada
Have you installed the Mod Wordlet module?

qasic
_________________________

Top
#140878 - 06/01/01 09:24 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Dennis Olson Offline
Junior Member

Registered: 06/01/01
Posts: 7
What do you mean by "installed"? I put the line require "$vars_config{VariablesPath}/vars_wordlets_mods.cgi"; from the earlier post into my ULTIMATEBB.CGI, but is gave me an error trying to read the file. (I am a complete UBB newbie). The error is:

"Error including required files:
Make sure these files exist, permissions are set properly, and paths are set correctly.".

I placed the new "require" immediately after the one for VARS_WORDLETS_DATE.CGI".

I placed "vars_wordlets_mods.cgi" into the VARIABLES directory beforehand, but no joy.

Any ideas? I KNOW I'll need the CGI above for other additions to the UBB system. Thaks in advance.

Top
#140879 - 06/01/01 09:40 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
qasic Offline
Developer

Registered: 01/01/01
Posts: 1930
Loc: Surrey, BC, Canada
If that's the case (getting that error), that means that vars_wordlets_mods.cgi is incorrect somehow. Can you paste vars_wordlets_mods.cgi inside this thread and I'll find the bug for you smile

qasic
_________________________

Top
#140880 - 06/01/01 10:10 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Dennis Olson Offline
Junior Member

Registered: 06/01/01
Posts: 7
Here it is...

%vars_wordlets_mods = (
last_reply_by => "Last reply by"
);
1;


Thanks a million!

Top
#140881 - 06/01/01 11:12 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Tech-Ni-Kal Offline
Member

Registered: 05/23/01
Posts: 2685
Loc: » Ü § Å «
Very Nice Hack smile

Top
#140882 - 06/01/01 11:23 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Tech-Ni-Kal Offline
Member

Registered: 05/23/01
Posts: 2685
Loc: » Ü § Å «
Works Like A Charm smile

Top
#140883 - 06/01/01 11:44 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Dennis Olson Offline
Junior Member

Registered: 06/01/01
Posts: 7
So, what did I mess up? It seems like everyone here knows MUCH more than I do. (sigh...)

Top
#140884 - 06/02/01 12:10 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
qasic Offline
Developer

Registered: 01/01/01
Posts: 1930
Loc: Surrey, BC, Canada
You missed the comma after Last Reply By",

Check your mail. And next time, please be patient. We all do have lives you know wink

qasic
_________________________

Top
#140885 - 06/02/01 12:20 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Dennis Olson Offline
Junior Member

Registered: 06/01/01
Posts: 7
Thanks dude. One more question, how do I get that file into my CP? I don't see any ability to edit it there.

(BTW, my problem was that I didn't have the file in the CGI-BIN directory, as well as a missing comma.)

Top
#140886 - 06/04/01 04:12 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
qasic Offline
Developer

Registered: 01/01/01
Posts: 1930
Loc: Surrey, BC, Canada
He's fixed that last problem smile

qasic
_________________________

Top
#140887 - 06/05/01 07:27 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
MZ Offline
Member

Registered: 04/03/01
Posts: 61
installed - worked - thats the way I like it smile

Ubb 6.04bg + some other Hacks
_________________________
rgds,
MZ
forum.tplus.at

Top
#140888 - 06/09/01 07:51 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
click Offline
Member

Registered: 05/27/01
Posts: 168
maybe someone can help me... i've installed this hack, but when i enter any forum it gives me always this error:

Software error:
syntax error at /hosting/gcgsm/public_html/cgi/ubb_forum.cgi line 77, near "@user_profile)"


what could be wrong?
Thank you.

Top
#140889 - 06/09/01 07:55 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
click Offline
Member

Registered: 05/27/01
Posts: 168
nevermind, i've fixed it wink

Top
#140890 - 06/10/01 01:29 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Sheffield Tunes Offline
Member

Registered: 04/15/01
Posts: 79
Loc: Israel
how i can get the last reply by line to be next to the time and date of the posting, insted of underneath?

Top
Page 7 of 9 < 1 2 3 4 5 6 7 8 9 >


Who's Online
0 registered (), 29 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by Ruben Rocha
Today at 02:58 PM
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks