Previous Thread
Next Thread
Print Thread
Rate Thread
Page 4 of 5 1 2 3 4 5
Joined: Apr 2001
Posts: 4
stk Offline
Junior Member
Junior Member
Offline
Joined: Apr 2001
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

Sponsored Links
Joined: Mar 2001
Posts: 35
Member
Member
Offline
Joined: Mar 2001
Posts: 35
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:

Joined: Apr 2001
Posts: 14
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 14
thanks for this hack

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Version 2.03 released on my website. Incorporates stk's code for people who are not registered smile

qasic

Joined: May 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: May 2001
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?

Sponsored Links
Joined: May 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 2
anyone? Please help an idiot.

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Have you installed the Mod Wordlet module?

qasic

Joined: Jun 2001
Posts: 7
Junior Member
Junior Member
Offline
Joined: Jun 2001
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.

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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

Joined: Jun 2001
Posts: 7
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 7
Here it is...

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


Thanks a million!

Sponsored Links
Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Very Nice Hack smile

Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Works Like A Charm smile

Joined: Jun 2001
Posts: 7
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 7
So, what did I mess up? It seems like everyone here knows MUCH more than I do. (sigh...)

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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

Joined: Jun 2001
Posts: 7
Junior Member
Junior Member
Offline
Joined: Jun 2001
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.)

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
He's fixed that last problem smile

qasic

Joined: Apr 2001
Posts: 61
MZ Offline
Member
Member
Offline
Joined: Apr 2001
Posts: 61
installed - worked - thats the way I like it smile

Ubb 6.04bg + some other Hacks

Joined: May 2001
Posts: 175
Member
Member
Offline
Joined: May 2001
Posts: 175
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.

Joined: May 2001
Posts: 175
Member
Member
Offline
Joined: May 2001
Posts: 175
nevermind, i've fixed it wink

Joined: Apr 2001
Posts: 78
Member
Member
Offline
Joined: Apr 2001
Posts: 78
how i can get the last reply by line to be next to the time and date of the posting, insted of underneath?

Joined: Jun 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 1
Does anyone have this up on 6.04e?

Joined: Apr 2001
Posts: 78
Member
Member
Offline
Joined: Apr 2001
Posts: 78
It's sure working on 6.04f...

Joined: Jun 2001
Posts: 5
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 5
Hi, I'm a complete newbe !

I tried to do that splenid hack, but it required me to alter : vars_wordlets_mods.cgi !!

I can't find that file... Where is it ?


Thanks.
Greetz,

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Get the Mod Wordlet Module availble on DPK's website or on my website: http://www.qasic.com/

qasic

Joined: Jun 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 6
When i goto access the control panel i get an error with the vars_wordlet_mod file with the last_reply_by line

Joined: Jun 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 6
nm, i fixed that problem. but whenever i try to update/change my modification wordlets i get this error:

Unable to open wordlets file for writing: vars_wordlets_mods.cgi at /home/ejiboco/public_html/ubb/cgi-bin/cp_wordlets.cgi line 158.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
sounds like you need to set the permissions on that file.


- Allen wavey
- What Drives You?
Joined: Dec 2000
Posts: 20
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 20
I have it running on my 6.05 board, but have a slight problem. It shows last reply by [username] but when I click a username, it just goes to the beginning of the post instead of the post of the user.

Any ideas?

Thanks


ICQ - 28882963
Email - [email protected]
Joined: Jul 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 27
excuse me...but I HAVE A BIG PROBLEM!!!!...ive tried installing this hack 5 times already, and ive been getting this...my board is v6.04f...

Quote
quote:
PLEASE HELP ME..thanks


[NLS] No Limit Soljahz
Counter-strike Clan
"Battle of the dead soljahz"
Joined: Jul 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 27
ive been waiting for soooo loongg...can someone please help? thanks in advanced..im really anxious to install the script..but i cant since i have that error...thanks again confused wink


[NLS] No Limit Soljahz
Counter-strike Clan
"Battle of the dead soljahz"
Joined: Dec 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 2
i will give this a try.
Thanks for the hack and keep up the good work

Joined: Jul 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 27
iam still having that problem with the script..can someone please help me? iam trying to install it on ubb v6.04f ...thanks in advanced

the error i get is this:
Quote
quote:


[NLS] No Limit Soljahz
Counter-strike Clan
"Battle of the dead soljahz"
Joined: Feb 2001
Posts: 9
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 9
Okay, I feel like a cretin, but ... I don't *have* public_forum_page.pl or public_topic_page.pl.

I just upgraded from v5.45 (yeah, I know) to v6.05, and there are NO .pl files at all ... everything is .cgi. There are also NO "public_" files ... everything is cp_, ubb_, or vars.

I just got the new board up & running, and this is the first mod I'm putting in. I had an analogous mod for the old board, and all my users want it back! smile

Thanks in advance for any help ... frown


Rhythm is fundamental to the spirit
Joined: Jun 2001
Posts: 10
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 10
This hack worked perfect.

freakomatic - look under your noncgi directory, there should be a subdirectory called templates. That is where all the public_ files will be located.

Joined: Feb 2001
Posts: 9
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 9
Yeah, I just found it and came back to post on my incompetence ... but ya beat me to it.

Jeez, imagine my embarassment ... shocked


Rhythm is fundamental to the spirit
Joined: Mar 2001
Posts: 89
Member
Member
Offline
Joined: Mar 2001
Posts: 89
edit/ nevermind

[ July 22, 2001 03:59 AM: Message edited by: AlienLX ]

Joined: Jun 2001
Posts: 20
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 20
I found a bug with using the last name user script and was wondering if there was any way around it.
Seems if you have a private section for like mods and admins it doesn`t work.
Works fine on the others as long as it`s not private. How to get around that?

Joined: Aug 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 2
I cant seem to get the ultimatebb_mod_wordlets_install.cgi to run, keep getting an 500 internal error..

Bare in mind, this is my first hack.. what am I doing wrong?

Joined: Aug 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 2
This isn't quite working properly for me frown

Thanks.

Addition:

I guess it's worth adding that i couldn;t get to the vars_wordlets_mods.cgi dl page, so I just put "Last post by:" into the source directly... I don't suppose this is the cause however, since the same problem existed before I added that text into the code.

[ August 12, 2001: Message edited by: Arta ]

Joined: Aug 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 2
Hi again

I just realised that i had that 'no member profile' error that has be talked about in previous posts. well, i went over them all (i have read all 11 pages now smile

Page 4 of 5 1 2 3 4 5

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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
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
WebGuy 2
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)